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