blob: 1147b77f3710f0a4940fff297e35b16f55884a51 [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" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation200" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="820" />
101 <variable name="back_button_x" value="413" />
102 <variable name="back_button_y" value="820" />
103 <variable name="sort_asc_text_y" value="739" />
104 <variable name="sort_asc_button_y" value="739" />
105 <variable name="sort_desc_text_y" value="779" />
106 <variable name="sort_desc_button_y" value="779" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="240" />
109 <variable name="sort_col3_button_x" value="300" />
110 <variable name="input_width" value="460" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="480" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="320" />
121 <variable name="console_install_height" value="440" />
122 <variable name="console_installdone_height" value="300" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="470" />
125 <variable name="fileselector_install_height" value="564" />
126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100136 <variable name="fastscroll_linecolor" value="#808080" />
137 <variable name="fastscroll_rectcolor" value="#808080" />
138 <variable name="fastscroll_w" value="40" />
139 <variable name="fastscroll_linew" value="2" />
140 <variable name="fastscroll_rectw" value="27" />
141 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="18" />
147 <variable name="sd_plus_x" value="280" />
148 <variable name="sdext_text_x" value="84" />
149 <variable name="sdext_text_y" value="150" />
150 <variable name="sdswap_button_y" value="185" />
151 <variable name="sdswap_text_x" value="84" />
152 <variable name="sdswap_text_y" value="195" />
153 <variable name="sdfilesystem_text_y" value="240" />
154 <variable name="sdfilesystem_button_y" value="280" />
155 <variable name="lock_x" value="40" />
156 <variable name="lock_y" value="200" />
157 <variable name="filemanager_select_x" value="365" />
158 <variable name="filemanager_select_y" value="744" />
159 <variable name="backup_name_y" value="350" />
160 <variable name="terminal_console_height" value="424" />
161 <variable name="terminal_text_y" value="444" />
162 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="440" />
164 <variable name="row_offset_text_y" value="480" />
165 <variable name="row_offset_medium_y" value="505" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400166 <variable name="exclamation_x" value="140" />
167 <variable name="exclamation_y" value="300" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400168 </variables>
169
170 <templates>
171 <template name="header">
172 <background color="%backgroundcolor%" />
173
174 <object type="image">
175 <image resource="top_bar" />
176 <placement x="0" y="0" />
177 </object>
178
179 <object type="text" color="%text_color%">
180 <font resource="font" />
181 <placement x="100" y="10" />
182 <text>Team Win Recovery Project v%tw_version%</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <condition var1="tw_simulate_actions" var2="1" />
187 <font resource="font" />
188 <placement x="100" y="40" />
189 <text>SIMULATING ACTIONS</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="100" y="70" />
195 <text>%tw_time%</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="250" y="70" />
201 <conditions>
202 <condition var1="tw_no_battery_percent" var2="0" />
203 <condition var1="tw_battery" op=">" var2="0" />
204 <condition var1="tw_battery" op="<" var2="101" />
205 </conditions>
206 <text>Battery: %tw_battery%</text>
207 </object>
208
209 <object type="button">
210 <placement x="%home_button_x%" y="%home_button_y%" />
211 <font resource="font" color="%button_text_color%" />
212 <text></text>
213 <image resource="home_icon" />
214 <condition var1="tw_busy" var2="0" />
215 <action function="key">home</action>
216 </object>
217
218 <object type="button">
219 <placement x="%back_button_x%" y="%back_button_y%" />
220 <font resource="font" color="%button_text_color%" />
221 <text></text>
222 <image resource="back_icon" />
223 <condition var1="tw_busy" var2="0" />
224 <action function="key">back</action>
225 </object>
226
227 <object type="action">
228 <touch key="power" />
229 <action function="overlay">lock</action>
230 </object>
231 </template>
232
233 <template name="progress_bar">
234 <object type="progressbar">
235 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
236 <resource empty="progress_empty" full="progress_full" />
237 <data name="ui_progress" />
238 </object>
239
240 <object type="animation">
241 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
242 <resource name="progress" />
243 <speed fps="15" render="2" />
244 <loop frame="1" />
245 </object>
246 </template>
247
248 <template name="action_page_console">
249 <object type="console">
250 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
251 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
252 <font resource="fixed" />
253 </object>
254 </template>
255
256 <template name="sort_options">
257 <object type="text" color="%text_color%">
258 <font resource="font" />
259 <placement x="%col1_x%" y="%sort_asc_text_y%" />
260 <text>Sort Ascending:</text>
261 </object>
262
263 <object type="button">
264 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
265 <font resource="UItext" color="%button_text_color%" />
266 <text>Name</text>
267 <image resource="sort_button" />
268 <action function="set">tw_gui_sort_order=1</action>
269 </object>
270
271 <object type="button">
272 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
273 <font resource="UItext" color="%button_text_color%" />
274 <text>Date</text>
275 <image resource="sort_button" />
276 <action function="set">tw_gui_sort_order=2</action>
277 </object>
278
279 <object type="button">
280 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
281 <font resource="UItext" color="%button_text_color%" />
282 <text>Size</text>
283 <image resource="sort_button" />
284 <action function="set">tw_gui_sort_order=3</action>
285 </object>
286
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%col1_x%" y="%sort_desc_text_y%" />
290 <text>Sort Descending:</text>
291 </object>
292
293 <object type="button">
294 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
295 <font resource="UItext" color="%button_text_color%" />
296 <text>Name</text>
297 <image resource="sort_button" />
298 <action function="set">tw_gui_sort_order=-1</action>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
303 <font resource="UItext" color="%button_text_color%" />
304 <text>Date</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=-2</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
311 <font resource="UItext" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=-3</action>
315 </object>
316 </template>
317
318 <template name="footer">
319 <object type="console">
320 <slideout resource="slideout" x="210" y="814" />
321 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
322 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
323 <font resource="fixed" />
324 </object>
325 </template>
326
327 <template name="keyboardtemplate">
328 <object type="keyboard">
329 <placement x="0" y="504" />
330 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 <layout1>
333 <keysize height="78" width="48" />
334 <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" />
335 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
336 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
337 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
338 </layout1>
339 <layout2>
340 <keysize height="78" width="48" />
341 <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" />
342 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
343 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
344 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
345 </layout2>
346 <layout3>
347 <keysize height="78" width="48" />
348 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
349 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
350 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
351 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
352 </layout3>
353 <layout4>
354 <keysize height="78" width="48" />
355 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
356 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
357 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
358 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
359 </layout4>
360 </object>
361 </template>
362 </templates>
363
364 <pages>
365 <page name="main">
366 <object type="action">
367 <actions>
368 <action function="set">tw_clear_destination=main2</action>
369 <action function="page">clear_vars</action>
370 </actions>
371 </object>
372 </page>
373
374 <page name="main2">
375 <object type="template" name="header" />
376
377 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400379 <placement x="%col1_x%" y="%row1_y%" />
380 <font resource="font" color="%button_text_color%" />
381 <text>Install</text>
382 <image resource="main_button" />
383 <actions>
384 <action function="queueclear"></action>
385 <action function="page">install</action>
386 </actions>
387 </object>
388
389 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600390 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400391 <placement x="%col2_x%" y="%row1_y%" />
392 <font resource="font" color="%button_text_color%" />
393 <text>Wipe</text>
394 <image resource="main_button" />
395 <action function="page">wipe</action>
396 </object>
397
398 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600399 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400400 <placement x="%col1_x%" y="%row2_y%" />
401 <font resource="font" color="%button_text_color%" />
402 <text>Backup</text>
403 <image resource="main_button" />
404 <action function="page">backup</action>
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="%row2_y%" />
410 <font resource="font" color="%button_text_color%" />
411 <text>Restore</text>
412 <image resource="main_button" />
413 <action function="page">restore</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="%row3_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Mount</text>
421 <image resource="main_button" />
422 <action function="page">mount</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="%row3_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Settings</text>
430 <image resource="main_button" />
431 <action function="page">settings</action>
432 </object>
433
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row4_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Advanced</text>
440 <image resource="main_button" />
441 <action function="page">advanced</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row4_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Reboot</text>
449 <image resource="main_button" />
450 <action function="page">reboot</action>
451 </object>
452
453 <object type="template" name="footer" />
454 </page>
455
456 <page name="install">
457 <object type="template" name="header" />
458
459 <object type="text" color="%text_color%">
460 <font resource="font" />
461 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
462 <text>Select Zip to Install</text>
463 </object>
464
465 <object type="button">
466 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400467 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <conditions>
469 <condition var1="tw_has_dual_storage" var2="1" />
470 <condition var1="tw_use_external_storage" var2="1" />
471 </conditions>
472 <text>Use external SD</text>
473 <image resource="radio_true" />
474 <action function="togglestorage">external</action>
475 </object>
476
477 <object type="button">
478 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400479 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400480 <conditions>
481 <condition var1="tw_has_dual_storage" var2="1" />
482 <condition var1="tw_use_external_storage" var2="0" />
483 </conditions>
484 <text>Use external SD</text>
485 <image resource="radio_false" />
486 <action function="togglestorage">external</action>
487 </object>
488
489 <object type="button">
490 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400491 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400492 <conditions>
493 <condition var1="tw_has_dual_storage" var2="1" />
494 <condition var1="tw_use_external_storage" var2="1" />
495 </conditions>
496 <text>Use internal storage</text>
497 <image resource="radio_false" />
498 <action function="togglestorage">internal</action>
499 </object>
500
501 <object type="button">
502 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400503 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400504 <conditions>
505 <condition var1="tw_has_dual_storage" var2="1" />
506 <condition var1="tw_use_external_storage" var2="0" />
507 </conditions>
508 <text>Use internal storage</text>
509 <image resource="radio_true" />
510 <action function="togglestorage">internal</action>
511 </object>
512
513 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600514 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400515 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
516 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100517 <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 -0400518 <text>%tw_zip_location%</text>
519 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
520 <sort name="tw_gui_sort_order" />
521 <icon folder="folder_icon" file="file_icon" />
522 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600523 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400524 <filter extn=".zip" folders="1" files="1" />
525 <path name="tw_zip_location" default="/sdcard" />
526 <data name="tw_filename" />
527 <selection name="tw_file" />
528 </object>
529
530 <object type="template" name="sort_options" />
531
532 <object type="action">
533 <condition var1="tw_filename" op="modified" />
534 <actions>
535 <action function="queuezip"></action>
536 <action function="page">flash_confirm</action>
537 </actions>
538 </object>
539
540 <object type="action">
541 <touch key="back" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="action">
546 <touch key="home" />
547 <action function="page">main</action>
548 </object>
549
550 <object type="template" name="footer" />
551 </page>
552
553 <page name="flash_confirm">
554 <object type="template" name="header" />
555
556 <object type="text" color="%text_color%">
557 <font resource="font" />
558 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
559 <text>This operation may install incompatible</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
565 <text>software and render your device unusable.</text>
566 </object>
567
568 <object type="text" color="%text_color%">
569 <font resource="font" />
570 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
571 <text>Folder:</text>
572 </object>
573
574 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400575 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400576 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
577 <text>%tw_zip_location%</text>
578 </object>
579
580 <object type="text" color="%text_color%">
581 <font resource="font" />
582 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
583 <text>File to flash:</text>
584 </object>
585
586 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400587 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400588 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
589 <text>%tw_file%</text>
590 </object>
591
592 <object type="text" color="%text_color%">
593 <font resource="font" />
594 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
595 <text>Press back to cancel adding this zip.</text>
596 </object>
597
598 <object type="checkbox">
599 <placement x="%col1_x%" y="%row8_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_signed_zip_verify" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <condition var1="tw_has_injecttwrp" var2="1" />
608 <placement x="%col1_x%" y="%row10_text_y%" />
609 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400610 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400611 <data variable="tw_inject_after_zip" />
612 <image checked="checkbox_true" unchecked="checkbox_false" />
613 </object>
614
615 <object type="text" color="%text_color%">
616 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400617 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <text>File %tw_zip_queue_count% of max of 10</text>
619 </object>
620
621 <object type="slider">
622 <placement x="%slider_x%" y="%slider_y%" placement="5" />
623 <resource base="slider" used="slider-used" touch="slider-touch" />
624 <action function="flash">flash_zip</action>
625 </object>
626
627 <object type="text" color="%text_color%">
628 <font resource="font" />
629 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
630 <text>Swipe to Confirm Flash</text>
631 </object>
632
633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400635 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
636 <placement x="%col1_x%" y="%row_queue_y%" />
637 <font resource="font" color="%button_text_color%" />
638 <text>Add More Zips</text>
639 <image resource="main_button" />
640 <action function="page">install</action>
641 </object>
642
643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400645 <placement x="%col2_x%" y="%row_queue_y%" />
646 <font resource="font" color="%button_text_color%" />
647 <text>Clear Zip Queue</text>
648 <image resource="main_button" />
649 <actions>
650 <action function="queueclear"></action>
651 <action function="page">install</action>
652 </actions>
653 </object>
654
655 <object type="action">
656 <touch key="back" />
657 <actions>
658 <action function="cancelzip"></action>
659 <action function="page">install</action>
660 </actions>
661 </object>
662
663 <object type="action">
664 <touch key="home" />
665 <action function="page">main</action>
666 </object>
667
668 <object type="template" name="footer" />
669 </page>
670
671 <page name="flash_zip">
672 <object type="template" name="header" />
673
674 <object type="console">
675 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
676 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
677 <font resource="fixed" />
678 </object>
679
680 <object type="text" color="%text_color%">
681 <font resource="font" />
682 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
683 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
684 </object>
685
686 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400687 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400688 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
689 <text>%tw_filename%</text>
690 </object>
691
692 <object type="template" name="progress_bar" />
693
694 <object type="action">
695 <condition var1="tw_operation_state" var2="1" />
696 <action function="page">flash_done</action>
697 </object>
698 </page>
699
700 <page name="flash_done">
701 <object type="template" name="header" />
702
703 <object type="text" color="%text_color%">
704 <font resource="font" />
705 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
706 <text>Zip Install Complete</text>
707 </object>
708
709 <object type="console">
710 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
711 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
712 <font resource="fixed" />
713 </object>
714
715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600716 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400717 <placement x="%col1_x%" y="%row4_y%" />
718 <font resource="font" color="%button_text_color%" />
719 <text>Wipe cache/dalvik</text>
720 <image resource="main_button" />
721 <actions>
722 <action function="set">tw_back=flash_done</action>
723 <action function="set">tw_action=wipe</action>
724 <action function="set">tw_action_param=/cache</action>
725 <action function="set">tw_has_action2=1</action>
726 <action function="set">tw_action2=wipe</action>
727 <action function="set">tw_action2_param=dalvik</action>
728 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
729 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
730 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
731 <action function="set">tw_slider_text=Swipe to Wipe</action>
732 <action function="page">confirm_action</action>
733 </actions>
734 </object>
735
736 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600737 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400738 <placement x="%col2_x%" y="%row4_y%" />
739 <font resource="font" color="%button_text_color%" />
740 <text>Reboot System</text>
741 <image resource="main_button" />
742 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_action=reboot</action>
745 <action function="set">tw_action_param=system</action>
746 <action function="set">tw_has_action2=0</action>
747 <action function="set">tw_text1=No OS Installed! Are you</action>
748 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400749 <action function="set">tw_text3=</action>
750 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400752 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_complete_text1=Rebooting...</action>
754 <action function="set">tw_slider_text=Swipe to Reboot</action>
755 <action function="page">rebootcheck</action>
756 </actions>
757 </object>
758
759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400761 <placement x="%col_center_x%" y="%row3_y%" />
762 <font resource="font" color="%button_text_color%" />
763 <text>Home</text>
764 <image resource="main_button" />
765 <actions>
766 <action function="set">tw_clear_destination=main2</action>
767 <action function="page">clear_vars</action>
768 </actions>
769 </object>
770
771 <object type="text" color="%text_fail_color%">
772 <condition var1="tw_operation_status" op="!=" var2="0" />
773 <font resource="font" />
774 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
775 <text>Failed</text>
776 </object>
777
778 <object type="text" color="%text_success_color%">
779 <condition var1="tw_operation_status" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Successful</text>
783 </object>
784
785 <object type="action">
786 <touch key="back" />
787 <actions>
788 <action function="set">tw_clear_destination=install</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </object>
792
793 <object type="action">
794 <touch key="home" />
795 <actions>
796 <action function="set">tw_clear_destination=main2</action>
797 <action function="page">clear_vars</action>
798 </actions>
799 </object>
800 </page>
801
802 <page name="clear_vars">
803 <object type="action">
804 <action function="set">tw_operation_state=0</action>
805 <action function="set">tw_text1=</action>
806 <action function="set">tw_text2=</action>
807 <action function="set">tw_text3=</action>
808 <action function="set">tw_text4=</action>
809 <action function="set">tw_action_text1=</action>
810 <action function="set">tw_action_text2=</action>
811 <action function="set">tw_action_param=</action>
812 <action function="set">tw_has_action2=0</action>
813 <action function="set">tw_action2=</action>
814 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400815 <action function="set">tw_has_cancel=0</action>
816 <action function="set">tw_cancel_action=</action>
817 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400818 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400819 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400820 <action function="page">%tw_clear_destination%</action>
821 </object>
822 </page>
823
824 <page name="confirm_action">
825 <object type="template" name="header" />
826
Dees_Troyce2fe772012-09-28 12:34:33 -0400827 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600828 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <condition var1="tw_show_exclamation" var2="1" />
830 <placement x="%exclamation_x%" y="%exclamation_y%" />
831 <font resource="font" color="%button_text_color%" />
832 <text></text>
833 <image resource="exclamation" />
834 </object>
835
Dees_Troy51a0e822012-09-05 15:24:24 -0400836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
839 <text>%tw_text1%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
845 <text>%tw_text2%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
851 <text>%tw_text3%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
857 <text>%tw_text4%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400862 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400863 <text>Press back button to cancel.</text>
864 </object>
865
866 <object type="slider">
867 <placement x="%slider_x%" y="%slider_y%" />
868 <resource base="slider" used="slider-used" touch="slider-touch" />
869 <action function="page">action_page</action>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
875 <text>%tw_slider_text%</text>
876 </object>
877
878 <object type="action">
879 <touch key="back" />
880 <actions>
881 <action function="set">tw_clear_destination=%tw_back%</action>
882 <action function="page">clear_vars</action>
883 </actions>
884 </object>
885
886 <object type="action">
887 <touch key="home" />
888 <action function="page">main</action>
889 </object>
890
891 <object type="template" name="footer" />
892 </page>
893
894 <page name="action_page">
895 <object type="template" name="header" />
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
900 <text>%tw_action_text1%</text>
901 </object>
902
903 <object type="text" color="%text_color%">
904 <font resource="font" />
905 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
906 <text>%tw_action_text2%</text>
907 </object>
908
909 <object type="template" name="action_page_console" />
910
Dees_Troyb46a6842012-09-25 11:06:46 -0400911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600912 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400913 <condition var1="tw_has_cancel" var2="1" />
914 <placement x="%col_center_medium_x%" y="%row4_y%" />
915 <font resource="font" color="%button_text_color%" />
916 <text>Cancel</text>
917 <image resource="medium_button" />
918 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
919 </object>
920
Dees_Troy51a0e822012-09-05 15:24:24 -0400921 <object type="template" name="progress_bar" />
922
923 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400924 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400925 <actions>
926 <action function="page">action_complete</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="0" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="1" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 <action function="%tw_action2%">%tw_action2_param%</action>
942 </actions>
943 </object>
944 </page>
945
Dees_Troy6ef66352013-02-21 08:26:57 -0600946 <page name="singleaction_page">
947 <object type="template" name="header" />
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
952 <text>%tw_action_text1%</text>
953 </object>
954
955 <object type="text" color="%text_color%">
956 <font resource="font" />
957 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
958 <text>%tw_action_text2%</text>
959 </object>
960
961 <object type="template" name="action_page_console" />
962
963 <object type="template" name="progress_bar" />
964
965 <object type="action">
966 <condition var1="tw_operation_state" var2="1" />
967 <actions>
968 <action function="set">tw_page_done=1</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="0" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="1" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 <action function="%tw_action2%">%tw_action2_param%</action>
984 </actions>
985 </object>
986 </page>
987
Dees_Troy51a0e822012-09-05 15:24:24 -0400988 <page name="action_complete">
989 <object type="template" name="header" />
990
991 <object type="text" color="%text_color%">
992 <font resource="font" />
993 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
994 <text>%tw_complete_text1%</text>
995 </object>
996
997 <object type="text" color="%text_fail_color%">
998 <condition var1="tw_operation_status" op="!=" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Failed</text>
1002 </object>
1003
1004 <object type="text" color="%text_success_color%">
1005 <condition var1="tw_operation_status" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Successful</text>
1009 </object>
1010
1011 <object type="template" name="action_page_console" />
1012
1013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001014 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001015 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Back</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_clear_destination=%tw_back%</action>
1022 <action function="page">clear_vars</action>
1023 </actions>
1024 </object>
1025
Dees_Troya3f81542012-10-08 10:58:53 -04001026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001027 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001028 <condition var1="tw_show_reboot" var2="1" />
1029 <placement x="%col_center_x%" y="%row4_y%" />
1030 <font resource="font" color="%button_text_color%" />
1031 <text>Reboot System</text>
1032 <image resource="main_button" />
1033 <actions>
1034 <action function="set">tw_back=main2</action>
1035 <action function="set">tw_action=reboot</action>
1036 <action function="set">tw_action_param=system</action>
1037 <action function="set">tw_has_action2=0</action>
1038 <action function="set">tw_text1=No OS Installed! Are you</action>
1039 <action function="set">tw_text2=sure you wish to reboot?</action>
1040 <action function="set">tw_text3=</action>
1041 <action function="set">tw_text4=</action>
1042 <action function="set">tw_action_text1=Rebooting...</action>
1043 <action function="set">tw_action_text2=</action>
1044 <action function="set">tw_complete_text1=Rebooting...</action>
1045 <action function="set">tw_slider_text=Swipe to Reboot</action>
1046 <action function="page">rebootcheck</action>
1047 </actions>
1048 </object>
1049
Dees_Troy51a0e822012-09-05 15:24:24 -04001050 <object type="action">
1051 <touch key="home" />
1052 <actions>
1053 <action function="set">tw_clear_destination=main2</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <touch key="back" />
1060 <actions>
1061 <action function="set">tw_clear_destination=%tw_back%</action>
1062 <action function="page">clear_vars</action>
1063 </actions>
1064 </object>
1065 </page>
1066
1067 <page name="filecheck">
1068 <object type="action">
1069 <action function="fileexists">%tw_filecheck%</action>
1070 </object>
1071
1072 <object type="action">
1073 <conditions>
1074 <condition var1="tw_operation_state" var2="1" />
1075 <condition var1="tw_operation_status" var2="0" />
1076 </conditions>
1077 <actions>
1078 <action function="set">tw_fileexists=1</action>
1079 <action function="page">%tw_existpage%</action>
1080 </actions>
1081 </object>
1082
1083 <object type="action">
1084 <conditions>
1085 <condition var1="tw_operation_state" var2="1" />
1086 <condition var1="tw_operation_status" var2="1" />
1087 </conditions>
1088 <actions>
1089 <action function="set">tw_fileexists=0</action>
1090 <action function="page">%tw_notexistpage%</action>
1091 </actions>
1092 </object>
1093 </page>
1094
1095 <page name="rebootcheck">
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1098 <action function="reboot">%tw_action_param%</action>
1099 </object>
1100
1101 <object type="action">
1102 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1103 <action function="page">confirm_action</action>
1104 </object>
1105 </page>
1106
1107 <page name="wipe">
1108 <object type="template" name="header" />
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1113 <text>Wipe Menu</text>
1114 </object>
1115
1116 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001117 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001118 <placement x="%col1_x%" y="%row1_y%" />
1119 <font resource="font" color="%button_text_color%" />
1120 <text>Cache</text>
1121 <image resource="main_button" />
1122 <actions>
1123 <action function="set">tw_back=wipe</action>
1124 <action function="set">tw_action=wipe</action>
1125 <action function="set">tw_action_param=/cache</action>
1126 <action function="set">tw_text1=Wipe Cache?</action>
1127 <action function="set">tw_action_text1=Wiping Cache...</action>
1128 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1129 <action function="set">tw_slider_text=Swipe to Wipe</action>
1130 <action function="page">confirm_action</action>
1131 </actions>
1132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001136 <placement x="%col2_x%" y="%row1_y%" />
1137 <font resource="font" color="%button_text_color%" />
1138 <text>Dalvik Cache</text>
1139 <image resource="main_button" />
1140 <actions>
1141 <action function="set">tw_back=wipe</action>
1142 <action function="set">tw_action=wipe</action>
1143 <action function="set">tw_action_param=dalvik</action>
1144 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1145 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1146 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1147 <action function="set">tw_slider_text=Swipe to Wipe</action>
1148 <action function="page">confirm_action</action>
1149 </actions>
1150 </object>
1151
1152 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001153 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <placement x="%col1_x%" y="%row2_y%" />
1155 <font resource="font" color="%button_text_color%" />
1156 <text>Factory Reset</text>
1157 <image resource="main_button" />
1158 <actions>
1159 <action function="set">tw_back=wipe</action>
1160 <action function="set">tw_action=wipe</action>
1161 <action function="set">tw_action_param=data</action>
1162 <action function="set">tw_text1=Factory Reset?</action>
1163 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1164 <action function="set">tw_action_text1=Factory Reset...</action>
1165 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1166 <action function="set">tw_slider_text=Swipe to Wipe</action>
1167 <action function="page">confirm_action</action>
1168 </actions>
1169 </object>
1170
1171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001173 <placement x="%col2_x%" y="%row2_y%" />
1174 <font resource="font" color="%button_text_color%" />
1175 <text>System</text>
1176 <image resource="main_button" />
1177 <actions>
1178 <action function="set">tw_back=wipe</action>
1179 <action function="set">tw_action=wipe</action>
1180 <action function="set">tw_action_param=/system</action>
1181 <action function="set">tw_text1=Wipe System?</action>
1182 <action function="set">tw_text2=This will wipe your ROM</action>
1183 <action function="set">tw_action_text1=Wiping System...</action>
1184 <action function="set">tw_complete_text1=System Wipe Complete</action>
1185 <action function="set">tw_slider_text=Swipe to Wipe</action>
1186 <action function="page">confirm_action</action>
1187 </actions>
1188 </object>
1189
1190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001192 <condition var1="tw_has_external" var2="1" />
1193 <placement x="%col1_x%" y="%row3_y%" />
1194 <font resource="font" color="%button_text_color%" />
1195 <text>External Storage</text>
1196 <image resource="main_button" />
1197 <actions>
1198 <action function="set">tw_back=wipe</action>
1199 <action function="set">tw_action=wipe</action>
1200 <action function="set">tw_action_param=EXTERNAL</action>
1201 <action function="set">tw_has_action2=1</action>
1202 <action function="set">tw_action2=set</action>
1203 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001204 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001205 <action function="set">tw_action_text1=Wiping External Storage...</action>
1206 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1207 <action function="set">tw_slider_text=Swipe to Wipe</action>
1208 <action function="page">confirm_action</action>
1209 </actions>
1210 </object>
1211
1212 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001213 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001214 <condition var1="tw_has_internal" var2="1" />
1215 <placement x="%col2_x%" y="%row3_y%" />
1216 <font resource="font" color="%button_text_color%" />
1217 <text>Internal Storage</text>
1218 <image resource="main_button" />
1219 <actions>
1220 <action function="set">tw_back=wipe</action>
1221 <action function="set">tw_action=wipe</action>
1222 <action function="set">tw_action_param=INTERNAL</action>
1223 <action function="set">tw_has_action2=1</action>
1224 <action function="set">tw_action2=set</action>
1225 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1226 <action function="set">tw_text1=Wipe Internal Storage?</action>
1227 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1228 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1229 <action function="set">tw_slider_text=Swipe to Wipe</action>
1230 <action function="page">confirm_action</action>
1231 </actions>
1232 </object>
1233
1234 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001235 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001236 <conditions>
1237 <condition var1="tw_has_internal" var2="1" />
1238 <condition var1="tw_has_data_media" var2="1" />
1239 </conditions>
1240 <placement x="%col1_x%" y="%row4_y%" />
1241 <font resource="font" color="%button_text_color%" />
1242 <text>Format Data</text>
1243 <image resource="main_button" />
1244 <actions>
1245 <action function="set">tw_back=wipe</action>
1246 <action function="set">tw_action=wipe</action>
1247 <action function="set">tw_action_param=DATAMEDIA</action>
1248 <action function="set">tw_has_action2=1</action>
1249 <action function="set">tw_action2=set</action>
1250 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001251 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001252 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001253 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001254 <action function="set">tw_action_text1=Formatting Data...</action>
1255 <action function="set">tw_complete_text1=Data Format Complete</action>
1256 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001257 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001258 <action function="page">confirm_action</action>
1259 </actions>
1260 </object>
1261
1262 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001263 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001264 <condition var1="tw_has_data_media" var2="0" />
1265 <placement x="%col1_x%" y="%row4_y%" />
1266 <font resource="font" color="%button_text_color%" />
1267 <text>Android Secure</text>
1268 <image resource="main_button" />
1269 <actions>
1270 <action function="set">tw_back=wipe</action>
1271 <action function="set">tw_action=wipe</action>
1272 <action function="set">tw_action_param=ANDROIDSECURE</action>
1273 <action function="set">tw_text1=Wipe Android Secure?</action>
1274 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1275 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1276 <action function="set">tw_slider_text=Swipe to Format</action>
1277 <action function="page">confirm_action</action>
1278 </actions>
1279 </object>
1280
1281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001283 <condition var1="tw_has_sdext_partition" var2="1" />
1284 <placement x="%col2_x%" y="%row4_y%" />
1285 <font resource="font" color="%button_text_color%" />
1286 <text>SD Ext</text>
1287 <image resource="main_button" />
1288 <actions>
1289 <action function="set">tw_back=wipe</action>
1290 <action function="set">tw_action=wipe</action>
1291 <action function="set">tw_action_param=/sd-ext</action>
1292 <action function="set">tw_text1=Wipe SD-Ext?</action>
1293 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1294 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1295 <action function="set">tw_slider_text=Swipe to Wipe</action>
1296 <action function="page">confirm_action</action>
1297 </actions>
1298 </object>
1299
1300 <object type="action">
1301 <touch key="home" />
1302 <action function="page">main</action>
1303 </object>
1304
1305 <object type="action">
1306 <touch key="back" />
1307 <action function="page">main</action>
1308 </object>
1309
1310 <object type="template" name="footer" />
1311 </page>
1312
1313 <page name="backup">
1314 <object type="template" name="header" />
1315
1316 <object type="text" color="%text_color%">
1317 <font resource="font" />
1318 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1319 <text>Backup Name: %tw_backup_name%</text>
1320 </object>
1321
1322 <object type="text" color="%text_color%">
1323 <placement x="%col1_x%" y="%row1_text_y%" />
1324 <font resource="font" />
1325 <text>Backup Device</text>
1326 </object>
1327
1328 <object type="slider">
1329 <placement x="%slider_x%" y="slider_y" />
1330 <resource base="slider" used="slider-used" touch="slider-touch" />
1331 <action function="page">backup_run</action>
1332 </object>
1333
1334 <object type="text" color="%text_color%">
1335 <font resource="font" />
1336 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1337 <text>Swipe to Back Up</text>
1338 </object>
1339
1340 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001341 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001342 <placement x="%col2_x%" y="%row1_y%" />
1343 <font resource="font" color="%button_text_color%" />
1344 <text>Refresh Sizes</text>
1345 <image resource="main_button" />
1346 <action function="refreshsizes"></action>
1347 </object>
1348
1349 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001350 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001351 <placement x="%col2_x%" y="%backup_name_y%" />
1352 <font resource="font" color="%button_text_color%" />
1353 <text>Set Backup Name</text>
1354 <image resource="main_button" />
1355 <actions>
1356 <action function="set">tw_fileexists=0</action>
1357 <action function="page">backupname1</action>
1358 </actions>
1359 </object>
1360
1361 <object type="checkbox">
1362 <placement x="%col1_x%" y="%row2_text_y%" />
1363 <font resource="font" color="%text_color%" />
1364 <text>System (%tw_backup_system_size% MB)</text>
1365 <data variable="tw_backup_system" />
1366 <image checked="checkbox_true" unchecked="checkbox_false" />
1367 </object>
1368
1369 <object type="checkbox">
1370 <placement x="%col1_x%" y="%row3_text_y%" />
1371 <font resource="font" color="%text_color%" />
1372 <text>Data (%tw_backup_data_size% MB)</text>
1373 <data variable="tw_backup_data" />
1374 <image checked="checkbox_true" unchecked="checkbox_false" />
1375 </object>
1376
1377 <object type="checkbox">
1378 <condition var1="tw_has_boot_partition" var2="1" />
1379 <placement x="%col1_x%" y="%row4_text_y%" />
1380 <font resource="font" color="%text_color%" />
1381 <text>Boot (%tw_backup_boot_size% MB)</text>
1382 <data variable="tw_backup_boot" />
1383 <image checked="checkbox_true" unchecked="checkbox_false" />
1384 </object>
1385
1386 <object type="checkbox">
1387 <condition var1="tw_has_recovery_partition" var2="1" />
1388 <placement x="%col1_x%" y="%row5_text_y%" />
1389 <font resource="font" color="%text_color%" />
1390 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1391 <data variable="tw_backup_recovery" />
1392 <image checked="checkbox_true" unchecked="checkbox_false" />
1393 </object>
1394
1395 <object type="checkbox">
1396 <placement x="%col1_x%" y="%row6_text_y%" />
1397 <font resource="font" color="%text_color%" />
1398 <text>Cache (%tw_backup_cache_size% MB)</text>
1399 <data variable="tw_backup_cache" />
1400 <image checked="checkbox_true" unchecked="checkbox_false" />
1401 </object>
1402
1403 <object type="checkbox">
1404 <condition var1="tw_has_android_secure" var2="1" />
1405 <placement x="%col1_x%" y="%row7_text_y%" />
1406 <font resource="font" color="%text_color%" />
1407 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1408 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1409 <data variable="tw_backup_andsec" />
1410 <image checked="checkbox_true" unchecked="checkbox_false" />
1411 </object>
1412
1413 <object type="checkbox">
1414 <condition var1="tw_has_sdext_partition" var2="1" />
1415 <placement x="%col1_x%" y="%row8_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1418 <condition var1="fileexists" var2="/sd-ext" />
1419 <data variable="tw_backup_sdext" />
1420 <image checked="checkbox_true" unchecked="checkbox_false" />
1421 </object>
1422
1423 <object type="checkbox">
1424 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001425 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 <font resource="font" color="%text_color%" />
1427 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1428 <data variable="tw_backup_sp1" />
1429 <image checked="checkbox_true" unchecked="checkbox_false" />
1430 </object>
1431
1432 <object type="checkbox">
1433 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001434 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 <font resource="font" color="%text_color%" />
1436 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1437 <data variable="tw_backup_sp2" />
1438 <image checked="checkbox_true" unchecked="checkbox_false" />
1439 </object>
1440
1441 <object type="checkbox">
1442 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001443 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001444 <font resource="font" color="%text_color%" />
1445 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1446 <data variable="tw_backup_sp3" />
1447 <image checked="checkbox_true" unchecked="checkbox_false" />
1448 </object>
1449
1450 <object type="text" color="%text_color%">
1451 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001452 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001453 <text>Free Space: %tw_storage_free_size% MB</text>
1454 </object>
1455
1456 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001457 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001458 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001459 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <data variable="tw_use_compression" />
1461 <image checked="checkbox_true" unchecked="checkbox_false" />
1462 </object>
1463
1464 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001465 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001466 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001467 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001468 <data variable="tw_skip_md5_generate" />
1469 <image checked="checkbox_true" unchecked="checkbox_false" />
1470 </object>
1471
1472 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001473 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001474 <font resource="font" color="%text_color%" />
1475 <conditions>
1476 <condition var1="tw_has_dual_storage" var2="1" />
1477 <condition var1="tw_use_external_storage" var2="1" />
1478 </conditions>
1479 <text>Use external SD</text>
1480 <image resource="radio_true" />
1481 <action function="togglestorage">external</action>
1482 </object>
1483
1484 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001485 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001486 <font resource="font" color="%text_color%" />
1487 <conditions>
1488 <condition var1="tw_has_dual_storage" var2="1" />
1489 <condition var1="tw_use_external_storage" var2="0" />
1490 </conditions>
1491 <text>Use external SD</text>
1492 <image resource="radio_false" />
1493 <action function="togglestorage">external</action>
1494 </object>
1495
1496 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001497 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001498 <font resource="font" color="%text_color%" />
1499 <conditions>
1500 <condition var1="tw_has_dual_storage" var2="1" />
1501 <condition var1="tw_use_external_storage" var2="1" />
1502 </conditions>
1503 <text>Use internal storage</text>
1504 <image resource="radio_false" />
1505 <action function="togglestorage">internal</action>
1506 </object>
1507
1508 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001509 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001510 <font resource="font" color="%text_color%" />
1511 <conditions>
1512 <condition var1="tw_has_dual_storage" var2="1" />
1513 <condition var1="tw_use_external_storage" var2="0" />
1514 </conditions>
1515 <text>Use internal storage</text>
1516 <image resource="radio_true" />
1517 <action function="togglestorage">internal</action>
1518 </object>
1519
1520 <object type="action">
1521 <touch key="home" />
1522 <action function="page">main</action>
1523 </object>
1524
1525 <object type="action">
1526 <touch key="back" />
1527 <action function="page">main</action>
1528 </object>
1529
1530 <object type="template" name="footer" />
1531 </page>
1532
1533 <page name="backupname1">
1534 <object type="action">
1535 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1536 <action function="set">tw_backup_name=</function>
1537 </object>
1538
1539 <object type="action">
1540 <action function="page">backupname2</function>
1541 </object>
1542 </page>
1543
1544 <page name="backupname2">
1545 <object type="template" name="header" />
1546
1547 <object type="text" color="%text_color%">
1548 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1549 <font resource="font" />
1550 <text>Please Enter a Backup Name</text>
1551 </object>
1552
1553 <object type="input">
1554 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1555 <background color="%input_background_color%" />
1556 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1557 <font resource="font" color="%text_color%" />
1558 <text>%tw_backup_name%</text>
1559 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001560 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001561 <actions>
1562 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1563 <action function="set">tw_existpage=backupname2</action>
1564 <action function="set">tw_notexistpage=backup</action>
1565 <action function="page">filecheck</action>
1566 </actions>
1567 </object>
1568
1569 <object type="text" color="%text_fail_color%">
1570 <condition var1="tw_fileexists" var2="1" />
1571 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1572 <font resource="font" />
1573 <text>A backup with that name already exists!</text>
1574 </object>
1575
1576 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001577 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001578 <placement x="%col_center_x%" y="%row2_y%" />
1579 <font resource="font" color="%button_text_color%" />
1580 <text>Cancel</text>
1581 <image resource="main_button" />
1582 <actions>
1583 <action function="set">tw_backup_name=(Current Date)</action>
1584 <action function="page">backup</action>
1585 </actions>
1586 </object>
1587
1588 <object type="template" name="keyboardtemplate" />
1589
1590 <object type="action">
1591 <touch key="home" />
1592 <actions>
1593 <action function="set">tw_backup_name=(Current Date)</action>
1594 <action function="page">main</action>
1595 </actions>
1596 </object>
1597
1598 <object type="action">
1599 <touch key="back" />
1600 <actions>
1601 <action function="set">tw_backup_name=(Current Date)</action>
1602 <action function="page">backup</action>
1603 </actions>
1604 </object>
1605
1606 <object type="template" name="footer" />
1607 </page>
1608
1609 <page name="backup_run">
1610 <object type="template" name="header" />
1611
1612 <object type="text" color="%text_color%">
1613 <font resource="font" />
1614 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1615 <text>%tw_operation% %tw_partition%</text>
1616 </object>
1617
1618 <object type="template" name="action_page_console" />
1619
1620 <object type="template" name="progress_bar" />
1621
1622 <object type="action">
1623 <action function="nandroid">backup</action>
1624 </object>
1625
1626 <object type="action">
1627 <condition var1="tw_operation_state" var2="1" />
1628 <actions>
1629 <action function="set">tw_back=backup</action>
1630 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001631 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001632 <action function="page">action_complete</action>
1633 </actions>
1634 </object>
1635 </page>
1636
1637 <page name="restore">
1638 <object type="template" name="header" />
1639
1640 <object type="button">
1641 <placement x="%col1_x%" y="%row1_header_y%" />
1642 <font resource="font" color="%text_color%" />
1643 <conditions>
1644 <condition var1="tw_has_dual_storage" var2="1" />
1645 <condition var1="tw_use_external_storage" var2="1" />
1646 </conditions>
1647 <text>Use external SD</text>
1648 <image resource="radio_true" />
1649 <action function="togglestorage">external</action>
1650 </object>
1651
1652 <object type="button">
1653 <placement x="%col1_x%" y="%row1_header_y%" />
1654 <font resource="font" color="%text_color%" />
1655 <conditions>
1656 <condition var1="tw_has_dual_storage" var2="1" />
1657 <condition var1="tw_use_external_storage" var2="0" />
1658 </conditions>
1659 <text>Use external SD</text>
1660 <image resource="radio_false" />
1661 <action function="togglestorage">external</action>
1662 </object>
1663
1664 <object type="button">
1665 <placement x="%col2_x%" y="%row1_header_y%" />
1666 <font resource="font" color="%text_color%" />
1667 <conditions>
1668 <condition var1="tw_has_dual_storage" var2="1" />
1669 <condition var1="tw_use_external_storage" var2="1" />
1670 </conditions>
1671 <text>Use internal storage</text>
1672 <image resource="radio_false" />
1673 <action function="togglestorage">internal</action>
1674 </object>
1675
1676 <object type="button">
1677 <placement x="%col2_x%" y="%row1_header_y%" />
1678 <font resource="font" color="%text_color%" />
1679 <conditions>
1680 <condition var1="tw_has_dual_storage" var2="1" />
1681 <condition var1="tw_use_external_storage" var2="0" />
1682 </conditions>
1683 <text>Use internal storage</text>
1684 <image resource="radio_true" />
1685 <action function="togglestorage">internal</action>
1686 </object>
1687
1688 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001689 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001690 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1691 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001692 <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 -04001693 <text>Select Package to Restore:</text>
1694 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1695 <sort name="tw_gui_sort_order" />
1696 <icon folder="folder_icon" file="file_icon" />
1697 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001698 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <filter folders="1" files="0" nav="0" />
1700 <path name="tw_backups_folder" />
1701 <data name="tw_restore" default="" />
1702 <selection name="tw_restore_name" />
1703 </object>
1704
1705 <object type="template" name="sort_options" />
1706
1707 <object type="action">
1708 <condition var1="tw_restore" op="modified" />
1709 <actions>
1710 <action function="readBackup"></action>
1711 <action function="page">restore_select</action>
1712 </actions>
1713 </object>
1714
1715 <object type="action">
1716 <touch key="home" />
1717 <action function="page">main</action>
1718 </object>
1719
1720 <object type="action">
1721 <touch key="back" />
1722 <action function="page">main</action>
1723 </object>
1724
1725 <object type="template" name="footer" />
1726 </page>
1727
1728 <page name="restore_select">
1729 <object type="template" name="header" />
1730
1731 <object type="text">
1732 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1733 <font resource="font" color="%text_color%" />
1734 <text>Restoring: %tw_restore_name%</text>
1735 </object>
1736
1737 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001738 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001739 <placement x="%col2_x%" y="%row1_y%" />
1740 <font resource="font" color="%button_text_color%" />
1741 <text>Rename Backup</text>
1742 <image resource="main_button" />
1743 <actions>
1744 <action function="set">tw_backup_rename=</action>
1745 <action function="set">tw_fileexists=0</action>
1746 <action function="page">renamebackup</action>
1747 </actions>
1748 </object>
1749
1750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001752 <placement x="%col2_x%" y="%row2_y%" />
1753 <font resource="font" color="%button_text_color%" />
1754 <text>Delete Backup</text>
1755 <image resource="main_button" />
1756 <actions>
1757 <action function="set">tw_back=restore</action>
1758 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001759 <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 -04001760 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1761 <action function="set">tw_text2=This cannot be undone!</action>
1762 <action function="set">tw_action_text1=Deleting Backup...</action>
1763 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1764 <action function="set">tw_slider_text=Swipe to Delete</action>
1765 <action function="page">confirm_action</action>
1766 </actions>
1767 </object>
1768
1769 <object type="slider">
1770 <placement x="%slider_x%" y="%slider_y%" />
1771 <resource base="slider" used="slider-used" touch="slider-touch" />
1772 <action function="page">restore_run</action>
1773 </object>
1774
1775 <object type="text" color="%text_color%">
1776 <font resource="font" />
1777 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1778 <text>Swipe to Restore</text>
1779 </object>
1780
1781 <object type="checkbox">
1782 <placement x="%col1_x%" y="%row2_text_y%" />
1783 <font resource="font" color="%text_color%" />
1784 <text>System</text>
1785 <condition var1="tw_restore_system" op=">=" var2="0" />
1786 <data variable="tw_restore_system" />
1787 <image checked="checkbox_true" unchecked="checkbox_false" />
1788 </object>
1789
1790 <object type="checkbox">
1791 <placement x="%col1_x%" y="%row3_text_y%" />
1792 <font resource="font" color="%text_color%" />
1793 <text>Data</text>
1794 <condition var1="tw_restore_data" op=">=" var2="0" />
1795 <data variable="tw_restore_data" />
1796 <image checked="checkbox_true" unchecked="checkbox_false" />
1797 </object>
1798
1799 <object type="checkbox">
1800 <placement x="%col1_x%" y="%row4_text_y%" />
1801 <font resource="font" color="%text_color%" />
1802 <text>Boot</text>
1803 <condition var1="tw_restore_boot" op=">=" var2="0" />
1804 <data variable="tw_restore_boot" />
1805 <image checked="checkbox_true" unchecked="checkbox_false" />
1806 </object>
1807
1808 <object type="checkbox">
1809 <placement x="%col1_x%" y="%row6_text_y%" />
1810 <font resource="font" color="%text_color%" />
1811 <text>Cache</text>
1812 <condition var1="tw_restore_cache" op=">=" var2="0" />
1813 <data variable="tw_restore_cache" />
1814 <image checked="checkbox_true" unchecked="checkbox_false" />
1815 </object>
1816
1817 <object type="checkbox">
1818 <placement x="%col1_x%" y="%row7_text_y%" />
1819 <font resource="font" color="%text_color%" />
1820 <text>.android_secure</text>
1821 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1822 <data variable="tw_restore_andsec" />
1823 <image checked="checkbox_true" unchecked="checkbox_false" />
1824 </object>
1825
1826 <object type="checkbox">
1827 <placement x="%col1_x%" y="%row8_text_y%" />
1828 <font resource="font" color="%text_color%" />
1829 <text>sd-ext</text>
1830 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1831 <data variable="tw_restore_sdext" />
1832 <image checked="checkbox_true" unchecked="checkbox_false" />
1833 </object>
1834
1835 <object type="checkbox">
1836 <placement x="%col1_x%" y="%row10_text_y%" />
1837 <font resource="font" color="%text_color%" />
1838 <text>%tw_sp1_name%</text>
1839 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1840 <data variable="tw_restore_sp1" />
1841 <image checked="checkbox_true" unchecked="checkbox_false" />
1842 </object>
1843
1844 <object type="checkbox">
1845 <placement x="%col1_x%" y="%row11_text_y%" />
1846 <font resource="font" color="%text_color%" />
1847 <text>%tw_sp2_name%</text>
1848 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1849 <data variable="tw_restore_sp2" />
1850 <image checked="checkbox_true" unchecked="checkbox_false" />
1851 </object>
1852
1853 <object type="checkbox">
1854 <placement x="%col1_x%" y="%row12_text_y%" />
1855 <font resource="font" color="%text_color%" />
1856 <text>%tw_sp3_name%</text>
1857 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1858 <data variable="tw_restore_sp3" />
1859 <image checked="checkbox_true" unchecked="checkbox_false" />
1860 </object>
1861
1862 <object type="checkbox">
1863 <placement x="%col1_x%" y="%row14_text_y%" />
1864 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001865 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001866 <data variable="tw_skip_md5_check" />
1867 <image checked="checkbox_true" unchecked="checkbox_false" />
1868 </object>
1869
1870 <object type="text" color="%text_color%">
1871 <font resource="font" />
1872 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1873 <text>Package Date: %tw_restore_file_date%</text>
1874 </object>
1875
1876 <object type="action">
1877 <touch key="home" />
1878 <action function="page">main</action>
1879 </object>
1880
1881 <object type="action">
1882 <touch key="back" />
1883 <action function="page">restore</action>
1884 </object>
1885
1886 <object type="template" name="footer" />
1887 </page>
1888
1889 <page name="renamebackup">
1890 <object type="template" name="header" />
1891
1892 <object type="text" color="%text_color%">
1893 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1894 <font resource="font" />
1895 <text>Please Enter a New Backup Name</text>
1896 </object>
1897
1898 <object type="input">
1899 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1900 <background color="%input_background_color%" />
1901 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1902 <font resource="font" color="%text_color%" />
1903 <text>%tw_backup_rename%</text>
1904 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001905 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001906 <actions>
1907 <action function="set">tw_back=restore</action>
1908 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001909 <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 -04001910 <action function="set">tw_text1=Rename Backup?</action>
1911 <action function="set">tw_text2=This cannot be undone!</action>
1912 <action function="set">tw_action_text1=Renaming Backup...</action>
1913 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1914 <action function="set">tw_slider_text=Swipe to Rename</action>
1915 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1916 <action function="set">tw_existpage=renamebackup</action>
1917 <action function="set">tw_notexistpage=confirm_action</action>
1918 <action function="page">filecheck</action>
1919 </actions>
1920 </object>
1921
1922 <object type="text" color="%text_fail_color%">
1923 <condition var1="tw_fileexists" var2="1" />
1924 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1925 <font resource="font" />
1926 <text>A backup with that name already exists!</text>
1927 </object>
1928
1929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001930 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001931 <placement x="%col_center_x%" y="%row2_y%" />
1932 <font resource="font" color="%button_text_color%" />
1933 <text>Cancel</text>
1934 <image resource="main_button" />
1935 <action function="page">restore_select</action>
1936 </object>
1937
1938 <object type="template" name="keyboardtemplate" />
1939
1940 <object type="action">
1941 <touch key="home" />
1942 <action function="page">main</action>
1943 </object>
1944
1945 <object type="action">
1946 <touch key="back" />
1947 <action function="page">restore_select</action>
1948 </object>
1949
1950 <object type="template" name="footer" />
1951 </page>
1952
1953 <page name="restore_run">
1954 <object type="template" name="header" />
1955
1956 <object type="text" color="%text_color%">
1957 <font resource="font" />
1958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1959 <text>%tw_operation% %tw_partition%</text>
1960 </object>
1961
1962 <object type="template" name="action_page_console" />
1963
1964 <object type="template" name="progress_bar" />
1965
1966 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001967 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001968 <actions>
1969 <action function="set">tw_back=restore_select</action>
1970 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001971 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001972 <action function="page">action_complete</action>
1973 </actions>
1974 </object>
1975
1976 <object type="action">
1977 <action function="nandroid">restore</action>
1978 </object>
1979 </page>
1980
1981 <page name="mount">
1982 <object type="template" name="header" />
1983
1984 <object type="text" color="%text_color%">
1985 <font resource="font" />
1986 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1987 <text>Mount Menu</text>
1988 </object>
1989
1990 <object type="button">
1991 <placement x="%col1_x%" y="%row1_text_y%" />
1992 <font resource="font" color="%text_color%" />
1993 <condition var1="mounted" op="!=" var2="/system" />
1994 <text>Mount System</text>
1995 <image resource="checkbox_false" />
1996 <action function="mount">/system</action>
1997 </object>
1998
1999 <object type="button">
2000 <placement x="%col1_x%" y="%row1_text_y%" />
2001 <font resource="font" color="%text_color%" />
2002 <condition var1="mounted" op="=" var2="/system" />
2003 <text>Unmount System</text>
2004 <image resource="checkbox_true" />
2005 <action function="umount">/system</action>
2006 </object>
2007
2008 <object type="button">
2009 <placement x="%col1_x%" y="%row2_text_y%" />
2010 <font resource="font" color="%text_color%" />
2011 <condition var1="mounted" op="!=" var2="/data" />
2012 <text>Mount Data</text>
2013 <image resource="checkbox_false" />
2014 <action function="mount">/data</action>
2015 </object>
2016
2017 <object type="button">
2018 <placement x="%col1_x%" y="%row2_text_y%" />
2019 <font resource="font" color="%text_color%" />
2020 <condition var1="mounted" op="=" var2="/data" />
2021 <text>Unmount Data</text>
2022 <image resource="checkbox_true" />
2023 <action function="umount">/data</action>
2024 </object>
2025
2026 <object type="button">
2027 <placement x="%col1_x%" y="%row3_text_y%" />
2028 <font resource="font" color="%text_color%" />
2029 <condition var1="mounted" op="!=" var2="/cache" />
2030 <text>Mount Cache</text>
2031 <image resource="checkbox_false" />
2032 <action function="mount">/cache</action>
2033 </object>
2034
2035 <object type="button">
2036 <placement x="%col1_x%" y="%row3_text_y%" />
2037 <font resource="font" color="%text_color%" />
2038 <condition var1="mounted" op="=" var2="/cache" />
2039 <text>Unmount Cache</text>
2040 <image resource="checkbox_true" />
2041 <action function="umount">/cache</action>
2042 </object>
2043
2044 <object type="button">
2045 <placement x="%col1_x%" y="%row4_text_y%" />
2046 <font resource="font" color="%text_color%" />
2047 <conditions>
2048 <condition var1="tw_has_external" var2="1" />
2049 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2050 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002051 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002052 <image resource="checkbox_false" />
2053 <action function="mount">EXTERNAL</action>
2054 </object>
2055
2056 <object type="button">
2057 <placement x="%col1_x%" y="%row4_text_y%" />
2058 <font resource="font" color="%text_color%" />
2059 <conditions>
2060 <condition var1="tw_has_external" var2="1" />
2061 <condition var1="mounted" op="=" var2="EXTERNAL" />
2062 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002063 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002064 <image resource="checkbox_true" />
2065 <action function="umount">EXTERNAL</action>
2066 </object>
2067
2068 <object type="button">
2069 <placement x="%col2_x%" y="%row4_text_y%" />
2070 <font resource="font" color="%text_color%" />
2071 <conditions>
2072 <condition var1="tw_has_internal" var2="1" />
2073 <condition var1="tw_has_data_media" var2="0" />
2074 <condition var1="mounted" op="!=" var2="INTERNAL" />
2075 </conditions>
2076 <text>Mount Internal</text>
2077 <image resource="checkbox_false" />
2078 <action function="mount">INTERNAL</action>
2079 </object>
2080
2081 <object type="button">
2082 <placement x="%col2_x%" y="%row4_text_y%" />
2083 <font resource="font" color="%text_color%" />
2084 <conditions>
2085 <condition var1="tw_has_internal" var2="1" />
2086 <condition var1="tw_has_data_media" var2="0" />
2087 <condition var1="mounted" op="=" var2="INTERNAL" />
2088 </conditions>
2089 <text>Unmount Internal</text>
2090 <image resource="checkbox_true" />
2091 <action function="umount">INTERNAL</action>
2092 </object>
2093
2094 <object type="button">
2095 <conditions>
2096 <condition var1="tw_has_sdext_partition" var2="1" />
2097 <condition var1="mounted" op="!=" var2="/sd-ext" />
2098 </conditions>
2099 <placement x="%col1_x%" y="%row5_text_y%" />
2100 <font resource="font" color="%text_color%" />
2101 <text>Mount SD-Ext</text>
2102 <image resource="checkbox_false" />
2103 <action function="mount">/sd-ext</action>
2104 </object>
2105
2106 <object type="button">
2107 <placement x="%col1_x%" y="%row5_text_y%" />
2108 <font resource="font" color="%text_color%" />
2109 <condition var1="mounted" op="=" var2="/sd-ext" />
2110 <text>Unmount SD-Ext</text>
2111 <image resource="checkbox_true" />
2112 <action function="umount">/sd-ext</action>
2113 </object>
2114
2115 <object type="button">
2116 <conditions>
2117 <condition var1="tw_boot_is_mountable" var2="1" />
2118 <condition var1="mounted" op="!=" var2="/boot" />
2119 </conditions>
2120 <placement x="%col1_x%" y="%row6_text_y%" />
2121 <font resource="font" color="#A0A0A0" />
2122 <text>Mount Boot</text>
2123 <image resource="checkbox_false" />
2124 <action function="mount">/boot</action>
2125 </object>
2126
2127 <object type="button">
2128 <conditions>
2129 <condition var1="tw_boot_is_mountable" var2="1" />
2130 <condition var1="mounted" op="=" var2="/boot" />
2131 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002132 <placement x="%col1_x%" y="%row6_text_y%" />
2133 <font resource="font" color="#A0A0A0" />
2134 <text>Unmount Boot</text>
2135 <image resource="checkbox_true" />
2136 <action function="umount">/boot</action>
2137 </object>
2138
2139 <object type="button">
2140 <placement x="%col1_x%" y="%row8_text_y%" />
2141 <font resource="font" color="%text_color%" />
2142 <conditions>
2143 <condition var1="tw_has_dual_storage" var2="1" />
2144 <condition var1="tw_use_external_storage" var2="1" />
2145 </conditions>
2146 <text>Use external SD</text>
2147 <image resource="radio_true" />
2148 <action function="togglestorage">external</action>
2149 </object>
2150
2151 <object type="button">
2152 <placement x="%col1_x%" y="%row8_text_y%" />
2153 <font resource="font" color="%text_color%" />
2154 <conditions>
2155 <condition var1="tw_has_dual_storage" var2="1" />
2156 <condition var1="tw_use_external_storage" var2="0" />
2157 </conditions>
2158 <text>Use external SD</text>
2159 <image resource="radio_false" />
2160 <action function="togglestorage">external</action>
2161 </object>
2162
2163 <object type="button">
2164 <placement x="%col2_x%" y="%row8_text_y%" />
2165 <font resource="font" color="%text_color%" />
2166 <conditions>
2167 <condition var1="tw_has_dual_storage" var2="1" />
2168 <condition var1="tw_use_external_storage" var2="1" />
2169 </conditions>
2170 <text>Use internal storage</text>
2171 <image resource="radio_false" />
2172 <action function="togglestorage">internal</action>
2173 </object>
2174
2175 <object type="button">
2176 <placement x="%col2_x%" y="%row8_text_y%" />
2177 <font resource="font" color="%text_color%" />
2178 <conditions>
2179 <condition var1="tw_has_dual_storage" var2="1" />
2180 <condition var1="tw_use_external_storage" var2="0" />
2181 </conditions>
2182 <text>Use internal storage</text>
2183 <image resource="radio_true" />
2184 <action function="togglestorage">internal</action>
2185 </object>
2186
2187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002189 <condition var1="tw_has_usb_storage" var2="1" />
2190 <placement x="%col1_x%" y="row3_y" />
2191 <font resource="font" color="%button_text_color%" />
2192 <text>Mount USB Storage</text>
2193 <image resource="main_button" />
2194 <action function="page">usb_mount</action>
2195 </object>
2196
Gary Peckffdc6ae2012-11-21 18:02:02 -08002197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002198 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002199 <conditions>
2200 <condition var1="tw_is_encrypted" var2="1" />
2201 <condition var1="tw_is_decrypted" var2="0" />
2202 </conditions>
2203 <placement x="%col2_x%" y="row3_y" />
2204 <font resource="font" color="%button_text_color%" />
2205 <text>Decrypt Data</text>
2206 <image resource="main_button" />
2207 <action function="page">decrypt</action>
2208 </object>
2209
Dees_Troy51a0e822012-09-05 15:24:24 -04002210 <object type="action">
2211 <touch key="home" />
2212 <action function="page">main</action>
2213 </object>
2214
2215 <object type="action">
2216 <touch key="back" />
2217 <action function="page">main</action>
2218 </object>
2219
2220 <object type="template" name="footer" />
2221 </page>
2222
2223 <page name="usb_mount">
2224 <object type="template" name="header" />
2225
2226 <object type="text" color="%text_color%">
2227 <font resource="font" />
2228 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2229 <text>USB Storage Mounted</text>
2230 </object>
2231
2232 <object type="text" color="%text_color%">
2233 <placement x="%col1_x%" y="%row1_text_y%" />
2234 <font resource="font" />
2235 <text>Be sure to safely remove your device</text>
2236 </object>
2237
2238 <object type="text" color="%text_color%">
2239 <placement x="%col1_x%" y="%row2_text_y%" />
2240 <font resource="font" />
2241 <text>from your computer before unmounting!</text>
2242 </object>
2243
2244 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002245 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002246 <placement x="%col1_x%" y="%row3_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>Unmount</text>
2249 <image resource="main_button" />
2250 <action function="page">usb_umount</action>
2251 </object>
2252
2253 <object type="action">
2254 <action function="mount">usb</action>
2255 </object>
2256
2257 <object type="template" name="footer" />
2258 </page>
2259
2260 <page name="usb_umount">
2261 <object type="action">
2262 <action function="unmount">usb</action>
2263 </object>
2264
2265 <object type="action">
2266 <action function="page">mount</action>
2267 </object>
2268 </page>
2269
2270 <page name="reboot">
2271 <object type="template" name="header" />
2272
2273 <object type="text" color="%text_color%">
2274 <font resource="font" />
2275 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2276 <text>Reboot Menu</text>
2277 </object>
2278
2279 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002280 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002281 <condition var1="tw_reboot_system" var2="1" />
2282 <placement x="%col1_x%" y="%row1_y%" />
2283 <font resource="font" color="%button_text_color%" />
2284 <text>System</text>
2285 <image resource="main_button" />
2286 <actions>
2287 <action function="set">tw_back=reboot</action>
2288 <action function="set">tw_action=reboot</action>
2289 <action function="set">tw_action_param=system</action>
2290 <action function="set">tw_has_action2=0</action>
2291 <action function="set">tw_text1=No OS Installed! Are you</action>
2292 <action function="set">tw_text2=sure you wish to reboot?</action>
2293 <action function="set">tw_action_text1=Rebooting...</action>
2294 <action function="set">tw_complete_text1=Rebooting...</action>
2295 <action function="set">tw_slider_text=Swipe to Reboot</action>
2296 <action function="page">rebootcheck</action>
2297 </actions>
2298 </object>
2299
2300 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002301 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002302 <condition var1="tw_reboot_poweroff" var2="1" />
2303 <placement x="%col2_x%" y="%row1_y%" />
2304 <font resource="font" color="%button_text_color%" />
2305 <text>Power Off</text>
2306 <image resource="main_button" />
2307 <actions>
2308 <action function="set">tw_back=reboot</action>
2309 <action function="set">tw_action=reboot</action>
2310 <action function="set">tw_action_param=poweroff</action>
2311 <action function="set">tw_has_action2=0</action>
2312 <action function="set">tw_text1=No OS Installed! Are you</action>
2313 <action function="set">tw_text2=sure you wish to power off?</action>
2314 <action function="set">tw_action_text1=Turning Off...</action>
2315 <action function="set">tw_complete_text1=Turning Off...</action>
2316 <action function="set">tw_slider_text=Swipe to Power Off</action>
2317 <action function="page">rebootcheck</action>
2318 </actions>
2319 </object>
2320
2321 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002322 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002323 <condition var1="tw_reboot_recovery" var2="1" />
2324 <placement x="%col1_x%" y="%row2_y%" />
2325 <font resource="font" color="%button_text_color%" />
2326 <text>Recovery</text>
2327 <image resource="main_button" />
2328 <actions>
2329 <action function="set">tw_back=reboot</action>
2330 <action function="set">tw_action=reboot</action>
2331 <action function="set">tw_action_param=recovery</action>
2332 <action function="set">tw_has_action2=0</action>
2333 <action function="set">tw_text1=No OS Installed! Are you</action>
2334 <action function="set">tw_text2=sure you wish to reboot?</action>
2335 <action function="set">tw_action_text1=Rebooting...</action>
2336 <action function="set">tw_complete_text1=Rebooting...</action>
2337 <action function="set">tw_slider_text=Swipe to Reboot</action>
2338 <action function="page">rebootcheck</action>
2339 </actions>
2340 </object>
2341
2342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002344 <condition var1="tw_reboot_bootloader" var2="1" />
2345 <placement x="%col2_x%" y="%row2_y%" />
2346 <font resource="font" color="%button_text_color%" />
2347 <text>Bootloader</text>
2348 <image resource="main_button" />
2349 <actions>
2350 <action function="set">tw_back=reboot</action>
2351 <action function="set">tw_action=reboot</action>
2352 <action function="set">tw_action_param=bootloader</action>
2353 <action function="set">tw_has_action2=0</action>
2354 <action function="set">tw_text1=No OS Installed! Are you</action>
2355 <action function="set">tw_text2=sure you wish to reboot?</action>
2356 <action function="set">tw_action_text1=Rebooting...</action>
2357 <action function="set">tw_complete_text1=Rebooting...</action>
2358 <action function="set">tw_slider_text=Swipe to Reboot</action>
2359 <action function="page">rebootcheck</action>
2360 </actions>
2361 </object>
2362
2363 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002364 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002365 <condition var1="tw_download_mode" var2="1" />
2366 <placement x="%col1_x%" y="%row3_y%" />
2367 <font resource="font" color="%button_text_color%" />
2368 <text>Download</text>
2369 <image resource="main_button" />
2370 <actions>
2371 <action function="set">tw_back=reboot</action>
2372 <action function="set">tw_action=reboot</action>
2373 <action function="set">tw_action_param=download</action>
2374 <action function="set">tw_has_action2=0</action>
2375 <action function="set">tw_text1=No OS Installed! Are you</action>
2376 <action function="set">tw_text2=sure you wish to reboot?</action>
2377 <action function="set">tw_action_text1=Rebooting...</action>
2378 <action function="set">tw_complete_text1=Rebooting...</action>
2379 <action function="set">tw_slider_text=Swipe to Reboot</action>
2380 <action function="page">rebootcheck</action>
2381 </actions>
2382 </object>
2383
2384 <object type="action">
2385 <touch key="home" />
2386 <action function="page">main</action>
2387 </object>
2388
2389 <object type="action">
2390 <touch key="back" />
2391 <action function="page">main</action>
2392 </object>
2393
2394 <object type="template" name="footer" />
2395 </page>
2396
2397 <page name="settings">
2398 <object type="template" name="header" />
2399
2400 <object type="text" color="%text_color%">
2401 <font resource="font" />
2402 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2403 <text>Settings</text>
2404 </object>
2405
2406 <object type="checkbox">
2407 <placement x="%col1_x%" y="%row1_text_y%" />
2408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <data variable="tw_signed_zip_verify" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
2415 <placement x="%col1_x%" y="%row2_text_y%" />
2416 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002417 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <data variable="tw_rm_rf" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002423 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002425 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <data variable="tw_skip_md5_generate" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002431 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002433 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <data variable="tw_skip_md5_check" />
2435 <image checked="checkbox_true" unchecked="checkbox_false" />
2436 </object>
2437
2438 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002439 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002441 <text>Use Military Time.</text>
2442 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002443 <image checked="checkbox_true" unchecked="checkbox_false" />
2444 </object>
2445
2446 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002447 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002449 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002450 <data variable="tw_simulate_actions" />
2451 <image checked="checkbox_true" unchecked="checkbox_false" />
2452 </object>
2453
2454 <object type="checkbox">
2455 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002456 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002458 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <data variable="tw_simulate_fail" />
2460 <image checked="checkbox_true" unchecked="checkbox_false" />
2461 </object>
2462
2463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <placement x="%col1_x%" y="%row3_y%" />
2466 <font resource="font" color="%button_text_color%" />
2467 <text>Time Zone</text>
2468 <image resource="main_button" />
2469 <action function="page">timezone</action>
2470 </object>
2471
2472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002473 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002474 <placement x="%col2_x%" y="%row3_y%" />
2475 <font resource="font" color="%button_text_color%" />
2476 <text>Screen</text>
2477 <image resource="main_button" />
2478 <action function="page">screen</action>
2479 </object>
2480
2481 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002482 <placement x="%col_center_x%" y="%row4_y%" />
2483 <font resource="font" color="%button_text_color%" />
2484 <text>Restore Defaults</text>
2485 <image resource="main_button" />
2486 <action function="restoredefaultsettings"></action>
2487 </object>
2488
2489 <object type="action">
2490 <touch key="home" />
2491 <action function="page">main</action>
2492 </object>
2493
2494 <object type="action">
2495 <touch key="back" />
2496 <action function="page">main</action>
2497 </object>
2498
2499 <object type="template" name="footer" />
2500 </page>
2501
2502 <page name="timezone">
2503 <object type="template" name="header" />
2504
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002506 <highlight color="%fileselector_highlight_color%" />
2507 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002509 <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 -06002510 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002512 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002514 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <data name="tw_time_zone_guisel" />
2516 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2517 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2518 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2519 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2520 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2521 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2522 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2523 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2524 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2525 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2526 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2527 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2528 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2529 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2530 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2531 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2532 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2533 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2534 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2535 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2536 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2537 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2538 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2539 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2540 </object>
2541
2542 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002543 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <font resource="font" color="%text_color%" />
2545 <text>Do you use daylight savings time (DST)?</text>
2546 <data variable="tw_time_zone_guidst" />
2547 <image checked="checkbox_true" unchecked="checkbox_false" />
2548 </object>
2549
2550 <object type="text" color="%text_color%">
2551 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002552 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002558 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <font resource="font" color="%button_text_color%" />
2560 <text>None</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=0</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002567 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <font resource="font" color="%button_text_color%" />
2569 <text>15</text>
2570 <image resource="medium_button" />
2571 <action function="set">tw_time_zone_guioffset=15</action>
2572 </object>
2573
2574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002575 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002576 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002577 <font resource="font" color="%button_text_color%" />
2578 <text>30</text>
2579 <image resource="medium_button" />
2580 <action function="set">tw_time_zone_guioffset=30</action>
2581 </object>
2582
2583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002584 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002585 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002586 <font resource="font" color="%button_text_color%" />
2587 <text>45</text>
2588 <image resource="medium_button" />
2589 <action function="set">tw_time_zone_guioffset=45</action>
2590 </object>
2591
2592 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002593 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002594 <placement x="%col_center_x%" y="%tz_set_y%" />
2595 <font resource="font" color="%button_text_color%" />
2596 <text>Set Time Zone</text>
2597 <image resource="main_button" />
2598 <action function="setguitimezone"></action>
2599 </object>
2600
2601 <object type="text" color="%text_color%">
2602 <font resource="font" />
2603 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2604 <text>Current Time Zone: %tw_time_zone%</text>
2605 </object>
2606
2607 <object type="action">
2608 <touch key="home" />
2609 <action function="page">main</action>
2610 </object>
2611
2612 <object type="action">
2613 <touch key="back" />
2614 <action function="page">settings</action>
2615 </object>
2616
2617 <object type="template" name="footer" />
2618 </page>
2619
Dees_Troy2f9117a2013-02-17 19:52:09 -06002620 <page name="screen">
2621 <object type="template" name="header" />
2622
2623 <object type="text" color="%text_color%">
2624 <font resource="font" />
2625 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2626 <text>Screen Settings</text>
2627 </object>
2628
2629 <object type="text" color="%text_color%">
2630 <font resource="font" />
2631 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2632 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2633 </object>
2634
2635 <object type="button">
2636 <placement x="%col1_medium_x%" y="%row2_y%" />
2637 <font resource="font" color="%button_text_color%" />
2638 <text>None</text>
2639 <image resource="medium_button" />
2640 <action function="set">tw_screen_timeout_secs=0</action>
2641 </object>
2642
2643 <object type="button">
2644 <placement x="%col2_medium_x%" y="%row2_y%" />
2645 <font resource="font" color="%button_text_color%" />
2646 <text>60</text>
2647 <image resource="medium_button" />
2648 <action function="set">tw_screen_timeout_secs=60</action>
2649 </object>
2650
2651 <object type="button">
2652 <placement x="%col3_medium_x%" y="%row2_y%" />
2653 <font resource="font" color="%button_text_color%" />
2654 <text>120</text>
2655 <image resource="medium_button" />
2656 <action function="set">tw_screen_timeout_secs=120</action>
2657 </object>
2658
2659 <object type="button">
2660 <placement x="%col4_medium_x%" y="%row2_y%" />
2661 <font resource="font" color="%button_text_color%" />
2662 <text>180</text>
2663 <image resource="medium_button" />
2664 <action function="set">tw_screen_timeout_secs=180</action>
2665 </object>
2666
2667 <object type="text" color="%text_color%">
2668 <condition var1="tw_has_brightnesss_file" var2="1" />
2669 <font resource="font" />
2670 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2671 <text>Brightness: %tw_brightness_display%</text>
2672 </object>
2673
2674 <object type="button">
2675 <condition var1="tw_has_brightnesss_file" var2="1" />
2676 <placement x="%col1_medium_x%" y="%row4_y%" />
2677 <font resource="font" color="%button_text_color%" />
2678 <text>25%</text>
2679 <image resource="medium_button" />
2680 <actions>
2681 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2682 <action function="set">tw_brightness_display=25%</action>
2683 <action function="set">tw_brightness=%tw_brightness_25%</action>
2684 </actions>
2685 </object>
2686
2687 <object type="button">
2688 <condition var1="tw_has_brightnesss_file" var2="1" />
2689 <placement x="%col2_medium_x%" y="%row4_y%" />
2690 <font resource="font" color="%button_text_color%" />
2691 <text>50%</text>
2692 <image resource="medium_button" />
2693 <actions>
2694 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2695 <action function="set">tw_brightness_display=50%</action>
2696 <action function="set">tw_brightness=%tw_brightness_50%</action>
2697 </actions>
2698 </object>
2699
2700 <object type="button">
2701 <condition var1="tw_has_brightnesss_file" var2="1" />
2702 <placement x="%col3_medium_x%" y="%row4_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>75%</text>
2705 <image resource="medium_button" />
2706 <actions>
2707 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2708 <action function="set">tw_brightness_display=75%</action>
2709 <action function="set">tw_brightness=%tw_brightness_75%</action>
2710 </actions>
2711 </object>
2712
2713 <object type="button">
2714 <condition var1="tw_has_brightnesss_file" var2="1" />
2715 <placement x="%col4_medium_x%" y="%row4_y%" />
2716 <font resource="font" color="%button_text_color%" />
2717 <text>100%</text>
2718 <image resource="medium_button" />
2719 <actions>
2720 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2721 <action function="set">tw_brightness_display=100%</action>
2722 <action function="set">tw_brightness=%tw_brightness_100%</action>
2723 </actions>
2724 </object>
2725
2726 <object type="action">
2727 <touch key="home" />
2728 <action function="page">main</action>
2729 </object>
2730
2731 <object type="action">
2732 <touch key="back" />
2733 <action function="page">settings</action>
2734 </object>
2735
2736 <object type="template" name="footer" />
2737 </page>
2738
Dees_Troy51a0e822012-09-05 15:24:24 -04002739 <page name="advanced">
2740 <object type="template" name="header" />
2741
2742 <object type="text" color="%text_color%">
2743 <font resource="font" />
2744 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2745 <text>Advanced</text>
2746 </object>
2747
2748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <placement x="%col1_x%" y="%row1_y%" />
2751 <font resource="font" color="%button_text_color%" />
2752 <text>Copy Log to SD</text>
2753 <image resource="main_button" />
2754 <actions>
2755 <action function="set">tw_back=advanced</action>
2756 <action function="set">tw_action=copylog</action>
2757 <action function="set">tw_text1=Copy Log to SD Card?</action>
2758 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2759 <action function="set">tw_complete_text1=Log Copy Complete</action>
2760 <action function="set">tw_slider_text=Swipe to Confirm</action>
2761 <action function="page">confirm_action</action>
2762 </actions>
2763 </object>
2764
2765 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002766 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <placement x="%col2_x%" y="%row1_y%" />
2768 <font resource="font" color="%button_text_color%" />
2769 <text>Fix Permissions</text>
2770 <image resource="main_button" />
2771 <actions>
2772 <action function="set">tw_back=advanced</action>
2773 <action function="set">tw_action=fixpermissions</action>
2774 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2777 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002778 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <action function="page">confirm_action</action>
2780 </actions>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <condition var1="tw_allow_partition_sdcard" var2="1" />
2786 <placement x="%col1_x%" y="%row2_y%" />
2787 <font resource="font" color="%button_text_color%" />
2788 <text>Partition SD Card</text>
2789 <image resource="main_button" />
2790 <action function="page">partsdcard</action>
2791 </object>
2792
2793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002795 <placement x="%col2_x%" y="%row2_y%" />
2796 <font resource="font" color="%button_text_color%" />
2797 <text>File Manager</text>
2798 <image resource="main_button" />
2799 <action function="page">filemanagerlist</action>
2800 </object>
2801
2802 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002803 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002804 <placement x="%col1_x%" y="%row3_y%" />
2805 <font resource="font" color="%button_text_color%" />
2806 <text>Terminal Command</text>
2807 <image resource="main_button" />
2808 <action function="page">terminalfolder</action>
2809 </object>
2810
2811 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002812 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002813 <placement x="%col2_x%" y="%row3_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>Reload Theme</text>
2816 <image resource="main_button" />
2817 <action function="reload"></action>
2818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002822 <placement x="%col1_x%" y="%row4_y%" />
2823 <font resource="font" color="%button_text_color%" />
2824 <text>ADB Sideload</text>
2825 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002826 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002827 </object>
2828
2829 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002830 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002831 <condition var1="tw_show_dumlock" var2="1" />
2832 <placement x="%col2_x%" y="%row4_y%" />
2833 <font resource="font" color="%button_text_color%" />
2834 <text>HTC Dumlock</text>
2835 <image resource="main_button" />
2836 <action function="page">htcdumlock</action>
2837 </object>
2838
2839 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002840 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002841 <condition var1="tw_has_injecttwrp" var2="1" />
2842 <placement x="%col2_x%" y="%row4_y%" />
2843 <font resource="font" color="%button_text_color%" />
2844 <text>Re-Inject TWRP</text>
2845 <image resource="main_button" />
2846 <actions>
2847 <action function="set">tw_back=advanced</action>
2848 <action function="set">tw_action=reinjecttwrp</action>
2849 <action function="set">tw_text1=Re-Inject TWRP?</action>
2850 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2851 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2852 <action function="set">tw_slider_text=Swipe to Confirm</action>
2853 <action function="page">confirm_action</action>
2854 </actions>
2855 </object>
2856
2857 <object type="action">
2858 <touch key="home" />
2859 <action function="page">main</action>
2860 </object>
2861
2862 <object type="action">
2863 <touch key="back" />
2864 <action function="page">main</action>
2865 </object>
2866
2867 <object type="template" name="footer" />
2868 </page>
2869
2870 <page name="partsdcard">
2871 <object type="template" name="header" />
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2876 <text>Partition SD Card</text>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <placement x="%col1_x%" y="%row1_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="minus_button" />
2885 <action function="addsubtract">tw_sdext_size-128</action>
2886 </object>
2887
2888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002889 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <placement x="%sd_plus_x%" y="%row1_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text></text>
2893 <image resource="plus_button" />
2894 <action function="addsubtract">tw_sdext_size+128</action>
2895 </object>
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2900 <text>EXT Size: %tw_sdext_size%</text>
2901 </object>
2902
2903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002904 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002905 <placement x="%col1_x%" y="%sdswap_button_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text></text>
2908 <image resource="minus_button" />
2909 <action function="addsubtract">tw_swap_size-32</action>
2910 </object>
2911
2912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002914 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2915 <font resource="font" color="%button_text_color%" />
2916 <text></text>
2917 <image resource="plus_button" />
2918 <action function="addsubtract">tw_swap_size+32</action>
2919 </object>
2920
2921 <object type="text" color="%text_color%">
2922 <font resource="font" />
2923 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2924 <text>Swap Size: %tw_swap_size%</text>
2925 </object>
2926
2927 <object type="text" color="%text_color%">
2928 <font resource="font" />
2929 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2930 <text>File system: %tw_sdpart_file_system%</text>
2931 </object>
2932
2933 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002934 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002935 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2936 <font resource="font" color="%button_text_color%" />
2937 <text>EXT3</text>
2938 <image resource="main_button" />
2939 <action function="set">tw_sdpart_file_system=ext3</action>
2940 </object>
2941
2942 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002943 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002944 <condition var1="tw_sdext_disable_ext4" var2="0" />
2945 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>EXT4</text>
2948 <image resource="main_button" />
2949 <action function="set">tw_sdpart_file_system=ext4</action>
2950 </object>
2951
2952 <object type="text" color="%text_color%">
2953 <font resource="font" />
2954 <placement x="%col1_x%" y="%row12_text_y%" />
2955 <text>You will lose all files on your SD card!</text>
2956 </object>
2957
2958 <object type="text" color="%text_color%">
2959 <font resource="font" />
2960 <placement x="%col1_x%" y="%row13_text_y%" />
2961 <text>This action cannot be undone!</text>
2962 </object>
2963
2964 <object type="slider">
2965 <placement x="%slider_x%" y="%slider_y%" />
2966 <resource base="slider" used="slider-used" touch="slider-touch" />
2967 <action function="page">partsdcardaction</action>
2968 <actions>
2969 <action function="set">tw_back=partsdcard</action>
2970 <action function="set">tw_action=partitionsd</action>
2971 <action function="set">tw_has_action2=1</action>
2972 <action function="set">tw_action2=set</action>
2973 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2974 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2975 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002976 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002977 <action function="page">action_page</action>
2978 </actions>
2979 </object>
2980
2981 <object type="text" color="%text_color%">
2982 <font resource="font" />
2983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2984 <text>Swipe to Partition</text>
2985 </object>
2986
2987 <object type="action">
2988 <touch key="home" />
2989 <action function="page">main</action>
2990 </object>
2991
2992 <object type="action">
2993 <touch key="back" />
2994 <action function="page">advanced</action>
2995 </object>
2996
2997 <object type="template" name="footer" />
2998 </page>
2999
3000 <page name="htcdumlock">
3001 <object type="template" name="header" />
3002
3003 <object type="text" color="%text_color%">
3004 <font resource="font" />
3005 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3006 <text>HTC Dumlock</text>
3007 </object>
3008
3009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003010 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003011 <condition var1="tw_show_dumlock" var2="1" />
3012 <placement x="%col1_x%" y="%row1_y%" />
3013 <font resource="font" color="%button_text_color%" />
3014 <text>Restore Original Boot</text>
3015 <image resource="main_button" />
3016 <actions>
3017 <action function="set">tw_back=htcdumlock</action>
3018 <action function="set">tw_action=htcdumlockrestoreboot</action>
3019 <action function="set">tw_text1=Restore original boot image?</action>
3020 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3021 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3022 <action function="set">tw_slider_text=Swipe to Confirm</action>
3023 <action function="page">confirm_action</action>
3024 </actions>
3025 </object>
3026
3027 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003028 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003029 <condition var1="tw_show_dumlock" var2="1" />
3030 <placement x="%col2_x%" y="%row1_y%" />
3031 <font resource="font" color="%button_text_color%" />
3032 <text>Reflash Recovery</text>
3033 <image resource="main_button" />
3034 <actions>
3035 <action function="set">tw_back=htcdumlock</action>
3036 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3037 <action function="set">tw_text1=Reflash recovery to boot?</action>
3038 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3039 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3040 <action function="set">tw_slider_text=Swipe to Confirm</action>
3041 <action function="page">confirm_action</action>
3042 </actions>
3043 </object>
3044
3045 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003046 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003047 <condition var1="tw_show_dumlock" var2="1" />
3048 <placement x="%col1_x%" y="%row2_y%" />
3049 <font resource="font" color="%button_text_color%" />
3050 <text>Install HTC Dumlock</text>
3051 <image resource="main_button" />
3052 <actions>
3053 <action function="set">tw_back=htcdumlock</action>
3054 <action function="set">tw_action=installhtcdumlock</action>
3055 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3056 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3057 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3058 <action function="set">tw_slider_text=Swipe to Confirm</action>
3059 <action function="page">confirm_action</action>
3060 </actions>
3061 </object>
3062
3063 <object type="action">
3064 <touch key="home" />
3065 <action function="page">main</action>
3066 </object>
3067
3068 <object type="action">
3069 <touch key="back" />
3070 <action function="page">advanced</action>
3071 </object>
3072
3073 <object type="template" name="footer" />
3074 </page>
3075
3076 <page name="lock">
3077 <background color="#000000A0" />
3078
3079 <object type="image">
3080 <image resource="unlock-icon" />
3081 <placement x="%lock_x%" y="%lock_y%" />
3082 </object>
3083
3084 <object type="slider">
3085 <placement x="%slider_x%" y="%slider_y%" />
3086 <resource base="slider" used="slider-used" touch="slider-touch" />
3087 <action function="overlay"></action>
3088 </object>
3089
3090 <object type="text" color="%text_color%">
3091 <font resource="font" />
3092 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3093 <text>Swipe to Unlock</text>
3094 </object>
3095 </page>
3096
3097 <page name="filemanagerlist">
3098 <object type="template" name="header" />
3099
3100 <object type="text" color="%text_color%">
3101 <font resource="font" />
3102 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3103 <text>File Manager: Select a File or Folder</text>
3104 </object>
3105
3106 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003107 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003108 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3109 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003110 <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 -04003111 <text>%tw_file_location1%</text>
3112 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3113 <sort name="tw_gui_sort_order" />
3114 <icon folder="folder_icon" file="file_icon" />
3115 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003116 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003117 <folders="1" files="1" />
3118 <path name="tw_file_location1" default="/" />
3119 <data name="tw_filename1" />
3120 <selection name="tw_selection1" />
3121 </object>
3122
3123 <object type="template" name="sort_options" />
3124
3125 <object type="action">
3126 <actions>
3127 <action function="set">tw_fm_type=File</action>
3128 <action function="set">tw_fm_isfolder=0</action>
3129 </actions>
3130 </object>
3131
3132 <object type="action">
3133 <touch key="home" />
3134 <action function="page">main</action>
3135 </object>
3136
3137 <object type="action">
3138 <touch key="back" />
3139 <action function="page">advanced</action>
3140 </object>
3141
3142 <object type="action">
3143 <condition var1="tw_filename1" op="modified" />
3144 <actions>
3145 <action function="page">filemanageroptions</action>
3146 </actions>
3147 </object>
3148
3149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003150 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003151 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Select</text>
3154 <image resource="medium_button" />
3155 <actions>
3156 <action function="set">tw_filename1=tw_file_location1</action>
3157 <action function="set">tw_fm_isfolder=1</action>
3158 <action function="set">tw_fm_type=Folder</action>
3159 <action function="page">filemanageroptions</action>
3160 </actions>
3161 </object>
3162
3163 <object type="template" name="footer" />
3164 </page>
3165
3166 <page name="filemanageroptions">
3167 <object type="template" name="header" />
3168
3169 <object type="text" color="%text_color%">
3170 <font resource="font" />
3171 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3172 <text>%tw_fm_type% Selected:</text>
3173 </object>
3174
3175 <object type="text" color="%text_color%">
3176 <font resource="font" />
3177 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3178 <text>%tw_filename1%</text>
3179 </object>
3180
3181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003183 <condition var1="tw_fm_isfolder" var2="0" />
3184 <placement x="%col1_x%" y="%row2_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Copy File</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_command=cp</action>
3190 <action function="set">tw_fm_text1=Copying</action>
3191 <action function="page">choosedestinationfolder</action>
3192 </actions>
3193 </object>
3194
3195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003197 <condition var1="tw_fm_isfolder" var2="1" />
3198 <placement x="%col1_x%" y="%row2_y%" />
3199 <font resource="font" color="%button_text_color%" />
3200 <text>Copy Folder</text>
3201 <image resource="main_button" />
3202 <actions>
3203 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3204 <action function="set">tw_fm_text1=Copying</action>
3205 <action function="page">choosedestinationfolder</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003211 <placement x="%col2_x%" y="%row2_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text>Move</text>
3214 <image resource="main_button" />
3215 <actions>
3216 <action function="set">tw_filemanager_command=mv</action>
3217 <action function="set">tw_fm_text1=Moving</action>
3218 <action function="page">choosedestinationfolder</action>
3219 </actions>
3220 </object>
3221
3222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003224 <placement x="%col1_x%" y="%row3_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>chmod 755</text>
3227 <image resource="main_button" />
3228 <actions>
3229 <action function="set">tw_filemanager_command=chmod 755</action>
3230 <action function="set">tw_fm_text1=chmod 755</action>
3231 <action function="set">tw_fm_text2=</action>
3232 <action function="set">tw_fm_text3=</action>
3233 <action function="set">tw_include_text3=0</action>
3234 <action function="set">tw_back=filemanageroptions</action>
3235 <action function="page">filemanagerconfirm</action>
3236 </actions>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col2_x%" y="%row3_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>chmod</text>
3244 <image resource="main_button" />
3245 <actions>
3246 <action function="set">tw_filemanager_rename=0000</action>
3247 <action function="set">tw_fm_text2=</action>
3248 <action function="set">tw_fm_text3=</action>
3249 <action function="set">tw_include_text3=0</action>
3250 <action function="set">tw_back=filemanageroptions</action>
3251 <action function="page">filemanagerchmod</action>
3252 </actions>
3253 </object>
3254
3255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003257 <placement x="%col1_x%" y="%row4_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text>Delete</text>
3260 <image resource="main_button" />
3261 <actions>
3262 <action function="set">tw_filemanager_command=rm -rf</action>
3263 <action function="set">tw_fm_text1=Deleting</action>
3264 <action function="set">tw_fm_text2=</action>
3265 <action function="set">tw_fm_text3=</action>
3266 <action function="set">tw_include_text3=0</action>
3267 <action function="set">tw_back=filemanageroptions</action>
3268 <action function="page">filemanagerconfirm</action>
3269 </actions>
3270 </object>
3271
3272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <condition var1="tw_fm_isfolder" var2="0" />
3275 <placement x="%col2_x%" y="%row4_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>Rename File</text>
3278 <image resource="main_button" />
3279 <actions>
3280 <action function="set">tw_filemanager_rename=tw_selection1</action>
3281 <action function="set">tw_fm_text1=Renaming</action>
3282 <action function="set">tw_filemanager_command=mv</action>
3283 <action function="page">filemanagerrenamefile</action>
3284 </actions>
3285 </object>
3286
3287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003288 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003289 <condition var1="tw_fm_isfolder" var2="1" />
3290 <placement x="%col2_x%" y="%row4_y%" />
3291 <font resource="font" color="%button_text_color%" />
3292 <text>Rename Folder</text>
3293 <image resource="main_button" />
3294 <actions>
3295 <action function="set">tw_filemanager_rename=tw_selection1</action>
3296 <action function="set">tw_fm_text1=Renaming</action>
3297 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3298 <action function="page">filemanagerrenamefolder</action>
3299 </actions>
3300 </object>
3301
3302 <object type="action">
3303 <touch key="home" />
3304 <action function="page">main</action>
3305 </object>
3306
3307 <object type="action">
3308 <touch key="back" />
3309 <action function="page">filemanagerlist</action>
3310 </object>
3311
3312 <object type="template" name="footer" />
3313 </page>
3314
3315 <page name="choosedestinationfolder">
3316 <object type="template" name="header" />
3317
3318 <object type="text" color="%text_color%">
3319 <font resource="font" />
3320 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3321 <text>Browse to Destination Folder & Press Select</text>
3322 </object>
3323
3324 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003325 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003326 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3327 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003328 <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 -04003329 <text>%tw_file_location2%</text>
3330 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3331 <sort name="tw_gui_sort_order" />
3332 <icon folder="folder_icon" file="file_icon" />
3333 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003334 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003335 <filter folders="1" files="0" />
3336 <path name="tw_file_location2" default="/" />
3337 <data name="tw_filename2" />
3338 <selection name="tw_selection2" />
3339 </object>
3340
3341 <object type="template" name="sort_options" />
3342
3343 <object type="action">
3344 <touch key="home" />
3345 <action function="page">main</action>
3346 </object>
3347
3348 <object type="action">
3349 <touch key="back" />
3350 <action function="page">filemanageroptions</action>
3351 </object>
3352
3353 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003354 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003355 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3356 <font resource="font" color="%button_text_color%" />
3357 <text>Select</text>
3358 <image resource="medium_button" />
3359 <actions>
3360 <action function="set">tw_fm_text2=to</action>
3361 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3362 <action function="set">tw_include_text3=1</action>
3363 <action function="set">tw_back=filemanageroptions</action>
3364 <action function="page">filemanagerconfirm</action>
3365 </actions>
3366 </object>
3367
3368 <object type="template" name="footer" />
3369 </page>
3370
3371 <page name="filemanagerrenamefile">
3372 <object type="template" name="header" />
3373
3374 <object type="text" color="%text_color%">
3375 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3376 <font resource="font" />
3377 <text>Please Enter a New %tw_fm_type% Name</text>
3378 </object>
3379
3380 <object type="input">
3381 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3382 <background color="%input_background_color%" />
3383 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3384 <font resource="font" color="%text_color%" />
3385 <text>%tw_filemanager_rename%</text>
3386 <data name="tw_filemanager_rename" />
3387 <restrict minlen="1" maxlen="128" />
3388 <actions>
3389 <action function="set">tw_fm_text2=to</action>
3390 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3391 <action function="set">tw_include_text3=1</action>
3392 <action function="set">tw_back=filemanageroptions</action>
3393 <action function="page">filemanagerconfirm</action>
3394 </actions>
3395 </object>
3396
3397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003399 <placement x="%col_center_x%" y="%row2_y%" />
3400 <font resource="font" color="%button_text_color%" />
3401 <text>Cancel</text>
3402 <image resource="main_button" />
3403 <action function="page">filemanageroptions</action>
3404 </object>
3405
3406 <object type="template" name="keyboardtemplate" />
3407
3408 <object type="action">
3409 <touch key="home" />
3410 <action function="page">main</action>
3411 </object>
3412
3413 <object type="action">
3414 <touch key="back" />
3415 <action function="page">filemanageroptions</action>
3416 </object>
3417
3418 <object type="template" name="footer" />
3419 </page>
3420
3421 <page name="filemanagerrenamefolder">
3422 <object type="template" name="header" />
3423
3424 <object type="text" color="%text_color%">
3425 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3426 <font resource="font" />
3427 <text>Please Enter a New %tw_fm_type% Name</text>
3428 </object>
3429
3430 <object type="input">
3431 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3432 <background color="%input_background_color%" />
3433 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3434 <font resource="font" color="%text_color%" />
3435 <text>%tw_filemanager_rename%</text>
3436 <data name="tw_filemanager_rename" />
3437 <restrict minlen="1" maxlen="128" />
3438 <actions>
3439 <action function="set">tw_fm_text2=to</action>
3440 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3441 <action function="set">tw_include_text3=1</action>
3442 <action function="set">tw_back=filemanageroptions</action>
3443 <action function="page">filemanagerconfirm</action>
3444 </actions>
3445 </object>
3446
3447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003449 <placement x="%col_center_x%" y="%row2_y%" />
3450 <font resource="font" color="%button_text_color%" />
3451 <text>Cancel</text>
3452 <image resource="main_button" />
3453 <action function="page">filemanageroptions</action>
3454 </object>
3455
3456 <object type="template" name="keyboardtemplate" />
3457
3458 <object type="action">
3459 <touch key="home" />
3460 <action function="page">main</action>
3461 </object>
3462
3463 <object type="action">
3464 <touch key="back" />
3465 <action function="page">filemanageroptions</action>
3466 </object>
3467
3468 <object type="template" name="footer" />
3469 </page>
3470
3471 <page name="filemanagerchmod">
3472 <object type="template" name="header" />
3473
3474 <object type="text" color="%text_color%">
3475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3476 <font resource="font" />
3477 <text>Please Enter New Permissions</text>
3478 </object>
3479
3480 <object type="input">
3481 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3482 <background color="%input_background_color%" />
3483 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3484 <font resource="font" color="%text_color%" />
3485 <text>%tw_filemanager_rename%</text>
3486 <data name="tw_filemanager_rename" />
3487 <restrict minlen="3" maxlen="4" allow="0123456789" />
3488 <actions>
3489 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3490 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3491 <action function="set">tw_back=filemanageroptions</action>
3492 <action function="page">filemanagerconfirm</action>
3493 </actions>
3494 </object>
3495
3496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003497 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003498 <placement x="%col_center_x%" y="%row2_y%" />
3499 <font resource="font" color="%button_text_color%" />
3500 <text>Cancel</text>
3501 <image resource="main_button" />
3502 <action function="page">filemanageroptions</action>
3503 </object>
3504
3505 <object type="template" name="keyboardtemplate" />
3506
3507 <object type="action">
3508 <touch key="home" />
3509 <action function="page">main</action>
3510 </object>
3511
3512 <object type="action">
3513 <touch key="back" />
3514 <action function="page">filemanageroptions</action>
3515 </object>
3516
3517 <object type="template" name="footer" />
3518 </page>
3519
3520 <page name="filemanagerconfirm">
3521 <object type="template" name="header" />
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3526 <text>%tw_fm_text1%</text>
3527 </object>
3528
3529 <object type="text" color="%text_color%">
3530 <font resource="font" />
3531 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3532 <text>%tw_filename1%</text>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3538 <text>%tw_fm_text2%</text>
3539 </object>
3540
3541 <object type="text" color="%text_color%">
3542 <font resource="font" />
3543 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3544 <text>%tw_fm_text3%</text>
3545 </object>
3546
3547 <object type="text" color="%text_color%">
3548 <font resource="font" />
3549 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3550 <text>Press back button to cancel.</text>
3551 </object>
3552
3553 <object type="slider">
3554 <placement x="%slider_x%" y="%slider_y%" />
3555 <resource base="slider" used="slider-used" touch="slider-touch" />
3556 <action function="page">filemanageracction</action>
3557 </object>
3558
3559 <object type="text" color="%text_color%">
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3562 <text>Swipe to Confirm</text>
3563 </object>
3564
3565 <object type="action">
3566 <touch key="back" />
3567 <action function="page">%tw_back%</action>
3568 </object>
3569
3570 <object type="action">
3571 <touch key="home" />
3572 <action function="page">main</action>
3573 </object>
3574
3575 <object type="template" name="footer" />
3576 </page>
3577
3578 <page name="filemanageracction">
3579 <object type="template" name="header" />
3580
3581 <object type="text" color="%text_color%">
3582
3583 <font resource="font" />
3584 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3585 <text>%tw_fm_text1%</text>
3586 </object>
3587
3588 <object type="template" name="action_page_console" />
3589
3590 <object type="template" name="progress_bar" />
3591
3592 <object type="action">
3593 <conditions>
3594 <condition var1="tw_operation_state" var2="1" />
3595 <condition var1="tw_operation_status" var2="0" />
3596 </conditions>
3597 <actions>
3598 <action function="set">tw_back=filemanagerlist</action>
3599 <action function="set">tw_complete_text1=File Operation Complete</action>
3600 <action function="page">action_complete</action>
3601 </actions>
3602 </object>
3603
3604 <object type="action">
3605 <conditions>
3606 <condition var1="tw_operation_state" var2="1" />
3607 <condition var1="tw_operation_status" op="!=" var2="0" />
3608 </conditions>
3609 <actions>
3610 <action function="set">tw_complete_text1=File Operation Complete</action>
3611 <action function="page">action_complete</action>
3612 </actions>
3613 </object>
3614
3615 <object type="action">
3616 <condition var1="tw_include_text3" var2="0" />
3617 <actions>
3618 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3619 </actions>
3620 </object>
3621
3622 <object type="action">
3623 <condition var1="tw_include_text3" var2="1" />
3624 <actions>
3625 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3626 </actions>
3627 </object>
3628 </page>
3629
3630 <page name="decrypt">
3631 <object type="template" name="header" />
3632
3633 <object type="text" color="%text_color%">
3634 <font resource="font" />
3635 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3636 <text>Please Enter Your Password</text>
3637 </object>
3638
3639 <object type="input">
3640 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3641 <background color="%input_background_color%" />
3642 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3643 <font resource="font" color="%text_color%" />
3644 <text>%tw_crypto_display%</text>
3645 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3646 <restrict minlen="1" maxlen="254" />
3647 <actions>
3648 <action function="page">trydecrypt</action>
3649 </actions>
3650 </object>
3651
3652 <object type="text" color="%text_fail_color%">
3653 <condition var1="tw_password_fail" var2="1" />
3654 <font resource="font" />
3655 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3656 <text>Password Failed, Please Try Again</text>
3657 </object>
3658
3659 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003660 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003661 <placement x="%col_center_x%" y="%row2_y%" />
3662 <font resource="font" color="%button_text_color%" />
3663 <text>Cancel</text>
3664 <image resource="main_button" />
3665 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003666 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003667 <action function="page">main</action>
3668 </actions>
3669 </object>
3670
3671 <object type="template" name="keyboardtemplate" />
3672
Dees_Troy51a0e822012-09-05 15:24:24 -04003673 <object type="template" name="footer" />
3674 </page>
3675
3676 <page name="trydecrypt">
3677 <object type="template" name="header" />
3678
3679 <object type="text" color="%text_color%">
3680 <font resource="font" />
3681 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3682 <text>Trying Decryption with Your Password</text>
3683 </object>
3684
3685 <object type="template" name="action_page_console" />
3686
3687 <object type="template" name="progress_bar" />
3688
3689 <object type="action">
3690 <action function="decrypt"></action>
3691 </object>
3692
3693 <object type="action">
3694 <conditions>
3695 <condition var1="tw_operation_state" var2="1" />
3696 <condition var1="tw_operation_status" op="!=" var2="0" />
3697 </conditions>
3698 <actions>
3699 <action function="set">tw_password_fail=1</action>
3700 <action function="page">decrypt</action>
3701 </actions>
3702 </object>
3703
3704 <object type="action">
3705 <conditions>
3706 <condition var1="tw_operation_state" var2="1" />
3707 <condition var1="tw_operation_status" op="=" var2="0" />
3708 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003709 <actions>
3710 <action function="set">tw_page_done=1</action>
3711 <action function="page">main</action>
3712 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003713 </object>
3714 </page>
3715
3716 <page name="terminalfolder">
3717 <object type="template" name="header" />
3718
3719 <object type="text" color="%text_color%">
3720 <font resource="font" />
3721 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3722 <text>Browse to Starting Folder</text>
3723 </object>
3724
3725 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003726 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003727 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3728 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003729 <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 -04003730 <text>%tw_terminal_location%</text>
3731 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3732 <sort name="tw_gui_sort_order" />
3733 <icon folder="folder_icon" file="file_icon" />
3734 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003735 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003736 <filter folders="1" files="0" />
3737 <path name="tw_terminal_location" default="/" />
3738 <data name="tw_terminal" />
3739 <selection name="tw_terminal_selection" />
3740 </object>
3741
3742 <object type="template" name="sort_options" />
3743
3744 <object type="action">
3745 <touch key="home" />
3746 <action function="page">main</action>
3747 </object>
3748
3749 <object type="action">
3750 <touch key="back" />
3751 <action function="page">advanced</action>
3752 </object>
3753
3754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003756 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3757 <font resource="font" color="%button_text_color%" />
3758 <text>Select</text>
3759 <image resource="medium_button" />
3760 <actions>
3761 <action function="page">terminalcommand</action>
3762 </actions>
3763 </object>
3764
3765 <object type="template" name="footer" />
3766 </page>
3767
3768 <page name="terminalcommand">
3769 <object type="template" name="header" />
3770
3771 <object type="console">
3772 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3773 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3774 <font resource="fixed" />
3775 </object>
3776
3777 <object type="text" color="%text_color%">
3778 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3779 <font resource="font" />
3780 <text>Starting Path: %tw_terminal_location%</text>
3781 </object>
3782
3783 <object type="input">
3784 <condition var1="tw_terminal_state" var2="0" />
3785 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3786 <background color="%input_background_color%" />
3787 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3788 <font resource="font" color="%text_color%" />
3789 <text>%tw_terminal_command%</text>
3790 <data name="tw_terminal_command" />
3791 <restrict minlen="1" />
3792 <action function="terminalcommand">%tw_terminal_command%</action>
3793 </object>
3794
3795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003796 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003797 <condition var1="tw_terminal_state" var2="1" />
3798 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3799 <font resource="font" color="%button_text_color%" />
3800 <text>KILL</text>
3801 <image resource="medium_button" />
3802 <action function="killterminal"></action>
3803 </object>
3804
3805 <object type="template" name="keyboardtemplate" />
3806
3807 <object type="action">
3808 <touch key="home" />
3809 <action function="page">main</action>
3810 </object>
3811
3812 <object type="action">
3813 <touch key="back" />
3814 <action function="page">terminalfolder</action>
3815 </object>
3816 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003817
3818 <page name="sideload">
3819 <object type="template" name="header" />
3820
3821 <object type="text" color="%text_color%">
3822 <font resource="font" />
3823 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3824 <text>ADB Sideload</text>
3825 </object>
3826
3827 <object type="checkbox">
3828 <placement x="%col1_x%" y="%row2_text_y%" />
3829 <font resource="font" color="%text_color%" />
3830 <text>Wipe Dalvik Cache.</text>
3831 <data variable="tw_wipe_dalvik" />
3832 <image checked="checkbox_true" unchecked="checkbox_false" />
3833 </object>
3834
3835 <object type="checkbox">
3836 <placement x="%col1_x%" y="%row3_text_y%" />
3837 <font resource="font" color="%text_color%" />
3838 <text>Wipe Cache.</text>
3839 <data variable="tw_wipe_cache" />
3840 <image checked="checkbox_true" unchecked="checkbox_false" />
3841 </object>
3842
3843 <object type="slider">
3844 <placement x="%slider_x%" y="%slider_y%" />
3845 <resource base="slider" used="slider-used" touch="slider-touch" />
3846 <actions>
3847 <action function="set">tw_back=advanced</action>
3848 <action function="set">tw_action=adbsideload</action>
3849 <action function="set">tw_action_text1=ADB Sideload</action>
3850 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3851 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3852 <action function="set">tw_has_cancel=1</action>
3853 <action function="set">tw_show_reboot=1</action>
3854 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3855 <action function="page">action_page</action>
3856 </actions>
3857 </object>
3858
3859 <object type="text" color="%text_color%">
3860 <font resource="font" />
3861 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3862 <text>Swipe to Start Sideload</text>
3863 </object>
3864
3865 <object type="action">
3866 <touch key="home" />
3867 <action function="page">main</action>
3868 </object>
3869
3870 <object type="action">
3871 <touch key="back" />
3872 <action function="page">advanced</action>
3873 </object>
3874
3875 <object type="template" name="footer" />
3876 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003877
3878 <page name="installsu">
3879 <object type="template" name="header" />
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3884 <text>Install SuperSU?</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3890 <text>Your device does not appear to be rooted.</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3896 <text>Install SuperSU now?</text>
3897 </object>
3898
3899 <object type="text" color="%text_color%">
3900 <font resource="font" />
3901 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3902 <text>This will root your device.</text>
3903 </object>
3904
3905 <object type="button">
3906 <highlight color="%highlight_color%" />
3907 <placement x="%col_center_x%" y="%row3_y%" />
3908 <font resource="font" color="%button_text_color%" />
3909 <text>Do Not Install</text>
3910 <image resource="main_button" />
3911 <action function="set">tw_page_done=1</action>
3912 </object>
3913
3914 <object type="slider">
3915 <placement x="%slider_x%" y="%slider_y%" />
3916 <resource base="slider" used="slider-used" touch="slider-touch" />
3917 <actions>
3918 <action function="set">tw_action=installsu</action>
3919 <action function="set">tw_action_text1=Installing SuperSU</action>
3920 <action function="set">tw_action_text2=</action>
3921 <action function="page">singleaction_page</action>
3922 </actions>
3923 </object>
3924
3925 <object type="text" color="%text_color%">
3926 <font resource="font" />
3927 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3928 <text>Swipe to Install</text>
3929 </object>
3930 </page>
3931
3932 <page name="fixsu">
3933 <object type="template" name="header" />
3934
3935 <object type="text" color="%text_color%">
3936 <font resource="font" />
3937 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3938 <text>Fix Superuser Permissions?</text>
3939 </object>
3940
3941 <object type="text" color="%text_color%">
3942 <font resource="font" />
3943 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3944 <text>Root permissions appear to be lost.</text>
3945 </object>
3946
3947 <object type="text" color="%text_color%">
3948 <font resource="font" />
3949 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3950 <text>Fix root permissions now?</text>
3951 </object>
3952
3953 <object type="text" color="%text_color%">
3954 <font resource="font" />
3955 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3956 <text>(Fixes permissions on su binary & app)</text>
3957 </object>
3958
3959 <object type="button">
3960 <highlight color="%highlight_color%" />
3961 <placement x="%col_center_x%" y="%row3_y%" />
3962 <font resource="font" color="%button_text_color%" />
3963 <text>Do Not Fix</text>
3964 <image resource="main_button" />
3965 <action function="set">tw_page_done=1</action>
3966 </object>
3967
3968 <object type="slider">
3969 <placement x="%slider_x%" y="%slider_y%" />
3970 <resource base="slider" used="slider-used" touch="slider-touch" />
3971 <actions>
3972 <action function="set">tw_action=fixsu</action>
3973 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3974 <action function="set">tw_action_text2=</action>
3975 <action function="page">singleaction_page</action>
3976 </actions>
3977 </object>
3978
3979 <object type="text" color="%text_color%">
3980 <font resource="font" />
3981 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3982 <text>Swipe to Fix Root</text>
3983 </object>
3984 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003985 </pages>
3986</recovery>