blob: 5d94483c920c1ba4540fb732556d7ed435c4769b [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="720" height="1280" />
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-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Dees_Troyce2fe772012-09-28 12:34:33 -040042 <resource name="exclamation" type="image" filename="exclamation400" />
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="383" />
48 <variable name="col_center_x" value="191" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="275" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="360" />
51 <variable name="row1_y" value="170" />
52 <variable name="row2_y" value="410" />
53 <variable name="row3_y" value="650" />
54 <variable name="row4_y" value="890" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="760" />
60 <variable name="row1_header_y" value="120" />
61 <variable name="row1_text_y" value="170" />
62 <variable name="row2_text_y" value="220" />
63 <variable name="row3_text_y" value="270" />
64 <variable name="row4_text_y" value="320" />
65 <variable name="row5_text_y" value="370" />
66 <variable name="row6_text_y" value="420" />
67 <variable name="row7_text_y" value="470" />
68 <variable name="row8_text_y" value="520" />
69 <variable name="row9_text_y" value="570" />
70 <variable name="row10_text_y" value="620" />
71 <variable name="row11_text_y" value="670" />
72 <variable name="row12_text_y" value="720" />
73 <variable name="row13_text_y" value="770" />
74 <variable name="row14_text_y" value="820" />
75 <variable name="row15_text_y" value="870" />
76 <variable name="row16_text_y" value="920" />
77 <variable name="row17_text_y" value="970" />
78 <variable name="row18_text_y" value="1020" />
79 <variable name="zip_status_y" value="615" />
80 <variable name="tz_selected_y" value="160" />
81 <variable name="tz_set_y" value="950" />
82 <variable name="tz_current_y" value="1180" />
83 <variable name="col_progressbar_x" value="234" />
84 <variable name="row_progressbar_y" value="1100" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="185" />
87 <variable name="col3_medium_x" value="365" />
88 <variable name="col4_medium_x" value="540" />
89 <variable name="row1_medium_y" value="130" />
90 <variable name="row2_medium_y" value="230" />
91 <variable name="row3_medium_y" value="330" />
92 <variable name="row4_medium_y" value="430" />
93 <variable name="row5_medium_y" value="530" />
94 <variable name="row6_medium_y" value="840" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="68" />
97 <variable name="slider_y" value="1050" />
98 <variable name="slider_text_y" value="1117" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600103 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400104 <variable name="home_button_x" value="10" />
105 <variable name="home_button_y" value="1226" />
106 <variable name="back_button_x" value="625" />
107 <variable name="back_button_y" value="1226" />
108 <variable name="sort_text_x" value="10" />
109 <variable name="sort_asc_text_y" value="1090" />
110 <variable name="sort_asc_button_y" value="1080" />
111 <variable name="sort_desc_text_y" value="1150" />
112 <variable name="sort_desc_button_y" value="1140" />
113 <variable name="sort_col1_button_x" value="260" />
114 <variable name="sort_col2_button_x" value="360" />
115 <variable name="sort_col3_button_x" value="460" />
116 <variable name="input_width" value="700" />
117 <variable name="input_height" value="50" />
118 <variable name="input_background_color" value="#303030" />
119 <variable name="input_cursor_color" value="#33B5E5" />
120 <variable name="input_cursor_width" value="3" />
121 <variable name="console_x" value="0" />
122 <variable name="console_width" value="720" />
123 <variable name="console_foreground" value="#A0A0A0" />
124 <variable name="console_background" value="#303030" />
125 <variable name="console_scroll" value="#303030" />
126 <variable name="console_action_height" value="470" />
127 <variable name="console_install_height" value="600" />
128 <variable name="console_installdone_height" value="440" />
129 <variable name="fileselector_x" value="5" />
130 <variable name="fileselector_width" value="710" />
131 <variable name="fileselector_install_height" value="840" />
132 <variable name="fileselector_header_background" value="#202020" />
133 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
134 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
135 <variable name="fileselector_header_separatorheight" value="3" />
136 <variable name="fileselector_separatorcolor" value="#505050" />
137 <variable name="fileselector_separatorheight" value="2" />
138 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600139 <variable name="fileselector_highlight_color" value="#505050" />
140 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="fileselector_spacing" value="36" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100142 <variable name="fastscroll_linecolor" value="#808080" />
143 <variable name="fastscroll_rectcolor" value="#808080" />
144 <variable name="fastscroll_w" value="60" />
145 <variable name="fastscroll_linew" value="2" />
146 <variable name="fastscroll_rectw" value="40" />
147 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400148 <variable name="listbox_x" value="5" />
149 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600150 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400151 <variable name="listbox_background" value="#303030" />
152 <variable name="listbox_spacing" value="16" />
153 <variable name="sd_plus_x" value="350" />
154 <variable name="sdext_text_x" value="110" />
155 <variable name="sdext_text_y" value="180" />
156 <variable name="sdswap_button_y" value="260" />
157 <variable name="sdswap_text_x" value="110" />
158 <variable name="sdswap_text_y" value="270" />
159 <variable name="sdfilesystem_text_y" value="340" />
160 <variable name="sdfilesystem_button_y" value="380" />
161 <variable name="lock_x" value="160" />
162 <variable name="lock_y" value="400" />
163 <variable name="filemanager_select_x" value="560" />
164 <variable name="filemanager_select_y" value="1080" />
165 <variable name="backup_name_y" value="550" />
166 <variable name="terminal_console_height" value="700" />
167 <variable name="terminal_text_y" value="730" />
168 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400169 <variable name="row_dst_text_y" value="720" />
170 <variable name="row_offset_text_y" value="770" />
171 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400172 <variable name="exclamation_x" value="160" />
173 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400174 </variables>
175
176 <templates>
177 <template name="header">
178 <background color="#000000FF" />
179
180 <object type="image">
181 <image resource="top_bar" />
182 <placement x="0" y="0" />
183 </object>
184
185 <object type="text" color="%text_color%">
186 <font resource="font" />
187 <placement x="120" y="10" />
188 <text>Team Win Recovery Project v%tw_version%</text>
189 </object>
190
191 <object type="text" color="%text_color%">
192 <condition var1="tw_simulate_actions" var2="1" />
193 <font resource="font" />
194 <placement x="120" y="45" />
195 <text>SIMULATING ACTIONS</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="120" y="76" />
201 <text>%tw_time%</text>
202 </object>
203
204 <object type="text" color="%text_color%">
205 <font resource="font" />
206 <placement x="270" y="76" />
207 <conditions>
208 <condition var1="tw_no_battery_percent" var2="0" />
209 <condition var1="tw_battery" op=">" var2="0" />
210 <condition var1="tw_battery" op="<" var2="101" />
211 </conditions>
212 <text>Battery: %tw_battery%</text>
213 </object>
214
215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400217 <placement x="%home_button_x%" y="%home_button_y%" />
218 <font resource="font" color="%button_text_color%" />
219 <text></text>
220 <image resource="home_icon" />
221 <condition var1="tw_busy" var2="0" />
222 <action function="key">home</action>
223 </object>
224
225 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600226 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400227 <placement x="%back_button_x%" y="%back_button_y%" />
228 <font resource="font" color="%button_text_color%" />
229 <text></text>
230 <image resource="back_icon" />
231 <condition var1="tw_busy" var2="0" />
232 <action function="key">back</action>
233 </object>
234
235 <object type="action">
236 <touch key="power" />
237 <action function="overlay">lock</action>
238 </object>
239 </template>
240
241 <template name="progress_bar">
242 <object type="progressbar">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource empty="progress_empty" full="progress_full" />
245 <data name="ui_progress" />
246 </object>
247
248 <object type="animation">
249 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
250 <resource name="progress" />
251 <speed fps="15" render="2" />
252 <loop frame="1" />
253 </object>
254 </template>
255
256 <template name="sort_options">
257 <object type="text" color="%text_color%">
258 <font resource="font" />
259 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
260 <text>Sort Ascending:</text>
261 </object>
262
263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400265 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
266 <font resource="font" 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">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400274 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
275 <font resource="font" color="%button_text_color%" />
276 <text>Date</text>
277 <image resource="sort_button" />
278 <action function="set">tw_gui_sort_order=2</action>
279 </object>
280
281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400283 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
284 <font resource="font" color="%button_text_color%" />
285 <text>Size</text>
286 <image resource="sort_button" />
287 <action function="set">tw_gui_sort_order=3</action>
288 </object>
289
290 <object type="text" color="%text_color%">
291 <font resource="font" />
292 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
293 <text>Sort Descending:</text>
294 </object>
295
296 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600297 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400298 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
299 <font resource="font" color="%button_text_color%" />
300 <text>Name</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=-1</action>
303 </object>
304
305 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600306 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400307 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
308 <font resource="font" color="%button_text_color%" />
309 <text>Date</text>
310 <image resource="sort_button" />
311 <action function="set">tw_gui_sort_order=-2</action>
312 </object>
313
314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400316 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
317 <font resource="font" color="%button_text_color%" />
318 <text>Size</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=-3</action>
321 </object>
322 </template>
323
324 <template name="action_page_console">
325 <object type="console">
326 <placement x="0" y="%row2_y%" w="720" h="470" />
327 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
328 <font resource="fixed" />
329 </object>
330 </template>
331
332 <template name="footer">
333 <object type="console">
334 <slideout resource="slideout" x="325" y="1220" />
335 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
336 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
337 <font resource="fixed" />
338 </object>
339 </template>
340
341 <template name="keyboardtemplate">
342 <object type="keyboard">
343 <placement x="0" y="800" />
344 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400346 <layout1>
347 <keysize height="106" width="72" />
348 <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" />
349 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
350 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
351 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
352 </layout1>
353 <layout2>
354 <keysize height="106" width="72" />
355 <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" />
356 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
357 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
358 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
359 </layout2>
360 <layout3>
361 <keysize height="106" width="72" />
362 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
363 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
364 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
365 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
366 </layout3>
367 <layout4>
368 <keysize height="106" width="72" />
369 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
370 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
371 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
372 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
373 </layout4>
374 </object>
375 </template>
376 </templates>
377
378 <pages>
379 <page name="main">
380 <object type="action">
381 <actions>
382 <action function="set">tw_clear_destination=main2</action>
383 <action function="page">clear_vars</action>
384 </actions>
385 </object>
386 </page>
387
388 <page name="main2">
389 <object type="template" name="header" />
390
391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400393 <placement x="%col1_x%" y="%row1_y%" />
394 <font resource="font" color="%button_text_color%" />
395 <text>Install</text>
396 <image resource="main_button" />
397 <actions>
398 <action function="queueclear"></action>
399 <action function="page">install</action>
400 </actions>
401 </object>
402
403 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600404 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400405 <placement x="%col2_x%" y="%row1_y%" />
406 <font resource="font" color="%button_text_color%" />
407 <text>Wipe</text>
408 <image resource="main_button" />
409 <action function="page">wipe</action>
410 </object>
411
412 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600413 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400414 <placement x="%col1_x%" y="%row2_y%" />
415 <font resource="font" color="%button_text_color%" />
416 <text>Backup</text>
417 <image resource="main_button" />
418 <action function="page">backup</action>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row2_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Restore</text>
426 <image resource="main_button" />
427 <action function="page">restore</action>
428 </object>
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row3_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Mount</text>
435 <image resource="main_button" />
436 <action function="page">mount</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row3_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Settings</text>
444 <image resource="main_button" />
445 <action function="page">settings</action>
446 </object>
447
448
449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600450 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400451 <placement x="%col1_x%" y="%row4_y%" />
452 <font resource="font" color="%button_text_color%" />
453 <text>Advanced</text>
454 <image resource="main_button" />
455 <action function="page">advanced</action>
456 </object>
457
458 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600459 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400460 <placement x="%col2_x%" y="%row4_y%" />
461 <font resource="font" color="%button_text_color%" />
462 <text>Reboot</text>
463 <image resource="main_button" />
464 <action function="page">reboot</action>
465 </object>
466
467 <object type="template" name="footer" />
468 </page>
469
470 <page name="install">
471 <object type="template" name="header" />
472
473 <object type="text" color="%text_color%">
474 <font resource="font" />
475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
476 <text>Select Zip to Install</text>
477 </object>
478
479 <object type="button">
480 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400481 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <conditions>
483 <condition var1="tw_has_dual_storage" var2="1" />
484 <condition var1="tw_use_external_storage" var2="1" />
485 </conditions>
486 <text>Use external SD</text>
487 <image resource="radio_true" />
488 <action function="togglestorage">external</action>
489 </object>
490
491 <object type="button">
492 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400493 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 <conditions>
495 <condition var1="tw_has_dual_storage" var2="1" />
496 <condition var1="tw_use_external_storage" var2="0" />
497 </conditions>
498 <text>Use external SD</text>
499 <image resource="radio_false" />
500 <action function="togglestorage">external</action>
501 </object>
502
503 <object type="button">
504 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400505 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <conditions>
507 <condition var1="tw_has_dual_storage" var2="1" />
508 <condition var1="tw_use_external_storage" var2="1" />
509 </conditions>
510 <text>Use internal storage</text>
511 <image resource="radio_false" />
512 <action function="togglestorage">internal</action>
513 </object>
514
515 <object type="button">
516 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400517 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400518 <conditions>
519 <condition var1="tw_has_dual_storage" var2="1" />
520 <condition var1="tw_use_external_storage" var2="0" />
521 </conditions>
522 <text>Use internal storage</text>
523 <image resource="radio_true" />
524 <action function="togglestorage">internal</action>
525 </object>
526
527 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600528 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400529 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
530 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100531 <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 -0400532 <text>%tw_zip_location%</text>
533 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
534 <sort name="tw_gui_sort_order" />
535 <icon folder="folder_icon" file="file_icon" />
536 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600537 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400538 <filter extn=".zip" folders="1" files="1" />
539 <path name="tw_zip_location" default="/sdcard" />
540 <data name="tw_filename" />
541 <selection name="tw_file" />
542 </object>
543
544 <object type="template" name="sort_options" />
545
546 <object type="action">
547 <condition var1="tw_filename" op="modified" />
548 <actions>
549 <action function="queuezip"></action>
550 <action function="page">flash_confirm</action>
551 </actions>
552 </object>
553
554 <object type="action">
555 <touch key="back" />
556 <action function="page">main</action>
557 </object>
558
559 <object type="action">
560 <touch key="home" />
561 <action function="page">main</action>
562 </object>
563
564 <object type="template" name="footer" />
565 </page>
566
567 <page name="flash_confirm">
568 <object type="template" name="header" />
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
572 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
573 <text>This operation may install incompatible</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
579 <text>software and render your device unusable.</text>
580 </object>
581
582 <object type="text" color="%text_color%">
583 <font resource="font" />
584 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
585 <text>Folder:</text>
586 </object>
587
588 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400589 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
591 <text>%tw_zip_location%</text>
592 </object>
593
594 <object type="text" color="%text_color%">
595 <font resource="font" />
596 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
597 <text>File to flash:</text>
598 </object>
599
600 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
603 <text>%tw_file%</text>
604 </object>
605
606 <object type="text" color="%text_color%">
607 <font resource="font" />
608 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
609 <text>Press back to cancel adding this zip.</text>
610 </object>
611
612 <object type="checkbox">
613 <placement x="%col1_x%" y="%row8_text_y%" />
614 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400615 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400616 <data variable="tw_signed_zip_verify" />
617 <image checked="checkbox_true" unchecked="checkbox_false" />
618 </object>
619
620 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400621 <condition var1="tw_has_injecttwrp" var2="1" />
622 <placement x="%col1_x%" y="%row10_text_y%" />
623 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400624 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <data variable="tw_inject_after_zip" />
626 <image checked="checkbox_true" unchecked="checkbox_false" />
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400631 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400632 <text>File %tw_zip_queue_count% of max of 10</text>
633 </object>
634
635 <object type="slider">
636 <placement x="%slider_x%" y="%slider_y%" placement="5" />
637 <resource base="slider" used="slider-used" touch="slider-touch" />
638 <action function="flash">flash_zip</action>
639 </object>
640
641 <object type="text" color="%text_color%">
642 <font resource="font" />
643 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
644 <text>Swipe to Confirm Flash</text>
645 </object>
646
647 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600648 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400649 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
650 <placement x="%col1_x%" y="%row_queue_y%" />
651 <font resource="font" color="%button_text_color%" />
652 <text>Add More Zips</text>
653 <image resource="main_button" />
654 <action function="page">install</action>
655 </object>
656
657 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600658 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400659 <placement x="%col2_x%" y="%row_queue_y%" />
660 <font resource="font" color="%button_text_color%" />
661 <text>Clear Zip Queue</text>
662 <image resource="main_button" />
663 <actions>
664 <action function="queueclear"></action>
665 <action function="page">install</action>
666 </actions>
667 </object>
668
669 <object type="action">
670 <touch key="back" />
671 <actions>
672 <action function="cancelzip"></action>
673 <action function="page">install</action>
674 </actions>
675 </object>
676
677 <object type="action">
678 <touch key="home" />
679 <action function="page">main</action>
680 </object>
681
682 <object type="template" name="footer" />
683 </page>
684
685 <page name="flash_zip">
686 <object type="template" name="header" />
687
688 <object type="console">
689 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
690 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
691 <font resource="fixed" />
692 </object>
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
697 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
698 </object>
699
700 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400701 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400702 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
703 <text>%tw_filename%</text>
704 </object>
705
706 <object type="template" name="progress_bar" />
707
708 <object type="action">
709 <condition var1="tw_operation_state" var2="1" />
710 <action function="page">flash_done</action>
711 </object>
712 </page>
713
714 <page name="flash_done">
715 <object type="template" name="header" />
716
717 <object type="text" color="%text_color%">
718 <font resource="font" />
719 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
720 <text>Zip Install Complete</text>
721 </object>
722
723 <object type="console">
724 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
725 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
726 <font resource="fixed" />
727 </object>
728
729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400731 <placement x="%col1_x%" y="%row4_y%" />
732 <font resource="font" color="%button_text_color%" />
733 <text>Wipe cache/dalvik</text>
734 <image resource="main_button" />
735 <actions>
736 <action function="set">tw_back=flash_done</action>
737 <action function="set">tw_action=wipe</action>
738 <action function="set">tw_action_param=/cache</action>
739 <action function="set">tw_has_action2=1</action>
740 <action function="set">tw_action2=wipe</action>
741 <action function="set">tw_action2_param=dalvik</action>
742 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
743 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
744 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
745 <action function="set">tw_slider_text=Swipe to Wipe</action>
746 <action function="page">confirm_action</action>
747 </actions>
748 </object>
749
750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400752 <placement x="%col2_x%" y="%row4_y%" />
753 <font resource="font" color="%button_text_color%" />
754 <text>Reboot System</text>
755 <image resource="main_button" />
756 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400757 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <action function="set">tw_action=reboot</action>
759 <action function="set">tw_action_param=system</action>
760 <action function="set">tw_has_action2=0</action>
761 <action function="set">tw_text1=No OS Installed! Are you</action>
762 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400763 <action function="set">tw_text3=</action>
764 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400765 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400766 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400767 <action function="set">tw_complete_text1=Rebooting...</action>
768 <action function="set">tw_slider_text=Swipe to Reboot</action>
769 <action function="page">rebootcheck</action>
770 </actions>
771 </object>
772
773 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600774 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400775 <placement x="%col_center_x%" y="%row3_y%" />
776 <font resource="font" color="%button_text_color%" />
777 <text>Home</text>
778 <image resource="main_button" />
779 <actions>
780 <action function="set">tw_clear_destination=main2</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </object>
784
785 <object type="text" color="%text_fail_color%">
786 <condition var1="tw_operation_status" op="!=" var2="0" />
787 <font resource="font" />
788 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
789 <text>Failed</text>
790 </object>
791
792 <object type="text" color="%text_success_color%">
793 <condition var1="tw_operation_status" var2="0" />
794 <font resource="font" />
795 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
796 <text>Successful</text>
797 </object>
798
799 <object type="action">
800 <touch key="back" />
801 <actions>
802 <action function="set">tw_clear_destination=install</action>
803 <action function="page">clear_vars</action>
804 </actions>
805 </object>
806
807 <object type="action">
808 <touch key="home" />
809 <actions>
810 <action function="set">tw_clear_destination=main2</action>
811 <action function="page">clear_vars</action>
812 </actions>
813 </object>
814 </page>
815
816 <page name="clear_vars">
817 <object type="action">
818 <action function="set">tw_operation_state=0</action>
819 <action function="set">tw_text1=</action>
820 <action function="set">tw_text2=</action>
821 <action function="set">tw_text3=</action>
822 <action function="set">tw_text4=</action>
823 <action function="set">tw_action_text1=</action>
824 <action function="set">tw_action_text2=</action>
825 <action function="set">tw_action_param=</action>
826 <action function="set">tw_has_action2=0</action>
827 <action function="set">tw_action2=</action>
828 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400829 <action function="set">tw_has_cancel=0</action>
830 <action function="set">tw_cancel_action=</action>
831 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400832 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400833 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400834 <action function="page">%tw_clear_destination%</action>
835 </object>
836 </page>
837
838 <page name="confirm_action">
839 <object type="template" name="header" />
840
Dees_Troye588d252012-10-08 10:28:52 -0400841 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600842 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400843 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400844 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400845 <font resource="font" color="%button_text_color%" />
846 <text></text>
847 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400848 </object>
849
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
853 <text>%tw_text1%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
858 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
859 <text>%tw_text2%</text>
860 </object>
861
862 <object type="text" color="%text_color%">
863 <font resource="font" />
864 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
865 <text>%tw_text3%</text>
866 </object>
867
868 <object type="text" color="%text_color%">
869 <font resource="font" />
870 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
871 <text>%tw_text4%</text>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400876 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400877 <text>Press back button to cancel.</text>
878 </object>
879
880 <object type="slider">
881 <placement x="%slider_x%" y="%slider_y%" />
882 <resource base="slider" used="slider-used" touch="slider-touch" />
883 <action function="page">action_page</action>
884 </object>
885
886 <object type="text" color="%text_color%">
887 <font resource="font" />
888 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
889 <text>%tw_slider_text%</text>
890 </object>
891
892 <object type="action">
893 <touch key="back" />
894 <actions>
895 <action function="set">tw_clear_destination=%tw_back%</action>
896 <action function="page">clear_vars</action>
897 </actions>
898 </object>
899
900 <object type="action">
901 <touch key="home" />
902 <action function="page">main</action>
903 </object>
904
905 <object type="template" name="footer" />
906 </page>
907
908 <page name="action_page">
909 <object type="template" name="header" />
910
911 <object type="text" color="%text_color%">
912 <font resource="font" />
913 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
914 <text>%tw_action_text1%</text>
915 </object>
916
917 <object type="text" color="%text_color%">
918 <font resource="font" />
919 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
920 <text>%tw_action_text2%</text>
921 </object>
922
923 <object type="template" name="action_page_console" />
924
Dees_Troybbb21012012-09-20 15:59:46 -0400925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600926 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400927 <condition var1="tw_has_cancel" var2="1" />
928 <placement x="%col_center_medium_x%" y="%row4_y%" />
929 <font resource="font" color="%button_text_color%" />
930 <text>Cancel</text>
931 <image resource="medium_button" />
932 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
933 </object>
934
Dees_Troy51a0e822012-09-05 15:24:24 -0400935 <object type="template" name="progress_bar" />
936
937 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400938 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400939 <actions>
940 <action function="page">action_complete</action>
941 </actions>
942 </object>
943
944 <object type="action">
945 <condition var1="tw_has_action2" var2="0" />
946 <actions>
947 <action function="%tw_action%">%tw_action_param%</action>
948 </actions>
949 </object>
950
951 <object type="action">
952 <condition var1="tw_has_action2" var2="1" />
953 <actions>
954 <action function="%tw_action%">%tw_action_param%</action>
955 <action function="%tw_action2%">%tw_action2_param%</action>
956 </actions>
957 </object>
958 </page>
959
Dees_Troy6ef66352013-02-21 08:26:57 -0600960 <page name="singleaction_page">
961 <object type="template" name="header" />
962
963 <object type="text" color="%text_color%">
964 <font resource="font" />
965 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
966 <text>%tw_action_text1%</text>
967 </object>
968
969 <object type="text" color="%text_color%">
970 <font resource="font" />
971 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
972 <text>%tw_action_text2%</text>
973 </object>
974
975 <object type="template" name="action_page_console" />
976
977 <object type="template" name="progress_bar" />
978
979 <object type="action">
980 <condition var1="tw_operation_state" var2="1" />
981 <actions>
982 <action function="set">tw_page_done=1</action>
983 </actions>
984 </object>
985
986 <object type="action">
987 <condition var1="tw_has_action2" var2="0" />
988 <actions>
989 <action function="%tw_action%">%tw_action_param%</action>
990 </actions>
991 </object>
992
993 <object type="action">
994 <condition var1="tw_has_action2" var2="1" />
995 <actions>
996 <action function="%tw_action%">%tw_action_param%</action>
997 <action function="%tw_action2%">%tw_action2_param%</action>
998 </actions>
999 </object>
1000 </page>
1001
Dees_Troy51a0e822012-09-05 15:24:24 -04001002 <page name="action_complete">
1003 <object type="template" name="header" />
1004
1005 <object type="text" color="%text_color%">
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1008 <text>%tw_complete_text1%</text>
1009 </object>
1010
1011 <object type="text" color="%text_fail_color%">
1012 <condition var1="tw_operation_status" op="!=" var2="0" />
1013 <font resource="font" />
1014 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1015 <text>Failed</text>
1016 </object>
1017
1018 <object type="text" color="%text_success_color%">
1019 <condition var1="tw_operation_status" var2="0" />
1020 <font resource="font" />
1021 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1022 <text>Successful</text>
1023 </object>
1024
1025 <object type="template" name="action_page_console" />
1026
1027 <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="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001030 <placement x="%col_center_x%" y="%row4_y%" />
1031 <font resource="font" color="%button_text_color%" />
1032 <text>Back</text>
1033 <image resource="main_button" />
1034 <actions>
1035 <action function="set">tw_clear_destination=%tw_back%</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039
Dees_Troya3f81542012-10-08 10:58:53 -04001040 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001041 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001042 <condition var1="tw_show_reboot" var2="1" />
1043 <placement x="%col_center_x%" y="%row4_y%" />
1044 <font resource="font" color="%button_text_color%" />
1045 <text>Reboot System</text>
1046 <image resource="main_button" />
1047 <actions>
1048 <action function="set">tw_back=main2</action>
1049 <action function="set">tw_action=reboot</action>
1050 <action function="set">tw_action_param=system</action>
1051 <action function="set">tw_has_action2=0</action>
1052 <action function="set">tw_text1=No OS Installed! Are you</action>
1053 <action function="set">tw_text2=sure you wish to reboot?</action>
1054 <action function="set">tw_text3=</action>
1055 <action function="set">tw_text4=</action>
1056 <action function="set">tw_action_text1=Rebooting...</action>
1057 <action function="set">tw_action_text2=</action>
1058 <action function="set">tw_complete_text1=Rebooting...</action>
1059 <action function="set">tw_slider_text=Swipe to Reboot</action>
1060 <action function="page">rebootcheck</action>
1061 </actions>
1062 </object>
1063
Dees_Troy51a0e822012-09-05 15:24:24 -04001064 <object type="action">
1065 <touch key="home" />
1066 <actions>
1067 <action function="set">tw_clear_destination=main2</action>
1068 <action function="page">clear_vars</action>
1069 </actions>
1070 </object>
1071
1072 <object type="action">
1073 <touch key="back" />
1074 <actions>
1075 <action function="set">tw_clear_destination=%tw_back%</action>
1076 <action function="page">clear_vars</action>
1077 </actions>
1078 </object>
1079 </page>
1080
1081 <page name="filecheck">
1082 <object type="action">
1083 <action function="fileexists">%tw_filecheck%</action>
1084 </object>
1085
1086 <object type="action">
1087 <conditions>
1088 <condition var1="tw_operation_state" var2="1" />
1089 <condition var1="tw_operation_status" var2="0" />
1090 </conditions>
1091 <actions>
1092 <action function="set">tw_fileexists=1</action>
1093 <action function="page">%tw_existpage%</action>
1094 </actions>
1095 </object>
1096
1097 <object type="action">
1098 <conditions>
1099 <condition var1="tw_operation_state" var2="1" />
1100 <condition var1="tw_operation_status" var2="1" />
1101 </conditions>
1102 <actions>
1103 <action function="set">tw_fileexists=0</action>
1104 <action function="page">%tw_notexistpage%</action>
1105 </actions>
1106 </object>
1107 </page>
1108
1109 <page name="rebootcheck">
1110 <object type="action">
1111 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1112 <action function="reboot">%tw_action_param%</action>
1113 </object>
1114
1115 <object type="action">
1116 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1117 <action function="page">confirm_action</action>
1118 </object>
1119 </page>
1120
1121 <page name="wipe">
1122 <object type="template" name="header" />
1123
1124 <object type="text" color="%text_color%">
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1127 <text>Wipe Menu</text>
1128 </object>
1129
1130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001132 <placement x="%col1_x%" y="%row1_y%" />
1133 <font resource="font" color="%button_text_color%" />
1134 <text>Cache</text>
1135 <image resource="main_button" />
1136 <actions>
1137 <action function="set">tw_back=wipe</action>
1138 <action function="set">tw_action=wipe</action>
1139 <action function="set">tw_action_param=/cache</action>
1140 <action function="set">tw_text1=Wipe Cache?</action>
1141 <action function="set">tw_action_text1=Wiping Cache...</action>
1142 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1143 <action function="set">tw_slider_text=Swipe to Wipe</action>
1144 <action function="page">confirm_action</action>
1145 </actions>
1146 </object>
1147
1148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001149 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <placement x="%col2_x%" y="%row1_y%" />
1151 <font resource="font" color="%button_text_color%" />
1152 <text>Dalvik Cache</text>
1153 <image resource="main_button" />
1154 <actions>
1155 <action function="set">tw_back=wipe</action>
1156 <action function="set">tw_action=wipe</action>
1157 <action function="set">tw_action_param=dalvik</action>
1158 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1159 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1160 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1161 <action function="set">tw_slider_text=Swipe to Wipe</action>
1162 <action function="page">confirm_action</action>
1163 </actions>
1164 </object>
1165
1166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001167 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001168 <placement x="%col1_x%" y="%row2_y%" />
1169 <font resource="font" color="%button_text_color%" />
1170 <text>Factory Reset</text>
1171 <image resource="main_button" />
1172 <actions>
1173 <action function="set">tw_back=wipe</action>
1174 <action function="set">tw_action=wipe</action>
1175 <action function="set">tw_action_param=data</action>
1176 <action function="set">tw_text1=Factory Reset?</action>
1177 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1178 <action function="set">tw_action_text1=Factory Reset...</action>
1179 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1180 <action function="set">tw_slider_text=Swipe to Wipe</action>
1181 <action function="page">confirm_action</action>
1182 </actions>
1183 </object>
1184
1185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001187 <placement x="%col2_x%" y="%row2_y%" />
1188 <font resource="font" color="%button_text_color%" />
1189 <text>System</text>
1190 <image resource="main_button" />
1191 <actions>
1192 <action function="set">tw_back=wipe</action>
1193 <action function="set">tw_action=wipe</action>
1194 <action function="set">tw_action_param=/system</action>
1195 <action function="set">tw_text1=Wipe System?</action>
1196 <action function="set">tw_text2=This will wipe your ROM</action>
1197 <action function="set">tw_action_text1=Wiping System...</action>
1198 <action function="set">tw_complete_text1=System Wipe Complete</action>
1199 <action function="set">tw_slider_text=Swipe to Wipe</action>
1200 <action function="page">confirm_action</action>
1201 </actions>
1202 </object>
1203
1204 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001205 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001206 <condition var1="tw_has_external" var2="1" />
1207 <placement x="%col1_x%" y="%row3_y%" />
1208 <font resource="font" color="%button_text_color%" />
1209 <text>External Storage</text>
1210 <image resource="main_button" />
1211 <actions>
1212 <action function="set">tw_back=wipe</action>
1213 <action function="set">tw_action=wipe</action>
1214 <action function="set">tw_action_param=EXTERNAL</action>
1215 <action function="set">tw_has_action2=1</action>
1216 <action function="set">tw_action2=set</action>
1217 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001218 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="set">tw_action_text1=Wiping External Storage...</action>
1220 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1221 <action function="set">tw_slider_text=Swipe to Wipe</action>
1222 <action function="page">confirm_action</action>
1223 </actions>
1224 </object>
1225
1226 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001227 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001228 <condition var1="tw_has_internal" var2="1" />
1229 <placement x="%col2_x%" y="%row3_y%" />
1230 <font resource="font" color="%button_text_color%" />
1231 <text>Internal Storage</text>
1232 <image resource="main_button" />
1233 <actions>
1234 <action function="set">tw_back=wipe</action>
1235 <action function="set">tw_action=wipe</action>
1236 <action function="set">tw_action_param=INTERNAL</action>
1237 <action function="set">tw_has_action2=1</action>
1238 <action function="set">tw_action2=set</action>
1239 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1240 <action function="set">tw_text1=Wipe Internal Storage?</action>
1241 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1242 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1243 <action function="set">tw_slider_text=Swipe to Wipe</action>
1244 <action function="page">confirm_action</action>
1245 </actions>
1246 </object>
1247
1248 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001249 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001250 <conditions>
1251 <condition var1="tw_has_internal" var2="1" />
1252 <condition var1="tw_has_data_media" var2="1" />
1253 </conditions>
1254 <placement x="%col1_x%" y="%row4_y%" />
1255 <font resource="font" color="%button_text_color%" />
1256 <text>Format Data</text>
1257 <image resource="main_button" />
1258 <actions>
1259 <action function="set">tw_back=wipe</action>
1260 <action function="set">tw_action=wipe</action>
1261 <action function="set">tw_action_param=DATAMEDIA</action>
1262 <action function="set">tw_has_action2=1</action>
1263 <action function="set">tw_action2=set</action>
1264 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001265 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001266 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001267 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001268 <action function="set">tw_action_text1=Formatting Data...</action>
1269 <action function="set">tw_complete_text1=Data Format Complete</action>
1270 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001271 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001272 <action function="page">confirm_action</action>
1273 </actions>
1274 </object>
1275
1276 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001277 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001278 <condition var1="tw_has_data_media" var2="0" />
1279 <placement x="%col1_x%" y="%row4_y%" />
1280 <font resource="font" color="%button_text_color%" />
1281 <text>Android Secure</text>
1282 <image resource="main_button" />
1283 <actions>
1284 <action function="set">tw_back=wipe</action>
1285 <action function="set">tw_action=wipe</action>
1286 <action function="set">tw_action_param=ANDROIDSECURE</action>
1287 <action function="set">tw_text1=Wipe Android Secure?</action>
1288 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1289 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1290 <action function="set">tw_slider_text=Swipe to Format</action>
1291 <action function="page">confirm_action</action>
1292 </actions>
1293 </object>
1294
1295 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001296 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001297 <condition var1="tw_has_sdext_partition" var2="1" />
1298 <placement x="%col2_x%" y="%row4_y%" />
1299 <font resource="font" color="%button_text_color%" />
1300 <text>SD Ext</text>
1301 <image resource="main_button" />
1302 <actions>
1303 <action function="set">tw_back=wipe</action>
1304 <action function="set">tw_action=wipe</action>
1305 <action function="set">tw_action_param=/sd-ext</action>
1306 <action function="set">tw_text1=Wipe SD-Ext?</action>
1307 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1308 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1309 <action function="set">tw_slider_text=Swipe to Wipe</action>
1310 <action function="page">confirm_action</action>
1311 </actions>
1312 </object>
1313
1314 <object type="action">
1315 <touch key="home" />
1316 <action function="page">main</action>
1317 </object>
1318
1319 <object type="action">
1320 <touch key="back" />
1321 <action function="page">main</action>
1322 </object>
1323
1324 <object type="template" name="footer" />
1325 </page>
1326
1327 <page name="backup">
1328 <object type="template" name="header" />
1329
1330 <object type="text" color="%text_color%">
1331 <font resource="font" />
1332 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1333 <text>Backup Name: %tw_backup_name%</text>
1334 </object>
1335
1336 <object type="text" color="%text_color%">
1337 <placement x="%col1_x%" y="%row1_text_y%" />
1338 <font resource="font" />
1339 <text>Backup Device</text>
1340 </object>
1341
1342 <object type="slider">
1343 <placement x="%slider_x%" y="slider_y" />
1344 <resource base="slider" used="slider-used" touch="slider-touch" />
1345 <action function="page">backup_run</action>
1346 </object>
1347
1348 <object type="text" color="%text_color%">
1349 <font resource="font" />
1350 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1351 <text>Swipe to Back Up</text>
1352 </object>
1353
1354 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001355 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001356 <placement x="%col2_x%" y="%row1_y%" />
1357 <font resource="font" color="%button_text_color%" />
1358 <text>Refresh Sizes</text>
1359 <image resource="main_button" />
1360 <action function="refreshsizes"></action>
1361 </object>
1362
1363 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001364 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001365 <placement x="%col2_x%" y="%backup_name_y%" />
1366 <font resource="font" color="%button_text_color%" />
1367 <text>Set Backup Name</text>
1368 <image resource="main_button" />
1369 <actions>
1370 <action function="set">tw_fileexists=0</action>
1371 <action function="page">backupname1</action>
1372 </actions>
1373 </object>
1374
1375 <object type="checkbox">
1376 <placement x="%col1_x%" y="%row2_text_y%" />
1377 <font resource="font" color="%text_color%" />
1378 <text>System (%tw_backup_system_size% MB)</text>
1379 <data variable="tw_backup_system" />
1380 <image checked="checkbox_true" unchecked="checkbox_false" />
1381 </object>
1382
1383 <object type="checkbox">
1384 <placement x="%col1_x%" y="%row3_text_y%" />
1385 <font resource="font" color="%text_color%" />
1386 <text>Data (%tw_backup_data_size% MB)</text>
1387 <data variable="tw_backup_data" />
1388 <image checked="checkbox_true" unchecked="checkbox_false" />
1389 </object>
1390
1391 <object type="checkbox">
1392 <condition var1="tw_has_boot_partition" var2="1" />
1393 <placement x="%col1_x%" y="%row4_text_y%" />
1394 <font resource="font" color="%text_color%" />
1395 <text>Boot (%tw_backup_boot_size% MB)</text>
1396 <data variable="tw_backup_boot" />
1397 <image checked="checkbox_true" unchecked="checkbox_false" />
1398 </object>
1399
1400 <object type="checkbox">
1401 <condition var1="tw_has_recovery_partition" var2="1" />
1402 <placement x="%col1_x%" y="%row5_text_y%" />
1403 <font resource="font" color="%text_color%" />
1404 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1405 <data variable="tw_backup_recovery" />
1406 <image checked="checkbox_true" unchecked="checkbox_false" />
1407 </object>
1408
1409 <object type="checkbox">
1410 <placement x="%col1_x%" y="%row6_text_y%" />
1411 <font resource="font" color="%text_color%" />
1412 <text>Cache (%tw_backup_cache_size% MB)</text>
1413 <data variable="tw_backup_cache" />
1414 <image checked="checkbox_true" unchecked="checkbox_false" />
1415 </object>
1416
1417 <object type="checkbox">
1418 <condition var1="tw_has_android_secure" var2="1" />
1419 <placement x="%col1_x%" y="%row7_text_y%" />
1420 <font resource="font" color="%text_color%" />
1421 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1422 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1423 <data variable="tw_backup_andsec" />
1424 <image checked="checkbox_true" unchecked="checkbox_false" />
1425 </object>
1426
1427 <object type="checkbox">
1428 <condition var1="tw_has_sdext_partition" var2="1" />
1429 <placement x="%col1_x%" y="%row8_text_y%" />
1430 <font resource="font" color="%text_color%" />
1431 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1432 <condition var1="fileexists" var2="/sd-ext" />
1433 <data variable="tw_backup_sdext" />
1434 <image checked="checkbox_true" unchecked="checkbox_false" />
1435 </object>
1436
1437 <object type="checkbox">
1438 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001439 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001440 <font resource="font" color="%text_color%" />
1441 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1442 <data variable="tw_backup_sp1" />
1443 <image checked="checkbox_true" unchecked="checkbox_false" />
1444 </object>
1445
1446 <object type="checkbox">
1447 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001448 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001449 <font resource="font" color="%text_color%" />
1450 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1451 <data variable="tw_backup_sp2" />
1452 <image checked="checkbox_true" unchecked="checkbox_false" />
1453 </object>
1454
1455 <object type="checkbox">
1456 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001457 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001458 <font resource="font" color="%text_color%" />
1459 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1460 <data variable="tw_backup_sp3" />
1461 <image checked="checkbox_true" unchecked="checkbox_false" />
1462 </object>
1463
1464 <object type="text" color="%text_color%">
1465 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001466 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 <text>Free Space: %tw_storage_free_size% MB</text>
1468 </object>
1469
1470 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001471 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001472 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001473 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001474 <data variable="tw_use_compression" />
1475 <image checked="checkbox_true" unchecked="checkbox_false" />
1476 </object>
1477
1478 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001479 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001480 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001481 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001482 <data variable="tw_skip_md5_generate" />
1483 <image checked="checkbox_true" unchecked="checkbox_false" />
1484 </object>
1485
1486 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001487 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001488 <font resource="font" color="%text_color%" />
1489 <conditions>
1490 <condition var1="tw_has_dual_storage" var2="1" />
1491 <condition var1="tw_use_external_storage" var2="1" />
1492 </conditions>
1493 <text>Use external SD</text>
1494 <image resource="radio_true" />
1495 <action function="togglestorage">external</action>
1496 </object>
1497
1498 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001499 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001500 <font resource="font" color="%text_color%" />
1501 <conditions>
1502 <condition var1="tw_has_dual_storage" var2="1" />
1503 <condition var1="tw_use_external_storage" var2="0" />
1504 </conditions>
1505 <text>Use external SD</text>
1506 <image resource="radio_false" />
1507 <action function="togglestorage">external</action>
1508 </object>
1509
1510 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001511 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001512 <font resource="font" color="%text_color%" />
1513 <conditions>
1514 <condition var1="tw_has_dual_storage" var2="1" />
1515 <condition var1="tw_use_external_storage" var2="1" />
1516 </conditions>
1517 <text>Use internal storage</text>
1518 <image resource="radio_false" />
1519 <action function="togglestorage">internal</action>
1520 </object>
1521
1522 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001523 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001524 <font resource="font" color="%text_color%" />
1525 <conditions>
1526 <condition var1="tw_has_dual_storage" var2="1" />
1527 <condition var1="tw_use_external_storage" var2="0" />
1528 </conditions>
1529 <text>Use internal storage</text>
1530 <image resource="radio_true" />
1531 <action function="togglestorage">internal</action>
1532 </object>
1533
1534 <object type="action">
1535 <touch key="home" />
1536 <action function="page">main</action>
1537 </object>
1538
1539 <object type="action">
1540 <touch key="back" />
1541 <action function="page">main</action>
1542 </object>
1543
1544 <object type="template" name="footer" />
1545 </page>
1546
1547 <page name="backupname1">
1548 <object type="action">
1549 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1550 <action function="set">tw_backup_name=</function>
1551 </object>
1552
1553 <object type="action">
1554 <action function="page">backupname2</function>
1555 </object>
1556 </page>
1557
1558 <page name="backupname2">
1559 <object type="template" name="header" />
1560
1561 <object type="text" color="%text_color%">
1562 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1563 <font resource="font" />
1564 <text>Please Enter a Backup Name</text>
1565 </object>
1566
1567 <object type="input">
1568 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1569 <background color="%input_background_color%" />
1570 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1571 <font resource="font" color="%text_color%" />
1572 <text>%tw_backup_name%</text>
1573 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001574 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001575 <actions>
1576 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1577 <action function="set">tw_existpage=backupname2</action>
1578 <action function="set">tw_notexistpage=backup</action>
1579 <action function="page">filecheck</action>
1580 </actions>
1581 </object>
1582
1583 <object type="text" color="%text_fail_color%">
1584 <condition var1="tw_fileexists" var2="1" />
1585 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1586 <font resource="font" />
1587 <text>A backup with that name already exists!</text>
1588 </object>
1589
1590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001592 <placement x="%col_center_x%" y="%row2_y%" />
1593 <font resource="font" color="%button_text_color%" />
1594 <text>Cancel</text>
1595 <image resource="main_button" />
1596 <actions>
1597 <action function="set">tw_backup_name=(Current Date)</action>
1598 <action function="page">backup</action>
1599 </actions>
1600 </object>
1601
1602 <object type="template" name="keyboardtemplate" />
1603
1604 <object type="action">
1605 <touch key="home" />
1606 <actions>
1607 <action function="set">tw_backup_name=(Current Date)</action>
1608 <action function="page">main</action>
1609 </actions>
1610 </object>
1611
1612 <object type="action">
1613 <touch key="back" />
1614 <actions>
1615 <action function="set">tw_backup_name=(Current Date)</action>
1616 <action function="page">backup</action>
1617 </actions>
1618 </object>
1619
1620 <object type="template" name="footer" />
1621 </page>
1622
1623 <page name="backup_run">
1624 <object type="template" name="header" />
1625
1626 <object type="text" color="%text_color%">
1627 <font resource="font" />
1628 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1629 <text>%tw_operation% %tw_partition%</text>
1630 </object>
1631
1632 <object type="template" name="action_page_console" />
1633
1634 <object type="template" name="progress_bar" />
1635
1636 <object type="action">
1637 <action function="nandroid">backup</action>
1638 </object>
1639
1640 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001641 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001642 <actions>
1643 <action function="set">tw_back=backup</action>
1644 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001645 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001646 <action function="page">action_complete</action>
1647 </actions>
1648 </object>
1649 </page>
1650
1651 <page name="restore">
1652 <object type="template" name="header" />
1653
1654 <object type="button">
1655 <placement x="%col1_x%" y="%row1_header_y%" />
1656 <font resource="font" color="%text_color%" />
1657 <conditions>
1658 <condition var1="tw_has_dual_storage" var2="1" />
1659 <condition var1="tw_use_external_storage" var2="1" />
1660 </conditions>
1661 <text>Use external SD</text>
1662 <image resource="radio_true" />
1663 <action function="togglestorage">external</action>
1664 </object>
1665
1666 <object type="button">
1667 <placement x="%col1_x%" y="%row1_header_y%" />
1668 <font resource="font" color="%text_color%" />
1669 <conditions>
1670 <condition var1="tw_has_dual_storage" var2="1" />
1671 <condition var1="tw_use_external_storage" var2="0" />
1672 </conditions>
1673 <text>Use external SD</text>
1674 <image resource="radio_false" />
1675 <action function="togglestorage">external</action>
1676 </object>
1677
1678 <object type="button">
1679 <placement x="%col2_x%" y="%row1_header_y%" />
1680 <font resource="font" color="%text_color%" />
1681 <conditions>
1682 <condition var1="tw_has_dual_storage" var2="1" />
1683 <condition var1="tw_use_external_storage" var2="1" />
1684 </conditions>
1685 <text>Use internal storage</text>
1686 <image resource="radio_false" />
1687 <action function="togglestorage">internal</action>
1688 </object>
1689
1690 <object type="button">
1691 <placement x="%col2_x%" y="%row1_header_y%" />
1692 <font resource="font" color="%text_color%" />
1693 <conditions>
1694 <condition var1="tw_has_dual_storage" var2="1" />
1695 <condition var1="tw_use_external_storage" var2="0" />
1696 </conditions>
1697 <text>Use internal storage</text>
1698 <image resource="radio_true" />
1699 <action function="togglestorage">internal</action>
1700 </object>
1701
1702 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001703 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001704 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1705 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001706 <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 -04001707 <text>Select Package to Restore:</text>
1708 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1709 <sort name="tw_gui_sort_order" />
1710 <icon folder="folder_icon" file="file_icon" />
1711 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001712 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001713 <filter folders="1" files="0" nav="0" />
1714 <path name="tw_backups_folder" />
1715 <data name="tw_restore" default="" />
1716 <selection name="tw_restore_name" />
1717 </object>
1718
1719 <object type="template" name="sort_options" />
1720
1721 <object type="action">
1722 <condition var1="tw_restore" op="modified" />
1723 <actions>
1724 <action function="readBackup"></action>
1725 <action function="page">restore_select</action>
1726 </actions>
1727 </object>
1728
1729 <object type="action">
1730 <touch key="home" />
1731 <action function="page">main</action>
1732 </object>
1733
1734 <object type="action">
1735 <touch key="back" />
1736 <action function="page">main</action>
1737 </object>
1738
1739 <object type="template" name="footer" />
1740 </page>
1741
1742 <page name="restore_select">
1743 <object type="template" name="header" />
1744
1745 <object type="text">
1746 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1747 <font resource="font" color="%text_color%" />
1748 <text>Restoring: %tw_restore_name%</text>
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="%row1_y%" />
1754 <font resource="font" color="%button_text_color%" />
1755 <text>Rename Backup</text>
1756 <image resource="main_button" />
1757 <actions>
1758 <action function="set">tw_backup_rename=</action>
1759 <action function="set">tw_fileexists=0</action>
1760 <action function="page">renamebackup</action>
1761 </actions>
1762 </object>
1763
1764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001766 <placement x="%col2_x%" y="%row2_y%" />
1767 <font resource="font" color="%button_text_color%" />
1768 <text>Delete Backup</text>
1769 <image resource="main_button" />
1770 <actions>
1771 <action function="set">tw_back=restore</action>
1772 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001773 <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 -04001774 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1775 <action function="set">tw_text2=This cannot be undone!</action>
1776 <action function="set">tw_action_text1=Deleting Backup...</action>
1777 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1778 <action function="set">tw_slider_text=Swipe to Delete</action>
1779 <action function="page">confirm_action</action>
1780 </actions>
1781 </object>
1782
1783 <object type="slider">
1784 <placement x="%slider_x%" y="%slider_y%" />
1785 <resource base="slider" used="slider-used" touch="slider-touch" />
1786 <action function="page">restore_run</action>
1787 </object>
1788
1789 <object type="text" color="%text_color%">
1790 <font resource="font" />
1791 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1792 <text>Swipe to Restore</text>
1793 </object>
1794
1795 <object type="checkbox">
1796 <placement x="%col1_x%" y="%row2_text_y%" />
1797 <font resource="font" color="%text_color%" />
1798 <text>System</text>
1799 <condition var1="tw_restore_system" op=">=" var2="0" />
1800 <data variable="tw_restore_system" />
1801 <image checked="checkbox_true" unchecked="checkbox_false" />
1802 </object>
1803
1804 <object type="checkbox">
1805 <placement x="%col1_x%" y="%row3_text_y%" />
1806 <font resource="font" color="%text_color%" />
1807 <text>Data</text>
1808 <condition var1="tw_restore_data" op=">=" var2="0" />
1809 <data variable="tw_restore_data" />
1810 <image checked="checkbox_true" unchecked="checkbox_false" />
1811 </object>
1812
1813 <object type="checkbox">
1814 <placement x="%col1_x%" y="%row4_text_y%" />
1815 <font resource="font" color="%text_color%" />
1816 <text>Boot</text>
1817 <condition var1="tw_restore_boot" op=">=" var2="0" />
1818 <data variable="tw_restore_boot" />
1819 <image checked="checkbox_true" unchecked="checkbox_false" />
1820 </object>
1821
1822 <object type="checkbox">
1823 <placement x="%col1_x%" y="%row6_text_y%" />
1824 <font resource="font" color="%text_color%" />
1825 <text>Cache</text>
1826 <condition var1="tw_restore_cache" op=">=" var2="0" />
1827 <data variable="tw_restore_cache" />
1828 <image checked="checkbox_true" unchecked="checkbox_false" />
1829 </object>
1830
1831 <object type="checkbox">
1832 <placement x="%col1_x%" y="%row7_text_y%" />
1833 <font resource="font" color="%text_color%" />
1834 <text>.android_secure</text>
1835 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1836 <data variable="tw_restore_andsec" />
1837 <image checked="checkbox_true" unchecked="checkbox_false" />
1838 </object>
1839
1840 <object type="checkbox">
1841 <placement x="%col1_x%" y="%row8_text_y%" />
1842 <font resource="font" color="%text_color%" />
1843 <text>sd-ext</text>
1844 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1845 <data variable="tw_restore_sdext" />
1846 <image checked="checkbox_true" unchecked="checkbox_false" />
1847 </object>
1848
1849 <object type="checkbox">
1850 <placement x="%col1_x%" y="%row10_text_y%" />
1851 <font resource="font" color="%text_color%" />
1852 <text>%tw_sp1_name%</text>
1853 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1854 <data variable="tw_restore_sp1" />
1855 <image checked="checkbox_true" unchecked="checkbox_false" />
1856 </object>
1857
1858 <object type="checkbox">
1859 <placement x="%col1_x%" y="%row11_text_y%" />
1860 <font resource="font" color="%text_color%" />
1861 <text>%tw_sp2_name%</text>
1862 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1863 <data variable="tw_restore_sp2" />
1864 <image checked="checkbox_true" unchecked="checkbox_false" />
1865 </object>
1866
1867 <object type="checkbox">
1868 <placement x="%col1_x%" y="%row12_text_y%" />
1869 <font resource="font" color="%text_color%" />
1870 <text>%tw_sp3_name%</text>
1871 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1872 <data variable="tw_restore_sp3" />
1873 <image checked="checkbox_true" unchecked="checkbox_false" />
1874 </object>
1875
1876 <object type="checkbox">
1877 <placement x="%col1_x%" y="%row14_text_y%" />
1878 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001879 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001880 <data variable="tw_skip_md5_check" />
1881 <image checked="checkbox_true" unchecked="checkbox_false" />
1882 </object>
1883
1884 <object type="text" color="%text_color%">
1885 <font resource="font" />
1886 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1887 <text>Package Date: %tw_restore_file_date%</text>
1888 </object>
1889
1890 <object type="action">
1891 <touch key="home" />
1892 <action function="page">main</action>
1893 </object>
1894
1895 <object type="action">
1896 <touch key="back" />
1897 <action function="page">restore</action>
1898 </object>
1899
1900 <object type="template" name="footer" />
1901 </page>
1902
1903 <page name="renamebackup">
1904 <object type="template" name="header" />
1905
1906 <object type="text" color="%text_color%">
1907 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1908 <font resource="font" />
1909 <text>Please Enter a New Backup Name</text>
1910 </object>
1911
1912 <object type="input">
1913 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1914 <background color="%input_background_color%" />
1915 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1916 <font resource="font" color="%text_color%" />
1917 <text>%tw_backup_rename%</text>
1918 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001919 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001920 <actions>
1921 <action function="set">tw_back=restore</action>
1922 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001923 <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 -04001924 <action function="set">tw_text1=Rename Backup?</action>
1925 <action function="set">tw_text2=This cannot be undone!</action>
1926 <action function="set">tw_action_text1=Renaming Backup...</action>
1927 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1928 <action function="set">tw_slider_text=Swipe to Rename</action>
1929 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1930 <action function="set">tw_existpage=renamebackup</action>
1931 <action function="set">tw_notexistpage=confirm_action</action>
1932 <action function="page">filecheck</action>
1933 </actions>
1934 </object>
1935
1936 <object type="text" color="%text_fail_color%">
1937 <condition var1="tw_fileexists" var2="1" />
1938 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1939 <font resource="font" />
1940 <text>A backup with that name already exists!</text>
1941 </object>
1942
1943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001944 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001945 <placement x="%col_center_x%" y="%row2_y%" />
1946 <font resource="font" color="%button_text_color%" />
1947 <text>Cancel</text>
1948 <image resource="main_button" />
1949 <action function="page">restore_select</action>
1950 </object>
1951
1952 <object type="template" name="keyboardtemplate" />
1953
1954 <object type="action">
1955 <touch key="home" />
1956 <action function="page">main</action>
1957 </object>
1958
1959 <object type="action">
1960 <touch key="back" />
1961 <action function="page">restore_select</action>
1962 </object>
1963
1964 <object type="template" name="footer" />
1965 </page>
1966
1967 <page name="restore_run">
1968 <object type="template" name="header" />
1969
1970 <object type="text" color="%text_color%">
1971 <font resource="font" />
1972 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1973 <text>%tw_operation% %tw_partition%</text>
1974 </object>
1975
1976 <object type="template" name="action_page_console" />
1977
1978 <object type="template" name="progress_bar" />
1979
1980 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001981 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001982 <actions>
1983 <action function="set">tw_back=restore_select</action>
1984 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001985 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001986 <action function="page">action_complete</action>
1987 </actions>
1988 </object>
1989
1990 <object type="action">
1991 <action function="nandroid">restore</action>
1992 </object>
1993 </page>
1994
1995 <page name="mount">
1996 <object type="template" name="header" />
1997
1998 <object type="text" color="%text_color%">
1999 <font resource="font" />
2000 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2001 <text>Mount Menu</text>
2002 </object>
2003
2004 <object type="button">
2005 <placement x="%col1_x%" y="%row1_text_y%" />
2006 <font resource="font" color="%text_color%" />
2007 <condition var1="mounted" op="!=" var2="/system" />
2008 <text>Mount System</text>
2009 <image resource="checkbox_false" />
2010 <action function="mount">/system</action>
2011 </object>
2012
2013 <object type="button">
2014 <placement x="%col1_x%" y="%row1_text_y%" />
2015 <font resource="font" color="%text_color%" />
2016 <condition var1="mounted" op="=" var2="/system" />
2017 <text>Unmount System</text>
2018 <image resource="checkbox_true" />
2019 <action function="umount">/system</action>
2020 </object>
2021
2022 <object type="button">
2023 <placement x="%col1_x%" y="%row2_text_y%" />
2024 <font resource="font" color="%text_color%" />
2025 <condition var1="mounted" op="!=" var2="/data" />
2026 <text>Mount Data</text>
2027 <image resource="checkbox_false" />
2028 <action function="mount">/data</action>
2029 </object>
2030
2031 <object type="button">
2032 <placement x="%col1_x%" y="%row2_text_y%" />
2033 <font resource="font" color="%text_color%" />
2034 <condition var1="mounted" op="=" var2="/data" />
2035 <text>Unmount Data</text>
2036 <image resource="checkbox_true" />
2037 <action function="umount">/data</action>
2038 </object>
2039
2040 <object type="button">
2041 <placement x="%col1_x%" y="%row3_text_y%" />
2042 <font resource="font" color="%text_color%" />
2043 <condition var1="mounted" op="!=" var2="/cache" />
2044 <text>Mount Cache</text>
2045 <image resource="checkbox_false" />
2046 <action function="mount">/cache</action>
2047 </object>
2048
2049 <object type="button">
2050 <placement x="%col1_x%" y="%row3_text_y%" />
2051 <font resource="font" color="%text_color%" />
2052 <condition var1="mounted" op="=" var2="/cache" />
2053 <text>Unmount Cache</text>
2054 <image resource="checkbox_true" />
2055 <action function="umount">/cache</action>
2056 </object>
2057
2058 <object type="button">
2059 <placement x="%col1_x%" y="%row4_text_y%" />
2060 <font resource="font" color="%text_color%" />
2061 <conditions>
2062 <condition var1="tw_has_external" var2="1" />
2063 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2064 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002065 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <image resource="checkbox_false" />
2067 <action function="mount">EXTERNAL</action>
2068 </object>
2069
2070 <object type="button">
2071 <placement x="%col1_x%" y="%row4_text_y%" />
2072 <font resource="font" color="%text_color%" />
2073 <conditions>
2074 <condition var1="tw_has_external" var2="1" />
2075 <condition var1="mounted" op="=" var2="EXTERNAL" />
2076 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002077 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 <image resource="checkbox_true" />
2079 <action function="umount">EXTERNAL</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>Mount Internal</text>
2091 <image resource="checkbox_false" />
2092 <action function="mount">INTERNAL</action>
2093 </object>
2094
2095 <object type="button">
2096 <placement x="%col2_x%" y="%row4_text_y%" />
2097 <font resource="font" color="%text_color%" />
2098 <conditions>
2099 <condition var1="tw_has_internal" var2="1" />
2100 <condition var1="tw_has_data_media" var2="0" />
2101 <condition var1="mounted" op="=" var2="INTERNAL" />
2102 </conditions>
2103 <text>Unmount Internal</text>
2104 <image resource="checkbox_true" />
2105 <action function="umount">INTERNAL</action>
2106 </object>
2107
2108 <object type="button">
2109 <conditions>
2110 <condition var1="tw_has_sdext_partition" var2="1" />
2111 <condition var1="mounted" op="!=" var2="/sd-ext" />
2112 </conditions>
2113 <placement x="%col1_x%" y="%row5_text_y%" />
2114 <font resource="font" color="%text_color%" />
2115 <text>Mount SD-Ext</text>
2116 <image resource="checkbox_false" />
2117 <action function="mount">/sd-ext</action>
2118 </object>
2119
2120 <object type="button">
2121 <placement x="%col1_x%" y="%row5_text_y%" />
2122 <font resource="font" color="%text_color%" />
2123 <condition var1="mounted" op="=" var2="/sd-ext" />
2124 <text>Unmount SD-Ext</text>
2125 <image resource="checkbox_true" />
2126 <action function="umount">/sd-ext</action>
2127 </object>
2128
2129 <object type="button">
2130 <conditions>
2131 <condition var1="tw_boot_is_mountable" var2="1" />
2132 <condition var1="mounted" op="!=" var2="/boot" />
2133 </conditions>
2134 <placement x="%col1_x%" y="%row6_text_y%" />
2135 <font resource="font" color="#A0A0A0" />
2136 <text>Mount Boot</text>
2137 <image resource="checkbox_false" />
2138 <action function="mount">/boot</action>
2139 </object>
2140
2141 <object type="button">
2142 <conditions>
2143 <condition var1="tw_boot_is_mountable" var2="1" />
2144 <condition var1="mounted" op="=" var2="/boot" />
2145 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002146 <placement x="%col1_x%" y="%row6_text_y%" />
2147 <font resource="font" color="#A0A0A0" />
2148 <text>Unmount Boot</text>
2149 <image resource="checkbox_true" />
2150 <action function="umount">/boot</action>
2151 </object>
2152
2153 <object type="button">
2154 <placement x="%col1_x%" y="%row8_text_y%" />
2155 <font resource="font" color="%text_color%" />
2156 <conditions>
2157 <condition var1="tw_has_dual_storage" var2="1" />
2158 <condition var1="tw_use_external_storage" var2="1" />
2159 </conditions>
2160 <text>Use external SD</text>
2161 <image resource="radio_true" />
2162 <action function="togglestorage">external</action>
2163 </object>
2164
2165 <object type="button">
2166 <placement x="%col1_x%" y="%row8_text_y%" />
2167 <font resource="font" color="%text_color%" />
2168 <conditions>
2169 <condition var1="tw_has_dual_storage" var2="1" />
2170 <condition var1="tw_use_external_storage" var2="0" />
2171 </conditions>
2172 <text>Use external SD</text>
2173 <image resource="radio_false" />
2174 <action function="togglestorage">external</action>
2175 </object>
2176
2177 <object type="button">
2178 <placement x="%col2_x%" y="%row8_text_y%" />
2179 <font resource="font" color="%text_color%" />
2180 <conditions>
2181 <condition var1="tw_has_dual_storage" var2="1" />
2182 <condition var1="tw_use_external_storage" var2="1" />
2183 </conditions>
2184 <text>Use internal storage</text>
2185 <image resource="radio_false" />
2186 <action function="togglestorage">internal</action>
2187 </object>
2188
2189 <object type="button">
2190 <placement x="%col2_x%" y="%row8_text_y%" />
2191 <font resource="font" color="%text_color%" />
2192 <conditions>
2193 <condition var1="tw_has_dual_storage" var2="1" />
2194 <condition var1="tw_use_external_storage" var2="0" />
2195 </conditions>
2196 <text>Use internal storage</text>
2197 <image resource="radio_true" />
2198 <action function="togglestorage">internal</action>
2199 </object>
2200
2201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002203 <condition var1="tw_has_usb_storage" var2="1" />
2204 <placement x="%col1_x%" y="row3_y" />
2205 <font resource="font" color="%button_text_color%" />
2206 <text>Mount USB Storage</text>
2207 <image resource="main_button" />
2208 <action function="page">usb_mount</action>
2209 </object>
2210
Gary Peckffdc6ae2012-11-21 18:02:02 -08002211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002212 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002213 <conditions>
2214 <condition var1="tw_is_encrypted" var2="1" />
2215 <condition var1="tw_is_decrypted" var2="0" />
2216 </conditions>
2217 <placement x="%col2_x%" y="row3_y" />
2218 <font resource="font" color="%button_text_color%" />
2219 <text>Decrypt Data</text>
2220 <image resource="main_button" />
2221 <action function="page">decrypt</action>
2222 </object>
2223
Dees_Troy51a0e822012-09-05 15:24:24 -04002224 <object type="action">
2225 <touch key="home" />
2226 <action function="page">main</action>
2227 </object>
2228
2229 <object type="action">
2230 <touch key="back" />
2231 <action function="page">main</action>
2232 </object>
2233
2234 <object type="template" name="footer" />
2235 </page>
2236
2237 <page name="usb_mount">
2238 <object type="template" name="header" />
2239
2240 <object type="text" color="%text_color%">
2241 <font resource="font" />
2242 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2243 <text>USB Storage Mounted</text>
2244 </object>
2245
2246 <object type="text" color="%text_color%">
2247 <placement x="%col1_x%" y="%row1_text_y%" />
2248 <font resource="font" />
2249 <text>Be sure to safely remove your device</text>
2250 </object>
2251
2252 <object type="text" color="%text_color%">
2253 <placement x="%col1_x%" y="%row2_text_y%" />
2254 <font resource="font" />
2255 <text>from your computer before unmounting!</text>
2256 </object>
2257
2258 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002259 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002260 <placement x="%col1_x%" y="%row3_y%" />
2261 <font resource="font" color="%button_text_color%" />
2262 <text>Unmount</text>
2263 <image resource="main_button" />
2264 <action function="page">usb_umount</action>
2265 </object>
2266
2267 <object type="action">
2268 <action function="mount">usb</action>
2269 </object>
2270
2271 <object type="template" name="footer" />
2272 </page>
2273
2274 <page name="usb_umount">
2275 <object type="action">
2276 <action function="unmount">usb</action>
2277 </object>
2278
2279 <object type="action">
2280 <action function="page">mount</action>
2281 </object>
2282 </page>
2283
2284 <page name="reboot">
2285 <object type="template" name="header" />
2286
2287 <object type="text" color="%text_color%">
2288 <font resource="font" />
2289 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2290 <text>Reboot Menu</text>
2291 </object>
2292
2293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <condition var1="tw_reboot_system" var2="1" />
2296 <placement x="%col1_x%" y="%row1_y%" />
2297 <font resource="font" color="%button_text_color%" />
2298 <text>System</text>
2299 <image resource="main_button" />
2300 <actions>
2301 <action function="set">tw_back=reboot</action>
2302 <action function="set">tw_action=reboot</action>
2303 <action function="set">tw_action_param=system</action>
2304 <action function="set">tw_has_action2=0</action>
2305 <action function="set">tw_text1=No OS Installed! Are you</action>
2306 <action function="set">tw_text2=sure you wish to reboot?</action>
2307 <action function="set">tw_action_text1=Rebooting...</action>
2308 <action function="set">tw_complete_text1=Rebooting...</action>
2309 <action function="set">tw_slider_text=Swipe to Reboot</action>
2310 <action function="page">rebootcheck</action>
2311 </actions>
2312 </object>
2313
2314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <condition var1="tw_reboot_poweroff" var2="1" />
2317 <placement x="%col2_x%" y="%row1_y%" />
2318 <font resource="font" color="%button_text_color%" />
2319 <text>Power Off</text>
2320 <image resource="main_button" />
2321 <actions>
2322 <action function="set">tw_back=reboot</action>
2323 <action function="set">tw_action=reboot</action>
2324 <action function="set">tw_action_param=poweroff</action>
2325 <action function="set">tw_has_action2=0</action>
2326 <action function="set">tw_text1=No OS Installed! Are you</action>
2327 <action function="set">tw_text2=sure you wish to power off?</action>
2328 <action function="set">tw_action_text1=Turning Off...</action>
2329 <action function="set">tw_complete_text1=Turning Off...</action>
2330 <action function="set">tw_slider_text=Swipe to Power Off</action>
2331 <action function="page">rebootcheck</action>
2332 </actions>
2333 </object>
2334
2335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002337 <condition var1="tw_reboot_recovery" var2="1" />
2338 <placement x="%col1_x%" y="%row2_y%" />
2339 <font resource="font" color="%button_text_color%" />
2340 <text>Recovery</text>
2341 <image resource="main_button" />
2342 <actions>
2343 <action function="set">tw_back=reboot</action>
2344 <action function="set">tw_action=reboot</action>
2345 <action function="set">tw_action_param=recovery</action>
2346 <action function="set">tw_has_action2=0</action>
2347 <action function="set">tw_text1=No OS Installed! Are you</action>
2348 <action function="set">tw_text2=sure you wish to reboot?</action>
2349 <action function="set">tw_action_text1=Rebooting...</action>
2350 <action function="set">tw_complete_text1=Rebooting...</action>
2351 <action function="set">tw_slider_text=Swipe to Reboot</action>
2352 <action function="page">rebootcheck</action>
2353 </actions>
2354 </object>
2355
2356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002358 <condition var1="tw_reboot_bootloader" var2="1" />
2359 <placement x="%col2_x%" y="%row2_y%" />
2360 <font resource="font" color="%button_text_color%" />
2361 <text>Bootloader</text>
2362 <image resource="main_button" />
2363 <actions>
2364 <action function="set">tw_back=reboot</action>
2365 <action function="set">tw_action=reboot</action>
2366 <action function="set">tw_action_param=bootloader</action>
2367 <action function="set">tw_has_action2=0</action>
2368 <action function="set">tw_text1=No OS Installed! Are you</action>
2369 <action function="set">tw_text2=sure you wish to reboot?</action>
2370 <action function="set">tw_action_text1=Rebooting...</action>
2371 <action function="set">tw_complete_text1=Rebooting...</action>
2372 <action function="set">tw_slider_text=Swipe to Reboot</action>
2373 <action function="page">rebootcheck</action>
2374 </actions>
2375 </object>
2376
2377 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002378 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002379 <condition var1="tw_download_mode" var2="1" />
2380 <placement x="%col1_x%" y="%row3_y%" />
2381 <font resource="font" color="%button_text_color%" />
2382 <text>Download</text>
2383 <image resource="main_button" />
2384 <actions>
2385 <action function="set">tw_back=reboot</action>
2386 <action function="set">tw_action=reboot</action>
2387 <action function="set">tw_action_param=download</action>
2388 <action function="set">tw_has_action2=0</action>
2389 <action function="set">tw_text1=No OS Installed! Are you</action>
2390 <action function="set">tw_text2=sure you wish to reboot?</action>
2391 <action function="set">tw_action_text1=Rebooting...</action>
2392 <action function="set">tw_complete_text1=Rebooting...</action>
2393 <action function="set">tw_slider_text=Swipe to Reboot</action>
2394 <action function="page">rebootcheck</action>
2395 </actions>
2396 </object>
2397
2398 <object type="action">
2399 <touch key="home" />
2400 <action function="page">main</action>
2401 </object>
2402
2403 <object type="action">
2404 <touch key="back" />
2405 <action function="page">main</action>
2406 </object>
2407
2408 <object type="template" name="footer" />
2409 </page>
2410
2411 <page name="settings">
2412 <object type="template" name="header" />
2413
2414 <object type="text" color="%text_color%">
2415 <font resource="font" />
2416 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2417 <text>Settings</text>
2418 </object>
2419
2420 <object type="checkbox">
2421 <placement x="%col1_x%" y="%row1_text_y%" />
2422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_signed_zip_verify" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
2429 <placement x="%col1_x%" y="%row2_text_y%" />
2430 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002431 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <data variable="tw_rm_rf" />
2433 <image checked="checkbox_true" unchecked="checkbox_false" />
2434 </object>
2435
2436 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002437 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002438 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002439 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <data variable="tw_skip_md5_generate" />
2441 <image checked="checkbox_true" unchecked="checkbox_false" />
2442 </object>
2443
2444 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002445 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002447 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <data variable="tw_skip_md5_check" />
2449 <image checked="checkbox_true" unchecked="checkbox_false" />
2450 </object>
2451
2452 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002453 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002455 <text>Use Military Time.</text>
2456 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002457 <image checked="checkbox_true" unchecked="checkbox_false" />
2458 </object>
2459
2460 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002461 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002463 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002464 <data variable="tw_simulate_actions" />
2465 <image checked="checkbox_true" unchecked="checkbox_false" />
2466 </object>
2467
2468 <object type="checkbox">
2469 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002470 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002471 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002472 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002473 <data variable="tw_simulate_fail" />
2474 <image checked="checkbox_true" unchecked="checkbox_false" />
2475 </object>
2476
2477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002479 <placement x="%col1_x%" y="%row3_y%" />
2480 <font resource="font" color="%button_text_color%" />
2481 <text>Time Zone</text>
2482 <image resource="main_button" />
2483 <action function="page">timezone</action>
2484 </object>
2485
2486 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002487 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002488 <placement x="%col2_x%" y="%row3_y%" />
2489 <font resource="font" color="%button_text_color%" />
2490 <text>Screen</text>
2491 <image resource="main_button" />
2492 <action function="page">screen</action>
2493 </object>
2494
2495 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <placement x="%col_center_x%" y="%row4_y%" />
2497 <font resource="font" color="%button_text_color%" />
2498 <text>Restore Defaults</text>
2499 <image resource="main_button" />
2500 <action function="restoredefaultsettings"></action>
2501 </object>
2502
2503 <object type="action">
2504 <touch key="home" />
2505 <action function="page">main</action>
2506 </object>
2507
2508 <object type="action">
2509 <touch key="back" />
2510 <action function="page">main</action>
2511 </object>
2512
2513 <object type="template" name="footer" />
2514 </page>
2515
2516 <page name="timezone">
2517 <object type="template" name="header" />
2518
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002520 <highlight color="%fileselector_highlight_color%" />
2521 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2522 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002523 <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 -06002524 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002525 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002526 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002527 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002528 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <data name="tw_time_zone_guisel" />
2530 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2531 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2532 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2533 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2534 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2535 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2536 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2537 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2538 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2539 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2540 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2541 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2542 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2543 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2544 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2545 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2546 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2547 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2548 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2549 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2550 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2551 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2552 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2553 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2554 </object>
2555
2556 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002557 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <font resource="font" color="%text_color%" />
2559 <text>Do you use daylight savings time (DST)?</text>
2560 <data variable="tw_time_zone_guidst" />
2561 <image checked="checkbox_true" unchecked="checkbox_false" />
2562 </object>
2563
2564 <object type="text" color="%text_color%">
2565 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002566 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2568 </object>
2569
2570 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002571 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002572 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002573 <font resource="font" color="%button_text_color%" />
2574 <text>None</text>
2575 <image resource="medium_button" />
2576 <action function="set">tw_time_zone_guioffset=0</action>
2577 </object>
2578
2579 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002580 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002581 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002582 <font resource="font" color="%button_text_color%" />
2583 <text>15</text>
2584 <image resource="medium_button" />
2585 <action function="set">tw_time_zone_guioffset=15</action>
2586 </object>
2587
2588 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002589 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002590 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <font resource="font" color="%button_text_color%" />
2592 <text>30</text>
2593 <image resource="medium_button" />
2594 <action function="set">tw_time_zone_guioffset=30</action>
2595 </object>
2596
2597 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002598 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002599 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002600 <font resource="font" color="%button_text_color%" />
2601 <text>45</text>
2602 <image resource="medium_button" />
2603 <action function="set">tw_time_zone_guioffset=45</action>
2604 </object>
2605
2606 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002607 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002608 <placement x="%col_center_x%" y="%tz_set_y%" />
2609 <font resource="font" color="%button_text_color%" />
2610 <text>Set Time Zone</text>
2611 <image resource="main_button" />
2612 <action function="setguitimezone"></action>
2613 </object>
2614
2615 <object type="text" color="%text_color%">
2616 <font resource="font" />
2617 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2618 <text>Current Time Zone: %tw_time_zone%</text>
2619 </object>
2620
2621 <object type="action">
2622 <touch key="home" />
2623 <action function="page">main</action>
2624 </object>
2625
2626 <object type="action">
2627 <touch key="back" />
2628 <action function="page">settings</action>
2629 </object>
2630
2631 <object type="template" name="footer" />
2632 </page>
2633
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 <page name="screen">
2635 <object type="template" name="header" />
2636
2637 <object type="text" color="%text_color%">
2638 <font resource="font" />
2639 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2640 <text>Screen Settings</text>
2641 </object>
2642
2643 <object type="text" color="%text_color%">
2644 <font resource="font" />
2645 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2646 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2647 </object>
2648
2649 <object type="button">
2650 <placement x="%col1_medium_x%" y="%row2_y%" />
2651 <font resource="font" color="%button_text_color%" />
2652 <text>None</text>
2653 <image resource="medium_button" />
2654 <action function="set">tw_screen_timeout_secs=0</action>
2655 </object>
2656
2657 <object type="button">
2658 <placement x="%col2_medium_x%" y="%row2_y%" />
2659 <font resource="font" color="%button_text_color%" />
2660 <text>60</text>
2661 <image resource="medium_button" />
2662 <action function="set">tw_screen_timeout_secs=60</action>
2663 </object>
2664
2665 <object type="button">
2666 <placement x="%col3_medium_x%" y="%row2_y%" />
2667 <font resource="font" color="%button_text_color%" />
2668 <text>120</text>
2669 <image resource="medium_button" />
2670 <action function="set">tw_screen_timeout_secs=120</action>
2671 </object>
2672
2673 <object type="button">
2674 <placement x="%col4_medium_x%" y="%row2_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>180</text>
2677 <image resource="medium_button" />
2678 <action function="set">tw_screen_timeout_secs=180</action>
2679 </object>
2680
2681 <object type="text" color="%text_color%">
2682 <condition var1="tw_has_brightnesss_file" var2="1" />
2683 <font resource="font" />
2684 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2685 <text>Brightness: %tw_brightness_display%</text>
2686 </object>
2687
2688 <object type="button">
2689 <condition var1="tw_has_brightnesss_file" var2="1" />
2690 <placement x="%col1_medium_x%" y="%row4_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text>25%</text>
2693 <image resource="medium_button" />
2694 <actions>
2695 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2696 <action function="set">tw_brightness_display=25%</action>
2697 <action function="set">tw_brightness=%tw_brightness_25%</action>
2698 </actions>
2699 </object>
2700
2701 <object type="button">
2702 <condition var1="tw_has_brightnesss_file" var2="1" />
2703 <placement x="%col2_medium_x%" y="%row4_y%" />
2704 <font resource="font" color="%button_text_color%" />
2705 <text>50%</text>
2706 <image resource="medium_button" />
2707 <actions>
2708 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2709 <action function="set">tw_brightness_display=50%</action>
2710 <action function="set">tw_brightness=%tw_brightness_50%</action>
2711 </actions>
2712 </object>
2713
2714 <object type="button">
2715 <condition var1="tw_has_brightnesss_file" var2="1" />
2716 <placement x="%col3_medium_x%" y="%row4_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>75%</text>
2719 <image resource="medium_button" />
2720 <actions>
2721 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2722 <action function="set">tw_brightness_display=75%</action>
2723 <action function="set">tw_brightness=%tw_brightness_75%</action>
2724 </actions>
2725 </object>
2726
2727 <object type="button">
2728 <condition var1="tw_has_brightnesss_file" var2="1" />
2729 <placement x="%col4_medium_x%" y="%row4_y%" />
2730 <font resource="font" color="%button_text_color%" />
2731 <text>100%</text>
2732 <image resource="medium_button" />
2733 <actions>
2734 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2735 <action function="set">tw_brightness_display=100%</action>
2736 <action function="set">tw_brightness=%tw_brightness_100%</action>
2737 </actions>
2738 </object>
2739
2740 <object type="action">
2741 <touch key="home" />
2742 <action function="page">main</action>
2743 </object>
2744
2745 <object type="action">
2746 <touch key="back" />
2747 <action function="page">settings</action>
2748 </object>
2749
2750 <object type="template" name="footer" />
2751 </page>
2752
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <page name="advanced">
2754 <object type="template" name="header" />
2755
2756 <object type="text" color="%text_color%">
2757 <font resource="font" />
2758 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2759 <text>Advanced</text>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <placement x="%col1_x%" y="%row1_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>Copy Log to SD</text>
2767 <image resource="main_button" />
2768 <actions>
2769 <action function="set">tw_back=advanced</action>
2770 <action function="set">tw_action=copylog</action>
2771 <action function="set">tw_text1=Copy Log to SD Card?</action>
2772 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2773 <action function="set">tw_complete_text1=Log Copy Complete</action>
2774 <action function="set">tw_slider_text=Swipe to Confirm</action>
2775 <action function="page">confirm_action</action>
2776 </actions>
2777 </object>
2778
2779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <placement x="%col2_x%" y="%row1_y%" />
2782 <font resource="font" color="%button_text_color%" />
2783 <text>Fix Permissions</text>
2784 <image resource="main_button" />
2785 <actions>
2786 <action function="set">tw_back=advanced</action>
2787 <action function="set">tw_action=fixpermissions</action>
2788 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002790 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2791 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002792 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002793 <action function="page">confirm_action</action>
2794 </actions>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002799 <condition var1="tw_allow_partition_sdcard" var2="1" />
2800 <placement x="%col1_x%" y="%row2_y%" />
2801 <font resource="font" color="%button_text_color%" />
2802 <text>Partition SD Card</text>
2803 <image resource="main_button" />
2804 <action function="page">partsdcard</action>
2805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <placement x="%col2_x%" y="%row2_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text>File Manager</text>
2812 <image resource="main_button" />
2813 <action function="page">filemanagerlist</action>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <placement x="%col1_x%" y="%row3_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>Terminal Command</text>
2821 <image resource="main_button" />
2822 <action function="page">terminalfolder</action>
2823 </object>
2824
2825 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002826 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002827 <placement x="%col2_x%" y="%row3_y%" />
2828 <font resource="font" color="%button_text_color%" />
2829 <text>Reload Theme</text>
2830 <image resource="main_button" />
2831 <action function="reload"></action>
2832 </object>
2833
2834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002835 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002836 <placement x="%col1_x%" y="%row4_y%" />
2837 <font resource="font" color="%button_text_color%" />
2838 <text>ADB Sideload</text>
2839 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002840 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002841 </object>
2842
2843 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002844 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002845 <condition var1="tw_show_dumlock" var2="1" />
2846 <placement x="%col2_x%" y="%row4_y%" />
2847 <font resource="font" color="%button_text_color%" />
2848 <text>HTC Dumlock</text>
2849 <image resource="main_button" />
2850 <action function="page">htcdumlock</action>
2851 </object>
2852
2853 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002854 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002855 <condition var1="tw_has_injecttwrp" var2="1" />
2856 <placement x="%col2_x%" y="%row4_y%" />
2857 <font resource="font" color="%button_text_color%" />
2858 <text>Re-Inject TWRP</text>
2859 <image resource="main_button" />
2860 <actions>
2861 <action function="set">tw_back=advanced</action>
2862 <action function="set">tw_action=reinjecttwrp</action>
2863 <action function="set">tw_text1=Re-Inject TWRP?</action>
2864 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2865 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2866 <action function="set">tw_slider_text=Swipe to Confirm</action>
2867 <action function="page">confirm_action</action>
2868 </actions>
2869 </object>
2870
2871 <object type="action">
2872 <touch key="home" />
2873 <action function="page">main</action>
2874 </object>
2875
2876 <object type="action">
2877 <touch key="back" />
2878 <action function="page">main</action>
2879 </object>
2880
2881 <object type="template" name="footer" />
2882 </page>
2883
2884 <page name="partsdcard">
2885 <object type="template" name="header" />
2886
2887 <object type="text" color="%text_color%">
2888 <font resource="font" />
2889 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2890 <text>Partition SD Card</text>
2891 </object>
2892
2893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002894 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002895 <placement x="%col1_x%" y="%row1_y%" />
2896 <font resource="font" color="%button_text_color%" />
2897 <text></text>
2898 <image resource="minus_button" />
2899 <action function="addsubtract">tw_sdext_size-128</action>
2900 </object>
2901
2902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002903 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <placement x="%sd_plus_x%" y="%row1_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text></text>
2907 <image resource="plus_button" />
2908 <action function="addsubtract">tw_sdext_size+128</action>
2909 </object>
2910
2911 <object type="text" color="%text_color%">
2912 <font resource="font" />
2913 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2914 <text>EXT Size: %tw_sdext_size%</text>
2915 </object>
2916
2917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002918 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002919 <placement x="%col1_x%" y="%sdswap_button_y%" />
2920 <font resource="font" color="%button_text_color%" />
2921 <text></text>
2922 <image resource="minus_button" />
2923 <action function="addsubtract">tw_swap_size-32</action>
2924 </object>
2925
2926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002927 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002928 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2929 <font resource="font" color="%button_text_color%" />
2930 <text></text>
2931 <image resource="plus_button" />
2932 <action function="addsubtract">tw_swap_size+32</action>
2933 </object>
2934
2935 <object type="text" color="%text_color%">
2936 <font resource="font" />
2937 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2938 <text>Swap Size: %tw_swap_size%</text>
2939 </object>
2940
2941 <object type="text" color="%text_color%">
2942 <font resource="font" />
2943 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2944 <text>File system: %tw_sdpart_file_system%</text>
2945 </object>
2946
2947 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002948 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002949 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2950 <font resource="font" color="%button_text_color%" />
2951 <text>EXT3</text>
2952 <image resource="main_button" />
2953 <action function="set">tw_sdpart_file_system=ext3</action>
2954 </object>
2955
2956 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002957 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002958 <condition var1="tw_sdext_disable_ext4" var2="0" />
2959 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2960 <font resource="font" color="%button_text_color%" />
2961 <text>EXT4</text>
2962 <image resource="main_button" />
2963 <action function="set">tw_sdpart_file_system=ext4</action>
2964 </object>
2965
2966 <object type="text" color="%text_color%">
2967 <font resource="font" />
2968 <placement x="%col1_x%" y="%row12_text_y%" />
2969 <text>You will lose all files on your SD card!</text>
2970 </object>
2971
2972 <object type="text" color="%text_color%">
2973 <font resource="font" />
2974 <placement x="%col1_x%" y="%row13_text_y%" />
2975 <text>This action cannot be undone!</text>
2976 </object>
2977
2978 <object type="slider">
2979 <placement x="%slider_x%" y="%slider_y%" />
2980 <resource base="slider" used="slider-used" touch="slider-touch" />
2981 <action function="page">partsdcardaction</action>
2982 <actions>
2983 <action function="set">tw_back=partsdcard</action>
2984 <action function="set">tw_action=partitionsd</action>
2985 <action function="set">tw_has_action2=1</action>
2986 <action function="set">tw_action2=set</action>
2987 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2988 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2989 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002990 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002991 <action function="page">action_page</action>
2992 </actions>
2993 </object>
2994
2995 <object type="text" color="%text_color%">
2996 <font resource="font" />
2997 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2998 <text>Swipe to Partition</text>
2999 </object>
3000
3001 <object type="action">
3002 <touch key="home" />
3003 <action function="page">main</action>
3004 </object>
3005
3006 <object type="action">
3007 <touch key="back" />
3008 <action function="page">advanced</action>
3009 </object>
3010
3011 <object type="template" name="footer" />
3012 </page>
3013
3014 <page name="htcdumlock">
3015 <object type="template" name="header" />
3016
3017 <object type="text" color="%text_color%">
3018 <font resource="font" />
3019 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3020 <text>HTC Dumlock</text>
3021 </object>
3022
3023 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003024 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003025 <condition var1="tw_show_dumlock" var2="1" />
3026 <placement x="%col1_x%" y="%row1_y%" />
3027 <font resource="font" color="%button_text_color%" />
3028 <text>Restore Original Boot</text>
3029 <image resource="main_button" />
3030 <actions>
3031 <action function="set">tw_back=htcdumlock</action>
3032 <action function="set">tw_action=htcdumlockrestoreboot</action>
3033 <action function="set">tw_text1=Restore original boot image?</action>
3034 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3035 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3036 <action function="set">tw_slider_text=Swipe to Confirm</action>
3037 <action function="page">confirm_action</action>
3038 </actions>
3039 </object>
3040
3041 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003042 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003043 <condition var1="tw_show_dumlock" var2="1" />
3044 <placement x="%col2_x%" y="%row1_y%" />
3045 <font resource="font" color="%button_text_color%" />
3046 <text>Reflash Recovery</text>
3047 <image resource="main_button" />
3048 <actions>
3049 <action function="set">tw_back=htcdumlock</action>
3050 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3051 <action function="set">tw_text1=Reflash recovery to boot?</action>
3052 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3053 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3054 <action function="set">tw_slider_text=Swipe to Confirm</action>
3055 <action function="page">confirm_action</action>
3056 </actions>
3057 </object>
3058
3059 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003060 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003061 <condition var1="tw_show_dumlock" var2="1" />
3062 <placement x="%col1_x%" y="%row2_y%" />
3063 <font resource="font" color="%button_text_color%" />
3064 <text>Install HTC Dumlock</text>
3065 <image resource="main_button" />
3066 <actions>
3067 <action function="set">tw_back=htcdumlock</action>
3068 <action function="set">tw_action=installhtcdumlock</action>
3069 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3070 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3071 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3072 <action function="set">tw_slider_text=Swipe to Confirm</action>
3073 <action function="page">confirm_action</action>
3074 </actions>
3075 </object>
3076
3077 <object type="action">
3078 <touch key="home" />
3079 <action function="page">main</action>
3080 </object>
3081
3082 <object type="action">
3083 <touch key="back" />
3084 <action function="page">advanced</action>
3085 </object>
3086
3087 <object type="template" name="footer" />
3088 </page>
3089
3090 <page name="lock">
3091 <background color="#000000A0" />
3092
3093 <object type="image">
3094 <image resource="unlock-icon" />
3095 <placement x="%lock_x%" y="%lock_y%" />
3096 </object>
3097
3098 <object type="slider">
3099 <placement x="%slider_x%" y="%slider_y%" />
3100 <resource base="slider" used="slider-used" touch="slider-touch" />
3101 <action function="overlay"></action>
3102 </object>
3103
3104 <object type="text" color="%text_color%">
3105 <font resource="font" />
3106 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3107 <text>Swipe to Unlock</text>
3108 </object>
3109 </page>
3110
3111 <page name="filemanagerlist">
3112 <object type="template" name="header" />
3113
3114 <object type="text" color="%text_color%">
3115 <font resource="font" />
3116 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3117 <text>File Manager: Select a File or Folder</text>
3118 </object>
3119
3120 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003121 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3123 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003124 <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 -04003125 <text>%tw_file_location1%</text>
3126 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3127 <sort name="tw_gui_sort_order" />
3128 <icon folder="folder_icon" file="file_icon" />
3129 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003130 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <folders="1" files="1" />
3132 <path name="tw_file_location1" default="/" />
3133 <data name="tw_filename1" />
3134 <selection name="tw_selection1" />
3135 </object>
3136
3137 <object type="template" name="sort_options" />
3138
3139 <object type="action">
3140 <actions>
3141 <action function="set">tw_fm_type=File</action>
3142 <action function="set">tw_fm_isfolder=0</action>
3143 </actions>
3144 </object>
3145
3146 <object type="action">
3147 <touch key="home" />
3148 <action function="page">main</action>
3149 </object>
3150
3151 <object type="action">
3152 <touch key="back" />
3153 <action function="page">advanced</action>
3154 </object>
3155
3156 <object type="action">
3157 <condition var1="tw_filename1" op="modified" />
3158 <actions>
3159 <action function="page">filemanageroptions</action>
3160 </actions>
3161 </object>
3162
3163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003165 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3166 <font resource="font" color="%button_text_color%" />
3167 <text>Select</text>
3168 <image resource="medium_button" />
3169 <actions>
3170 <action function="set">tw_filename1=tw_file_location1</action>
3171 <action function="set">tw_fm_isfolder=1</action>
3172 <action function="set">tw_fm_type=Folder</action>
3173 <action function="page">filemanageroptions</action>
3174 </actions>
3175 </object>
3176
3177 <object type="template" name="footer" />
3178 </page>
3179
3180 <page name="filemanageroptions">
3181 <object type="template" name="header" />
3182
3183 <object type="text" color="%text_color%">
3184 <font resource="font" />
3185 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3186 <text>%tw_fm_type% Selected:</text>
3187 </object>
3188
3189 <object type="text" color="%text_color%">
3190 <font resource="font" />
3191 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3192 <text>%tw_filename1%</text>
3193 </object>
3194
3195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003197 <condition var1="tw_fm_isfolder" var2="0" />
3198 <placement x="%col1_x%" y="%row2_y%" />
3199 <font resource="font" color="%button_text_color%" />
3200 <text>Copy File</text>
3201 <image resource="main_button" />
3202 <actions>
3203 <action function="set">tw_filemanager_command=cp</action>
3204 <action function="set">tw_fm_text1=Copying</action>
3205 <action function="page">choosedestinationfolder</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003211 <condition var1="tw_fm_isfolder" var2="1" />
3212 <placement x="%col1_x%" y="%row2_y%" />
3213 <font resource="font" color="%button_text_color%" />
3214 <text>Copy Folder</text>
3215 <image resource="main_button" />
3216 <actions>
3217 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3218 <action function="set">tw_fm_text1=Copying</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="%col2_x%" y="%row2_y%" />
3226 <font resource="font" color="%button_text_color%" />
3227 <text>Move</text>
3228 <image resource="main_button" />
3229 <actions>
3230 <action function="set">tw_filemanager_command=mv</action>
3231 <action function="set">tw_fm_text1=Moving</action>
3232 <action function="page">choosedestinationfolder</action>
3233 </actions>
3234 </object>
3235
3236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003238 <placement x="%col1_x%" y="%row3_y%" />
3239 <font resource="font" color="%button_text_color%" />
3240 <text>chmod 755</text>
3241 <image resource="main_button" />
3242 <actions>
3243 <action function="set">tw_filemanager_command=chmod 755</action>
3244 <action function="set">tw_fm_text1=chmod 755</action>
3245 <action function="set">tw_fm_text2=</action>
3246 <action function="set">tw_fm_text3=</action>
3247 <action function="set">tw_include_text3=0</action>
3248 <action function="set">tw_back=filemanageroptions</action>
3249 <action function="page">filemanagerconfirm</action>
3250 </actions>
3251 </object>
3252
3253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003255 <placement x="%col2_x%" y="%row3_y%" />
3256 <font resource="font" color="%button_text_color%" />
3257 <text>chmod</text>
3258 <image resource="main_button" />
3259 <actions>
3260 <action function="set">tw_filemanager_rename=0000</action>
3261 <action function="set">tw_fm_text2=</action>
3262 <action function="set">tw_fm_text3=</action>
3263 <action function="set">tw_include_text3=0</action>
3264 <action function="set">tw_back=filemanageroptions</action>
3265 <action function="page">filemanagerchmod</action>
3266 </actions>
3267 </object>
3268
3269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003270 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003271 <placement x="%col1_x%" y="%row4_y%" />
3272 <font resource="font" color="%button_text_color%" />
3273 <text>Delete</text>
3274 <image resource="main_button" />
3275 <actions>
3276 <action function="set">tw_filemanager_command=rm -rf</action>
3277 <action function="set">tw_fm_text1=Deleting</action>
3278 <action function="set">tw_fm_text2=</action>
3279 <action function="set">tw_fm_text3=</action>
3280 <action function="set">tw_include_text3=0</action>
3281 <action function="set">tw_back=filemanageroptions</action>
3282 <action function="page">filemanagerconfirm</action>
3283 </actions>
3284 </object>
3285
3286 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003287 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003288 <condition var1="tw_fm_isfolder" var2="0" />
3289 <placement x="%col2_x%" y="%row4_y%" />
3290 <font resource="font" color="%button_text_color%" />
3291 <text>Rename File</text>
3292 <image resource="main_button" />
3293 <actions>
3294 <action function="set">tw_filemanager_rename=tw_selection1</action>
3295 <action function="set">tw_fm_text1=Renaming</action>
3296 <action function="set">tw_filemanager_command=mv</action>
3297 <action function="page">filemanagerrenamefile</action>
3298 </actions>
3299 </object>
3300
3301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003303 <condition var1="tw_fm_isfolder" var2="1" />
3304 <placement x="%col2_x%" y="%row4_y%" />
3305 <font resource="font" color="%button_text_color%" />
3306 <text>Rename Folder</text>
3307 <image resource="main_button" />
3308 <actions>
3309 <action function="set">tw_filemanager_rename=tw_selection1</action>
3310 <action function="set">tw_fm_text1=Renaming</action>
3311 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3312 <action function="page">filemanagerrenamefolder</action>
3313 </actions>
3314 </object>
3315
3316 <object type="action">
3317 <touch key="home" />
3318 <action function="page">main</action>
3319 </object>
3320
3321 <object type="action">
3322 <touch key="back" />
3323 <action function="page">filemanagerlist</action>
3324 </object>
3325
3326 <object type="template" name="footer" />
3327 </page>
3328
3329 <page name="choosedestinationfolder">
3330 <object type="template" name="header" />
3331
3332 <object type="text" color="%text_color%">
3333 <font resource="font" />
3334 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3335 <text>Browse to Destination Folder & Press Select</text>
3336 </object>
3337
3338 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003339 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003340 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3341 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003342 <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 -04003343 <text>%tw_file_location2%</text>
3344 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3345 <sort name="tw_gui_sort_order" />
3346 <icon folder="folder_icon" file="file_icon" />
3347 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003348 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003349 <filter folders="1" files="0" />
3350 <path name="tw_file_location2" default="/" />
3351 <data name="tw_filename2" />
3352 <selection name="tw_selection2" />
3353 </object>
3354
3355 <object type="template" name="sort_options" />
3356
3357 <object type="action">
3358 <touch key="home" />
3359 <action function="page">main</action>
3360 </object>
3361
3362 <object type="action">
3363 <touch key="back" />
3364 <action function="page">filemanageroptions</action>
3365 </object>
3366
3367 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003368 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003369 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3370 <font resource="font" color="%button_text_color%" />
3371 <text>Select</text>
3372 <image resource="medium_button" />
3373 <actions>
3374 <action function="set">tw_fm_text2=to</action>
3375 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3376 <action function="set">tw_include_text3=1</action>
3377 <action function="set">tw_back=filemanageroptions</action>
3378 <action function="page">filemanagerconfirm</action>
3379 </actions>
3380 </object>
3381
3382 <object type="template" name="footer" />
3383 </page>
3384
3385 <page name="filemanagerrenamefile">
3386 <object type="template" name="header" />
3387
3388 <object type="text" color="%text_color%">
3389 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3390 <font resource="font" />
3391 <text>Please Enter a New %tw_fm_type% Name</text>
3392 </object>
3393
3394 <object type="input">
3395 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3396 <background color="%input_background_color%" />
3397 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3398 <font resource="font" color="%text_color%" />
3399 <text>%tw_filemanager_rename%</text>
3400 <data name="tw_filemanager_rename" />
3401 <restrict minlen="1" maxlen="128" />
3402 <actions>
3403 <action function="set">tw_fm_text2=to</action>
3404 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3405 <action function="set">tw_include_text3=1</action>
3406 <action function="set">tw_back=filemanageroptions</action>
3407 <action function="page">filemanagerconfirm</action>
3408 </actions>
3409 </object>
3410
3411 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003412 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003413 <placement x="%col_center_x%" y="%row2_y%" />
3414 <font resource="font" color="%button_text_color%" />
3415 <text>Cancel</text>
3416 <image resource="main_button" />
3417 <action function="page">filemanageroptions</action>
3418 </object>
3419
3420 <object type="template" name="keyboardtemplate" />
3421
3422 <object type="action">
3423 <touch key="home" />
3424 <action function="page">main</action>
3425 </object>
3426
3427 <object type="action">
3428 <touch key="back" />
3429 <action function="page">filemanageroptions</action>
3430 </object>
3431
3432 <object type="template" name="footer" />
3433 </page>
3434
3435 <page name="filemanagerrenamefolder">
3436 <object type="template" name="header" />
3437
3438 <object type="text" color="%text_color%">
3439 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3440 <font resource="font" />
3441 <text>Please Enter a New %tw_fm_type% Name</text>
3442 </object>
3443
3444 <object type="input">
3445 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3446 <background color="%input_background_color%" />
3447 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3448 <font resource="font" color="%text_color%" />
3449 <text>%tw_filemanager_rename%</text>
3450 <data name="tw_filemanager_rename" />
3451 <restrict minlen="1" maxlen="128" />
3452 <actions>
3453 <action function="set">tw_fm_text2=to</action>
3454 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3455 <action function="set">tw_include_text3=1</action>
3456 <action function="set">tw_back=filemanageroptions</action>
3457 <action function="page">filemanagerconfirm</action>
3458 </actions>
3459 </object>
3460
3461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003463 <placement x="%col_center_x%" y="%row2_y%" />
3464 <font resource="font" color="%button_text_color%" />
3465 <text>Cancel</text>
3466 <image resource="main_button" />
3467 <action function="page">filemanageroptions</action>
3468 </object>
3469
3470 <object type="template" name="keyboardtemplate" />
3471
3472 <object type="action">
3473 <touch key="home" />
3474 <action function="page">main</action>
3475 </object>
3476
3477 <object type="action">
3478 <touch key="back" />
3479 <action function="page">filemanageroptions</action>
3480 </object>
3481
3482 <object type="template" name="footer" />
3483 </page>
3484
3485 <page name="filemanagerchmod">
3486 <object type="template" name="header" />
3487
3488 <object type="text" color="%text_color%">
3489 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3490 <font resource="font" />
3491 <text>Please Enter New Permissions</text>
3492 </object>
3493
3494 <object type="input">
3495 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3496 <background color="%input_background_color%" />
3497 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3498 <font resource="font" color="%text_color%" />
3499 <text>%tw_filemanager_rename%</text>
3500 <data name="tw_filemanager_rename" />
3501 <restrict minlen="3" maxlen="4" allow="0123456789" />
3502 <actions>
3503 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3504 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3505 <action function="set">tw_back=filemanageroptions</action>
3506 <action function="page">filemanagerconfirm</action>
3507 </actions>
3508 </object>
3509
3510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003511 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003512 <placement x="%col_center_x%" y="%row2_y%" />
3513 <font resource="font" color="%button_text_color%" />
3514 <text>Cancel</text>
3515 <image resource="main_button" />
3516 <action function="page">filemanageroptions</action>
3517 </object>
3518
3519 <object type="template" name="keyboardtemplate" />
3520
3521 <object type="action">
3522 <touch key="home" />
3523 <action function="page">main</action>
3524 </object>
3525
3526 <object type="action">
3527 <touch key="back" />
3528 <action function="page">filemanageroptions</action>
3529 </object>
3530
3531 <object type="template" name="footer" />
3532 </page>
3533
3534 <page name="filemanagerconfirm">
3535 <object type="template" name="header" />
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3540 <text>%tw_fm_text1%</text>
3541 </object>
3542
3543 <object type="text" color="%text_color%">
3544 <font resource="font" />
3545 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3546 <text>%tw_filename1%</text>
3547 </object>
3548
3549 <object type="text" color="%text_color%">
3550 <font resource="font" />
3551 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3552 <text>%tw_fm_text2%</text>
3553 </object>
3554
3555 <object type="text" color="%text_color%">
3556 <font resource="font" />
3557 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3558 <text>%tw_fm_text3%</text>
3559 </object>
3560
3561 <object type="text" color="%text_color%">
3562 <font resource="font" />
3563 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3564 <text>Press back button to cancel.</text>
3565 </object>
3566
3567 <object type="slider">
3568 <placement x="%slider_x%" y="%slider_y%" />
3569 <resource base="slider" used="slider-used" touch="slider-touch" />
3570 <action function="page">filemanageracction</action>
3571 </object>
3572
3573 <object type="text" color="%text_color%">
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3576 <text>Swipe to Confirm</text>
3577 </object>
3578
3579 <object type="action">
3580 <touch key="back" />
3581 <action function="page">%tw_back%</action>
3582 </object>
3583
3584 <object type="action">
3585 <touch key="home" />
3586 <action function="page">main</action>
3587 </object>
3588
3589 <object type="template" name="footer" />
3590 </page>
3591
3592 <page name="filemanageracction">
3593 <object type="template" name="header" />
3594
3595 <object type="text" color="%text_color%">
3596
3597 <font resource="font" />
3598 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3599 <text>%tw_fm_text1%</text>
3600 </object>
3601
3602 <object type="template" name="action_page_console" />
3603
3604 <object type="template" name="progress_bar" />
3605
3606 <object type="action">
3607 <conditions>
3608 <condition var1="tw_operation_state" var2="1" />
3609 <condition var1="tw_operation_status" var2="0" />
3610 </conditions>
3611 <actions>
3612 <action function="set">tw_back=filemanagerlist</action>
3613 <action function="set">tw_complete_text1=File Operation Complete</action>
3614 <action function="page">action_complete</action>
3615 </actions>
3616 </object>
3617
3618 <object type="action">
3619 <conditions>
3620 <condition var1="tw_operation_state" var2="1" />
3621 <condition var1="tw_operation_status" op="!=" var2="0" />
3622 </conditions>
3623 <actions>
3624 <action function="set">tw_complete_text1=File Operation Complete</action>
3625 <action function="page">action_complete</action>
3626 </actions>
3627 </object>
3628
3629 <object type="action">
3630 <condition var1="tw_include_text3" var2="0" />
3631 <actions>
3632 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3633 </actions>
3634 </object>
3635
3636 <object type="action">
3637 <condition var1="tw_include_text3" var2="1" />
3638 <actions>
3639 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3640 </actions>
3641 </object>
3642 </page>
3643
3644 <page name="decrypt">
3645 <object type="template" name="header" />
3646
3647 <object type="text" color="%text_color%">
3648 <font resource="font" />
3649 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3650 <text>Please Enter Your Password</text>
3651 </object>
3652
3653 <object type="input">
3654 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3655 <background color="%input_background_color%" />
3656 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3657 <font resource="font" color="%text_color%" />
3658 <text>%tw_crypto_display%</text>
3659 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3660 <restrict minlen="1" maxlen="254" />
3661 <actions>
3662 <action function="page">trydecrypt</action>
3663 </actions>
3664 </object>
3665
3666 <object type="text" color="%text_fail_color%">
3667 <condition var1="tw_password_fail" var2="1" />
3668 <font resource="font" />
3669 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3670 <text>Password Failed, Please Try Again</text>
3671 </object>
3672
3673 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003674 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003675 <placement x="%col_center_x%" y="%row2_y%" />
3676 <font resource="font" color="%button_text_color%" />
3677 <text>Cancel</text>
3678 <image resource="main_button" />
3679 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003680 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003681 <action function="page">main</action>
3682 </actions>
3683 </object>
3684
3685 <object type="template" name="keyboardtemplate" />
3686
Dees_Troy51a0e822012-09-05 15:24:24 -04003687 <object type="template" name="footer" />
3688 </page>
3689
3690 <page name="trydecrypt">
3691 <object type="template" name="header" />
3692
3693 <object type="text" color="%text_color%">
3694 <font resource="font" />
3695 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3696 <text>Trying Decryption with Your Password</text>
3697 </object>
3698
3699 <object type="template" name="action_page_console" />
3700
3701 <object type="template" name="progress_bar" />
3702
3703 <object type="action">
3704 <action function="decrypt"></action>
3705 </object>
3706
3707 <object type="action">
3708 <conditions>
3709 <condition var1="tw_operation_state" var2="1" />
3710 <condition var1="tw_operation_status" op="!=" var2="0" />
3711 </conditions>
3712 <actions>
3713 <action function="set">tw_password_fail=1</action>
3714 <action function="page">decrypt</action>
3715 </actions>
3716 </object>
3717
3718 <object type="action">
3719 <conditions>
3720 <condition var1="tw_operation_state" var2="1" />
3721 <condition var1="tw_operation_status" op="=" var2="0" />
3722 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003723 <actions>
3724 <action function="set">tw_page_done=1</action>
3725 <action function="page">main</action>
3726 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003727 </object>
3728 </page>
3729
3730 <page name="terminalfolder">
3731 <object type="template" name="header" />
3732
3733 <object type="text" color="%text_color%">
3734 <font resource="font" />
3735 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3736 <text>Browse to Starting Folder</text>
3737 </object>
3738
3739 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003740 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003741 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3742 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003743 <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 -04003744 <text>%tw_terminal_location%</text>
3745 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3746 <sort name="tw_gui_sort_order" />
3747 <icon folder="folder_icon" file="file_icon" />
3748 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003749 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003750 <filter folders="1" files="0" />
3751 <path name="tw_terminal_location" default="/" />
3752 <data name="tw_terminal" />
3753 <selection name="tw_terminal_selection" />
3754 </object>
3755
3756 <object type="template" name="sort_options" />
3757
3758 <object type="action">
3759 <touch key="home" />
3760 <action function="page">main</action>
3761 </object>
3762
3763 <object type="action">
3764 <touch key="back" />
3765 <action function="page">advanced</action>
3766 </object>
3767
3768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003770 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3771 <font resource="font" color="%button_text_color%" />
3772 <text>Select</text>
3773 <image resource="medium_button" />
3774 <actions>
3775 <action function="page">terminalcommand</action>
3776 </actions>
3777 </object>
3778
3779 <object type="template" name="footer" />
3780 </page>
3781
3782 <page name="terminalcommand">
3783 <object type="template" name="header" />
3784
3785 <object type="console">
3786 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3787 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3788 <font resource="fixed" />
3789 </object>
3790
3791 <object type="text" color="%text_color%">
3792 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3793 <font resource="font" />
3794 <text>Starting Path: %tw_terminal_location%</text>
3795 </object>
3796
3797 <object type="input">
3798 <condition var1="tw_terminal_state" var2="0" />
3799 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3800 <background color="%input_background_color%" />
3801 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3802 <font resource="font" color="%text_color%" />
3803 <text>%tw_terminal_command%</text>
3804 <data name="tw_terminal_command" />
3805 <restrict minlen="1" />
3806 <action function="terminalcommand">%tw_terminal_command%</action>
3807 </object>
3808
3809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003811 <condition var1="tw_terminal_state" var2="1" />
3812 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3813 <font resource="font" color="%button_text_color%" />
3814 <text>KILL</text>
3815 <image resource="medium_button" />
3816 <action function="killterminal"></action>
3817 </object>
3818
3819 <object type="template" name="keyboardtemplate" />
3820
3821 <object type="action">
3822 <touch key="home" />
3823 <action function="page">main</action>
3824 </object>
3825
3826 <object type="action">
3827 <touch key="back" />
3828 <action function="page">terminalfolder</action>
3829 </object>
3830 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003831
3832 <page name="sideload">
3833 <object type="template" name="header" />
3834
3835 <object type="text" color="%text_color%">
3836 <font resource="font" />
3837 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3838 <text>ADB Sideload</text>
3839 </object>
3840
3841 <object type="checkbox">
3842 <placement x="%col1_x%" y="%row2_text_y%" />
3843 <font resource="font" color="%text_color%" />
3844 <text>Wipe Dalvik Cache.</text>
3845 <data variable="tw_wipe_dalvik" />
3846 <image checked="checkbox_true" unchecked="checkbox_false" />
3847 </object>
3848
3849 <object type="checkbox">
3850 <placement x="%col1_x%" y="%row3_text_y%" />
3851 <font resource="font" color="%text_color%" />
3852 <text>Wipe Cache.</text>
3853 <data variable="tw_wipe_cache" />
3854 <image checked="checkbox_true" unchecked="checkbox_false" />
3855 </object>
3856
3857 <object type="slider">
3858 <placement x="%slider_x%" y="%slider_y%" />
3859 <resource base="slider" used="slider-used" touch="slider-touch" />
3860 <actions>
3861 <action function="set">tw_back=advanced</action>
3862 <action function="set">tw_action=adbsideload</action>
3863 <action function="set">tw_action_text1=ADB Sideload</action>
3864 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3865 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3866 <action function="set">tw_has_cancel=1</action>
3867 <action function="set">tw_show_reboot=1</action>
3868 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3869 <action function="page">action_page</action>
3870 </actions>
3871 </object>
3872
3873 <object type="text" color="%text_color%">
3874 <font resource="font" />
3875 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3876 <text>Swipe to Start Sideload</text>
3877 </object>
3878
3879 <object type="action">
3880 <touch key="home" />
3881 <action function="page">main</action>
3882 </object>
3883
3884 <object type="action">
3885 <touch key="back" />
3886 <action function="page">advanced</action>
3887 </object>
3888
3889 <object type="template" name="footer" />
3890 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003891
3892 <page name="installsu">
3893 <object type="template" name="header" />
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3898 <text>Install SuperSU?</text>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3904 <text>Your device does not appear to be rooted.</text>
3905 </object>
3906
3907 <object type="text" color="%text_color%">
3908 <font resource="font" />
3909 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3910 <text>Install SuperSU now?</text>
3911 </object>
3912
3913 <object type="text" color="%text_color%">
3914 <font resource="font" />
3915 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3916 <text>This will root your device.</text>
3917 </object>
3918
3919 <object type="button">
3920 <highlight color="%highlight_color%" />
3921 <placement x="%col_center_x%" y="%row3_y%" />
3922 <font resource="font" color="%button_text_color%" />
3923 <text>Do Not Install</text>
3924 <image resource="main_button" />
3925 <action function="set">tw_page_done=1</action>
3926 </object>
3927
3928 <object type="slider">
3929 <placement x="%slider_x%" y="%slider_y%" />
3930 <resource base="slider" used="slider-used" touch="slider-touch" />
3931 <actions>
3932 <action function="set">tw_action=installsu</action>
3933 <action function="set">tw_action_text1=Installing SuperSU</action>
3934 <action function="set">tw_action_text2=</action>
3935 <action function="page">singleaction_page</action>
3936 </actions>
3937 </object>
3938
3939 <object type="text" color="%text_color%">
3940 <font resource="font" />
3941 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3942 <text>Swipe to Install</text>
3943 </object>
3944 </page>
3945
3946 <page name="fixsu">
3947 <object type="template" name="header" />
3948
3949 <object type="text" color="%text_color%">
3950 <font resource="font" />
3951 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3952 <text>Fix Superuser Permissions?</text>
3953 </object>
3954
3955 <object type="text" color="%text_color%">
3956 <font resource="font" />
3957 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3958 <text>Root permissions appear to be lost.</text>
3959 </object>
3960
3961 <object type="text" color="%text_color%">
3962 <font resource="font" />
3963 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3964 <text>Fix root permissions now?</text>
3965 </object>
3966
3967 <object type="text" color="%text_color%">
3968 <font resource="font" />
3969 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3970 <text>(Fixes permissions on su binary & app)</text>
3971 </object>
3972
3973 <object type="button">
3974 <highlight color="%highlight_color%" />
3975 <placement x="%col_center_x%" y="%row3_y%" />
3976 <font resource="font" color="%button_text_color%" />
3977 <text>Do Not Fix</text>
3978 <image resource="main_button" />
3979 <action function="set">tw_page_done=1</action>
3980 </object>
3981
3982 <object type="slider">
3983 <placement x="%slider_x%" y="%slider_y%" />
3984 <resource base="slider" used="slider-used" touch="slider-touch" />
3985 <actions>
3986 <action function="set">tw_action=fixsu</action>
3987 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3988 <action function="set">tw_action_text2=</action>
3989 <action function="page">singleaction_page</action>
3990 </actions>
3991 </object>
3992
3993 <object type="text" color="%text_color%">
3994 <font resource="font" />
3995 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3996 <text>Swipe to Fix Root</text>
3997 </object>
3998 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003999 </pages>
4000</recovery>