blob: bdd779939b59374983884f8767daac3752a2555a [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" />
142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="16" />
147 <variable name="sd_plus_x" value="350" />
148 <variable name="sdext_text_x" value="110" />
149 <variable name="sdext_text_y" value="180" />
150 <variable name="sdswap_button_y" value="260" />
151 <variable name="sdswap_text_x" value="110" />
152 <variable name="sdswap_text_y" value="270" />
153 <variable name="sdfilesystem_text_y" value="340" />
154 <variable name="sdfilesystem_button_y" value="380" />
155 <variable name="lock_x" value="160" />
156 <variable name="lock_y" value="400" />
157 <variable name="filemanager_select_x" value="560" />
158 <variable name="filemanager_select_y" value="1080" />
159 <variable name="backup_name_y" value="550" />
160 <variable name="terminal_console_height" value="700" />
161 <variable name="terminal_text_y" value="730" />
162 <variable name="terminal_button_y" value="700" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="720" />
164 <variable name="row_offset_text_y" value="770" />
165 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400166 <variable name="exclamation_x" value="160" />
167 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400168 </variables>
169
170 <templates>
171 <template name="header">
172 <background color="#000000FF" />
173
174 <object type="image">
175 <image resource="top_bar" />
176 <placement x="0" y="0" />
177 </object>
178
179 <object type="text" color="%text_color%">
180 <font resource="font" />
181 <placement x="120" y="10" />
182 <text>Team Win Recovery Project v%tw_version%</text>
183 </object>
184
185 <object type="text" color="%text_color%">
186 <condition var1="tw_simulate_actions" var2="1" />
187 <font resource="font" />
188 <placement x="120" y="45" />
189 <text>SIMULATING ACTIONS</text>
190 </object>
191
192 <object type="text" color="%text_color%">
193 <font resource="font" />
194 <placement x="120" y="76" />
195 <text>%tw_time%</text>
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="270" y="76" />
201 <conditions>
202 <condition var1="tw_no_battery_percent" var2="0" />
203 <condition var1="tw_battery" op=">" var2="0" />
204 <condition var1="tw_battery" op="<" var2="101" />
205 </conditions>
206 <text>Battery: %tw_battery%</text>
207 </object>
208
209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400211 <placement x="%home_button_x%" y="%home_button_y%" />
212 <font resource="font" color="%button_text_color%" />
213 <text></text>
214 <image resource="home_icon" />
215 <condition var1="tw_busy" var2="0" />
216 <action function="key">home</action>
217 </object>
218
219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400221 <placement x="%back_button_x%" y="%back_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="back_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">back</action>
227 </object>
228
229 <object type="action">
230 <touch key="power" />
231 <action function="overlay">lock</action>
232 </object>
233 </template>
234
235 <template name="progress_bar">
236 <object type="progressbar">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource empty="progress_empty" full="progress_full" />
239 <data name="ui_progress" />
240 </object>
241
242 <object type="animation">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource name="progress" />
245 <speed fps="15" render="2" />
246 <loop frame="1" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400259 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text>Name</text>
262 <image resource="sort_button" />
263 <action function="set">tw_gui_sort_order=1</action>
264 </object>
265
266 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600267 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text>Date</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=2</action>
273 </object>
274
275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400277 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
278 <font resource="font" color="%button_text_color%" />
279 <text>Size</text>
280 <image resource="sort_button" />
281 <action function="set">tw_gui_sort_order=3</action>
282 </object>
283
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
287 <text>Sort Descending:</text>
288 </object>
289
290 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600291 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
293 <font resource="font" color="%button_text_color%" />
294 <text>Name</text>
295 <image resource="sort_button" />
296 <action function="set">tw_gui_sort_order=-1</action>
297 </object>
298
299 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600300 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400301 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
302 <font resource="font" color="%button_text_color%" />
303 <text>Date</text>
304 <image resource="sort_button" />
305 <action function="set">tw_gui_sort_order=-2</action>
306 </object>
307
308 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600309 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
311 <font resource="font" color="%button_text_color%" />
312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=-3</action>
315 </object>
316 </template>
317
318 <template name="action_page_console">
319 <object type="console">
320 <placement x="0" y="%row2_y%" w="720" h="470" />
321 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
322 <font resource="fixed" />
323 </object>
324 </template>
325
326 <template name="footer">
327 <object type="console">
328 <slideout resource="slideout" x="325" y="1220" />
329 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
330 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
331 <font resource="fixed" />
332 </object>
333 </template>
334
335 <template name="keyboardtemplate">
336 <object type="keyboard">
337 <placement x="0" y="800" />
338 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600339 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <layout1>
341 <keysize height="106" width="72" />
342 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
343 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
344 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
345 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:a:action" />
346 </layout1>
347 <layout2>
348 <keysize height="106" width="72" />
349 <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" />
350 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
351 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
352 <row4 key01="100:layout3" key02="130:" key03="260: " key04="65:." key05="165:action" />
353 </layout2>
354 <layout3>
355 <keysize height="106" width="72" />
356 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
357 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
358 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
359 <row4 key01="100:layout1" key02="65:" key03="65:," key04="260: " key05="65:." key06="165:action" />
360 </layout3>
361 <layout4>
362 <keysize height="106" width="72" />
363 <row1 key01="~" key02="`" key03="|" key04="72:" key05="72:" key06="72:" key07="%" key08="72:" key09="{" key10="}" />
364 <row2 key01="72:" key02="72:" key03="72:" key04="72:" key05="72:" key06="^" key07="_" key08="=" key09="[" key10="]" />
365 <row3 key01="108:layout3" key02="72:" key03="72:" key04="72:" key05="72:" key06="\" key07="<" key08=">" key09="108:c:8" />
366 <row4 key01="100:layout1" key02="65:" key03="65:c:34" key04="260: " key05="65:." key06="165:action" />
367 </layout4>
368 </object>
369 </template>
370 </templates>
371
372 <pages>
373 <page name="main">
374 <object type="action">
375 <actions>
376 <action function="set">tw_clear_destination=main2</action>
377 <action function="page">clear_vars</action>
378 </actions>
379 </object>
380 </page>
381
382 <page name="main2">
383 <object type="template" name="header" />
384
385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400387 <placement x="%col1_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Install</text>
390 <image resource="main_button" />
391 <actions>
392 <action function="queueclear"></action>
393 <action function="page">install</action>
394 </actions>
395 </object>
396
397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <placement x="%col2_x%" y="%row1_y%" />
400 <font resource="font" color="%button_text_color%" />
401 <text>Wipe</text>
402 <image resource="main_button" />
403 <action function="page">wipe</action>
404 </object>
405
406 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600407 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400408 <placement x="%col1_x%" y="%row2_y%" />
409 <font resource="font" color="%button_text_color%" />
410 <text>Backup</text>
411 <image resource="main_button" />
412 <action function="page">backup</action>
413 </object>
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col2_x%" y="%row2_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Restore</text>
420 <image resource="main_button" />
421 <action function="page">restore</action>
422 </object>
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row3_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Mount</text>
429 <image resource="main_button" />
430 <action function="page">mount</action>
431 </object>
432
433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400435 <placement x="%col2_x%" y="%row3_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Settings</text>
438 <image resource="main_button" />
439 <action function="page">settings</action>
440 </object>
441
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row4_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Advanced</text>
448 <image resource="main_button" />
449 <action function="page">advanced</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row4_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Reboot</text>
457 <image resource="main_button" />
458 <action function="page">reboot</action>
459 </object>
460
461 <object type="template" name="footer" />
462 </page>
463
464 <page name="install">
465 <object type="template" name="header" />
466
467 <object type="text" color="%text_color%">
468 <font resource="font" />
469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
470 <text>Select Zip to Install</text>
471 </object>
472
473 <object type="button">
474 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400475 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <conditions>
477 <condition var1="tw_has_dual_storage" var2="1" />
478 <condition var1="tw_use_external_storage" var2="1" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_true" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400487 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400488 <conditions>
489 <condition var1="tw_has_dual_storage" var2="1" />
490 <condition var1="tw_use_external_storage" var2="0" />
491 </conditions>
492 <text>Use external SD</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">external</action>
495 </object>
496
497 <object type="button">
498 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400499 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 <conditions>
501 <condition var1="tw_has_dual_storage" var2="1" />
502 <condition var1="tw_use_external_storage" var2="1" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_false" />
506 <action function="togglestorage">internal</action>
507 </object>
508
509 <object type="button">
510 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400511 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <conditions>
513 <condition var1="tw_has_dual_storage" var2="1" />
514 <condition var1="tw_use_external_storage" var2="0" />
515 </conditions>
516 <text>Use internal storage</text>
517 <image resource="radio_true" />
518 <action function="togglestorage">internal</action>
519 </object>
520
521 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600522 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400523 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
524 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
525 <text>%tw_zip_location%</text>
526 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
527 <sort name="tw_gui_sort_order" />
528 <icon folder="folder_icon" file="file_icon" />
529 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600530 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400531 <filter extn=".zip" folders="1" files="1" />
532 <path name="tw_zip_location" default="/sdcard" />
533 <data name="tw_filename" />
534 <selection name="tw_file" />
535 </object>
536
537 <object type="template" name="sort_options" />
538
539 <object type="action">
540 <condition var1="tw_filename" op="modified" />
541 <actions>
542 <action function="queuezip"></action>
543 <action function="page">flash_confirm</action>
544 </actions>
545 </object>
546
547 <object type="action">
548 <touch key="back" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="action">
553 <touch key="home" />
554 <action function="page">main</action>
555 </object>
556
557 <object type="template" name="footer" />
558 </page>
559
560 <page name="flash_confirm">
561 <object type="template" name="header" />
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
566 <text>This operation may install incompatible</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
572 <text>software and render your device unusable.</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
578 <text>Folder:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
584 <text>%tw_zip_location%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
590 <text>File to flash:</text>
591 </object>
592
593 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400594 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400595 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
596 <text>%tw_file%</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
602 <text>Press back to cancel adding this zip.</text>
603 </object>
604
605 <object type="checkbox">
606 <placement x="%col1_x%" y="%row8_text_y%" />
607 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400608 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <data variable="tw_signed_zip_verify" />
610 <image checked="checkbox_true" unchecked="checkbox_false" />
611 </object>
612
613 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <condition var1="tw_has_injecttwrp" var2="1" />
615 <placement x="%col1_x%" y="%row10_text_y%" />
616 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400617 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <data variable="tw_inject_after_zip" />
619 <image checked="checkbox_true" unchecked="checkbox_false" />
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400624 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <text>File %tw_zip_queue_count% of max of 10</text>
626 </object>
627
628 <object type="slider">
629 <placement x="%slider_x%" y="%slider_y%" placement="5" />
630 <resource base="slider" used="slider-used" touch="slider-touch" />
631 <action function="flash">flash_zip</action>
632 </object>
633
634 <object type="text" color="%text_color%">
635 <font resource="font" />
636 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
637 <text>Swipe to Confirm Flash</text>
638 </object>
639
640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400642 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
643 <placement x="%col1_x%" y="%row_queue_y%" />
644 <font resource="font" color="%button_text_color%" />
645 <text>Add More Zips</text>
646 <image resource="main_button" />
647 <action function="page">install</action>
648 </object>
649
650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400652 <placement x="%col2_x%" y="%row_queue_y%" />
653 <font resource="font" color="%button_text_color%" />
654 <text>Clear Zip Queue</text>
655 <image resource="main_button" />
656 <actions>
657 <action function="queueclear"></action>
658 <action function="page">install</action>
659 </actions>
660 </object>
661
662 <object type="action">
663 <touch key="back" />
664 <actions>
665 <action function="cancelzip"></action>
666 <action function="page">install</action>
667 </actions>
668 </object>
669
670 <object type="action">
671 <touch key="home" />
672 <action function="page">main</action>
673 </object>
674
675 <object type="template" name="footer" />
676 </page>
677
678 <page name="flash_zip">
679 <object type="template" name="header" />
680
681 <object type="console">
682 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
683 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
684 <font resource="fixed" />
685 </object>
686
687 <object type="text" color="%text_color%">
688 <font resource="font" />
689 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
690 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
691 </object>
692
693 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400694 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400695 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
696 <text>%tw_filename%</text>
697 </object>
698
699 <object type="template" name="progress_bar" />
700
701 <object type="action">
702 <condition var1="tw_operation_state" var2="1" />
703 <action function="page">flash_done</action>
704 </object>
705 </page>
706
707 <page name="flash_done">
708 <object type="template" name="header" />
709
710 <object type="text" color="%text_color%">
711 <font resource="font" />
712 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
713 <text>Zip Install Complete</text>
714 </object>
715
716 <object type="console">
717 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
718 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
719 <font resource="fixed" />
720 </object>
721
722 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600723 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400724 <placement x="%col1_x%" y="%row4_y%" />
725 <font resource="font" color="%button_text_color%" />
726 <text>Wipe cache/dalvik</text>
727 <image resource="main_button" />
728 <actions>
729 <action function="set">tw_back=flash_done</action>
730 <action function="set">tw_action=wipe</action>
731 <action function="set">tw_action_param=/cache</action>
732 <action function="set">tw_has_action2=1</action>
733 <action function="set">tw_action2=wipe</action>
734 <action function="set">tw_action2_param=dalvik</action>
735 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
736 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
737 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
738 <action function="set">tw_slider_text=Swipe to Wipe</action>
739 <action function="page">confirm_action</action>
740 </actions>
741 </object>
742
743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <placement x="%col2_x%" y="%row4_y%" />
746 <font resource="font" color="%button_text_color%" />
747 <text>Reboot System</text>
748 <image resource="main_button" />
749 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400750 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <action function="set">tw_action=reboot</action>
752 <action function="set">tw_action_param=system</action>
753 <action function="set">tw_has_action2=0</action>
754 <action function="set">tw_text1=No OS Installed! Are you</action>
755 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400756 <action function="set">tw_text3=</action>
757 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400758 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400759 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400760 <action function="set">tw_complete_text1=Rebooting...</action>
761 <action function="set">tw_slider_text=Swipe to Reboot</action>
762 <action function="page">rebootcheck</action>
763 </actions>
764 </object>
765
766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600767 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400768 <placement x="%col_center_x%" y="%row3_y%" />
769 <font resource="font" color="%button_text_color%" />
770 <text>Home</text>
771 <image resource="main_button" />
772 <actions>
773 <action function="set">tw_clear_destination=main2</action>
774 <action function="page">clear_vars</action>
775 </actions>
776 </object>
777
778 <object type="text" color="%text_fail_color%">
779 <condition var1="tw_operation_status" op="!=" var2="0" />
780 <font resource="font" />
781 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
782 <text>Failed</text>
783 </object>
784
785 <object type="text" color="%text_success_color%">
786 <condition var1="tw_operation_status" var2="0" />
787 <font resource="font" />
788 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
789 <text>Successful</text>
790 </object>
791
792 <object type="action">
793 <touch key="back" />
794 <actions>
795 <action function="set">tw_clear_destination=install</action>
796 <action function="page">clear_vars</action>
797 </actions>
798 </object>
799
800 <object type="action">
801 <touch key="home" />
802 <actions>
803 <action function="set">tw_clear_destination=main2</action>
804 <action function="page">clear_vars</action>
805 </actions>
806 </object>
807 </page>
808
809 <page name="clear_vars">
810 <object type="action">
811 <action function="set">tw_operation_state=0</action>
812 <action function="set">tw_text1=</action>
813 <action function="set">tw_text2=</action>
814 <action function="set">tw_text3=</action>
815 <action function="set">tw_text4=</action>
816 <action function="set">tw_action_text1=</action>
817 <action function="set">tw_action_text2=</action>
818 <action function="set">tw_action_param=</action>
819 <action function="set">tw_has_action2=0</action>
820 <action function="set">tw_action2=</action>
821 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400822 <action function="set">tw_has_cancel=0</action>
823 <action function="set">tw_cancel_action=</action>
824 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400825 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400826 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400827 <action function="page">%tw_clear_destination%</action>
828 </object>
829 </page>
830
831 <page name="confirm_action">
832 <object type="template" name="header" />
833
Dees_Troye588d252012-10-08 10:28:52 -0400834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600835 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <condition var1="tw_show_exclamation" var2="1" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400837 <placement x="%exclamation_x%" y="%exclamation_y%" />
Dees_Troye588d252012-10-08 10:28:52 -0400838 <font resource="font" color="%button_text_color%" />
839 <text></text>
840 <image resource="exclamation" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400841 </object>
842
Dees_Troy51a0e822012-09-05 15:24:24 -0400843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
846 <text>%tw_text1%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
852 <text>%tw_text2%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
858 <text>%tw_text3%</text>
859 </object>
860
861 <object type="text" color="%text_color%">
862 <font resource="font" />
863 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
864 <text>%tw_text4%</text>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400869 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400870 <text>Press back button to cancel.</text>
871 </object>
872
873 <object type="slider">
874 <placement x="%slider_x%" y="%slider_y%" />
875 <resource base="slider" used="slider-used" touch="slider-touch" />
876 <action function="page">action_page</action>
877 </object>
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
881 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
882 <text>%tw_slider_text%</text>
883 </object>
884
885 <object type="action">
886 <touch key="back" />
887 <actions>
888 <action function="set">tw_clear_destination=%tw_back%</action>
889 <action function="page">clear_vars</action>
890 </actions>
891 </object>
892
893 <object type="action">
894 <touch key="home" />
895 <action function="page">main</action>
896 </object>
897
898 <object type="template" name="footer" />
899 </page>
900
901 <page name="action_page">
902 <object type="template" name="header" />
903
904 <object type="text" color="%text_color%">
905 <font resource="font" />
906 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
907 <text>%tw_action_text1%</text>
908 </object>
909
910 <object type="text" color="%text_color%">
911 <font resource="font" />
912 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
913 <text>%tw_action_text2%</text>
914 </object>
915
916 <object type="template" name="action_page_console" />
917
Dees_Troybbb21012012-09-20 15:59:46 -0400918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600919 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400920 <condition var1="tw_has_cancel" var2="1" />
921 <placement x="%col_center_medium_x%" y="%row4_y%" />
922 <font resource="font" color="%button_text_color%" />
923 <text>Cancel</text>
924 <image resource="medium_button" />
925 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
926 </object>
927
Dees_Troy51a0e822012-09-05 15:24:24 -0400928 <object type="template" name="progress_bar" />
929
930 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400931 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400932 <actions>
933 <action function="page">action_complete</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="0" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 </actions>
942 </object>
943
944 <object type="action">
945 <condition var1="tw_has_action2" var2="1" />
946 <actions>
947 <action function="%tw_action%">%tw_action_param%</action>
948 <action function="%tw_action2%">%tw_action2_param%</action>
949 </actions>
950 </object>
951 </page>
952
Dees_Troy6ef66352013-02-21 08:26:57 -0600953 <page name="singleaction_page">
954 <object type="template" name="header" />
955
956 <object type="text" color="%text_color%">
957 <font resource="font" />
958 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
959 <text>%tw_action_text1%</text>
960 </object>
961
962 <object type="text" color="%text_color%">
963 <font resource="font" />
964 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
965 <text>%tw_action_text2%</text>
966 </object>
967
968 <object type="template" name="action_page_console" />
969
970 <object type="template" name="progress_bar" />
971
972 <object type="action">
973 <condition var1="tw_operation_state" var2="1" />
974 <actions>
975 <action function="set">tw_page_done=1</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="0" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 </actions>
984 </object>
985
986 <object type="action">
987 <condition var1="tw_has_action2" var2="1" />
988 <actions>
989 <action function="%tw_action%">%tw_action_param%</action>
990 <action function="%tw_action2%">%tw_action2_param%</action>
991 </actions>
992 </object>
993 </page>
994
Dees_Troy51a0e822012-09-05 15:24:24 -0400995 <page name="action_complete">
996 <object type="template" name="header" />
997
998 <object type="text" color="%text_color%">
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1001 <text>%tw_complete_text1%</text>
1002 </object>
1003
1004 <object type="text" color="%text_fail_color%">
1005 <condition var1="tw_operation_status" op="!=" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Failed</text>
1009 </object>
1010
1011 <object type="text" color="%text_success_color%">
1012 <condition var1="tw_operation_status" var2="0" />
1013 <font resource="font" />
1014 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1015 <text>Successful</text>
1016 </object>
1017
1018 <object type="template" name="action_page_console" />
1019
1020 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001021 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001022 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <placement x="%col_center_x%" y="%row4_y%" />
1024 <font resource="font" color="%button_text_color%" />
1025 <text>Back</text>
1026 <image resource="main_button" />
1027 <actions>
1028 <action function="set">tw_clear_destination=%tw_back%</action>
1029 <action function="page">clear_vars</action>
1030 </actions>
1031 </object>
1032
Dees_Troya3f81542012-10-08 10:58:53 -04001033 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001034 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001035 <condition var1="tw_show_reboot" var2="1" />
1036 <placement x="%col_center_x%" y="%row4_y%" />
1037 <font resource="font" color="%button_text_color%" />
1038 <text>Reboot System</text>
1039 <image resource="main_button" />
1040 <actions>
1041 <action function="set">tw_back=main2</action>
1042 <action function="set">tw_action=reboot</action>
1043 <action function="set">tw_action_param=system</action>
1044 <action function="set">tw_has_action2=0</action>
1045 <action function="set">tw_text1=No OS Installed! Are you</action>
1046 <action function="set">tw_text2=sure you wish to reboot?</action>
1047 <action function="set">tw_text3=</action>
1048 <action function="set">tw_text4=</action>
1049 <action function="set">tw_action_text1=Rebooting...</action>
1050 <action function="set">tw_action_text2=</action>
1051 <action function="set">tw_complete_text1=Rebooting...</action>
1052 <action function="set">tw_slider_text=Swipe to Reboot</action>
1053 <action function="page">rebootcheck</action>
1054 </actions>
1055 </object>
1056
Dees_Troy51a0e822012-09-05 15:24:24 -04001057 <object type="action">
1058 <touch key="home" />
1059 <actions>
1060 <action function="set">tw_clear_destination=main2</action>
1061 <action function="page">clear_vars</action>
1062 </actions>
1063 </object>
1064
1065 <object type="action">
1066 <touch key="back" />
1067 <actions>
1068 <action function="set">tw_clear_destination=%tw_back%</action>
1069 <action function="page">clear_vars</action>
1070 </actions>
1071 </object>
1072 </page>
1073
1074 <page name="filecheck">
1075 <object type="action">
1076 <action function="fileexists">%tw_filecheck%</action>
1077 </object>
1078
1079 <object type="action">
1080 <conditions>
1081 <condition var1="tw_operation_state" var2="1" />
1082 <condition var1="tw_operation_status" var2="0" />
1083 </conditions>
1084 <actions>
1085 <action function="set">tw_fileexists=1</action>
1086 <action function="page">%tw_existpage%</action>
1087 </actions>
1088 </object>
1089
1090 <object type="action">
1091 <conditions>
1092 <condition var1="tw_operation_state" var2="1" />
1093 <condition var1="tw_operation_status" var2="1" />
1094 </conditions>
1095 <actions>
1096 <action function="set">tw_fileexists=0</action>
1097 <action function="page">%tw_notexistpage%</action>
1098 </actions>
1099 </object>
1100 </page>
1101
1102 <page name="rebootcheck">
1103 <object type="action">
1104 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1105 <action function="reboot">%tw_action_param%</action>
1106 </object>
1107
1108 <object type="action">
1109 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1110 <action function="page">confirm_action</action>
1111 </object>
1112 </page>
1113
1114 <page name="wipe">
1115 <object type="template" name="header" />
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1120 <text>Wipe Menu</text>
1121 </object>
1122
1123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001125 <placement x="%col1_x%" y="%row1_y%" />
1126 <font resource="font" color="%button_text_color%" />
1127 <text>Cache</text>
1128 <image resource="main_button" />
1129 <actions>
1130 <action function="set">tw_back=wipe</action>
1131 <action function="set">tw_action=wipe</action>
1132 <action function="set">tw_action_param=/cache</action>
1133 <action function="set">tw_text1=Wipe Cache?</action>
1134 <action function="set">tw_action_text1=Wiping Cache...</action>
1135 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1136 <action function="set">tw_slider_text=Swipe to Wipe</action>
1137 <action function="page">confirm_action</action>
1138 </actions>
1139 </object>
1140
1141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001143 <placement x="%col2_x%" y="%row1_y%" />
1144 <font resource="font" color="%button_text_color%" />
1145 <text>Dalvik Cache</text>
1146 <image resource="main_button" />
1147 <actions>
1148 <action function="set">tw_back=wipe</action>
1149 <action function="set">tw_action=wipe</action>
1150 <action function="set">tw_action_param=dalvik</action>
1151 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1152 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1153 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1154 <action function="set">tw_slider_text=Swipe to Wipe</action>
1155 <action function="page">confirm_action</action>
1156 </actions>
1157 </object>
1158
1159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 <placement x="%col1_x%" y="%row2_y%" />
1162 <font resource="font" color="%button_text_color%" />
1163 <text>Factory Reset</text>
1164 <image resource="main_button" />
1165 <actions>
1166 <action function="set">tw_back=wipe</action>
1167 <action function="set">tw_action=wipe</action>
1168 <action function="set">tw_action_param=data</action>
1169 <action function="set">tw_text1=Factory Reset?</action>
1170 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1171 <action function="set">tw_action_text1=Factory Reset...</action>
1172 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1173 <action function="set">tw_slider_text=Swipe to Wipe</action>
1174 <action function="page">confirm_action</action>
1175 </actions>
1176 </object>
1177
1178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001180 <placement x="%col2_x%" y="%row2_y%" />
1181 <font resource="font" color="%button_text_color%" />
1182 <text>System</text>
1183 <image resource="main_button" />
1184 <actions>
1185 <action function="set">tw_back=wipe</action>
1186 <action function="set">tw_action=wipe</action>
1187 <action function="set">tw_action_param=/system</action>
1188 <action function="set">tw_text1=Wipe System?</action>
1189 <action function="set">tw_text2=This will wipe your ROM</action>
1190 <action function="set">tw_action_text1=Wiping System...</action>
1191 <action function="set">tw_complete_text1=System Wipe Complete</action>
1192 <action function="set">tw_slider_text=Swipe to Wipe</action>
1193 <action function="page">confirm_action</action>
1194 </actions>
1195 </object>
1196
1197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001199 <condition var1="tw_has_external" var2="1" />
1200 <placement x="%col1_x%" y="%row3_y%" />
1201 <font resource="font" color="%button_text_color%" />
1202 <text>External Storage</text>
1203 <image resource="main_button" />
1204 <actions>
1205 <action function="set">tw_back=wipe</action>
1206 <action function="set">tw_action=wipe</action>
1207 <action function="set">tw_action_param=EXTERNAL</action>
1208 <action function="set">tw_has_action2=1</action>
1209 <action function="set">tw_action2=set</action>
1210 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001211 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001212 <action function="set">tw_action_text1=Wiping External Storage...</action>
1213 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1214 <action function="set">tw_slider_text=Swipe to Wipe</action>
1215 <action function="page">confirm_action</action>
1216 </actions>
1217 </object>
1218
1219 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001220 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001221 <condition var1="tw_has_internal" var2="1" />
1222 <placement x="%col2_x%" y="%row3_y%" />
1223 <font resource="font" color="%button_text_color%" />
1224 <text>Internal Storage</text>
1225 <image resource="main_button" />
1226 <actions>
1227 <action function="set">tw_back=wipe</action>
1228 <action function="set">tw_action=wipe</action>
1229 <action function="set">tw_action_param=INTERNAL</action>
1230 <action function="set">tw_has_action2=1</action>
1231 <action function="set">tw_action2=set</action>
1232 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1233 <action function="set">tw_text1=Wipe Internal Storage?</action>
1234 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1235 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1236 <action function="set">tw_slider_text=Swipe to Wipe</action>
1237 <action function="page">confirm_action</action>
1238 </actions>
1239 </object>
1240
1241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <conditions>
1244 <condition var1="tw_has_internal" var2="1" />
1245 <condition var1="tw_has_data_media" var2="1" />
1246 </conditions>
1247 <placement x="%col1_x%" y="%row4_y%" />
1248 <font resource="font" color="%button_text_color%" />
1249 <text>Format Data</text>
1250 <image resource="main_button" />
1251 <actions>
1252 <action function="set">tw_back=wipe</action>
1253 <action function="set">tw_action=wipe</action>
1254 <action function="set">tw_action_param=DATAMEDIA</action>
1255 <action function="set">tw_has_action2=1</action>
1256 <action function="set">tw_action2=set</action>
1257 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001258 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001259 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001260 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001261 <action function="set">tw_action_text1=Formatting Data...</action>
1262 <action function="set">tw_complete_text1=Data Format Complete</action>
1263 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001264 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001265 <action function="page">confirm_action</action>
1266 </actions>
1267 </object>
1268
1269 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001270 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001271 <condition var1="tw_has_data_media" var2="0" />
1272 <placement x="%col1_x%" y="%row4_y%" />
1273 <font resource="font" color="%button_text_color%" />
1274 <text>Android Secure</text>
1275 <image resource="main_button" />
1276 <actions>
1277 <action function="set">tw_back=wipe</action>
1278 <action function="set">tw_action=wipe</action>
1279 <action function="set">tw_action_param=ANDROIDSECURE</action>
1280 <action function="set">tw_text1=Wipe Android Secure?</action>
1281 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1282 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1283 <action function="set">tw_slider_text=Swipe to Format</action>
1284 <action function="page">confirm_action</action>
1285 </actions>
1286 </object>
1287
1288 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001289 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001290 <condition var1="tw_has_sdext_partition" var2="1" />
1291 <placement x="%col2_x%" y="%row4_y%" />
1292 <font resource="font" color="%button_text_color%" />
1293 <text>SD Ext</text>
1294 <image resource="main_button" />
1295 <actions>
1296 <action function="set">tw_back=wipe</action>
1297 <action function="set">tw_action=wipe</action>
1298 <action function="set">tw_action_param=/sd-ext</action>
1299 <action function="set">tw_text1=Wipe SD-Ext?</action>
1300 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1301 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1302 <action function="set">tw_slider_text=Swipe to Wipe</action>
1303 <action function="page">confirm_action</action>
1304 </actions>
1305 </object>
1306
1307 <object type="action">
1308 <touch key="home" />
1309 <action function="page">main</action>
1310 </object>
1311
1312 <object type="action">
1313 <touch key="back" />
1314 <action function="page">main</action>
1315 </object>
1316
1317 <object type="template" name="footer" />
1318 </page>
1319
1320 <page name="backup">
1321 <object type="template" name="header" />
1322
1323 <object type="text" color="%text_color%">
1324 <font resource="font" />
1325 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1326 <text>Backup Name: %tw_backup_name%</text>
1327 </object>
1328
1329 <object type="text" color="%text_color%">
1330 <placement x="%col1_x%" y="%row1_text_y%" />
1331 <font resource="font" />
1332 <text>Backup Device</text>
1333 </object>
1334
1335 <object type="slider">
1336 <placement x="%slider_x%" y="slider_y" />
1337 <resource base="slider" used="slider-used" touch="slider-touch" />
1338 <action function="page">backup_run</action>
1339 </object>
1340
1341 <object type="text" color="%text_color%">
1342 <font resource="font" />
1343 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1344 <text>Swipe to Back Up</text>
1345 </object>
1346
1347 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001348 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001349 <placement x="%col2_x%" y="%row1_y%" />
1350 <font resource="font" color="%button_text_color%" />
1351 <text>Refresh Sizes</text>
1352 <image resource="main_button" />
1353 <action function="refreshsizes"></action>
1354 </object>
1355
1356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001358 <placement x="%col2_x%" y="%backup_name_y%" />
1359 <font resource="font" color="%button_text_color%" />
1360 <text>Set Backup Name</text>
1361 <image resource="main_button" />
1362 <actions>
1363 <action function="set">tw_fileexists=0</action>
1364 <action function="page">backupname1</action>
1365 </actions>
1366 </object>
1367
1368 <object type="checkbox">
1369 <placement x="%col1_x%" y="%row2_text_y%" />
1370 <font resource="font" color="%text_color%" />
1371 <text>System (%tw_backup_system_size% MB)</text>
1372 <data variable="tw_backup_system" />
1373 <image checked="checkbox_true" unchecked="checkbox_false" />
1374 </object>
1375
1376 <object type="checkbox">
1377 <placement x="%col1_x%" y="%row3_text_y%" />
1378 <font resource="font" color="%text_color%" />
1379 <text>Data (%tw_backup_data_size% MB)</text>
1380 <data variable="tw_backup_data" />
1381 <image checked="checkbox_true" unchecked="checkbox_false" />
1382 </object>
1383
1384 <object type="checkbox">
1385 <condition var1="tw_has_boot_partition" var2="1" />
1386 <placement x="%col1_x%" y="%row4_text_y%" />
1387 <font resource="font" color="%text_color%" />
1388 <text>Boot (%tw_backup_boot_size% MB)</text>
1389 <data variable="tw_backup_boot" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
1394 <condition var1="tw_has_recovery_partition" var2="1" />
1395 <placement x="%col1_x%" y="%row5_text_y%" />
1396 <font resource="font" color="%text_color%" />
1397 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1398 <data variable="tw_backup_recovery" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="checkbox">
1403 <placement x="%col1_x%" y="%row6_text_y%" />
1404 <font resource="font" color="%text_color%" />
1405 <text>Cache (%tw_backup_cache_size% MB)</text>
1406 <data variable="tw_backup_cache" />
1407 <image checked="checkbox_true" unchecked="checkbox_false" />
1408 </object>
1409
1410 <object type="checkbox">
1411 <condition var1="tw_has_android_secure" var2="1" />
1412 <placement x="%col1_x%" y="%row7_text_y%" />
1413 <font resource="font" color="%text_color%" />
1414 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1415 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1416 <data variable="tw_backup_andsec" />
1417 <image checked="checkbox_true" unchecked="checkbox_false" />
1418 </object>
1419
1420 <object type="checkbox">
1421 <condition var1="tw_has_sdext_partition" var2="1" />
1422 <placement x="%col1_x%" y="%row8_text_y%" />
1423 <font resource="font" color="%text_color%" />
1424 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1425 <condition var1="fileexists" var2="/sd-ext" />
1426 <data variable="tw_backup_sdext" />
1427 <image checked="checkbox_true" unchecked="checkbox_false" />
1428 </object>
1429
1430 <object type="checkbox">
1431 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001432 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <font resource="font" color="%text_color%" />
1434 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1435 <data variable="tw_backup_sp1" />
1436 <image checked="checkbox_true" unchecked="checkbox_false" />
1437 </object>
1438
1439 <object type="checkbox">
1440 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001441 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <font resource="font" color="%text_color%" />
1443 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1444 <data variable="tw_backup_sp2" />
1445 <image checked="checkbox_true" unchecked="checkbox_false" />
1446 </object>
1447
1448 <object type="checkbox">
1449 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001450 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 <font resource="font" color="%text_color%" />
1452 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1453 <data variable="tw_backup_sp3" />
1454 <image checked="checkbox_true" unchecked="checkbox_false" />
1455 </object>
1456
1457 <object type="text" color="%text_color%">
1458 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001459 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <text>Free Space: %tw_storage_free_size% MB</text>
1461 </object>
1462
1463 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001464 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001465 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001466 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001467 <data variable="tw_use_compression" />
1468 <image checked="checkbox_true" unchecked="checkbox_false" />
1469 </object>
1470
1471 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001472 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001473 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001474 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001475 <data variable="tw_skip_md5_generate" />
1476 <image checked="checkbox_true" unchecked="checkbox_false" />
1477 </object>
1478
1479 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001480 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001481 <font resource="font" color="%text_color%" />
1482 <conditions>
1483 <condition var1="tw_has_dual_storage" var2="1" />
1484 <condition var1="tw_use_external_storage" var2="1" />
1485 </conditions>
1486 <text>Use external SD</text>
1487 <image resource="radio_true" />
1488 <action function="togglestorage">external</action>
1489 </object>
1490
1491 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001492 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001493 <font resource="font" color="%text_color%" />
1494 <conditions>
1495 <condition var1="tw_has_dual_storage" var2="1" />
1496 <condition var1="tw_use_external_storage" var2="0" />
1497 </conditions>
1498 <text>Use external SD</text>
1499 <image resource="radio_false" />
1500 <action function="togglestorage">external</action>
1501 </object>
1502
1503 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001504 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001505 <font resource="font" color="%text_color%" />
1506 <conditions>
1507 <condition var1="tw_has_dual_storage" var2="1" />
1508 <condition var1="tw_use_external_storage" var2="1" />
1509 </conditions>
1510 <text>Use internal storage</text>
1511 <image resource="radio_false" />
1512 <action function="togglestorage">internal</action>
1513 </object>
1514
1515 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001516 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001517 <font resource="font" color="%text_color%" />
1518 <conditions>
1519 <condition var1="tw_has_dual_storage" var2="1" />
1520 <condition var1="tw_use_external_storage" var2="0" />
1521 </conditions>
1522 <text>Use internal storage</text>
1523 <image resource="radio_true" />
1524 <action function="togglestorage">internal</action>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="home" />
1529 <action function="page">main</action>
1530 </object>
1531
1532 <object type="action">
1533 <touch key="back" />
1534 <action function="page">main</action>
1535 </object>
1536
1537 <object type="template" name="footer" />
1538 </page>
1539
1540 <page name="backupname1">
1541 <object type="action">
1542 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1543 <action function="set">tw_backup_name=</function>
1544 </object>
1545
1546 <object type="action">
1547 <action function="page">backupname2</function>
1548 </object>
1549 </page>
1550
1551 <page name="backupname2">
1552 <object type="template" name="header" />
1553
1554 <object type="text" color="%text_color%">
1555 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1556 <font resource="font" />
1557 <text>Please Enter a Backup Name</text>
1558 </object>
1559
1560 <object type="input">
1561 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1562 <background color="%input_background_color%" />
1563 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1564 <font resource="font" color="%text_color%" />
1565 <text>%tw_backup_name%</text>
1566 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001567 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001568 <actions>
1569 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1570 <action function="set">tw_existpage=backupname2</action>
1571 <action function="set">tw_notexistpage=backup</action>
1572 <action function="page">filecheck</action>
1573 </actions>
1574 </object>
1575
1576 <object type="text" color="%text_fail_color%">
1577 <condition var1="tw_fileexists" var2="1" />
1578 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1579 <font resource="font" />
1580 <text>A backup with that name already exists!</text>
1581 </object>
1582
1583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001585 <placement x="%col_center_x%" y="%row2_y%" />
1586 <font resource="font" color="%button_text_color%" />
1587 <text>Cancel</text>
1588 <image resource="main_button" />
1589 <actions>
1590 <action function="set">tw_backup_name=(Current Date)</action>
1591 <action function="page">backup</action>
1592 </actions>
1593 </object>
1594
1595 <object type="template" name="keyboardtemplate" />
1596
1597 <object type="action">
1598 <touch key="home" />
1599 <actions>
1600 <action function="set">tw_backup_name=(Current Date)</action>
1601 <action function="page">main</action>
1602 </actions>
1603 </object>
1604
1605 <object type="action">
1606 <touch key="back" />
1607 <actions>
1608 <action function="set">tw_backup_name=(Current Date)</action>
1609 <action function="page">backup</action>
1610 </actions>
1611 </object>
1612
1613 <object type="template" name="footer" />
1614 </page>
1615
1616 <page name="backup_run">
1617 <object type="template" name="header" />
1618
1619 <object type="text" color="%text_color%">
1620 <font resource="font" />
1621 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1622 <text>%tw_operation% %tw_partition%</text>
1623 </object>
1624
1625 <object type="template" name="action_page_console" />
1626
1627 <object type="template" name="progress_bar" />
1628
1629 <object type="action">
1630 <action function="nandroid">backup</action>
1631 </object>
1632
1633 <object type="action">
Dees_Troy6ed34b72013-01-25 15:01:29 +00001634 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001635 <actions>
1636 <action function="set">tw_back=backup</action>
1637 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001638 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001639 <action function="page">action_complete</action>
1640 </actions>
1641 </object>
1642 </page>
1643
1644 <page name="restore">
1645 <object type="template" name="header" />
1646
1647 <object type="button">
1648 <placement x="%col1_x%" y="%row1_header_y%" />
1649 <font resource="font" color="%text_color%" />
1650 <conditions>
1651 <condition var1="tw_has_dual_storage" var2="1" />
1652 <condition var1="tw_use_external_storage" var2="1" />
1653 </conditions>
1654 <text>Use external SD</text>
1655 <image resource="radio_true" />
1656 <action function="togglestorage">external</action>
1657 </object>
1658
1659 <object type="button">
1660 <placement x="%col1_x%" y="%row1_header_y%" />
1661 <font resource="font" color="%text_color%" />
1662 <conditions>
1663 <condition var1="tw_has_dual_storage" var2="1" />
1664 <condition var1="tw_use_external_storage" var2="0" />
1665 </conditions>
1666 <text>Use external SD</text>
1667 <image resource="radio_false" />
1668 <action function="togglestorage">external</action>
1669 </object>
1670
1671 <object type="button">
1672 <placement x="%col2_x%" y="%row1_header_y%" />
1673 <font resource="font" color="%text_color%" />
1674 <conditions>
1675 <condition var1="tw_has_dual_storage" var2="1" />
1676 <condition var1="tw_use_external_storage" var2="1" />
1677 </conditions>
1678 <text>Use internal storage</text>
1679 <image resource="radio_false" />
1680 <action function="togglestorage">internal</action>
1681 </object>
1682
1683 <object type="button">
1684 <placement x="%col2_x%" y="%row1_header_y%" />
1685 <font resource="font" color="%text_color%" />
1686 <conditions>
1687 <condition var1="tw_has_dual_storage" var2="1" />
1688 <condition var1="tw_use_external_storage" var2="0" />
1689 </conditions>
1690 <text>Use internal storage</text>
1691 <image resource="radio_true" />
1692 <action function="togglestorage">internal</action>
1693 </object>
1694
1695 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001696 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001697 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1698 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1699 <text>Select Package to Restore:</text>
1700 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1701 <sort name="tw_gui_sort_order" />
1702 <icon folder="folder_icon" file="file_icon" />
1703 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001704 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001705 <filter folders="1" files="0" nav="0" />
1706 <path name="tw_backups_folder" />
1707 <data name="tw_restore" default="" />
1708 <selection name="tw_restore_name" />
1709 </object>
1710
1711 <object type="template" name="sort_options" />
1712
1713 <object type="action">
1714 <condition var1="tw_restore" op="modified" />
1715 <actions>
1716 <action function="readBackup"></action>
1717 <action function="page">restore_select</action>
1718 </actions>
1719 </object>
1720
1721 <object type="action">
1722 <touch key="home" />
1723 <action function="page">main</action>
1724 </object>
1725
1726 <object type="action">
1727 <touch key="back" />
1728 <action function="page">main</action>
1729 </object>
1730
1731 <object type="template" name="footer" />
1732 </page>
1733
1734 <page name="restore_select">
1735 <object type="template" name="header" />
1736
1737 <object type="text">
1738 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1739 <font resource="font" color="%text_color%" />
1740 <text>Restoring: %tw_restore_name%</text>
1741 </object>
1742
1743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 <placement x="%col2_x%" y="%row1_y%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Rename Backup</text>
1748 <image resource="main_button" />
1749 <actions>
1750 <action function="set">tw_backup_rename=</action>
1751 <action function="set">tw_fileexists=0</action>
1752 <action function="page">renamebackup</action>
1753 </actions>
1754 </object>
1755
1756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001758 <placement x="%col2_x%" y="%row2_y%" />
1759 <font resource="font" color="%button_text_color%" />
1760 <text>Delete Backup</text>
1761 <image resource="main_button" />
1762 <actions>
1763 <action function="set">tw_back=restore</action>
1764 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001765 <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 -04001766 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1767 <action function="set">tw_text2=This cannot be undone!</action>
1768 <action function="set">tw_action_text1=Deleting Backup...</action>
1769 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1770 <action function="set">tw_slider_text=Swipe to Delete</action>
1771 <action function="page">confirm_action</action>
1772 </actions>
1773 </object>
1774
1775 <object type="slider">
1776 <placement x="%slider_x%" y="%slider_y%" />
1777 <resource base="slider" used="slider-used" touch="slider-touch" />
1778 <action function="page">restore_run</action>
1779 </object>
1780
1781 <object type="text" color="%text_color%">
1782 <font resource="font" />
1783 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1784 <text>Swipe to Restore</text>
1785 </object>
1786
1787 <object type="checkbox">
1788 <placement x="%col1_x%" y="%row2_text_y%" />
1789 <font resource="font" color="%text_color%" />
1790 <text>System</text>
1791 <condition var1="tw_restore_system" op=">=" var2="0" />
1792 <data variable="tw_restore_system" />
1793 <image checked="checkbox_true" unchecked="checkbox_false" />
1794 </object>
1795
1796 <object type="checkbox">
1797 <placement x="%col1_x%" y="%row3_text_y%" />
1798 <font resource="font" color="%text_color%" />
1799 <text>Data</text>
1800 <condition var1="tw_restore_data" op=">=" var2="0" />
1801 <data variable="tw_restore_data" />
1802 <image checked="checkbox_true" unchecked="checkbox_false" />
1803 </object>
1804
1805 <object type="checkbox">
1806 <placement x="%col1_x%" y="%row4_text_y%" />
1807 <font resource="font" color="%text_color%" />
1808 <text>Boot</text>
1809 <condition var1="tw_restore_boot" op=">=" var2="0" />
1810 <data variable="tw_restore_boot" />
1811 <image checked="checkbox_true" unchecked="checkbox_false" />
1812 </object>
1813
1814 <object type="checkbox">
1815 <placement x="%col1_x%" y="%row6_text_y%" />
1816 <font resource="font" color="%text_color%" />
1817 <text>Cache</text>
1818 <condition var1="tw_restore_cache" op=">=" var2="0" />
1819 <data variable="tw_restore_cache" />
1820 <image checked="checkbox_true" unchecked="checkbox_false" />
1821 </object>
1822
1823 <object type="checkbox">
1824 <placement x="%col1_x%" y="%row7_text_y%" />
1825 <font resource="font" color="%text_color%" />
1826 <text>.android_secure</text>
1827 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1828 <data variable="tw_restore_andsec" />
1829 <image checked="checkbox_true" unchecked="checkbox_false" />
1830 </object>
1831
1832 <object type="checkbox">
1833 <placement x="%col1_x%" y="%row8_text_y%" />
1834 <font resource="font" color="%text_color%" />
1835 <text>sd-ext</text>
1836 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1837 <data variable="tw_restore_sdext" />
1838 <image checked="checkbox_true" unchecked="checkbox_false" />
1839 </object>
1840
1841 <object type="checkbox">
1842 <placement x="%col1_x%" y="%row10_text_y%" />
1843 <font resource="font" color="%text_color%" />
1844 <text>%tw_sp1_name%</text>
1845 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1846 <data variable="tw_restore_sp1" />
1847 <image checked="checkbox_true" unchecked="checkbox_false" />
1848 </object>
1849
1850 <object type="checkbox">
1851 <placement x="%col1_x%" y="%row11_text_y%" />
1852 <font resource="font" color="%text_color%" />
1853 <text>%tw_sp2_name%</text>
1854 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1855 <data variable="tw_restore_sp2" />
1856 <image checked="checkbox_true" unchecked="checkbox_false" />
1857 </object>
1858
1859 <object type="checkbox">
1860 <placement x="%col1_x%" y="%row12_text_y%" />
1861 <font resource="font" color="%text_color%" />
1862 <text>%tw_sp3_name%</text>
1863 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1864 <data variable="tw_restore_sp3" />
1865 <image checked="checkbox_true" unchecked="checkbox_false" />
1866 </object>
1867
1868 <object type="checkbox">
1869 <placement x="%col1_x%" y="%row14_text_y%" />
1870 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001871 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001872 <data variable="tw_skip_md5_check" />
1873 <image checked="checkbox_true" unchecked="checkbox_false" />
1874 </object>
1875
1876 <object type="text" color="%text_color%">
1877 <font resource="font" />
1878 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1879 <text>Package Date: %tw_restore_file_date%</text>
1880 </object>
1881
1882 <object type="action">
1883 <touch key="home" />
1884 <action function="page">main</action>
1885 </object>
1886
1887 <object type="action">
1888 <touch key="back" />
1889 <action function="page">restore</action>
1890 </object>
1891
1892 <object type="template" name="footer" />
1893 </page>
1894
1895 <page name="renamebackup">
1896 <object type="template" name="header" />
1897
1898 <object type="text" color="%text_color%">
1899 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1900 <font resource="font" />
1901 <text>Please Enter a New Backup Name</text>
1902 </object>
1903
1904 <object type="input">
1905 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1906 <background color="%input_background_color%" />
1907 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1908 <font resource="font" color="%text_color%" />
1909 <text>%tw_backup_rename%</text>
1910 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001911 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001912 <actions>
1913 <action function="set">tw_back=restore</action>
1914 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001915 <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 -04001916 <action function="set">tw_text1=Rename Backup?</action>
1917 <action function="set">tw_text2=This cannot be undone!</action>
1918 <action function="set">tw_action_text1=Renaming Backup...</action>
1919 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1920 <action function="set">tw_slider_text=Swipe to Rename</action>
1921 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1922 <action function="set">tw_existpage=renamebackup</action>
1923 <action function="set">tw_notexistpage=confirm_action</action>
1924 <action function="page">filecheck</action>
1925 </actions>
1926 </object>
1927
1928 <object type="text" color="%text_fail_color%">
1929 <condition var1="tw_fileexists" var2="1" />
1930 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1931 <font resource="font" />
1932 <text>A backup with that name already exists!</text>
1933 </object>
1934
1935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001937 <placement x="%col_center_x%" y="%row2_y%" />
1938 <font resource="font" color="%button_text_color%" />
1939 <text>Cancel</text>
1940 <image resource="main_button" />
1941 <action function="page">restore_select</action>
1942 </object>
1943
1944 <object type="template" name="keyboardtemplate" />
1945
1946 <object type="action">
1947 <touch key="home" />
1948 <action function="page">main</action>
1949 </object>
1950
1951 <object type="action">
1952 <touch key="back" />
1953 <action function="page">restore_select</action>
1954 </object>
1955
1956 <object type="template" name="footer" />
1957 </page>
1958
1959 <page name="restore_run">
1960 <object type="template" name="header" />
1961
1962 <object type="text" color="%text_color%">
1963 <font resource="font" />
1964 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1965 <text>%tw_operation% %tw_partition%</text>
1966 </object>
1967
1968 <object type="template" name="action_page_console" />
1969
1970 <object type="template" name="progress_bar" />
1971
1972 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001973 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001974 <actions>
1975 <action function="set">tw_back=restore_select</action>
1976 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001977 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001978 <action function="page">action_complete</action>
1979 </actions>
1980 </object>
1981
1982 <object type="action">
1983 <action function="nandroid">restore</action>
1984 </object>
1985 </page>
1986
1987 <page name="mount">
1988 <object type="template" name="header" />
1989
1990 <object type="text" color="%text_color%">
1991 <font resource="font" />
1992 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1993 <text>Mount Menu</text>
1994 </object>
1995
1996 <object type="button">
1997 <placement x="%col1_x%" y="%row1_text_y%" />
1998 <font resource="font" color="%text_color%" />
1999 <condition var1="mounted" op="!=" var2="/system" />
2000 <text>Mount System</text>
2001 <image resource="checkbox_false" />
2002 <action function="mount">/system</action>
2003 </object>
2004
2005 <object type="button">
2006 <placement x="%col1_x%" y="%row1_text_y%" />
2007 <font resource="font" color="%text_color%" />
2008 <condition var1="mounted" op="=" var2="/system" />
2009 <text>Unmount System</text>
2010 <image resource="checkbox_true" />
2011 <action function="umount">/system</action>
2012 </object>
2013
2014 <object type="button">
2015 <placement x="%col1_x%" y="%row2_text_y%" />
2016 <font resource="font" color="%text_color%" />
2017 <condition var1="mounted" op="!=" var2="/data" />
2018 <text>Mount Data</text>
2019 <image resource="checkbox_false" />
2020 <action function="mount">/data</action>
2021 </object>
2022
2023 <object type="button">
2024 <placement x="%col1_x%" y="%row2_text_y%" />
2025 <font resource="font" color="%text_color%" />
2026 <condition var1="mounted" op="=" var2="/data" />
2027 <text>Unmount Data</text>
2028 <image resource="checkbox_true" />
2029 <action function="umount">/data</action>
2030 </object>
2031
2032 <object type="button">
2033 <placement x="%col1_x%" y="%row3_text_y%" />
2034 <font resource="font" color="%text_color%" />
2035 <condition var1="mounted" op="!=" var2="/cache" />
2036 <text>Mount Cache</text>
2037 <image resource="checkbox_false" />
2038 <action function="mount">/cache</action>
2039 </object>
2040
2041 <object type="button">
2042 <placement x="%col1_x%" y="%row3_text_y%" />
2043 <font resource="font" color="%text_color%" />
2044 <condition var1="mounted" op="=" var2="/cache" />
2045 <text>Unmount Cache</text>
2046 <image resource="checkbox_true" />
2047 <action function="umount">/cache</action>
2048 </object>
2049
2050 <object type="button">
2051 <placement x="%col1_x%" y="%row4_text_y%" />
2052 <font resource="font" color="%text_color%" />
2053 <conditions>
2054 <condition var1="tw_has_external" var2="1" />
2055 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2056 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002057 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <image resource="checkbox_false" />
2059 <action function="mount">EXTERNAL</action>
2060 </object>
2061
2062 <object type="button">
2063 <placement x="%col1_x%" y="%row4_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <conditions>
2066 <condition var1="tw_has_external" var2="1" />
2067 <condition var1="mounted" op="=" var2="EXTERNAL" />
2068 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002069 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <image resource="checkbox_true" />
2071 <action function="umount">EXTERNAL</action>
2072 </object>
2073
2074 <object type="button">
2075 <placement x="%col2_x%" y="%row4_text_y%" />
2076 <font resource="font" color="%text_color%" />
2077 <conditions>
2078 <condition var1="tw_has_internal" var2="1" />
2079 <condition var1="tw_has_data_media" var2="0" />
2080 <condition var1="mounted" op="!=" var2="INTERNAL" />
2081 </conditions>
2082 <text>Mount Internal</text>
2083 <image resource="checkbox_false" />
2084 <action function="mount">INTERNAL</action>
2085 </object>
2086
2087 <object type="button">
2088 <placement x="%col2_x%" y="%row4_text_y%" />
2089 <font resource="font" color="%text_color%" />
2090 <conditions>
2091 <condition var1="tw_has_internal" var2="1" />
2092 <condition var1="tw_has_data_media" var2="0" />
2093 <condition var1="mounted" op="=" var2="INTERNAL" />
2094 </conditions>
2095 <text>Unmount Internal</text>
2096 <image resource="checkbox_true" />
2097 <action function="umount">INTERNAL</action>
2098 </object>
2099
2100 <object type="button">
2101 <conditions>
2102 <condition var1="tw_has_sdext_partition" var2="1" />
2103 <condition var1="mounted" op="!=" var2="/sd-ext" />
2104 </conditions>
2105 <placement x="%col1_x%" y="%row5_text_y%" />
2106 <font resource="font" color="%text_color%" />
2107 <text>Mount SD-Ext</text>
2108 <image resource="checkbox_false" />
2109 <action function="mount">/sd-ext</action>
2110 </object>
2111
2112 <object type="button">
2113 <placement x="%col1_x%" y="%row5_text_y%" />
2114 <font resource="font" color="%text_color%" />
2115 <condition var1="mounted" op="=" var2="/sd-ext" />
2116 <text>Unmount SD-Ext</text>
2117 <image resource="checkbox_true" />
2118 <action function="umount">/sd-ext</action>
2119 </object>
2120
2121 <object type="button">
2122 <conditions>
2123 <condition var1="tw_boot_is_mountable" var2="1" />
2124 <condition var1="mounted" op="!=" var2="/boot" />
2125 </conditions>
2126 <placement x="%col1_x%" y="%row6_text_y%" />
2127 <font resource="font" color="#A0A0A0" />
2128 <text>Mount Boot</text>
2129 <image resource="checkbox_false" />
2130 <action function="mount">/boot</action>
2131 </object>
2132
2133 <object type="button">
2134 <conditions>
2135 <condition var1="tw_boot_is_mountable" var2="1" />
2136 <condition var1="mounted" op="=" var2="/boot" />
2137 </conditions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002138 <placement x="%col1_x%" y="%row6_text_y%" />
2139 <font resource="font" color="#A0A0A0" />
2140 <text>Unmount Boot</text>
2141 <image resource="checkbox_true" />
2142 <action function="umount">/boot</action>
2143 </object>
2144
2145 <object type="button">
2146 <placement x="%col1_x%" y="%row8_text_y%" />
2147 <font resource="font" color="%text_color%" />
2148 <conditions>
2149 <condition var1="tw_has_dual_storage" var2="1" />
2150 <condition var1="tw_use_external_storage" var2="1" />
2151 </conditions>
2152 <text>Use external SD</text>
2153 <image resource="radio_true" />
2154 <action function="togglestorage">external</action>
2155 </object>
2156
2157 <object type="button">
2158 <placement x="%col1_x%" y="%row8_text_y%" />
2159 <font resource="font" color="%text_color%" />
2160 <conditions>
2161 <condition var1="tw_has_dual_storage" var2="1" />
2162 <condition var1="tw_use_external_storage" var2="0" />
2163 </conditions>
2164 <text>Use external SD</text>
2165 <image resource="radio_false" />
2166 <action function="togglestorage">external</action>
2167 </object>
2168
2169 <object type="button">
2170 <placement x="%col2_x%" y="%row8_text_y%" />
2171 <font resource="font" color="%text_color%" />
2172 <conditions>
2173 <condition var1="tw_has_dual_storage" var2="1" />
2174 <condition var1="tw_use_external_storage" var2="1" />
2175 </conditions>
2176 <text>Use internal storage</text>
2177 <image resource="radio_false" />
2178 <action function="togglestorage">internal</action>
2179 </object>
2180
2181 <object type="button">
2182 <placement x="%col2_x%" y="%row8_text_y%" />
2183 <font resource="font" color="%text_color%" />
2184 <conditions>
2185 <condition var1="tw_has_dual_storage" var2="1" />
2186 <condition var1="tw_use_external_storage" var2="0" />
2187 </conditions>
2188 <text>Use internal storage</text>
2189 <image resource="radio_true" />
2190 <action function="togglestorage">internal</action>
2191 </object>
2192
2193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002195 <condition var1="tw_has_usb_storage" var2="1" />
2196 <placement x="%col1_x%" y="row3_y" />
2197 <font resource="font" color="%button_text_color%" />
2198 <text>Mount USB Storage</text>
2199 <image resource="main_button" />
2200 <action function="page">usb_mount</action>
2201 </object>
2202
Gary Peckffdc6ae2012-11-21 18:02:02 -08002203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002204 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002205 <conditions>
2206 <condition var1="tw_is_encrypted" var2="1" />
2207 <condition var1="tw_is_decrypted" var2="0" />
2208 </conditions>
2209 <placement x="%col2_x%" y="row3_y" />
2210 <font resource="font" color="%button_text_color%" />
2211 <text>Decrypt Data</text>
2212 <image resource="main_button" />
2213 <action function="page">decrypt</action>
2214 </object>
2215
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <object type="action">
2217 <touch key="home" />
2218 <action function="page">main</action>
2219 </object>
2220
2221 <object type="action">
2222 <touch key="back" />
2223 <action function="page">main</action>
2224 </object>
2225
2226 <object type="template" name="footer" />
2227 </page>
2228
2229 <page name="usb_mount">
2230 <object type="template" name="header" />
2231
2232 <object type="text" color="%text_color%">
2233 <font resource="font" />
2234 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2235 <text>USB Storage Mounted</text>
2236 </object>
2237
2238 <object type="text" color="%text_color%">
2239 <placement x="%col1_x%" y="%row1_text_y%" />
2240 <font resource="font" />
2241 <text>Be sure to safely remove your device</text>
2242 </object>
2243
2244 <object type="text" color="%text_color%">
2245 <placement x="%col1_x%" y="%row2_text_y%" />
2246 <font resource="font" />
2247 <text>from your computer before unmounting!</text>
2248 </object>
2249
2250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002252 <placement x="%col1_x%" y="%row3_y%" />
2253 <font resource="font" color="%button_text_color%" />
2254 <text>Unmount</text>
2255 <image resource="main_button" />
2256 <action function="page">usb_umount</action>
2257 </object>
2258
2259 <object type="action">
2260 <action function="mount">usb</action>
2261 </object>
2262
2263 <object type="template" name="footer" />
2264 </page>
2265
2266 <page name="usb_umount">
2267 <object type="action">
2268 <action function="unmount">usb</action>
2269 </object>
2270
2271 <object type="action">
2272 <action function="page">mount</action>
2273 </object>
2274 </page>
2275
2276 <page name="reboot">
2277 <object type="template" name="header" />
2278
2279 <object type="text" color="%text_color%">
2280 <font resource="font" />
2281 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2282 <text>Reboot Menu</text>
2283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002287 <condition var1="tw_reboot_system" var2="1" />
2288 <placement x="%col1_x%" y="%row1_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>System</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=system</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <condition var1="tw_reboot_poweroff" var2="1" />
2309 <placement x="%col2_x%" y="%row1_y%" />
2310 <font resource="font" color="%button_text_color%" />
2311 <text>Power Off</text>
2312 <image resource="main_button" />
2313 <actions>
2314 <action function="set">tw_back=reboot</action>
2315 <action function="set">tw_action=reboot</action>
2316 <action function="set">tw_action_param=poweroff</action>
2317 <action function="set">tw_has_action2=0</action>
2318 <action function="set">tw_text1=No OS Installed! Are you</action>
2319 <action function="set">tw_text2=sure you wish to power off?</action>
2320 <action function="set">tw_action_text1=Turning Off...</action>
2321 <action function="set">tw_complete_text1=Turning Off...</action>
2322 <action function="set">tw_slider_text=Swipe to Power Off</action>
2323 <action function="page">rebootcheck</action>
2324 </actions>
2325 </object>
2326
2327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002329 <condition var1="tw_reboot_recovery" var2="1" />
2330 <placement x="%col1_x%" y="%row2_y%" />
2331 <font resource="font" color="%button_text_color%" />
2332 <text>Recovery</text>
2333 <image resource="main_button" />
2334 <actions>
2335 <action function="set">tw_back=reboot</action>
2336 <action function="set">tw_action=reboot</action>
2337 <action function="set">tw_action_param=recovery</action>
2338 <action function="set">tw_has_action2=0</action>
2339 <action function="set">tw_text1=No OS Installed! Are you</action>
2340 <action function="set">tw_text2=sure you wish to reboot?</action>
2341 <action function="set">tw_action_text1=Rebooting...</action>
2342 <action function="set">tw_complete_text1=Rebooting...</action>
2343 <action function="set">tw_slider_text=Swipe to Reboot</action>
2344 <action function="page">rebootcheck</action>
2345 </actions>
2346 </object>
2347
2348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002350 <condition var1="tw_reboot_bootloader" var2="1" />
2351 <placement x="%col2_x%" y="%row2_y%" />
2352 <font resource="font" color="%button_text_color%" />
2353 <text>Bootloader</text>
2354 <image resource="main_button" />
2355 <actions>
2356 <action function="set">tw_back=reboot</action>
2357 <action function="set">tw_action=reboot</action>
2358 <action function="set">tw_action_param=bootloader</action>
2359 <action function="set">tw_has_action2=0</action>
2360 <action function="set">tw_text1=No OS Installed! Are you</action>
2361 <action function="set">tw_text2=sure you wish to reboot?</action>
2362 <action function="set">tw_action_text1=Rebooting...</action>
2363 <action function="set">tw_complete_text1=Rebooting...</action>
2364 <action function="set">tw_slider_text=Swipe to Reboot</action>
2365 <action function="page">rebootcheck</action>
2366 </actions>
2367 </object>
2368
2369 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002370 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002371 <condition var1="tw_download_mode" var2="1" />
2372 <placement x="%col1_x%" y="%row3_y%" />
2373 <font resource="font" color="%button_text_color%" />
2374 <text>Download</text>
2375 <image resource="main_button" />
2376 <actions>
2377 <action function="set">tw_back=reboot</action>
2378 <action function="set">tw_action=reboot</action>
2379 <action function="set">tw_action_param=download</action>
2380 <action function="set">tw_has_action2=0</action>
2381 <action function="set">tw_text1=No OS Installed! Are you</action>
2382 <action function="set">tw_text2=sure you wish to reboot?</action>
2383 <action function="set">tw_action_text1=Rebooting...</action>
2384 <action function="set">tw_complete_text1=Rebooting...</action>
2385 <action function="set">tw_slider_text=Swipe to Reboot</action>
2386 <action function="page">rebootcheck</action>
2387 </actions>
2388 </object>
2389
2390 <object type="action">
2391 <touch key="home" />
2392 <action function="page">main</action>
2393 </object>
2394
2395 <object type="action">
2396 <touch key="back" />
2397 <action function="page">main</action>
2398 </object>
2399
2400 <object type="template" name="footer" />
2401 </page>
2402
2403 <page name="settings">
2404 <object type="template" name="header" />
2405
2406 <object type="text" color="%text_color%">
2407 <font resource="font" />
2408 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2409 <text>Settings</text>
2410 </object>
2411
2412 <object type="checkbox">
2413 <placement x="%col1_x%" y="%row1_text_y%" />
2414 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002415 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <data variable="tw_signed_zip_verify" />
2417 <image checked="checkbox_true" unchecked="checkbox_false" />
2418 </object>
2419
2420 <object type="checkbox">
2421 <placement x="%col1_x%" y="%row2_text_y%" />
2422 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002423 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <data variable="tw_rm_rf" />
2425 <image checked="checkbox_true" unchecked="checkbox_false" />
2426 </object>
2427
2428 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002429 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002431 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002432 <data variable="tw_skip_md5_generate" />
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="%row4_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>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002440 <data variable="tw_skip_md5_check" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002446 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002447 <text>Use Military Time.</text>
2448 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002449 <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="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002454 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002455 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <data variable="tw_simulate_actions" />
2457 <image checked="checkbox_true" unchecked="checkbox_false" />
2458 </object>
2459
2460 <object type="checkbox">
2461 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002462 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002464 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <data variable="tw_simulate_fail" />
2466 <image checked="checkbox_true" unchecked="checkbox_false" />
2467 </object>
2468
2469 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002470 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002471 <placement x="%col1_x%" y="%row3_y%" />
2472 <font resource="font" color="%button_text_color%" />
2473 <text>Time Zone</text>
2474 <image resource="main_button" />
2475 <action function="page">timezone</action>
2476 </object>
2477
2478 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002479 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002480 <placement x="%col2_x%" y="%row3_y%" />
2481 <font resource="font" color="%button_text_color%" />
2482 <text>Screen</text>
2483 <image resource="main_button" />
2484 <action function="page">screen</action>
2485 </object>
2486
2487 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <placement x="%col_center_x%" y="%row4_y%" />
2489 <font resource="font" color="%button_text_color%" />
2490 <text>Restore Defaults</text>
2491 <image resource="main_button" />
2492 <action function="restoredefaultsettings"></action>
2493 </object>
2494
2495 <object type="action">
2496 <touch key="home" />
2497 <action function="page">main</action>
2498 </object>
2499
2500 <object type="action">
2501 <touch key="back" />
2502 <action function="page">main</action>
2503 </object>
2504
2505 <object type="template" name="footer" />
2506 </page>
2507
2508 <page name="timezone">
2509 <object type="template" name="header" />
2510
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002512 <highlight color="%fileselector_highlight_color%" />
2513 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2514 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2515 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002517 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002518 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002519 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002520 <data name="tw_time_zone_guisel" />
2521 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2522 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2523 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2524 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2525 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2526 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2527 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2528 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2529 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2530 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2531 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2532 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2533 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2534 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2535 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2536 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2537 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2538 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2539 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2540 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2541 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2542 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2543 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2544 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2545 </object>
2546
2547 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002548 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <font resource="font" color="%text_color%" />
2550 <text>Do you use daylight savings time (DST)?</text>
2551 <data variable="tw_time_zone_guidst" />
2552 <image checked="checkbox_true" unchecked="checkbox_false" />
2553 </object>
2554
2555 <object type="text" color="%text_color%">
2556 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002557 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2559 </object>
2560
2561 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002562 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002563 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002564 <font resource="font" color="%button_text_color%" />
2565 <text>None</text>
2566 <image resource="medium_button" />
2567 <action function="set">tw_time_zone_guioffset=0</action>
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="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002573 <font resource="font" color="%button_text_color%" />
2574 <text>15</text>
2575 <image resource="medium_button" />
2576 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002582 <font resource="font" color="%button_text_color%" />
2583 <text>30</text>
2584 <image resource="medium_button" />
2585 <action function="set">tw_time_zone_guioffset=30</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="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002591 <font resource="font" color="%button_text_color%" />
2592 <text>45</text>
2593 <image resource="medium_button" />
2594 <action function="set">tw_time_zone_guioffset=45</action>
2595 </object>
2596
2597 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002598 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002599 <placement x="%col_center_x%" y="%tz_set_y%" />
2600 <font resource="font" color="%button_text_color%" />
2601 <text>Set Time Zone</text>
2602 <image resource="main_button" />
2603 <action function="setguitimezone"></action>
2604 </object>
2605
2606 <object type="text" color="%text_color%">
2607 <font resource="font" />
2608 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2609 <text>Current Time Zone: %tw_time_zone%</text>
2610 </object>
2611
2612 <object type="action">
2613 <touch key="home" />
2614 <action function="page">main</action>
2615 </object>
2616
2617 <object type="action">
2618 <touch key="back" />
2619 <action function="page">settings</action>
2620 </object>
2621
2622 <object type="template" name="footer" />
2623 </page>
2624
Dees_Troy2f9117a2013-02-17 19:52:09 -06002625 <page name="screen">
2626 <object type="template" name="header" />
2627
2628 <object type="text" color="%text_color%">
2629 <font resource="font" />
2630 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2631 <text>Screen Settings</text>
2632 </object>
2633
2634 <object type="text" color="%text_color%">
2635 <font resource="font" />
2636 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2637 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2638 </object>
2639
2640 <object type="button">
2641 <placement x="%col1_medium_x%" y="%row2_y%" />
2642 <font resource="font" color="%button_text_color%" />
2643 <text>None</text>
2644 <image resource="medium_button" />
2645 <action function="set">tw_screen_timeout_secs=0</action>
2646 </object>
2647
2648 <object type="button">
2649 <placement x="%col2_medium_x%" y="%row2_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>60</text>
2652 <image resource="medium_button" />
2653 <action function="set">tw_screen_timeout_secs=60</action>
2654 </object>
2655
2656 <object type="button">
2657 <placement x="%col3_medium_x%" y="%row2_y%" />
2658 <font resource="font" color="%button_text_color%" />
2659 <text>120</text>
2660 <image resource="medium_button" />
2661 <action function="set">tw_screen_timeout_secs=120</action>
2662 </object>
2663
2664 <object type="button">
2665 <placement x="%col4_medium_x%" y="%row2_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>180</text>
2668 <image resource="medium_button" />
2669 <action function="set">tw_screen_timeout_secs=180</action>
2670 </object>
2671
2672 <object type="text" color="%text_color%">
2673 <condition var1="tw_has_brightnesss_file" var2="1" />
2674 <font resource="font" />
2675 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2676 <text>Brightness: %tw_brightness_display%</text>
2677 </object>
2678
2679 <object type="button">
2680 <condition var1="tw_has_brightnesss_file" var2="1" />
2681 <placement x="%col1_medium_x%" y="%row4_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>25%</text>
2684 <image resource="medium_button" />
2685 <actions>
2686 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2687 <action function="set">tw_brightness_display=25%</action>
2688 <action function="set">tw_brightness=%tw_brightness_25%</action>
2689 </actions>
2690 </object>
2691
2692 <object type="button">
2693 <condition var1="tw_has_brightnesss_file" var2="1" />
2694 <placement x="%col2_medium_x%" y="%row4_y%" />
2695 <font resource="font" color="%button_text_color%" />
2696 <text>50%</text>
2697 <image resource="medium_button" />
2698 <actions>
2699 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2700 <action function="set">tw_brightness_display=50%</action>
2701 <action function="set">tw_brightness=%tw_brightness_50%</action>
2702 </actions>
2703 </object>
2704
2705 <object type="button">
2706 <condition var1="tw_has_brightnesss_file" var2="1" />
2707 <placement x="%col3_medium_x%" y="%row4_y%" />
2708 <font resource="font" color="%button_text_color%" />
2709 <text>75%</text>
2710 <image resource="medium_button" />
2711 <actions>
2712 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2713 <action function="set">tw_brightness_display=75%</action>
2714 <action function="set">tw_brightness=%tw_brightness_75%</action>
2715 </actions>
2716 </object>
2717
2718 <object type="button">
2719 <condition var1="tw_has_brightnesss_file" var2="1" />
2720 <placement x="%col4_medium_x%" y="%row4_y%" />
2721 <font resource="font" color="%button_text_color%" />
2722 <text>100%</text>
2723 <image resource="medium_button" />
2724 <actions>
2725 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2726 <action function="set">tw_brightness_display=100%</action>
2727 <action function="set">tw_brightness=%tw_brightness_100%</action>
2728 </actions>
2729 </object>
2730
2731 <object type="action">
2732 <touch key="home" />
2733 <action function="page">main</action>
2734 </object>
2735
2736 <object type="action">
2737 <touch key="back" />
2738 <action function="page">settings</action>
2739 </object>
2740
2741 <object type="template" name="footer" />
2742 </page>
2743
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <page name="advanced">
2745 <object type="template" name="header" />
2746
2747 <object type="text" color="%text_color%">
2748 <font resource="font" />
2749 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2750 <text>Advanced</text>
2751 </object>
2752
2753 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002754 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <placement x="%col1_x%" y="%row1_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>Copy Log to SD</text>
2758 <image resource="main_button" />
2759 <actions>
2760 <action function="set">tw_back=advanced</action>
2761 <action function="set">tw_action=copylog</action>
2762 <action function="set">tw_text1=Copy Log to SD Card?</action>
2763 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2764 <action function="set">tw_complete_text1=Log Copy Complete</action>
2765 <action function="set">tw_slider_text=Swipe to Confirm</action>
2766 <action function="page">confirm_action</action>
2767 </actions>
2768 </object>
2769
2770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002771 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <placement x="%col2_x%" y="%row1_y%" />
2773 <font resource="font" color="%button_text_color%" />
2774 <text>Fix Permissions</text>
2775 <image resource="main_button" />
2776 <actions>
2777 <action function="set">tw_back=advanced</action>
2778 <action function="set">tw_action=fixpermissions</action>
2779 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2782 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002783 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <action function="page">confirm_action</action>
2785 </actions>
2786 </object>
2787
2788 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002789 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002790 <condition var1="tw_allow_partition_sdcard" var2="1" />
2791 <placement x="%col1_x%" y="%row2_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>Partition SD Card</text>
2794 <image resource="main_button" />
2795 <action function="page">partsdcard</action>
2796 </object>
2797
2798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002799 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002800 <placement x="%col2_x%" y="%row2_y%" />
2801 <font resource="font" color="%button_text_color%" />
2802 <text>File Manager</text>
2803 <image resource="main_button" />
2804 <action function="page">filemanagerlist</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="%col1_x%" y="%row3_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text>Terminal Command</text>
2812 <image resource="main_button" />
2813 <action function="page">terminalfolder</action>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04002818 <placement x="%col2_x%" y="%row3_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>Reload Theme</text>
2821 <image resource="main_button" />
2822 <action function="reload"></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="%col1_x%" y="%row4_y%" />
2828 <font resource="font" color="%button_text_color%" />
2829 <text>ADB Sideload</text>
2830 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002831 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04002832 </object>
2833
2834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002835 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002836 <condition var1="tw_show_dumlock" var2="1" />
2837 <placement x="%col2_x%" y="%row4_y%" />
2838 <font resource="font" color="%button_text_color%" />
2839 <text>HTC Dumlock</text>
2840 <image resource="main_button" />
2841 <action function="page">htcdumlock</action>
2842 </object>
2843
2844 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002845 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002846 <condition var1="tw_has_injecttwrp" var2="1" />
2847 <placement x="%col2_x%" y="%row4_y%" />
2848 <font resource="font" color="%button_text_color%" />
2849 <text>Re-Inject TWRP</text>
2850 <image resource="main_button" />
2851 <actions>
2852 <action function="set">tw_back=advanced</action>
2853 <action function="set">tw_action=reinjecttwrp</action>
2854 <action function="set">tw_text1=Re-Inject TWRP?</action>
2855 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2856 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2857 <action function="set">tw_slider_text=Swipe to Confirm</action>
2858 <action function="page">confirm_action</action>
2859 </actions>
2860 </object>
2861
2862 <object type="action">
2863 <touch key="home" />
2864 <action function="page">main</action>
2865 </object>
2866
2867 <object type="action">
2868 <touch key="back" />
2869 <action function="page">main</action>
2870 </object>
2871
2872 <object type="template" name="footer" />
2873 </page>
2874
2875 <page name="partsdcard">
2876 <object type="template" name="header" />
2877
2878 <object type="text" color="%text_color%">
2879 <font resource="font" />
2880 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2881 <text>Partition SD Card</text>
2882 </object>
2883
2884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002885 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <placement x="%col1_x%" y="%row1_y%" />
2887 <font resource="font" color="%button_text_color%" />
2888 <text></text>
2889 <image resource="minus_button" />
2890 <action function="addsubtract">tw_sdext_size-128</action>
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="%sd_plus_x%" y="%row1_y%" />
2896 <font resource="font" color="%button_text_color%" />
2897 <text></text>
2898 <image resource="plus_button" />
2899 <action function="addsubtract">tw_sdext_size+128</action>
2900 </object>
2901
2902 <object type="text" color="%text_color%">
2903 <font resource="font" />
2904 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2905 <text>EXT Size: %tw_sdext_size%</text>
2906 </object>
2907
2908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002909 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002910 <placement x="%col1_x%" y="%sdswap_button_y%" />
2911 <font resource="font" color="%button_text_color%" />
2912 <text></text>
2913 <image resource="minus_button" />
2914 <action function="addsubtract">tw_swap_size-32</action>
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="%sd_plus_x%" y="%sdswap_button_y%" />
2920 <font resource="font" color="%button_text_color%" />
2921 <text></text>
2922 <image resource="plus_button" />
2923 <action function="addsubtract">tw_swap_size+32</action>
2924 </object>
2925
2926 <object type="text" color="%text_color%">
2927 <font resource="font" />
2928 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2929 <text>Swap Size: %tw_swap_size%</text>
2930 </object>
2931
2932 <object type="text" color="%text_color%">
2933 <font resource="font" />
2934 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2935 <text>File system: %tw_sdpart_file_system%</text>
2936 </object>
2937
2938 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002939 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002940 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2941 <font resource="font" color="%button_text_color%" />
2942 <text>EXT3</text>
2943 <image resource="main_button" />
2944 <action function="set">tw_sdpart_file_system=ext3</action>
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 <condition var1="tw_sdext_disable_ext4" var2="0" />
2950 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2951 <font resource="font" color="%button_text_color%" />
2952 <text>EXT4</text>
2953 <image resource="main_button" />
2954 <action function="set">tw_sdpart_file_system=ext4</action>
2955 </object>
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%col1_x%" y="%row12_text_y%" />
2960 <text>You will lose all files on your SD card!</text>
2961 </object>
2962
2963 <object type="text" color="%text_color%">
2964 <font resource="font" />
2965 <placement x="%col1_x%" y="%row13_text_y%" />
2966 <text>This action cannot be undone!</text>
2967 </object>
2968
2969 <object type="slider">
2970 <placement x="%slider_x%" y="%slider_y%" />
2971 <resource base="slider" used="slider-used" touch="slider-touch" />
2972 <action function="page">partsdcardaction</action>
2973 <actions>
2974 <action function="set">tw_back=partsdcard</action>
2975 <action function="set">tw_action=partitionsd</action>
2976 <action function="set">tw_has_action2=1</action>
2977 <action function="set">tw_action2=set</action>
2978 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2979 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2980 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002981 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002982 <action function="page">action_page</action>
2983 </actions>
2984 </object>
2985
2986 <object type="text" color="%text_color%">
2987 <font resource="font" />
2988 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2989 <text>Swipe to Partition</text>
2990 </object>
2991
2992 <object type="action">
2993 <touch key="home" />
2994 <action function="page">main</action>
2995 </object>
2996
2997 <object type="action">
2998 <touch key="back" />
2999 <action function="page">advanced</action>
3000 </object>
3001
3002 <object type="template" name="footer" />
3003 </page>
3004
3005 <page name="htcdumlock">
3006 <object type="template" name="header" />
3007
3008 <object type="text" color="%text_color%">
3009 <font resource="font" />
3010 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3011 <text>HTC Dumlock</text>
3012 </object>
3013
3014 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003015 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003016 <condition var1="tw_show_dumlock" var2="1" />
3017 <placement x="%col1_x%" y="%row1_y%" />
3018 <font resource="font" color="%button_text_color%" />
3019 <text>Restore Original Boot</text>
3020 <image resource="main_button" />
3021 <actions>
3022 <action function="set">tw_back=htcdumlock</action>
3023 <action function="set">tw_action=htcdumlockrestoreboot</action>
3024 <action function="set">tw_text1=Restore original boot image?</action>
3025 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3026 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3027 <action function="set">tw_slider_text=Swipe to Confirm</action>
3028 <action function="page">confirm_action</action>
3029 </actions>
3030 </object>
3031
3032 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003033 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003034 <condition var1="tw_show_dumlock" var2="1" />
3035 <placement x="%col2_x%" y="%row1_y%" />
3036 <font resource="font" color="%button_text_color%" />
3037 <text>Reflash Recovery</text>
3038 <image resource="main_button" />
3039 <actions>
3040 <action function="set">tw_back=htcdumlock</action>
3041 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3042 <action function="set">tw_text1=Reflash recovery to boot?</action>
3043 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3044 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3045 <action function="set">tw_slider_text=Swipe to Confirm</action>
3046 <action function="page">confirm_action</action>
3047 </actions>
3048 </object>
3049
3050 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003051 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003052 <condition var1="tw_show_dumlock" var2="1" />
3053 <placement x="%col1_x%" y="%row2_y%" />
3054 <font resource="font" color="%button_text_color%" />
3055 <text>Install HTC Dumlock</text>
3056 <image resource="main_button" />
3057 <actions>
3058 <action function="set">tw_back=htcdumlock</action>
3059 <action function="set">tw_action=installhtcdumlock</action>
3060 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3061 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3062 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3063 <action function="set">tw_slider_text=Swipe to Confirm</action>
3064 <action function="page">confirm_action</action>
3065 </actions>
3066 </object>
3067
3068 <object type="action">
3069 <touch key="home" />
3070 <action function="page">main</action>
3071 </object>
3072
3073 <object type="action">
3074 <touch key="back" />
3075 <action function="page">advanced</action>
3076 </object>
3077
3078 <object type="template" name="footer" />
3079 </page>
3080
3081 <page name="lock">
3082 <background color="#000000A0" />
3083
3084 <object type="image">
3085 <image resource="unlock-icon" />
3086 <placement x="%lock_x%" y="%lock_y%" />
3087 </object>
3088
3089 <object type="slider">
3090 <placement x="%slider_x%" y="%slider_y%" />
3091 <resource base="slider" used="slider-used" touch="slider-touch" />
3092 <action function="overlay"></action>
3093 </object>
3094
3095 <object type="text" color="%text_color%">
3096 <font resource="font" />
3097 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3098 <text>Swipe to Unlock</text>
3099 </object>
3100 </page>
3101
3102 <page name="filemanagerlist">
3103 <object type="template" name="header" />
3104
3105 <object type="text" color="%text_color%">
3106 <font resource="font" />
3107 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3108 <text>File Manager: Select a File or Folder</text>
3109 </object>
3110
3111 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003112 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3114 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3115 <text>%tw_file_location1%</text>
3116 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3117 <sort name="tw_gui_sort_order" />
3118 <icon folder="folder_icon" file="file_icon" />
3119 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003120 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003121 <folders="1" files="1" />
3122 <path name="tw_file_location1" default="/" />
3123 <data name="tw_filename1" />
3124 <selection name="tw_selection1" />
3125 </object>
3126
3127 <object type="template" name="sort_options" />
3128
3129 <object type="action">
3130 <actions>
3131 <action function="set">tw_fm_type=File</action>
3132 <action function="set">tw_fm_isfolder=0</action>
3133 </actions>
3134 </object>
3135
3136 <object type="action">
3137 <touch key="home" />
3138 <action function="page">main</action>
3139 </object>
3140
3141 <object type="action">
3142 <touch key="back" />
3143 <action function="page">advanced</action>
3144 </object>
3145
3146 <object type="action">
3147 <condition var1="tw_filename1" op="modified" />
3148 <actions>
3149 <action function="page">filemanageroptions</action>
3150 </actions>
3151 </object>
3152
3153 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003154 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003155 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Select</text>
3158 <image resource="medium_button" />
3159 <actions>
3160 <action function="set">tw_filename1=tw_file_location1</action>
3161 <action function="set">tw_fm_isfolder=1</action>
3162 <action function="set">tw_fm_type=Folder</action>
3163 <action function="page">filemanageroptions</action>
3164 </actions>
3165 </object>
3166
3167 <object type="template" name="footer" />
3168 </page>
3169
3170 <page name="filemanageroptions">
3171 <object type="template" name="header" />
3172
3173 <object type="text" color="%text_color%">
3174 <font resource="font" />
3175 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3176 <text>%tw_fm_type% Selected:</text>
3177 </object>
3178
3179 <object type="text" color="%text_color%">
3180 <font resource="font" />
3181 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3182 <text>%tw_filename1%</text>
3183 </object>
3184
3185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <condition var1="tw_fm_isfolder" var2="0" />
3188 <placement x="%col1_x%" y="%row2_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text>Copy File</text>
3191 <image resource="main_button" />
3192 <actions>
3193 <action function="set">tw_filemanager_command=cp</action>
3194 <action function="set">tw_fm_text1=Copying</action>
3195 <action function="page">choosedestinationfolder</action>
3196 </actions>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <condition var1="tw_fm_isfolder" var2="1" />
3202 <placement x="%col1_x%" y="%row2_y%" />
3203 <font resource="font" color="%button_text_color%" />
3204 <text>Copy Folder</text>
3205 <image resource="main_button" />
3206 <actions>
3207 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3208 <action function="set">tw_fm_text1=Copying</action>
3209 <action function="page">choosedestinationfolder</action>
3210 </actions>
3211 </object>
3212
3213 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003214 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003215 <placement x="%col2_x%" y="%row2_y%" />
3216 <font resource="font" color="%button_text_color%" />
3217 <text>Move</text>
3218 <image resource="main_button" />
3219 <actions>
3220 <action function="set">tw_filemanager_command=mv</action>
3221 <action function="set">tw_fm_text1=Moving</action>
3222 <action function="page">choosedestinationfolder</action>
3223 </actions>
3224 </object>
3225
3226 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003227 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003228 <placement x="%col1_x%" y="%row3_y%" />
3229 <font resource="font" color="%button_text_color%" />
3230 <text>chmod 755</text>
3231 <image resource="main_button" />
3232 <actions>
3233 <action function="set">tw_filemanager_command=chmod 755</action>
3234 <action function="set">tw_fm_text1=chmod 755</action>
3235 <action function="set">tw_fm_text2=</action>
3236 <action function="set">tw_fm_text3=</action>
3237 <action function="set">tw_include_text3=0</action>
3238 <action function="set">tw_back=filemanageroptions</action>
3239 <action function="page">filemanagerconfirm</action>
3240 </actions>
3241 </object>
3242
3243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003245 <placement x="%col2_x%" y="%row3_y%" />
3246 <font resource="font" color="%button_text_color%" />
3247 <text>chmod</text>
3248 <image resource="main_button" />
3249 <actions>
3250 <action function="set">tw_filemanager_rename=0000</action>
3251 <action function="set">tw_fm_text2=</action>
3252 <action function="set">tw_fm_text3=</action>
3253 <action function="set">tw_include_text3=0</action>
3254 <action function="set">tw_back=filemanageroptions</action>
3255 <action function="page">filemanagerchmod</action>
3256 </actions>
3257 </object>
3258
3259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003261 <placement x="%col1_x%" y="%row4_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text>Delete</text>
3264 <image resource="main_button" />
3265 <actions>
3266 <action function="set">tw_filemanager_command=rm -rf</action>
3267 <action function="set">tw_fm_text1=Deleting</action>
3268 <action function="set">tw_fm_text2=</action>
3269 <action function="set">tw_fm_text3=</action>
3270 <action function="set">tw_include_text3=0</action>
3271 <action function="set">tw_back=filemanageroptions</action>
3272 <action function="page">filemanagerconfirm</action>
3273 </actions>
3274 </object>
3275
3276 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003277 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003278 <condition var1="tw_fm_isfolder" var2="0" />
3279 <placement x="%col2_x%" y="%row4_y%" />
3280 <font resource="font" color="%button_text_color%" />
3281 <text>Rename File</text>
3282 <image resource="main_button" />
3283 <actions>
3284 <action function="set">tw_filemanager_rename=tw_selection1</action>
3285 <action function="set">tw_fm_text1=Renaming</action>
3286 <action function="set">tw_filemanager_command=mv</action>
3287 <action function="page">filemanagerrenamefile</action>
3288 </actions>
3289 </object>
3290
3291 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003292 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003293 <condition var1="tw_fm_isfolder" var2="1" />
3294 <placement x="%col2_x%" y="%row4_y%" />
3295 <font resource="font" color="%button_text_color%" />
3296 <text>Rename Folder</text>
3297 <image resource="main_button" />
3298 <actions>
3299 <action function="set">tw_filemanager_rename=tw_selection1</action>
3300 <action function="set">tw_fm_text1=Renaming</action>
3301 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3302 <action function="page">filemanagerrenamefolder</action>
3303 </actions>
3304 </object>
3305
3306 <object type="action">
3307 <touch key="home" />
3308 <action function="page">main</action>
3309 </object>
3310
3311 <object type="action">
3312 <touch key="back" />
3313 <action function="page">filemanagerlist</action>
3314 </object>
3315
3316 <object type="template" name="footer" />
3317 </page>
3318
3319 <page name="choosedestinationfolder">
3320 <object type="template" name="header" />
3321
3322 <object type="text" color="%text_color%">
3323 <font resource="font" />
3324 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3325 <text>Browse to Destination Folder & Press Select</text>
3326 </object>
3327
3328 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003329 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003330 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3331 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3332 <text>%tw_file_location2%</text>
3333 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3334 <sort name="tw_gui_sort_order" />
3335 <icon folder="folder_icon" file="file_icon" />
3336 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003337 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <filter folders="1" files="0" />
3339 <path name="tw_file_location2" default="/" />
3340 <data name="tw_filename2" />
3341 <selection name="tw_selection2" />
3342 </object>
3343
3344 <object type="template" name="sort_options" />
3345
3346 <object type="action">
3347 <touch key="home" />
3348 <action function="page">main</action>
3349 </object>
3350
3351 <object type="action">
3352 <touch key="back" />
3353 <action function="page">filemanageroptions</action>
3354 </object>
3355
3356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003358 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3359 <font resource="font" color="%button_text_color%" />
3360 <text>Select</text>
3361 <image resource="medium_button" />
3362 <actions>
3363 <action function="set">tw_fm_text2=to</action>
3364 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3365 <action function="set">tw_include_text3=1</action>
3366 <action function="set">tw_back=filemanageroptions</action>
3367 <action function="page">filemanagerconfirm</action>
3368 </actions>
3369 </object>
3370
3371 <object type="template" name="footer" />
3372 </page>
3373
3374 <page name="filemanagerrenamefile">
3375 <object type="template" name="header" />
3376
3377 <object type="text" color="%text_color%">
3378 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3379 <font resource="font" />
3380 <text>Please Enter a New %tw_fm_type% Name</text>
3381 </object>
3382
3383 <object type="input">
3384 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3385 <background color="%input_background_color%" />
3386 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3387 <font resource="font" color="%text_color%" />
3388 <text>%tw_filemanager_rename%</text>
3389 <data name="tw_filemanager_rename" />
3390 <restrict minlen="1" maxlen="128" />
3391 <actions>
3392 <action function="set">tw_fm_text2=to</action>
3393 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3394 <action function="set">tw_include_text3=1</action>
3395 <action function="set">tw_back=filemanageroptions</action>
3396 <action function="page">filemanagerconfirm</action>
3397 </actions>
3398 </object>
3399
3400 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003401 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003402 <placement x="%col_center_x%" y="%row2_y%" />
3403 <font resource="font" color="%button_text_color%" />
3404 <text>Cancel</text>
3405 <image resource="main_button" />
3406 <action function="page">filemanageroptions</action>
3407 </object>
3408
3409 <object type="template" name="keyboardtemplate" />
3410
3411 <object type="action">
3412 <touch key="home" />
3413 <action function="page">main</action>
3414 </object>
3415
3416 <object type="action">
3417 <touch key="back" />
3418 <action function="page">filemanageroptions</action>
3419 </object>
3420
3421 <object type="template" name="footer" />
3422 </page>
3423
3424 <page name="filemanagerrenamefolder">
3425 <object type="template" name="header" />
3426
3427 <object type="text" color="%text_color%">
3428 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3429 <font resource="font" />
3430 <text>Please Enter a New %tw_fm_type% Name</text>
3431 </object>
3432
3433 <object type="input">
3434 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3435 <background color="%input_background_color%" />
3436 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3437 <font resource="font" color="%text_color%" />
3438 <text>%tw_filemanager_rename%</text>
3439 <data name="tw_filemanager_rename" />
3440 <restrict minlen="1" maxlen="128" />
3441 <actions>
3442 <action function="set">tw_fm_text2=to</action>
3443 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3444 <action function="set">tw_include_text3=1</action>
3445 <action function="set">tw_back=filemanageroptions</action>
3446 <action function="page">filemanagerconfirm</action>
3447 </actions>
3448 </object>
3449
3450 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003451 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003452 <placement x="%col_center_x%" y="%row2_y%" />
3453 <font resource="font" color="%button_text_color%" />
3454 <text>Cancel</text>
3455 <image resource="main_button" />
3456 <action function="page">filemanageroptions</action>
3457 </object>
3458
3459 <object type="template" name="keyboardtemplate" />
3460
3461 <object type="action">
3462 <touch key="home" />
3463 <action function="page">main</action>
3464 </object>
3465
3466 <object type="action">
3467 <touch key="back" />
3468 <action function="page">filemanageroptions</action>
3469 </object>
3470
3471 <object type="template" name="footer" />
3472 </page>
3473
3474 <page name="filemanagerchmod">
3475 <object type="template" name="header" />
3476
3477 <object type="text" color="%text_color%">
3478 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3479 <font resource="font" />
3480 <text>Please Enter New Permissions</text>
3481 </object>
3482
3483 <object type="input">
3484 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3485 <background color="%input_background_color%" />
3486 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3487 <font resource="font" color="%text_color%" />
3488 <text>%tw_filemanager_rename%</text>
3489 <data name="tw_filemanager_rename" />
3490 <restrict minlen="3" maxlen="4" allow="0123456789" />
3491 <actions>
3492 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3493 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3494 <action function="set">tw_back=filemanageroptions</action>
3495 <action function="page">filemanagerconfirm</action>
3496 </actions>
3497 </object>
3498
3499 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003500 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003501 <placement x="%col_center_x%" y="%row2_y%" />
3502 <font resource="font" color="%button_text_color%" />
3503 <text>Cancel</text>
3504 <image resource="main_button" />
3505 <action function="page">filemanageroptions</action>
3506 </object>
3507
3508 <object type="template" name="keyboardtemplate" />
3509
3510 <object type="action">
3511 <touch key="home" />
3512 <action function="page">main</action>
3513 </object>
3514
3515 <object type="action">
3516 <touch key="back" />
3517 <action function="page">filemanageroptions</action>
3518 </object>
3519
3520 <object type="template" name="footer" />
3521 </page>
3522
3523 <page name="filemanagerconfirm">
3524 <object type="template" name="header" />
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3529 <text>%tw_fm_text1%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3535 <text>%tw_filename1%</text>
3536 </object>
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3541 <text>%tw_fm_text2%</text>
3542 </object>
3543
3544 <object type="text" color="%text_color%">
3545 <font resource="font" />
3546 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3547 <text>%tw_fm_text3%</text>
3548 </object>
3549
3550 <object type="text" color="%text_color%">
3551 <font resource="font" />
3552 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3553 <text>Press back button to cancel.</text>
3554 </object>
3555
3556 <object type="slider">
3557 <placement x="%slider_x%" y="%slider_y%" />
3558 <resource base="slider" used="slider-used" touch="slider-touch" />
3559 <action function="page">filemanageracction</action>
3560 </object>
3561
3562 <object type="text" color="%text_color%">
3563 <font resource="font" />
3564 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3565 <text>Swipe to Confirm</text>
3566 </object>
3567
3568 <object type="action">
3569 <touch key="back" />
3570 <action function="page">%tw_back%</action>
3571 </object>
3572
3573 <object type="action">
3574 <touch key="home" />
3575 <action function="page">main</action>
3576 </object>
3577
3578 <object type="template" name="footer" />
3579 </page>
3580
3581 <page name="filemanageracction">
3582 <object type="template" name="header" />
3583
3584 <object type="text" color="%text_color%">
3585
3586 <font resource="font" />
3587 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3588 <text>%tw_fm_text1%</text>
3589 </object>
3590
3591 <object type="template" name="action_page_console" />
3592
3593 <object type="template" name="progress_bar" />
3594
3595 <object type="action">
3596 <conditions>
3597 <condition var1="tw_operation_state" var2="1" />
3598 <condition var1="tw_operation_status" var2="0" />
3599 </conditions>
3600 <actions>
3601 <action function="set">tw_back=filemanagerlist</action>
3602 <action function="set">tw_complete_text1=File Operation Complete</action>
3603 <action function="page">action_complete</action>
3604 </actions>
3605 </object>
3606
3607 <object type="action">
3608 <conditions>
3609 <condition var1="tw_operation_state" var2="1" />
3610 <condition var1="tw_operation_status" op="!=" var2="0" />
3611 </conditions>
3612 <actions>
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 <condition var1="tw_include_text3" var2="0" />
3620 <actions>
3621 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3622 </actions>
3623 </object>
3624
3625 <object type="action">
3626 <condition var1="tw_include_text3" var2="1" />
3627 <actions>
3628 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3629 </actions>
3630 </object>
3631 </page>
3632
3633 <page name="decrypt">
3634 <object type="template" name="header" />
3635
3636 <object type="text" color="%text_color%">
3637 <font resource="font" />
3638 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3639 <text>Please Enter Your Password</text>
3640 </object>
3641
3642 <object type="input">
3643 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3644 <background color="%input_background_color%" />
3645 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3646 <font resource="font" color="%text_color%" />
3647 <text>%tw_crypto_display%</text>
3648 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3649 <restrict minlen="1" maxlen="254" />
3650 <actions>
3651 <action function="page">trydecrypt</action>
3652 </actions>
3653 </object>
3654
3655 <object type="text" color="%text_fail_color%">
3656 <condition var1="tw_password_fail" var2="1" />
3657 <font resource="font" />
3658 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3659 <text>Password Failed, Please Try Again</text>
3660 </object>
3661
3662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003663 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003664 <placement x="%col_center_x%" y="%row2_y%" />
3665 <font resource="font" color="%button_text_color%" />
3666 <text>Cancel</text>
3667 <image resource="main_button" />
3668 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003669 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003670 <action function="page">main</action>
3671 </actions>
3672 </object>
3673
3674 <object type="template" name="keyboardtemplate" />
3675
Dees_Troy51a0e822012-09-05 15:24:24 -04003676 <object type="template" name="footer" />
3677 </page>
3678
3679 <page name="trydecrypt">
3680 <object type="template" name="header" />
3681
3682 <object type="text" color="%text_color%">
3683 <font resource="font" />
3684 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3685 <text>Trying Decryption with Your Password</text>
3686 </object>
3687
3688 <object type="template" name="action_page_console" />
3689
3690 <object type="template" name="progress_bar" />
3691
3692 <object type="action">
3693 <action function="decrypt"></action>
3694 </object>
3695
3696 <object type="action">
3697 <conditions>
3698 <condition var1="tw_operation_state" var2="1" />
3699 <condition var1="tw_operation_status" op="!=" var2="0" />
3700 </conditions>
3701 <actions>
3702 <action function="set">tw_password_fail=1</action>
3703 <action function="page">decrypt</action>
3704 </actions>
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>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003712 <actions>
3713 <action function="set">tw_page_done=1</action>
3714 <action function="page">main</action>
3715 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 </object>
3717 </page>
3718
3719 <page name="terminalfolder">
3720 <object type="template" name="header" />
3721
3722 <object type="text" color="%text_color%">
3723 <font resource="font" />
3724 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3725 <text>Browse to Starting Folder</text>
3726 </object>
3727
3728 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003729 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003730 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3731 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3732 <text>%tw_terminal_location%</text>
3733 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3734 <sort name="tw_gui_sort_order" />
3735 <icon folder="folder_icon" file="file_icon" />
3736 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003737 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <filter folders="1" files="0" />
3739 <path name="tw_terminal_location" default="/" />
3740 <data name="tw_terminal" />
3741 <selection name="tw_terminal_selection" />
3742 </object>
3743
3744 <object type="template" name="sort_options" />
3745
3746 <object type="action">
3747 <touch key="home" />
3748 <action function="page">main</action>
3749 </object>
3750
3751 <object type="action">
3752 <touch key="back" />
3753 <action function="page">advanced</action>
3754 </object>
3755
3756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003758 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3759 <font resource="font" color="%button_text_color%" />
3760 <text>Select</text>
3761 <image resource="medium_button" />
3762 <actions>
3763 <action function="page">terminalcommand</action>
3764 </actions>
3765 </object>
3766
3767 <object type="template" name="footer" />
3768 </page>
3769
3770 <page name="terminalcommand">
3771 <object type="template" name="header" />
3772
3773 <object type="console">
3774 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3775 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3776 <font resource="fixed" />
3777 </object>
3778
3779 <object type="text" color="%text_color%">
3780 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3781 <font resource="font" />
3782 <text>Starting Path: %tw_terminal_location%</text>
3783 </object>
3784
3785 <object type="input">
3786 <condition var1="tw_terminal_state" var2="0" />
3787 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3788 <background color="%input_background_color%" />
3789 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3790 <font resource="font" color="%text_color%" />
3791 <text>%tw_terminal_command%</text>
3792 <data name="tw_terminal_command" />
3793 <restrict minlen="1" />
3794 <action function="terminalcommand">%tw_terminal_command%</action>
3795 </object>
3796
3797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003799 <condition var1="tw_terminal_state" var2="1" />
3800 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3801 <font resource="font" color="%button_text_color%" />
3802 <text>KILL</text>
3803 <image resource="medium_button" />
3804 <action function="killterminal"></action>
3805 </object>
3806
3807 <object type="template" name="keyboardtemplate" />
3808
3809 <object type="action">
3810 <touch key="home" />
3811 <action function="page">main</action>
3812 </object>
3813
3814 <object type="action">
3815 <touch key="back" />
3816 <action function="page">terminalfolder</action>
3817 </object>
3818 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003819
3820 <page name="sideload">
3821 <object type="template" name="header" />
3822
3823 <object type="text" color="%text_color%">
3824 <font resource="font" />
3825 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3826 <text>ADB Sideload</text>
3827 </object>
3828
3829 <object type="checkbox">
3830 <placement x="%col1_x%" y="%row2_text_y%" />
3831 <font resource="font" color="%text_color%" />
3832 <text>Wipe Dalvik Cache.</text>
3833 <data variable="tw_wipe_dalvik" />
3834 <image checked="checkbox_true" unchecked="checkbox_false" />
3835 </object>
3836
3837 <object type="checkbox">
3838 <placement x="%col1_x%" y="%row3_text_y%" />
3839 <font resource="font" color="%text_color%" />
3840 <text>Wipe Cache.</text>
3841 <data variable="tw_wipe_cache" />
3842 <image checked="checkbox_true" unchecked="checkbox_false" />
3843 </object>
3844
3845 <object type="slider">
3846 <placement x="%slider_x%" y="%slider_y%" />
3847 <resource base="slider" used="slider-used" touch="slider-touch" />
3848 <actions>
3849 <action function="set">tw_back=advanced</action>
3850 <action function="set">tw_action=adbsideload</action>
3851 <action function="set">tw_action_text1=ADB Sideload</action>
3852 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3853 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3854 <action function="set">tw_has_cancel=1</action>
3855 <action function="set">tw_show_reboot=1</action>
3856 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3857 <action function="page">action_page</action>
3858 </actions>
3859 </object>
3860
3861 <object type="text" color="%text_color%">
3862 <font resource="font" />
3863 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3864 <text>Swipe to Start Sideload</text>
3865 </object>
3866
3867 <object type="action">
3868 <touch key="home" />
3869 <action function="page">main</action>
3870 </object>
3871
3872 <object type="action">
3873 <touch key="back" />
3874 <action function="page">advanced</action>
3875 </object>
3876
3877 <object type="template" name="footer" />
3878 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003879
3880 <page name="installsu">
3881 <object type="template" name="header" />
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3886 <text>Install SuperSU?</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3892 <text>Your device does not appear to be rooted.</text>
3893 </object>
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3898 <text>Install SuperSU now?</text>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3904 <text>This will root your device.</text>
3905 </object>
3906
3907 <object type="button">
3908 <highlight color="%highlight_color%" />
3909 <placement x="%col_center_x%" y="%row3_y%" />
3910 <font resource="font" color="%button_text_color%" />
3911 <text>Do Not Install</text>
3912 <image resource="main_button" />
3913 <action function="set">tw_page_done=1</action>
3914 </object>
3915
3916 <object type="slider">
3917 <placement x="%slider_x%" y="%slider_y%" />
3918 <resource base="slider" used="slider-used" touch="slider-touch" />
3919 <actions>
3920 <action function="set">tw_action=installsu</action>
3921 <action function="set">tw_action_text1=Installing SuperSU</action>
3922 <action function="set">tw_action_text2=</action>
3923 <action function="page">singleaction_page</action>
3924 </actions>
3925 </object>
3926
3927 <object type="text" color="%text_color%">
3928 <font resource="font" />
3929 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3930 <text>Swipe to Install</text>
3931 </object>
3932 </page>
3933
3934 <page name="fixsu">
3935 <object type="template" name="header" />
3936
3937 <object type="text" color="%text_color%">
3938 <font resource="font" />
3939 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3940 <text>Fix Superuser Permissions?</text>
3941 </object>
3942
3943 <object type="text" color="%text_color%">
3944 <font resource="font" />
3945 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3946 <text>Root permissions appear to be lost.</text>
3947 </object>
3948
3949 <object type="text" color="%text_color%">
3950 <font resource="font" />
3951 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3952 <text>Fix root permissions now?</text>
3953 </object>
3954
3955 <object type="text" color="%text_color%">
3956 <font resource="font" />
3957 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3958 <text>(Fixes permissions on su binary & app)</text>
3959 </object>
3960
3961 <object type="button">
3962 <highlight color="%highlight_color%" />
3963 <placement x="%col_center_x%" y="%row3_y%" />
3964 <font resource="font" color="%button_text_color%" />
3965 <text>Do Not Fix</text>
3966 <image resource="main_button" />
3967 <action function="set">tw_page_done=1</action>
3968 </object>
3969
3970 <object type="slider">
3971 <placement x="%slider_x%" y="%slider_y%" />
3972 <resource base="slider" used="slider-used" touch="slider-touch" />
3973 <actions>
3974 <action function="set">tw_action=fixsu</action>
3975 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3976 <action function="set">tw_action_text2=</action>
3977 <action function="page">singleaction_page</action>
3978 </actions>
3979 </object>
3980
3981 <object type="text" color="%text_color%">
3982 <font resource="font" />
3983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3984 <text>Swipe to Fix Root</text>
3985 </object>
3986 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003987 </pages>
3988</recovery>