blob: 09c507767322447be2d1954f3e42125aff214e46 [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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000283 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400284 <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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000291 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000299 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400300 <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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000313 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400314 <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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000321 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400322 <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%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000329 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400330 <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%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001330 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001331 <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">
Dees Troyb21cc642013-09-10 17:36:41 +00001448 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1449 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 </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 Troyb21cc642013-09-10 17:36:41 +00001491 <placement x="%col1_x%" y="%row2_y%" />
1492 <font resource="font" color="%button_text_color%" />
1493 <text>Append Date</text>
1494 <image resource="main_button" />
1495 <action function="appenddatetobackupname"></action>
1496 </object>
1497
1498 <object type="button">
1499 <highlight color="%highlight_color%" />
1500 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001501 <font resource="font" color="%button_text_color%" />
1502 <text>Cancel</text>
1503 <image resource="main_button" />
1504 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001505 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001506 <action function="page">backup</action>
1507 </actions>
1508 </object>
1509
1510 <object type="template" name="keyboardtemplate" />
1511
1512 <object type="action">
1513 <touch key="home" />
1514 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001515 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001516 <action function="page">main</action>
1517 </actions>
1518 </object>
1519
1520 <object type="action">
1521 <touch key="back" />
1522 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001523 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001524 <action function="page">backup</action>
1525 </actions>
1526 </object>
1527
1528 <object type="template" name="footer" />
1529 </page>
1530
Dees_Troy83bd4832013-05-04 12:39:56 +00001531 <page name="backupencryption">
1532 <object type="template" name="header" />
1533
1534 <object type="text" color="%text_color%">
1535 <font resource="font" />
1536 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1537 <text>Encrypt your backup?</text>
1538 </object>
1539
1540 <object type="text" color="%text_color%">
1541 <font resource="font" />
1542 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1543 <text>Please Enter A Password:</text>
1544 </object>
1545
1546 <object type="input">
1547 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1548 <background color="%input_background_color%" />
1549 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1550 <font resource="font" color="%text_color%" />
1551 <text>%tw_backup_encrypt_display%</text>
1552 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1553 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1554 <action function="page">backupencryption2</action>
1555 </object>
1556
1557 <object type="text" color="%text_fail_color%">
1558 <condition var1="tw_password_not_match" var2="1" />
1559 <font resource="font" />
1560 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1561 <text>Passwords Do Not Match</text>
1562 </object>
1563
1564 <object type="button">
1565 <highlight color="%highlight_color%" />
1566 <placement x="%col_center_x%" y="%row2_y%" />
1567 <font resource="font" color="%button_text_color%" />
1568 <text>Cancel</text>
1569 <image resource="main_button" />
1570 <actions>
1571 <action function="set">tw_encrypt_backup=0</action>
1572 <action function="set">tw_backup_password=</action>
1573 <action function="set">tw_backup_password2=</action>
1574 <action function="set">tw_backup_encrypt_display=</action>
1575 <action function="set">tw_backup_encrypt_display2=</action>
1576 <action function="page">backup</action>
1577 </actions>
1578 </object>
1579
1580 <object type="template" name="keyboardtemplate" />
1581
1582 <object type="action">
1583 <touch key="home" />
1584 <action function="page">main</action>
1585 </object>
1586
1587 <object type="action">
1588 <touch key="back" />
1589 <action function="page">backup</action>
1590 </object>
1591
1592 <object type="template" name="footer" />
1593 </page>
1594
1595 <page name="backupencryption2">
1596 <object type="template" name="header" />
1597
1598 <object type="text" color="%text_color%">
1599 <font resource="font" />
1600 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1601 <text>Encrypt your backup?</text>
1602 </object>
1603
1604 <object type="text" color="%text_color%">
1605 <font resource="font" />
1606 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1607 <text>Please Enter Password Again:</text>
1608 </object>
1609
1610 <object type="input">
1611 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1612 <background color="%input_background_color%" />
1613 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1614 <font resource="font" color="%text_color%" />
1615 <text>%tw_backup_encrypt_display2%</text>
1616 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1617 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1618 <actions>
1619 <action function="page">checkbackuppassword</action>
1620 </actions>
1621 </object>
1622
1623 <object type="button">
1624 <highlight color="%highlight_color%" />
1625 <placement x="%col_center_x%" y="%row2_y%" />
1626 <font resource="font" color="%button_text_color%" />
1627 <text>Cancel</text>
1628 <image resource="main_button" />
1629 <actions>
1630 <action function="set">tw_encrypt_backup=0</action>
1631 <action function="set">tw_backup_password=</action>
1632 <action function="set">tw_backup_password2=</action>
1633 <action function="set">tw_backup_encrypt_display=</action>
1634 <action function="set">tw_backup_encrypt_display2=</action>
1635 <action function="page">backup</action>
1636 </actions>
1637 </object>
1638
1639 <object type="template" name="keyboardtemplate" />
1640
1641 <object type="action">
1642 <touch key="home" />
1643 <action function="page">main</action>
1644 </object>
1645
1646 <object type="action">
1647 <touch key="back" />
1648 <action function="page">backup</action>
1649 </object>
1650
1651 <object type="template" name="footer" />
1652 </page>
1653
1654 <page name="checkbackuppassword">
1655 <object type="action">
1656 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1657 <actions>
1658 <action function="set">tw_encrypt_backup=1</action>
1659 <action function="page">backup</action>
1660 </actions>
1661 </object>
1662
1663 <object type="action">
1664 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1665 <actions>
1666 <action function="set">tw_encrypt_backup=0</action>
1667 <action function="set">tw_password_not_match=1</action>
1668 <action function="set">tw_backup_password=</action>
1669 <action function="set">tw_backup_password2=</action>
1670 <action function="set">tw_backup_encrypt_display=</action>
1671 <action function="set">tw_backup_encrypt_display2=</action>
1672 <action function="page">backupencryption</action>
1673 </actions>
1674 </object>
1675 </page>
1676
Dees_Troy51a0e822012-09-05 15:24:24 -04001677 <page name="backup_run">
1678 <object type="template" name="header" />
1679
1680 <object type="text" color="%text_color%">
1681 <font resource="font" />
1682 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1683 <text>%tw_operation% %tw_partition%</text>
1684 </object>
1685
1686 <object type="template" name="action_page_console" />
1687
1688 <object type="template" name="progress_bar" />
1689
1690 <object type="action">
1691 <action function="nandroid">backup</action>
1692 </object>
1693
1694 <object type="action">
1695 <condition var1="tw_operation_state" var2="1" />
1696 <actions>
1697 <action function="set">tw_back=backup</action>
1698 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001699 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001700 <action function="page">action_complete</action>
1701 </actions>
1702 </object>
1703 </page>
1704
1705 <page name="restore">
1706 <object type="template" name="header" />
1707
1708 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001709 <highlight color="%highlight_color%" />
1710 <fill color="%button_fill_color%" />
1711 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1712 <font resource="font" color="%button_text_color%" />
1713 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1714 <actions>
1715 <action function="set">tw_back=restore</action>
1716 <action function="page">selectstorage</action>
1717 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001718 </object>
1719
1720 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001721 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001722 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001723 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001724 <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 -04001725 <text>Select Package to Restore:</text>
1726 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1727 <sort name="tw_gui_sort_order" />
1728 <icon folder="folder_icon" file="file_icon" />
1729 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001730 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001731 <filter folders="1" files="0" nav="0" />
1732 <path name="tw_backups_folder" />
1733 <data name="tw_restore" default="" />
1734 <selection name="tw_restore_name" />
1735 </object>
1736
1737 <object type="template" name="sort_options" />
1738
1739 <object type="action">
1740 <condition var1="tw_restore" op="modified" />
1741 <actions>
1742 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001743 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001744 </actions>
1745 </object>
1746
1747 <object type="action">
1748 <touch key="home" />
1749 <action function="page">main</action>
1750 </object>
1751
1752 <object type="action">
1753 <touch key="back" />
1754 <action function="page">main</action>
1755 </object>
1756
1757 <object type="template" name="footer" />
1758 </page>
1759
Dees_Troy83bd4832013-05-04 12:39:56 +00001760 <page name="restore_read">
1761 <object type="action">
1762 <condition var1="tw_restore_encrypted" var2="1" />
1763 <actions>
1764 <action function="set">tw_password_fail=0</action>
1765 <action function="page">restore_decrypt</action>
1766 </actions>
1767 </object>
1768
1769 <object type="action">
1770 <condition var1="tw_restore_encrypted" var2="0" />
1771 <actions>
1772 <action function="page">restore_select</action>
1773 </actions>
1774 </object>
1775 </page>
1776
1777 <page name="restore_decrypt">
1778 <object type="template" name="header" />
1779
1780 <object type="text" color="%text_color%">
1781 <font resource="font" />
1782 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1783 <text>Backup Encrypted</text>
1784 </object>
1785
1786 <object type="text" color="%text_color%">
1787 <font resource="font" />
1788 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1789 <text>Please Enter Your Password:</text>
1790 </object>
1791
1792 <object type="input">
1793 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1794 <background color="%input_background_color%" />
1795 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1796 <font resource="font" color="%text_color%" />
1797 <text>%tw_restore_display%</text>
1798 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1799 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1800 <actions>
1801 <action function="page">try_restore_decrypt</action>
1802 </actions>
1803 </object>
1804
1805 <object type="text" color="%text_fail_color%">
1806 <condition var1="tw_password_fail" var2="1" />
1807 <font resource="font" />
1808 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1809 <text>Password Failed, Please Try Again</text>
1810 </object>
1811
1812 <object type="button">
1813 <highlight color="%highlight_color%" />
1814 <placement x="%col1_x%" y="%row2_y%" />
1815 <font resource="font" color="%button_text_color%" />
1816 <text>Cancel</text>
1817 <image resource="main_button" />
1818 <actions>
1819 <action function="set">tw_page_done=1</action>
1820 <action function="page">restore</action>
1821 </actions>
1822 </object>
1823
1824 <object type="button">
1825 <highlight color="%highlight_color%" />
1826 <placement x="%col2_x%" y="%row2_y%" />
1827 <font resource="font" color="%button_text_color%" />
1828 <text>Delete</text>
1829 <image resource="main_button" />
1830 <actions>
1831 <action function="set">tw_back=restore</action>
1832 <action function="set">tw_action=cmd</action>
1833 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1834 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1835 <action function="set">tw_text2=This cannot be undone!</action>
1836 <action function="set">tw_action_text1=Deleting Backup...</action>
1837 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1838 <action function="set">tw_slider_text=Swipe to Delete</action>
1839 <action function="page">confirm_action</action>
1840 </actions>
1841 </object>
1842
1843 <object type="template" name="keyboardtemplate" />
1844
1845 <object type="action">
1846 <touch key="home" />
1847 <action function="page">main</action>
1848 </object>
1849
1850 <object type="action">
1851 <touch key="back" />
1852 <action function="page">restore</action>
1853 </object>
1854
1855 <object type="template" name="footer" />
1856 </page>
1857
1858 <page name="try_restore_decrypt">
1859 <object type="template" name="header" />
1860
1861 <object type="text" color="%text_color%">
1862 <font resource="font" />
1863 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1864 <text>Trying Decryption with Your Password</text>
1865 </object>
1866
1867 <object type="template" name="action_page_console" />
1868
1869 <object type="template" name="progress_bar" />
1870
1871 <object type="action">
1872 <action function="decrypt_backup"></action>
1873 </object>
1874
1875 <object type="action">
1876 <conditions>
1877 <condition var1="tw_operation_state" var2="1" />
1878 <condition var1="tw_operation_status" op="!=" var2="0" />
1879 </conditions>
1880 <actions>
1881 <action function="set">tw_password_fail=1</action>
1882 <action function="page">restore_decrypt</action>
1883 </actions>
1884 </object>
1885
1886 <object type="action">
1887 <conditions>
1888 <condition var1="tw_operation_state" var2="1" />
1889 <condition var1="tw_operation_status" op="=" var2="0" />
1890 </conditions>
1891 <actions>
1892 <action function="set">tw_page_done=1</action>
1893 <action function="page">restore_select</action>
1894 </actions>
1895 </object>
1896 </page>
1897
Dees_Troy51a0e822012-09-05 15:24:24 -04001898 <page name="restore_select">
1899 <object type="template" name="header" />
1900
Dees_Troya13d74f2013-03-24 08:54:55 -05001901 <object type="partitionlist">
1902 <highlight color="%fileselector_highlight_color%" />
1903 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1904 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1905 <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 -04001906 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001907 <icon selected="checkbox_true" unselected="checkbox_false" />
1908 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1909 <background color="%listbox_background%" />
1910 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1911 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1912 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001913 </object>
1914
1915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001916 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001917 <fill color="%button_fill_color%" />
1918 <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 -04001919 <font resource="font" color="%button_text_color%" />
1920 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001921 <actions>
1922 <action function="set">tw_backup_rename=</action>
1923 <action function="set">tw_fileexists=0</action>
1924 <action function="page">renamebackup</action>
1925 </actions>
1926 </object>
1927
1928 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001929 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001930 <fill color="%button_fill_color%" />
1931 <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 -04001932 <font resource="font" color="%button_text_color%" />
1933 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001934 <actions>
1935 <action function="set">tw_back=restore</action>
1936 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001937 <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 -04001938 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1939 <action function="set">tw_text2=This cannot be undone!</action>
1940 <action function="set">tw_action_text1=Deleting Backup...</action>
1941 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1942 <action function="set">tw_slider_text=Swipe to Delete</action>
1943 <action function="page">confirm_action</action>
1944 </actions>
1945 </object>
1946
Dees_Troya13d74f2013-03-24 08:54:55 -05001947 <object type="checkbox">
1948 <placement x="%col1_x%" y="%row15_text_y%" />
1949 <font resource="font" color="%text_color%" />
1950 <text>Enable MD5 verification of backup files.</text>
1951 <data variable="tw_skip_md5_check" />
1952 <image checked="checkbox_true" unchecked="checkbox_false" />
1953 </object>
1954
1955 <object type="text" color="%text_color%">
1956 <font resource="font" />
1957 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1958 <text>Package Date: %tw_restore_file_date%</text>
1959 </object>
1960
Dees_Troy51a0e822012-09-05 15:24:24 -04001961 <object type="slider">
1962 <placement x="%slider_x%" y="%slider_y%" />
1963 <resource base="slider" used="slider-used" touch="slider-touch" />
1964 <action function="page">restore_run</action>
1965 </object>
1966
1967 <object type="text" color="%text_color%">
1968 <font resource="font" />
1969 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1970 <text>Swipe to Restore</text>
1971 </object>
1972
Dees_Troy51a0e822012-09-05 15:24:24 -04001973 <object type="action">
1974 <touch key="home" />
1975 <action function="page">main</action>
1976 </object>
1977
1978 <object type="action">
1979 <touch key="back" />
1980 <action function="page">restore</action>
1981 </object>
1982
1983 <object type="template" name="footer" />
1984 </page>
1985
1986 <page name="renamebackup">
1987 <object type="template" name="header" />
1988
1989 <object type="text" color="%text_color%">
1990 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1991 <font resource="font" />
1992 <text>Please Enter a New Backup Name</text>
1993 </object>
1994
1995 <object type="input">
1996 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1997 <background color="%input_background_color%" />
1998 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1999 <font resource="font" color="%text_color%" />
2000 <text>%tw_backup_rename%</text>
2001 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002002 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002003 <actions>
2004 <action function="set">tw_back=restore</action>
2005 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002006 <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 -04002007 <action function="set">tw_text1=Rename Backup?</action>
2008 <action function="set">tw_text2=This cannot be undone!</action>
2009 <action function="set">tw_action_text1=Renaming Backup...</action>
2010 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2011 <action function="set">tw_slider_text=Swipe to Rename</action>
2012 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2013 <action function="set">tw_existpage=renamebackup</action>
2014 <action function="set">tw_notexistpage=confirm_action</action>
2015 <action function="page">filecheck</action>
2016 </actions>
2017 </object>
2018
2019 <object type="text" color="%text_fail_color%">
2020 <condition var1="tw_fileexists" var2="1" />
2021 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2022 <font resource="font" />
2023 <text>A backup with that name already exists!</text>
2024 </object>
2025
2026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002027 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002028 <placement x="%col_center_x%" y="%row2_y%" />
2029 <font resource="font" color="%button_text_color%" />
2030 <text>Cancel</text>
2031 <image resource="main_button" />
2032 <action function="page">restore_select</action>
2033 </object>
2034
2035 <object type="template" name="keyboardtemplate" />
2036
2037 <object type="action">
2038 <touch key="home" />
2039 <action function="page">main</action>
2040 </object>
2041
2042 <object type="action">
2043 <touch key="back" />
2044 <action function="page">restore_select</action>
2045 </object>
2046
2047 <object type="template" name="footer" />
2048 </page>
2049
2050 <page name="restore_run">
2051 <object type="template" name="header" />
2052
2053 <object type="text" color="%text_color%">
2054 <font resource="font" />
2055 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2056 <text>%tw_operation% %tw_partition%</text>
2057 </object>
2058
2059 <object type="template" name="action_page_console" />
2060
2061 <object type="template" name="progress_bar" />
2062
2063 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002064 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002065 <actions>
2066 <action function="set">tw_back=restore_select</action>
2067 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002068 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002069 <action function="page">action_complete</action>
2070 </actions>
2071 </object>
2072
2073 <object type="action">
2074 <action function="nandroid">restore</action>
2075 </object>
2076 </page>
2077
Dees_Troya13d74f2013-03-24 08:54:55 -05002078 <page name="selectstorage">
2079 <object type="template" name="header" />
2080
2081 <object type="partitionlist">
2082 <highlight color="%fileselector_highlight_color%" />
2083 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2084 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2085 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2086 <text>Select Storage:</text>
2087 <icon selected="radio_true" unselected="radio_false" />
2088 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2089 <background color="%listbox_background%" />
2090 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2091 <data name="tw_storage_path" />
2092 <listtype name="storage" />
2093 </object>
2094
Dees_Troye7e0ae82013-07-05 14:46:07 +00002095 <object type="button">
2096 <highlight color="%highlight_color%" />
2097 <placement x="%col_center_x%" y="%row4_y%" />
2098 <font resource="font" color="%button_text_color%" />
2099 <text>OK</text>
2100 <image resource="main_button" />
2101 <actions>
2102 <action function="set">tw_clear_destination=%tw_back%</action>
2103 <action function="page">clear_vars</action>
2104 </actions>
2105 </object>
2106
Dees_Troya13d74f2013-03-24 08:54:55 -05002107 <object type="action">
2108 <touch key="home" />
2109 <action function="page">main</action>
2110 </object>
2111
2112 <object type="action">
2113 <touch key="back" />
2114 <actions>
2115 <action function="page">%tw_back%</action>
2116 </actions>
2117 </object>
2118
2119 <object type="template" name="footer" />
2120 </page>
2121
Dees_Troy51a0e822012-09-05 15:24:24 -04002122 <page name="mount">
2123 <object type="template" name="header" />
2124
Dees_Troya13d74f2013-03-24 08:54:55 -05002125 <object type="partitionlist">
2126 <highlight color="%fileselector_highlight_color%" />
2127 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2128 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2129 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2130 <text>Select Partitions to Mount:</text>
2131 <icon selected="checkbox_true" unselected="checkbox_false" />
2132 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2133 <background color="%listbox_background%" />
2134 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2135 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002136 </object>
2137
2138 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002139 <highlight color="%highlight_color%" />
2140 <fill color="%button_fill_color%" />
2141 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2142 <font resource="font" color="%button_text_color%" />
2143 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2144 <actions>
2145 <action function="set">tw_back=mount</action>
2146 <action function="page">selectstorage</action>
2147 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002148 </object>
2149
2150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002151 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002152 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002153 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002154 <font resource="font" color="%button_text_color%" />
2155 <text>Mount USB Storage</text>
2156 <image resource="main_button" />
2157 <action function="page">usb_mount</action>
2158 </object>
2159
Gary Peckffdc6ae2012-11-21 18:02:02 -08002160 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002161 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002162 <conditions>
2163 <condition var1="tw_is_encrypted" var2="1" />
2164 <condition var1="tw_is_decrypted" var2="0" />
2165 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002166 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002167 <font resource="font" color="%button_text_color%" />
2168 <text>Decrypt Data</text>
2169 <image resource="main_button" />
2170 <action function="page">decrypt</action>
2171 </object>
2172
Dees_Troy51a0e822012-09-05 15:24:24 -04002173 <object type="action">
2174 <touch key="home" />
2175 <action function="page">main</action>
2176 </object>
2177
2178 <object type="action">
2179 <touch key="back" />
2180 <action function="page">main</action>
2181 </object>
2182
2183 <object type="template" name="footer" />
2184 </page>
2185
2186 <page name="usb_mount">
2187 <object type="template" name="header" />
2188
2189 <object type="text" color="%text_color%">
2190 <font resource="font" />
2191 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2192 <text>USB Storage Mounted</text>
2193 </object>
2194
2195 <object type="text" color="%text_color%">
2196 <placement x="%col1_x%" y="%row1_text_y%" />
2197 <font resource="font" />
2198 <text>Be sure to safely remove your device</text>
2199 </object>
2200
2201 <object type="text" color="%text_color%">
2202 <placement x="%col1_x%" y="%row2_text_y%" />
2203 <font resource="font" />
2204 <text>from your computer before unmounting!</text>
2205 </object>
2206
2207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002209 <placement x="%col1_x%" y="%row3_y%" />
2210 <font resource="font" color="%button_text_color%" />
2211 <text>Unmount</text>
2212 <image resource="main_button" />
2213 <action function="page">usb_umount</action>
2214 </object>
2215
2216 <object type="action">
2217 <action function="mount">usb</action>
2218 </object>
2219
2220 <object type="template" name="footer" />
2221 </page>
2222
2223 <page name="usb_umount">
2224 <object type="action">
2225 <action function="unmount">usb</action>
2226 </object>
2227
2228 <object type="action">
2229 <action function="page">mount</action>
2230 </object>
2231 </page>
2232
2233 <page name="reboot">
2234 <object type="template" name="header" />
2235
2236 <object type="text" color="%text_color%">
2237 <font resource="font" />
2238 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2239 <text>Reboot Menu</text>
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_system" var2="1" />
2245 <placement x="%col1_x%" y="%row1_y%" />
2246 <font resource="font" color="%button_text_color%" />
2247 <text>System</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=system</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 reboot?</action>
2256 <action function="set">tw_action_text1=Rebooting...</action>
2257 <action function="set">tw_complete_text1=Rebooting...</action>
2258 <action function="set">tw_slider_text=Swipe to Reboot</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_poweroff" var2="1" />
2266 <placement x="%col2_x%" y="%row1_y%" />
2267 <font resource="font" color="%button_text_color%" />
2268 <text>Power Off</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=poweroff</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 power off?</action>
2277 <action function="set">tw_action_text1=Turning Off...</action>
2278 <action function="set">tw_complete_text1=Turning Off...</action>
2279 <action function="set">tw_slider_text=Swipe to Power Off</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_recovery" var2="1" />
2287 <placement x="%col1_x%" y="%row2_y%" />
2288 <font resource="font" color="%button_text_color%" />
2289 <text>Recovery</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=recovery</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_reboot_bootloader" var2="1" />
2308 <placement x="%col2_x%" y="%row2_y%" />
2309 <font resource="font" color="%button_text_color%" />
2310 <text>Bootloader</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=bootloader</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="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002327 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002328 <condition var1="tw_download_mode" var2="1" />
2329 <placement x="%col1_x%" y="%row3_y%" />
2330 <font resource="font" color="%button_text_color%" />
2331 <text>Download</text>
2332 <image resource="main_button" />
2333 <actions>
2334 <action function="set">tw_back=reboot</action>
2335 <action function="set">tw_action=reboot</action>
2336 <action function="set">tw_action_param=download</action>
2337 <action function="set">tw_has_action2=0</action>
2338 <action function="set">tw_text1=No OS Installed! Are you</action>
2339 <action function="set">tw_text2=sure you wish to reboot?</action>
2340 <action function="set">tw_action_text1=Rebooting...</action>
2341 <action function="set">tw_complete_text1=Rebooting...</action>
2342 <action function="set">tw_slider_text=Swipe to Reboot</action>
2343 <action function="page">rebootcheck</action>
2344 </actions>
2345 </object>
2346
2347 <object type="action">
2348 <touch key="home" />
2349 <action function="page">main</action>
2350 </object>
2351
2352 <object type="action">
2353 <touch key="back" />
2354 <action function="page">main</action>
2355 </object>
2356
2357 <object type="template" name="footer" />
2358 </page>
2359
2360 <page name="settings">
2361 <object type="template" name="header" />
2362
2363 <object type="text" color="%text_color%">
2364 <font resource="font" />
2365 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2366 <text>Settings</text>
2367 </object>
2368
2369 <object type="checkbox">
2370 <placement x="%col1_x%" y="%row1_text_y%" />
2371 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002372 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002373 <data variable="tw_signed_zip_verify" />
2374 <image checked="checkbox_true" unchecked="checkbox_false" />
2375 </object>
2376
2377 <object type="checkbox">
2378 <placement x="%col1_x%" y="%row2_text_y%" />
2379 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002380 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002381 <data variable="tw_rm_rf" />
2382 <image checked="checkbox_true" unchecked="checkbox_false" />
2383 </object>
2384
2385 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002386 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002387 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002388 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <data variable="tw_skip_md5_generate" />
2390 <image checked="checkbox_true" unchecked="checkbox_false" />
2391 </object>
2392
2393 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002394 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002395 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002396 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <data variable="tw_skip_md5_check" />
2398 <image checked="checkbox_true" unchecked="checkbox_false" />
2399 </object>
2400
2401 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002402 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002404 <text>Use Military Time.</text>
2405 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002406 <image checked="checkbox_true" unchecked="checkbox_false" />
2407 </object>
2408
2409 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002410 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002412 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <data variable="tw_simulate_actions" />
2414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="checkbox">
2418 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002419 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002421 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <data variable="tw_simulate_fail" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002428 <placement x="%col1_x%" y="%row3_y%" />
2429 <font resource="font" color="%button_text_color%" />
2430 <text>Time Zone</text>
2431 <image resource="main_button" />
2432 <action function="page">timezone</action>
2433 </object>
2434
2435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002436 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002437 <placement x="%col2_x%" y="%row3_y%" />
2438 <font resource="font" color="%button_text_color%" />
2439 <text>Screen</text>
2440 <image resource="main_button" />
2441 <action function="page">screen</action>
2442 </object>
2443
2444 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002445 <placement x="%col_center_x%" y="%row4_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Restore Defaults</text>
2448 <image resource="main_button" />
2449 <action function="restoredefaultsettings"></action>
2450 </object>
2451
2452 <object type="action">
2453 <touch key="home" />
2454 <action function="page">main</action>
2455 </object>
2456
2457 <object type="action">
2458 <touch key="back" />
2459 <action function="page">main</action>
2460 </object>
2461
2462 <object type="template" name="footer" />
2463 </page>
2464
2465 <page name="timezone">
2466 <object type="template" name="header" />
2467
Dees_Troy51a0e822012-09-05 15:24:24 -04002468 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002469 <highlight color="%fileselector_highlight_color%" />
2470 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2471 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002472 <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 -06002473 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002475 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002477 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <data name="tw_time_zone_guisel" />
2479 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2480 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2481 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2482 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2483 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2484 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2485 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2486 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2487 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2488 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2489 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2490 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2491 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2492 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2493 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2494 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2495 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2496 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2497 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2498 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2499 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2500 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2501 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2502 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2503 </object>
2504
2505 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002506 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <font resource="font" color="%text_color%" />
2508 <text>Do you use daylight savings time (DST)?</text>
2509 <data variable="tw_time_zone_guidst" />
2510 <image checked="checkbox_true" unchecked="checkbox_false" />
2511 </object>
2512
2513 <object type="text" color="%text_color%">
2514 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002515 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2517 </object>
2518
2519 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002520 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002521 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <font resource="font" color="%button_text_color%" />
2523 <text>None</text>
2524 <image resource="medium_button" />
2525 <action function="set">tw_time_zone_guioffset=0</action>
2526 </object>
2527
2528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002529 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002530 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <font resource="font" color="%button_text_color%" />
2532 <text>15</text>
2533 <image resource="medium_button" />
2534 <action function="set">tw_time_zone_guioffset=15</action>
2535 </object>
2536
2537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002538 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002539 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <font resource="font" color="%button_text_color%" />
2541 <text>30</text>
2542 <image resource="medium_button" />
2543 <action function="set">tw_time_zone_guioffset=30</action>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002548 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <font resource="font" color="%button_text_color%" />
2550 <text>45</text>
2551 <image resource="medium_button" />
2552 <action function="set">tw_time_zone_guioffset=45</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <placement x="%col_center_x%" y="%tz_set_y%" />
2558 <font resource="font" color="%button_text_color%" />
2559 <text>Set Time Zone</text>
2560 <image resource="main_button" />
2561 <action function="setguitimezone"></action>
2562 </object>
2563
2564 <object type="text" color="%text_color%">
2565 <font resource="font" />
2566 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2567 <text>Current Time Zone: %tw_time_zone%</text>
2568 </object>
2569
2570 <object type="action">
2571 <touch key="home" />
2572 <action function="page">main</action>
2573 </object>
2574
2575 <object type="action">
2576 <touch key="back" />
2577 <action function="page">settings</action>
2578 </object>
2579
2580 <object type="template" name="footer" />
2581 </page>
2582
Dees_Troy2f9117a2013-02-17 19:52:09 -06002583 <page name="screen">
2584 <object type="template" name="header" />
2585
2586 <object type="text" color="%text_color%">
2587 <font resource="font" />
2588 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2589 <text>Screen Settings</text>
2590 </object>
2591
Dees_Troy2f9117a2013-02-17 19:52:09 -06002592 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002593 <placement x="%col1_x%" y="%row2_text_y%" />
2594 <font resource="font" color="%text_color%" />
2595 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002596 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002597 <text>Enable screen timeout.</text>
2598 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002599 <action function="set">tw_screen_timeout_secs=60</action>
2600 </object>
2601
2602 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002603 <placement x="%col1_x%" y="%row2_text_y%" />
2604 <font resource="font" color="%text_color%" />
2605 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002606 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002607 <text>Enable screen timeout.</text>
2608 <image resource="checkbox_true" />
2609 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002610 </object>
2611
Vojtech Bocek85932342013-04-01 22:11:33 +02002612 <object type="slidervalue">
2613 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002614 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2616 <font resource="font" color="%text_color%" />
2617 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2618 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2619 <text>Screen timeout in seconds:</text>
2620 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002621 </object>
2622
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002624 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2626 <font resource="font" color="%text_color%" />
2627 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2628 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2629 <text>Brightness: %tw_brightness_pct%%</text>
2630 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <action function="set">tw_brightness=%tw_brightness_max%</action>
2633 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2634 <action function="compute">tw_brightness/100</action>
2635 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002636 </actions>
2637 </object>
2638
2639 <object type="action">
2640 <touch key="home" />
2641 <action function="page">main</action>
2642 </object>
2643
2644 <object type="action">
2645 <touch key="back" />
2646 <action function="page">settings</action>
2647 </object>
2648
2649 <object type="template" name="footer" />
2650 </page>
2651
Dees_Troy51a0e822012-09-05 15:24:24 -04002652 <page name="advanced">
2653 <object type="template" name="header" />
2654
2655 <object type="text" color="%text_color%">
2656 <font resource="font" />
2657 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2658 <text>Advanced</text>
2659 </object>
2660
2661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002662 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002663 <placement x="%col1_x%" y="%row1_y%" />
2664 <font resource="font" color="%button_text_color%" />
2665 <text>Copy Log to SD</text>
2666 <image resource="main_button" />
2667 <actions>
2668 <action function="set">tw_back=advanced</action>
2669 <action function="set">tw_action=copylog</action>
2670 <action function="set">tw_text1=Copy Log to SD Card?</action>
2671 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2672 <action function="set">tw_complete_text1=Log Copy Complete</action>
2673 <action function="set">tw_slider_text=Swipe to Confirm</action>
2674 <action function="page">confirm_action</action>
2675 </actions>
2676 </object>
2677
2678 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002679 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002680 <placement x="%col2_x%" y="%row1_y%" />
2681 <font resource="font" color="%button_text_color%" />
2682 <text>Fix Permissions</text>
2683 <image resource="main_button" />
2684 <actions>
2685 <action function="set">tw_back=advanced</action>
2686 <action function="set">tw_action=fixpermissions</action>
2687 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2690 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002691 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002692 <action function="page">confirm_action</action>
2693 </actions>
2694 </object>
2695
2696 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002697 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002698 <condition var1="tw_allow_partition_sdcard" var2="1" />
2699 <placement x="%col1_x%" y="%row2_y%" />
2700 <font resource="font" color="%button_text_color%" />
2701 <text>Partition SD Card</text>
2702 <image resource="main_button" />
2703 <action function="page">partsdcard</action>
2704 </object>
2705
2706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002708 <placement x="%col2_x%" y="%row2_y%" />
2709 <font resource="font" color="%button_text_color%" />
2710 <text>File Manager</text>
2711 <image resource="main_button" />
2712 <action function="page">filemanagerlist</action>
2713 </object>
2714
2715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002717 <placement x="%col1_x%" y="%row3_y%" />
2718 <font resource="font" color="%button_text_color%" />
2719 <text>Terminal Command</text>
2720 <image resource="main_button" />
2721 <action function="page">terminalfolder</action>
2722 </object>
2723
2724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002725 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002726 <placement x="%col2_x%" y="%row3_y%" />
2727 <font resource="font" color="%button_text_color%" />
2728 <text>Reload Theme</text>
2729 <image resource="main_button" />
2730 <action function="reload"></action>
2731 </object>
2732
2733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002734 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002735 <placement x="%col1_x%" y="%row4_y%" />
2736 <font resource="font" color="%button_text_color%" />
2737 <text>ADB Sideload</text>
2738 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002739 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <condition var1="tw_show_dumlock" var2="1" />
2745 <placement x="%col2_x%" y="%row4_y%" />
2746 <font resource="font" color="%button_text_color%" />
2747 <text>HTC Dumlock</text>
2748 <image resource="main_button" />
2749 <action function="page">htcdumlock</action>
2750 </object>
2751
2752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <condition var1="tw_has_injecttwrp" var2="1" />
2755 <placement x="%col2_x%" y="%row4_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>Re-Inject TWRP</text>
2758 <image resource="main_button" />
2759 <actions>
2760 <action function="set">tw_back=advanced</action>
2761 <action function="set">tw_action=reinjecttwrp</action>
2762 <action function="set">tw_text1=Re-Inject TWRP?</action>
2763 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2764 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2765 <action function="set">tw_slider_text=Swipe to Confirm</action>
2766 <action function="page">confirm_action</action>
2767 </actions>
2768 </object>
2769
2770 <object type="action">
2771 <touch key="home" />
2772 <action function="page">main</action>
2773 </object>
2774
2775 <object type="action">
2776 <touch key="back" />
2777 <action function="page">main</action>
2778 </object>
2779
2780 <object type="template" name="footer" />
2781 </page>
2782
2783 <page name="partsdcard">
2784 <object type="template" name="header" />
2785
2786 <object type="text" color="%text_color%">
2787 <font resource="font" />
2788 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2789 <text>Partition SD Card</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="%row1_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text></text>
2797 <image resource="minus_button" />
2798 <action function="addsubtract">tw_sdext_size-128</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="%row1_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text></text>
2806 <image resource="plus_button" />
2807 <action function="addsubtract">tw_sdext_size+128</action>
2808 </object>
2809
2810 <object type="text" color="%text_color%">
2811 <font resource="font" />
2812 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2813 <text>EXT Size: %tw_sdext_size%</text>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <placement x="%col1_x%" y="%sdswap_button_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text></text>
2821 <image resource="minus_button" />
2822 <action function="addsubtract">tw_swap_size-32</action>
2823 </object>
2824
2825 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002826 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002827 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2828 <font resource="font" color="%button_text_color%" />
2829 <text></text>
2830 <image resource="plus_button" />
2831 <action function="addsubtract">tw_swap_size+32</action>
2832 </object>
2833
2834 <object type="text" color="%text_color%">
2835 <font resource="font" />
2836 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2837 <text>Swap Size: %tw_swap_size%</text>
2838 </object>
2839
2840 <object type="text" color="%text_color%">
2841 <font resource="font" />
2842 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2843 <text>File system: %tw_sdpart_file_system%</text>
2844 </object>
2845
2846 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002847 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002848 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2849 <font resource="font" color="%button_text_color%" />
2850 <text>EXT3</text>
2851 <image resource="main_button" />
2852 <action function="set">tw_sdpart_file_system=ext3</action>
2853 </object>
2854
2855 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002856 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002857 <condition var1="tw_sdext_disable_ext4" var2="0" />
2858 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text>EXT4</text>
2861 <image resource="main_button" />
2862 <action function="set">tw_sdpart_file_system=ext4</action>
2863 </object>
2864
2865 <object type="text" color="%text_color%">
2866 <font resource="font" />
2867 <placement x="%col1_x%" y="%row12_text_y%" />
2868 <text>You will lose all files on your SD card!</text>
2869 </object>
2870
2871 <object type="text" color="%text_color%">
2872 <font resource="font" />
2873 <placement x="%col1_x%" y="%row13_text_y%" />
2874 <text>This action cannot be undone!</text>
2875 </object>
2876
2877 <object type="slider">
2878 <placement x="%slider_x%" y="%slider_y%" />
2879 <resource base="slider" used="slider-used" touch="slider-touch" />
2880 <action function="page">partsdcardaction</action>
2881 <actions>
2882 <action function="set">tw_back=partsdcard</action>
2883 <action function="set">tw_action=partitionsd</action>
2884 <action function="set">tw_has_action2=1</action>
2885 <action function="set">tw_action2=set</action>
2886 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2887 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2888 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002889 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <action function="page">action_page</action>
2891 </actions>
2892 </object>
2893
2894 <object type="text" color="%text_color%">
2895 <font resource="font" />
2896 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2897 <text>Swipe to Partition</text>
2898 </object>
2899
2900 <object type="action">
2901 <touch key="home" />
2902 <action function="page">main</action>
2903 </object>
2904
2905 <object type="action">
2906 <touch key="back" />
2907 <action function="page">advanced</action>
2908 </object>
2909
2910 <object type="template" name="footer" />
2911 </page>
2912
2913 <page name="htcdumlock">
2914 <object type="template" name="header" />
2915
2916 <object type="text" color="%text_color%">
2917 <font resource="font" />
2918 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2919 <text>HTC Dumlock</text>
2920 </object>
2921
2922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002923 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002924 <condition var1="tw_show_dumlock" var2="1" />
2925 <placement x="%col1_x%" y="%row1_y%" />
2926 <font resource="font" color="%button_text_color%" />
2927 <text>Restore Original Boot</text>
2928 <image resource="main_button" />
2929 <actions>
2930 <action function="set">tw_back=htcdumlock</action>
2931 <action function="set">tw_action=htcdumlockrestoreboot</action>
2932 <action function="set">tw_text1=Restore original boot image?</action>
2933 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2934 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2935 <action function="set">tw_slider_text=Swipe to Confirm</action>
2936 <action function="page">confirm_action</action>
2937 </actions>
2938 </object>
2939
2940 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002941 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002942 <condition var1="tw_show_dumlock" var2="1" />
2943 <placement x="%col2_x%" y="%row1_y%" />
2944 <font resource="font" color="%button_text_color%" />
2945 <text>Reflash Recovery</text>
2946 <image resource="main_button" />
2947 <actions>
2948 <action function="set">tw_back=htcdumlock</action>
2949 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2950 <action function="set">tw_text1=Reflash recovery to boot?</action>
2951 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2952 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2953 <action function="set">tw_slider_text=Swipe to Confirm</action>
2954 <action function="page">confirm_action</action>
2955 </actions>
2956 </object>
2957
2958 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002959 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002960 <condition var1="tw_show_dumlock" var2="1" />
2961 <placement x="%col1_x%" y="%row2_y%" />
2962 <font resource="font" color="%button_text_color%" />
2963 <text>Install HTC Dumlock</text>
2964 <image resource="main_button" />
2965 <actions>
2966 <action function="set">tw_back=htcdumlock</action>
2967 <action function="set">tw_action=installhtcdumlock</action>
2968 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2969 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2970 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2971 <action function="set">tw_slider_text=Swipe to Confirm</action>
2972 <action function="page">confirm_action</action>
2973 </actions>
2974 </object>
2975
2976 <object type="action">
2977 <touch key="home" />
2978 <action function="page">main</action>
2979 </object>
2980
2981 <object type="action">
2982 <touch key="back" />
2983 <action function="page">advanced</action>
2984 </object>
2985
2986 <object type="template" name="footer" />
2987 </page>
2988
2989 <page name="lock">
2990 <background color="#000000A0" />
2991
2992 <object type="image">
2993 <image resource="unlock-icon" />
2994 <placement x="%lock_x%" y="%lock_y%" />
2995 </object>
2996
2997 <object type="slider">
2998 <placement x="%slider_x%" y="%slider_y%" />
2999 <resource base="slider" used="slider-used" touch="slider-touch" />
3000 <action function="overlay"></action>
3001 </object>
3002
3003 <object type="text" color="%text_color%">
3004 <font resource="font" />
3005 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3006 <text>Swipe to Unlock</text>
3007 </object>
3008 </page>
3009
3010 <page name="filemanagerlist">
3011 <object type="template" name="header" />
3012
3013 <object type="text" color="%text_color%">
3014 <font resource="font" />
3015 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3016 <text>File Manager: Select a File or Folder</text>
3017 </object>
3018
3019 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003020 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003021 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3022 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003023 <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 -04003024 <text>%tw_file_location1%</text>
3025 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3026 <sort name="tw_gui_sort_order" />
3027 <icon folder="folder_icon" file="file_icon" />
3028 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003029 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003030 <folders="1" files="1" />
3031 <path name="tw_file_location1" default="/" />
3032 <data name="tw_filename1" />
3033 <selection name="tw_selection1" />
3034 </object>
3035
3036 <object type="template" name="sort_options" />
3037
3038 <object type="action">
3039 <actions>
3040 <action function="set">tw_fm_type=File</action>
3041 <action function="set">tw_fm_isfolder=0</action>
3042 </actions>
3043 </object>
3044
3045 <object type="action">
3046 <touch key="home" />
3047 <action function="page">main</action>
3048 </object>
3049
3050 <object type="action">
3051 <touch key="back" />
3052 <action function="page">advanced</action>
3053 </object>
3054
3055 <object type="action">
3056 <condition var1="tw_filename1" op="modified" />
3057 <actions>
3058 <action function="page">filemanageroptions</action>
3059 </actions>
3060 </object>
3061
3062 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003063 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003064 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3065 <font resource="font" color="%button_text_color%" />
3066 <text>Select</text>
3067 <image resource="medium_button" />
3068 <actions>
3069 <action function="set">tw_filename1=tw_file_location1</action>
3070 <action function="set">tw_fm_isfolder=1</action>
3071 <action function="set">tw_fm_type=Folder</action>
3072 <action function="page">filemanageroptions</action>
3073 </actions>
3074 </object>
3075
3076 <object type="template" name="footer" />
3077 </page>
3078
3079 <page name="filemanageroptions">
3080 <object type="template" name="header" />
3081
3082 <object type="text" color="%text_color%">
3083 <font resource="font" />
3084 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3085 <text>%tw_fm_type% Selected:</text>
3086 </object>
3087
3088 <object type="text" color="%text_color%">
3089 <font resource="font" />
3090 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3091 <text>%tw_filename1%</text>
3092 </object>
3093
3094 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003095 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003096 <condition var1="tw_fm_isfolder" var2="0" />
3097 <placement x="%col1_x%" y="%row2_y%" />
3098 <font resource="font" color="%button_text_color%" />
3099 <text>Copy File</text>
3100 <image resource="main_button" />
3101 <actions>
3102 <action function="set">tw_filemanager_command=cp</action>
3103 <action function="set">tw_fm_text1=Copying</action>
3104 <action function="page">choosedestinationfolder</action>
3105 </actions>
3106 </object>
3107
3108 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003109 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003110 <condition var1="tw_fm_isfolder" var2="1" />
3111 <placement x="%col1_x%" y="%row2_y%" />
3112 <font resource="font" color="%button_text_color%" />
3113 <text>Copy Folder</text>
3114 <image resource="main_button" />
3115 <actions>
3116 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3117 <action function="set">tw_fm_text1=Copying</action>
3118 <action function="page">choosedestinationfolder</action>
3119 </actions>
3120 </object>
3121
3122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003123 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003124 <placement x="%col2_x%" y="%row2_y%" />
3125 <font resource="font" color="%button_text_color%" />
3126 <text>Move</text>
3127 <image resource="main_button" />
3128 <actions>
3129 <action function="set">tw_filemanager_command=mv</action>
3130 <action function="set">tw_fm_text1=Moving</action>
3131 <action function="page">choosedestinationfolder</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <placement x="%col1_x%" y="%row3_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>chmod 755</text>
3140 <image resource="main_button" />
3141 <actions>
3142 <action function="set">tw_filemanager_command=chmod 755</action>
3143 <action function="set">tw_fm_text1=chmod 755</action>
3144 <action function="set">tw_fm_text2=</action>
3145 <action function="set">tw_fm_text3=</action>
3146 <action function="set">tw_include_text3=0</action>
3147 <action function="set">tw_back=filemanageroptions</action>
3148 <action function="page">filemanagerconfirm</action>
3149 </actions>
3150 </object>
3151
3152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003153 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003154 <placement x="%col2_x%" y="%row3_y%" />
3155 <font resource="font" color="%button_text_color%" />
3156 <text>chmod</text>
3157 <image resource="main_button" />
3158 <actions>
3159 <action function="set">tw_filemanager_rename=0000</action>
3160 <action function="set">tw_fm_text2=</action>
3161 <action function="set">tw_fm_text3=</action>
3162 <action function="set">tw_include_text3=0</action>
3163 <action function="set">tw_back=filemanageroptions</action>
3164 <action function="page">filemanagerchmod</action>
3165 </actions>
3166 </object>
3167
3168 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003169 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003170 <placement x="%col1_x%" y="%row4_y%" />
3171 <font resource="font" color="%button_text_color%" />
3172 <text>Delete</text>
3173 <image resource="main_button" />
3174 <actions>
3175 <action function="set">tw_filemanager_command=rm -rf</action>
3176 <action function="set">tw_fm_text1=Deleting</action>
3177 <action function="set">tw_fm_text2=</action>
3178 <action function="set">tw_fm_text3=</action>
3179 <action function="set">tw_include_text3=0</action>
3180 <action function="set">tw_back=filemanageroptions</action>
3181 <action function="page">filemanagerconfirm</action>
3182 </actions>
3183 </object>
3184
3185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <condition var1="tw_fm_isfolder" var2="0" />
3188 <placement x="%col2_x%" y="%row4_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text>Rename File</text>
3191 <image resource="main_button" />
3192 <actions>
3193 <action function="set">tw_filemanager_rename=tw_selection1</action>
3194 <action function="set">tw_fm_text1=Renaming</action>
3195 <action function="set">tw_filemanager_command=mv</action>
3196 <action function="page">filemanagerrenamefile</action>
3197 </actions>
3198 </object>
3199
3200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003202 <condition var1="tw_fm_isfolder" var2="1" />
3203 <placement x="%col2_x%" y="%row4_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text>Rename Folder</text>
3206 <image resource="main_button" />
3207 <actions>
3208 <action function="set">tw_filemanager_rename=tw_selection1</action>
3209 <action function="set">tw_fm_text1=Renaming</action>
3210 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3211 <action function="page">filemanagerrenamefolder</action>
3212 </actions>
3213 </object>
3214
3215 <object type="action">
3216 <touch key="home" />
3217 <action function="page">main</action>
3218 </object>
3219
3220 <object type="action">
3221 <touch key="back" />
3222 <action function="page">filemanagerlist</action>
3223 </object>
3224
3225 <object type="template" name="footer" />
3226 </page>
3227
3228 <page name="choosedestinationfolder">
3229 <object type="template" name="header" />
3230
3231 <object type="text" color="%text_color%">
3232 <font resource="font" />
3233 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3234 <text>Browse to Destination Folder & Press Select</text>
3235 </object>
3236
3237 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003238 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3240 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003241 <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 -04003242 <text>%tw_file_location2%</text>
3243 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3244 <sort name="tw_gui_sort_order" />
3245 <icon folder="folder_icon" file="file_icon" />
3246 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003247 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003248 <filter folders="1" files="0" />
3249 <path name="tw_file_location2" default="/" />
3250 <data name="tw_filename2" />
3251 <selection name="tw_selection2" />
3252 </object>
3253
3254 <object type="template" name="sort_options" />
3255
3256 <object type="action">
3257 <touch key="home" />
3258 <action function="page">main</action>
3259 </object>
3260
3261 <object type="action">
3262 <touch key="back" />
3263 <action function="page">filemanageroptions</action>
3264 </object>
3265
3266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003268 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3269 <font resource="font" color="%button_text_color%" />
3270 <text>Select</text>
3271 <image resource="medium_button" />
3272 <actions>
3273 <action function="set">tw_fm_text2=to</action>
3274 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3275 <action function="set">tw_include_text3=1</action>
3276 <action function="set">tw_back=filemanageroptions</action>
3277 <action function="page">filemanagerconfirm</action>
3278 </actions>
3279 </object>
3280
3281 <object type="template" name="footer" />
3282 </page>
3283
3284 <page name="filemanagerrenamefile">
3285 <object type="template" name="header" />
3286
3287 <object type="text" color="%text_color%">
3288 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3289 <font resource="font" />
3290 <text>Please Enter a New %tw_fm_type% Name</text>
3291 </object>
3292
3293 <object type="input">
3294 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3295 <background color="%input_background_color%" />
3296 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3297 <font resource="font" color="%text_color%" />
3298 <text>%tw_filemanager_rename%</text>
3299 <data name="tw_filemanager_rename" />
3300 <restrict minlen="1" maxlen="128" />
3301 <actions>
3302 <action function="set">tw_fm_text2=to</action>
3303 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3304 <action function="set">tw_include_text3=1</action>
3305 <action function="set">tw_back=filemanageroptions</action>
3306 <action function="page">filemanagerconfirm</action>
3307 </actions>
3308 </object>
3309
3310 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003311 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <placement x="%col_center_x%" y="%row2_y%" />
3313 <font resource="font" color="%button_text_color%" />
3314 <text>Cancel</text>
3315 <image resource="main_button" />
3316 <action function="page">filemanageroptions</action>
3317 </object>
3318
3319 <object type="template" name="keyboardtemplate" />
3320
3321 <object type="action">
3322 <touch key="home" />
3323 <action function="page">main</action>
3324 </object>
3325
3326 <object type="action">
3327 <touch key="back" />
3328 <action function="page">filemanageroptions</action>
3329 </object>
3330
3331 <object type="template" name="footer" />
3332 </page>
3333
3334 <page name="filemanagerrenamefolder">
3335 <object type="template" name="header" />
3336
3337 <object type="text" color="%text_color%">
3338 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3339 <font resource="font" />
3340 <text>Please Enter a New %tw_fm_type% Name</text>
3341 </object>
3342
3343 <object type="input">
3344 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3345 <background color="%input_background_color%" />
3346 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3347 <font resource="font" color="%text_color%" />
3348 <text>%tw_filemanager_rename%</text>
3349 <data name="tw_filemanager_rename" />
3350 <restrict minlen="1" maxlen="128" />
3351 <actions>
3352 <action function="set">tw_fm_text2=to</action>
3353 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3354 <action function="set">tw_include_text3=1</action>
3355 <action function="set">tw_back=filemanageroptions</action>
3356 <action function="page">filemanagerconfirm</action>
3357 </actions>
3358 </object>
3359
3360 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003361 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003362 <placement x="%col_center_x%" y="%row2_y%" />
3363 <font resource="font" color="%button_text_color%" />
3364 <text>Cancel</text>
3365 <image resource="main_button" />
3366 <action function="page">filemanageroptions</action>
3367 </object>
3368
3369 <object type="template" name="keyboardtemplate" />
3370
3371 <object type="action">
3372 <touch key="home" />
3373 <action function="page">main</action>
3374 </object>
3375
3376 <object type="action">
3377 <touch key="back" />
3378 <action function="page">filemanageroptions</action>
3379 </object>
3380
3381 <object type="template" name="footer" />
3382 </page>
3383
3384 <page name="filemanagerchmod">
3385 <object type="template" name="header" />
3386
3387 <object type="text" color="%text_color%">
3388 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3389 <font resource="font" />
3390 <text>Please Enter New Permissions</text>
3391 </object>
3392
3393 <object type="input">
3394 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3395 <background color="%input_background_color%" />
3396 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3397 <font resource="font" color="%text_color%" />
3398 <text>%tw_filemanager_rename%</text>
3399 <data name="tw_filemanager_rename" />
3400 <restrict minlen="3" maxlen="4" allow="0123456789" />
3401 <actions>
3402 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3403 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3404 <action function="set">tw_back=filemanageroptions</action>
3405 <action function="page">filemanagerconfirm</action>
3406 </actions>
3407 </object>
3408
3409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003411 <placement x="%col_center_x%" y="%row2_y%" />
3412 <font resource="font" color="%button_text_color%" />
3413 <text>Cancel</text>
3414 <image resource="main_button" />
3415 <action function="page">filemanageroptions</action>
3416 </object>
3417
3418 <object type="template" name="keyboardtemplate" />
3419
3420 <object type="action">
3421 <touch key="home" />
3422 <action function="page">main</action>
3423 </object>
3424
3425 <object type="action">
3426 <touch key="back" />
3427 <action function="page">filemanageroptions</action>
3428 </object>
3429
3430 <object type="template" name="footer" />
3431 </page>
3432
3433 <page name="filemanagerconfirm">
3434 <object type="template" name="header" />
3435
3436 <object type="text" color="%text_color%">
3437 <font resource="font" />
3438 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3439 <text>%tw_fm_text1%</text>
3440 </object>
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3445 <text>%tw_filename1%</text>
3446 </object>
3447
3448 <object type="text" color="%text_color%">
3449 <font resource="font" />
3450 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3451 <text>%tw_fm_text2%</text>
3452 </object>
3453
3454 <object type="text" color="%text_color%">
3455 <font resource="font" />
3456 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3457 <text>%tw_fm_text3%</text>
3458 </object>
3459
3460 <object type="text" color="%text_color%">
3461 <font resource="font" />
3462 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3463 <text>Press back button to cancel.</text>
3464 </object>
3465
3466 <object type="slider">
3467 <placement x="%slider_x%" y="%slider_y%" />
3468 <resource base="slider" used="slider-used" touch="slider-touch" />
3469 <action function="page">filemanageracction</action>
3470 </object>
3471
3472 <object type="text" color="%text_color%">
3473 <font resource="font" />
3474 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3475 <text>Swipe to Confirm</text>
3476 </object>
3477
3478 <object type="action">
3479 <touch key="back" />
3480 <action function="page">%tw_back%</action>
3481 </object>
3482
3483 <object type="action">
3484 <touch key="home" />
3485 <action function="page">main</action>
3486 </object>
3487
3488 <object type="template" name="footer" />
3489 </page>
3490
3491 <page name="filemanageracction">
3492 <object type="template" name="header" />
3493
3494 <object type="text" color="%text_color%">
3495
3496 <font resource="font" />
3497 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3498 <text>%tw_fm_text1%</text>
3499 </object>
3500
3501 <object type="template" name="action_page_console" />
3502
3503 <object type="template" name="progress_bar" />
3504
3505 <object type="action">
3506 <conditions>
3507 <condition var1="tw_operation_state" var2="1" />
3508 <condition var1="tw_operation_status" var2="0" />
3509 </conditions>
3510 <actions>
3511 <action function="set">tw_back=filemanagerlist</action>
3512 <action function="set">tw_complete_text1=File Operation Complete</action>
3513 <action function="page">action_complete</action>
3514 </actions>
3515 </object>
3516
3517 <object type="action">
3518 <conditions>
3519 <condition var1="tw_operation_state" var2="1" />
3520 <condition var1="tw_operation_status" op="!=" var2="0" />
3521 </conditions>
3522 <actions>
3523 <action function="set">tw_complete_text1=File Operation Complete</action>
3524 <action function="page">action_complete</action>
3525 </actions>
3526 </object>
3527
3528 <object type="action">
3529 <condition var1="tw_include_text3" var2="0" />
3530 <actions>
3531 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3532 </actions>
3533 </object>
3534
3535 <object type="action">
3536 <condition var1="tw_include_text3" var2="1" />
3537 <actions>
3538 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3539 </actions>
3540 </object>
3541 </page>
3542
3543 <page name="decrypt">
3544 <object type="template" name="header" />
3545
3546 <object type="text" color="%text_color%">
3547 <font resource="font" />
3548 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3549 <text>Please Enter Your Password</text>
3550 </object>
3551
3552 <object type="input">
3553 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3554 <background color="%input_background_color%" />
3555 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3556 <font resource="font" color="%text_color%" />
3557 <text>%tw_crypto_display%</text>
3558 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3559 <restrict minlen="1" maxlen="254" />
3560 <actions>
3561 <action function="page">trydecrypt</action>
3562 </actions>
3563 </object>
3564
3565 <object type="text" color="%text_fail_color%">
3566 <condition var1="tw_password_fail" var2="1" />
3567 <font resource="font" />
3568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3569 <text>Password Failed, Please Try Again</text>
3570 </object>
3571
3572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003573 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003574 <placement x="%col_center_x%" y="%row2_y%" />
3575 <font resource="font" color="%button_text_color%" />
3576 <text>Cancel</text>
3577 <image resource="main_button" />
3578 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003579 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003580 <action function="page">main</action>
3581 </actions>
3582 </object>
3583
3584 <object type="template" name="keyboardtemplate" />
3585
Dees_Troy51a0e822012-09-05 15:24:24 -04003586 <object type="template" name="footer" />
3587 </page>
3588
3589 <page name="trydecrypt">
3590 <object type="template" name="header" />
3591
3592 <object type="text" color="%text_color%">
3593 <font resource="font" />
3594 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3595 <text>Trying Decryption with Your Password</text>
3596 </object>
3597
3598 <object type="template" name="action_page_console" />
3599
3600 <object type="template" name="progress_bar" />
3601
3602 <object type="action">
3603 <action function="decrypt"></action>
3604 </object>
3605
3606 <object type="action">
3607 <conditions>
3608 <condition var1="tw_operation_state" var2="1" />
3609 <condition var1="tw_operation_status" op="!=" var2="0" />
3610 </conditions>
3611 <actions>
3612 <action function="set">tw_password_fail=1</action>
3613 <action function="page">decrypt</action>
3614 </actions>
3615 </object>
3616
3617 <object type="action">
3618 <conditions>
3619 <condition var1="tw_operation_state" var2="1" />
3620 <condition var1="tw_operation_status" op="=" var2="0" />
3621 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003622 <actions>
3623 <action function="set">tw_page_done=1</action>
3624 <action function="page">main</action>
3625 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003626 </object>
3627 </page>
3628
3629 <page name="terminalfolder">
3630 <object type="template" name="header" />
3631
3632 <object type="text" color="%text_color%">
3633 <font resource="font" />
3634 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3635 <text>Browse to Starting Folder</text>
3636 </object>
3637
3638 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003639 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003640 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3641 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003642 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003643 <text>%tw_terminal_location%</text>
3644 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3645 <sort name="tw_gui_sort_order" />
3646 <icon folder="folder_icon" file="file_icon" />
3647 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003648 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <filter folders="1" files="0" />
3650 <path name="tw_terminal_location" default="/" />
3651 <data name="tw_terminal" />
3652 <selection name="tw_terminal_selection" />
3653 </object>
3654
3655 <object type="template" name="sort_options" />
3656
3657 <object type="action">
3658 <touch key="home" />
3659 <action function="page">main</action>
3660 </object>
3661
3662 <object type="action">
3663 <touch key="back" />
3664 <action function="page">advanced</action>
3665 </object>
3666
3667 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003668 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003669 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3670 <font resource="font" color="%button_text_color%" />
3671 <text>Select</text>
3672 <image resource="medium_button" />
3673 <actions>
3674 <action function="page">terminalcommand</action>
3675 </actions>
3676 </object>
3677
3678 <object type="template" name="footer" />
3679 </page>
3680
3681 <page name="terminalcommand">
3682 <object type="template" name="header" />
3683
3684 <object type="console">
3685 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3686 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3687 <font resource="fixed" />
3688 </object>
3689
3690 <object type="text" color="%text_color%">
3691 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3692 <font resource="font" />
3693 <text>Starting Path: %tw_terminal_location%</text>
3694 </object>
3695
3696 <object type="input">
3697 <condition var1="tw_terminal_state" var2="0" />
3698 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3699 <background color="%input_background_color%" />
3700 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3701 <font resource="font" color="%text_color%" />
3702 <text>%tw_terminal_command%</text>
3703 <data name="tw_terminal_command" />
3704 <restrict minlen="1" />
3705 <action function="terminalcommand">%tw_terminal_command%</action>
3706 </object>
3707
3708 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003709 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003710 <condition var1="tw_terminal_state" var2="1" />
3711 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3712 <font resource="font" color="%button_text_color%" />
3713 <text>KILL</text>
3714 <image resource="medium_button" />
3715 <action function="killterminal"></action>
3716 </object>
3717
3718 <object type="template" name="keyboardtemplate" />
3719
3720 <object type="action">
3721 <touch key="home" />
3722 <action function="page">main</action>
3723 </object>
3724
3725 <object type="action">
3726 <touch key="back" />
3727 <action function="page">terminalfolder</action>
3728 </object>
3729 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003730
3731 <page name="sideload">
3732 <object type="template" name="header" />
3733
3734 <object type="text" color="%text_color%">
3735 <font resource="font" />
3736 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3737 <text>ADB Sideload</text>
3738 </object>
3739
3740 <object type="checkbox">
3741 <placement x="%col1_x%" y="%row2_text_y%" />
3742 <font resource="font" color="%text_color%" />
3743 <text>Wipe Dalvik Cache.</text>
3744 <data variable="tw_wipe_dalvik" />
3745 <image checked="checkbox_true" unchecked="checkbox_false" />
3746 </object>
3747
3748 <object type="checkbox">
3749 <placement x="%col1_x%" y="%row3_text_y%" />
3750 <font resource="font" color="%text_color%" />
3751 <text>Wipe Cache.</text>
3752 <data variable="tw_wipe_cache" />
3753 <image checked="checkbox_true" unchecked="checkbox_false" />
3754 </object>
3755
3756 <object type="slider">
3757 <placement x="%slider_x%" y="%slider_y%" />
3758 <resource base="slider" used="slider-used" touch="slider-touch" />
3759 <actions>
3760 <action function="set">tw_back=advanced</action>
3761 <action function="set">tw_action=adbsideload</action>
3762 <action function="set">tw_action_text1=ADB Sideload</action>
3763 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3764 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3765 <action function="set">tw_has_cancel=1</action>
3766 <action function="set">tw_show_reboot=1</action>
3767 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3768 <action function="page">action_page</action>
3769 </actions>
3770 </object>
3771
3772 <object type="text" color="%text_color%">
3773 <font resource="font" />
3774 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3775 <text>Swipe to Start Sideload</text>
3776 </object>
3777
3778 <object type="action">
3779 <touch key="home" />
3780 <action function="page">main</action>
3781 </object>
3782
3783 <object type="action">
3784 <touch key="back" />
3785 <action function="page">advanced</action>
3786 </object>
3787
3788 <object type="template" name="footer" />
3789 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003790
3791 <page name="installsu">
3792 <object type="template" name="header" />
3793
3794 <object type="text" color="%text_color%">
3795 <font resource="font" />
3796 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3797 <text>Install SuperSU?</text>
3798 </object>
3799
3800 <object type="text" color="%text_color%">
3801 <font resource="font" />
3802 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3803 <text>Your device does not appear to be rooted.</text>
3804 </object>
3805
3806 <object type="text" color="%text_color%">
3807 <font resource="font" />
3808 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3809 <text>Install SuperSU now?</text>
3810 </object>
3811
3812 <object type="text" color="%text_color%">
3813 <font resource="font" />
3814 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3815 <text>This will root your device.</text>
3816 </object>
3817
3818 <object type="button">
3819 <highlight color="%highlight_color%" />
3820 <placement x="%col_center_x%" y="%row3_y%" />
3821 <font resource="font" color="%button_text_color%" />
3822 <text>Do Not Install</text>
3823 <image resource="main_button" />
3824 <action function="set">tw_page_done=1</action>
3825 </object>
3826
3827 <object type="slider">
3828 <placement x="%slider_x%" y="%slider_y%" />
3829 <resource base="slider" used="slider-used" touch="slider-touch" />
3830 <actions>
3831 <action function="set">tw_action=installsu</action>
3832 <action function="set">tw_action_text1=Installing SuperSU</action>
3833 <action function="set">tw_action_text2=</action>
3834 <action function="page">singleaction_page</action>
3835 </actions>
3836 </object>
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3841 <text>Swipe to Install</text>
3842 </object>
3843 </page>
3844
3845 <page name="fixsu">
3846 <object type="template" name="header" />
3847
3848 <object type="text" color="%text_color%">
3849 <font resource="font" />
3850 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3851 <text>Fix Superuser Permissions?</text>
3852 </object>
3853
3854 <object type="text" color="%text_color%">
3855 <font resource="font" />
3856 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3857 <text>Root permissions appear to be lost.</text>
3858 </object>
3859
3860 <object type="text" color="%text_color%">
3861 <font resource="font" />
3862 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3863 <text>Fix root permissions now?</text>
3864 </object>
3865
3866 <object type="text" color="%text_color%">
3867 <font resource="font" />
3868 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3869 <text>(Fixes permissions on su binary & app)</text>
3870 </object>
3871
3872 <object type="button">
3873 <highlight color="%highlight_color%" />
3874 <placement x="%col_center_x%" y="%row3_y%" />
3875 <font resource="font" color="%button_text_color%" />
3876 <text>Do Not Fix</text>
3877 <image resource="main_button" />
3878 <action function="set">tw_page_done=1</action>
3879 </object>
3880
3881 <object type="slider">
3882 <placement x="%slider_x%" y="%slider_y%" />
3883 <resource base="slider" used="slider-used" touch="slider-touch" />
3884 <actions>
3885 <action function="set">tw_action=fixsu</action>
3886 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3887 <action function="set">tw_action_text2=</action>
3888 <action function="page">singleaction_page</action>
3889 </actions>
3890 </object>
3891
3892 <object type="text" color="%text_color%">
3893 <font resource="font" />
3894 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3895 <text>Swipe to Fix Root</text>
3896 </object>
3897 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003898 </pages>
3899</recovery>