blob: 1b95604786d9270fe692d3fb114fb310c4b6e2d5 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" 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="25" />
Dees_Troyb46a6842012-09-25 11:06:46 -040047 <variable name="col2_x" value="425" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="50" />
101 <variable name="home_button_y" value="1226" />
102 <variable name="back_button_x" value="666" />
103 <variable name="back_button_y" value="1226" />
104 <variable name="sort_text_x" value="85" />
105 <variable name="sort_asc_text_y" value="1090" />
106 <variable name="sort_asc_button_y" value="1080" />
107 <variable name="sort_desc_text_y" value="1150" />
108 <variable name="sort_desc_button_y" value="1140" />
109 <variable name="sort_col1_button_x" value="330" />
110 <variable name="sort_col2_button_x" value="430" />
111 <variable name="sort_col3_button_x" value="530" />
112 <variable name="input_width" value="750" />
113 <variable name="input_height" value="50" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="3" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="800" />
119 <variable name="console_foreground" value="#A0A0A0" />
120 <variable name="console_background" value="#303030" />
121 <variable name="console_scroll" value="#303030" />
122 <variable name="console_action_height" value="470" />
123 <variable name="console_install_height" value="600" />
124 <variable name="console_installdone_height" value="440" />
125 <variable name="fileselector_x" value="5" />
126 <variable name="fileselector_width" value="800" />
127 <variable name="fileselector_install_height" value="750" />
128 <variable name="fileselector_header_background" value="#202020" />
129 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
130 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
131 <variable name="fileselector_header_separatorheight" value="3" />
132 <variable name="fileselector_separatorcolor" value="#505050" />
133 <variable name="fileselector_separatorheight" value="2" />
134 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600135 <variable name="fileselector_highlight_color" value="#505050" />
136 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400137 <variable name="fileselector_spacing" value="36"/>
138 <variable name="listbox_x" value="5" />
139 <variable name="listbox_width" value="710" />
140 <variable name="listbox_tz_height" value="540" />
141 <variable name="listbox_background" value="#303030" />
142 <variable name="listbox_spacing" value="16" />
143 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400144 <variable name="sdext_text_x" value="115" />
145 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400147 <variable name="sdswap_text_x" value="115" />
148 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400149 <variable name="sdfilesystem_text_y" value="340" />
150 <variable name="sdfilesystem_button_y" value="380" />
151 <variable name="lock_x" value="200" />
152 <variable name="lock_y" value="400" />
153 <variable name="filemanager_select_x" value="320" />
154 <variable name="filemanager_select_y" value="950" />
155 <variable name="backup_name_y" value="550" />
156 <variable name="terminal_console_height" value="600" />
157 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400158 <variable name="terminal_button_y" value="620" />
159 <variable name="row_dst_text_y" value="720" />
160 <variable name="row_offset_text_y" value="800" />
161 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400162 <variable name="exclamation_x" value="200" />
163 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400164 </variables>
165
166 <templates>
167 <template name="header">
168 <background color="#000000FF" />
169
170 <object type="image">
171 <image resource="top_bar" />
172 <placement x="0" y="0" />
173 </object>
174
175 <object type="text" color="%text_color%">
176 <font resource="font" />
177 <placement x="120" y="10" />
178 <text>Team Win Recovery Project v%tw_version%</text>
179 </object>
180
181 <object type="text" color="%text_color%">
182 <condition var1="tw_simulate_actions" var2="1" />
183 <font resource="font" />
184 <placement x="120" y="45" />
185 <text>SIMULATING ACTIONS</text>
186 </object>
187
188 <object type="text" color="%text_color%">
189 <font resource="font" />
190 <placement x="120" y="76" />
191 <text>%tw_time%</text>
192 </object>
193
194 <object type="text" color="%text_color%">
195 <font resource="font" />
196 <placement x="270" y="76" />
197 <conditions>
198 <condition var1="tw_no_battery_percent" var2="0" />
199 <condition var1="tw_battery" op=">" var2="0" />
200 <condition var1="tw_battery" op="<" var2="101" />
201 </conditions>
202 <text>Battery: %tw_battery%</text>
203 </object>
204
205 <object type="button">
206 <placement x="%home_button_x%" y="%home_button_y%" />
207 <font resource="font" color="%button_text_color%" />
208 <text></text>
209 <image resource="home_icon" />
210 <condition var1="tw_busy" var2="0" />
211 <action function="key">home</action>
212 </object>
213
214 <object type="button">
215 <placement x="%back_button_x%" y="%back_button_y%" />
216 <font resource="font" color="%button_text_color%" />
217 <text></text>
218 <image resource="back_icon" />
219 <condition var1="tw_busy" var2="0" />
220 <action function="key">back</action>
221 </object>
222
223 <object type="action">
224 <touch key="power" />
225 <action function="overlay">lock</action>
226 </object>
227 </template>
228
229 <template name="progress_bar">
230 <object type="progressbar">
231 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
232 <resource empty="progress_empty" full="progress_full" />
233 <data name="ui_progress" />
234 </object>
235
236 <object type="animation">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource name="progress" />
239 <speed fps="15" render="2" />
240 <loop frame="1" />
241 </object>
242 </template>
243
244 <template name="sort_options">
245 <object type="text" color="%text_color%">
246 <font resource="font" />
247 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
248 <text>Sort Ascending:</text>
249 </object>
250
251 <object type="button">
252 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
253 <font resource="font" color="%button_text_color%" />
254 <text>Name</text>
255 <image resource="sort_button" />
256 <action function="set">tw_gui_sort_order=1</action>
257 </object>
258
259 <object type="button">
260 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
261 <font resource="font" color="%button_text_color%" />
262 <text>Date</text>
263 <image resource="sort_button" />
264 <action function="set">tw_gui_sort_order=2</action>
265 </object>
266
267 <object type="button">
268 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text>Size</text>
271 <image resource="sort_button" />
272 <action function="set">tw_gui_sort_order=3</action>
273 </object>
274
275 <object type="text" color="%text_color%">
276 <font resource="font" />
277 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
278 <text>Sort Descending:</text>
279 </object>
280
281 <object type="button">
282 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
283 <font resource="font" color="%button_text_color%" />
284 <text>Name</text>
285 <image resource="sort_button" />
286 <action function="set">tw_gui_sort_order=-1</action>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
291 <font resource="font" color="%button_text_color%" />
292 <text>Date</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=-2</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
299 <font resource="font" color="%button_text_color%" />
300 <text>Size</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=-3</action>
303 </object>
304 </template>
305
306 <template name="action_page_console">
307 <object type="console">
308 <placement x="0" y="%row3_text_y%" w="800" h="600" />
309 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
310 <font resource="fixed" />
311 </object>
312 </template>
313
314 <template name="footer">
315 <object type="console">
316 <slideout resource="slideout" x="355" y="1220" />
317 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
318 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
319 <font resource="fixed" />
320 </object>
321 </template>
322
323 <template name="keyboardtemplate">
324 <object type="keyboard">
325 <placement x="0" y="740" />
326 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600327 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400328 <layout1>
329 <keysize height="115" width="80" />
330 <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" />
331 <row2 key01="108:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="108:l" />
332 <row3 key01="108:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="108:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000333 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 </layout1>
335 <layout2>
336 <keysize height="116" width="80" />
337 <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" />
338 <row2 key01="108:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="108:L" />
339 <row3 key01="108:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="108:c:8" />
340 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
341 </layout2>
342 <layout3>
343 <keysize height="115" width="80" />
344 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
345 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
346 <row3 key01="108:layout4" key02="!" key03="72:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="108:c:8" />
347 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
348 </layout3>
349 <layout4>
350 <keysize height="116" width="80" />
351 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
352 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
353 <row3 key01="115:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="108:c:8" />
354 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
355 </layout4>
356 </object>
357 </template>
358 </templates>
359
360 <pages>
361 <page name="main">
362 <object type="action">
363 <actions>
364 <action function="set">tw_clear_destination=main2</action>
365 <action function="page">clear_vars</action>
366 </actions>
367 </object>
368 </page>
369
370 <page name="main2">
371 <object type="template" name="header" />
372
373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400375 <placement x="%col1_x%" y="%row1_y%" />
376 <font resource="font" color="%button_text_color%" />
377 <text>Install</text>
378 <image resource="main_button" />
379 <actions>
380 <action function="queueclear"></action>
381 <action function="page">install</action>
382 </actions>
383 </object>
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="%col2_x%" y="%row1_y%" />
388 <font resource="font" color="%button_text_color%" />
389 <text>Wipe</text>
390 <image resource="main_button" />
391 <action function="page">wipe</action>
392 </object>
393
394 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600395 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400396 <placement x="%col1_x%" y="%row2_y%" />
397 <font resource="font" color="%button_text_color%" />
398 <text>Backup</text>
399 <image resource="main_button" />
400 <action function="page">backup</action>
401 </object>
402
403 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600404 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400405 <placement x="%col2_x%" y="%row2_y%" />
406 <font resource="font" color="%button_text_color%" />
407 <text>Restore</text>
408 <image resource="main_button" />
409 <action function="page">restore</action>
410 </object>
411
412 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600413 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400414 <placement x="%col1_x%" y="%row3_y%" />
415 <font resource="font" color="%button_text_color%" />
416 <text>Mount</text>
417 <image resource="main_button" />
418 <action function="page">mount</action>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row3_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Settings</text>
426 <image resource="main_button" />
427 <action function="page">settings</action>
428 </object>
429
Dees_Troyb46a6842012-09-25 11:06:46 -0400430
Dees_Troy51a0e822012-09-05 15:24:24 -0400431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400433 <placement x="%col1_x%" y="%row4_y%" />
434 <font resource="font" color="%button_text_color%" />
435 <text>Advanced</text>
436 <image resource="main_button" />
437 <action function="page">advanced</action>
438 </object>
439
440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400442 <placement x="%col2_x%" y="%row4_y%" />
443 <font resource="font" color="%button_text_color%" />
444 <text>Reboot</text>
445 <image resource="main_button" />
446 <action function="page">reboot</action>
447 </object>
448
449 <object type="template" name="footer" />
450 </page>
451
452 <page name="install">
453 <object type="template" name="header" />
454
455 <object type="text" color="%text_color%">
456 <font resource="font" />
457 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
458 <text>Select Zip to Install</text>
459 </object>
460
461 <object type="button">
462 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400463 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <conditions>
465 <condition var1="tw_has_dual_storage" var2="1" />
466 <condition var1="tw_use_external_storage" var2="1" />
467 </conditions>
468 <text>Use external SD</text>
469 <image resource="radio_true" />
470 <action function="togglestorage">external</action>
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="0" />
479 </conditions>
480 <text>Use external SD</text>
481 <image resource="radio_false" />
482 <action function="togglestorage">external</action>
483 </object>
484
485 <object type="button">
486 <placement x="%col2_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="1" />
491 </conditions>
492 <text>Use internal storage</text>
493 <image resource="radio_false" />
494 <action function="togglestorage">internal</action>
495 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400496
Dees_Troy51a0e822012-09-05 15:24:24 -0400497 <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="0" />
503 </conditions>
504 <text>Use internal storage</text>
505 <image resource="radio_true" />
506 <action function="togglestorage">internal</action>
507 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400508
Dees_Troy51a0e822012-09-05 15:24:24 -0400509 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600510 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400511 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
513 <text>%tw_zip_location%</text>
514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
515 <sort name="tw_gui_sort_order" />
516 <icon folder="folder_icon" file="file_icon" />
517 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600518 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400519 <filter extn=".zip" folders="1" files="1" />
520 <path name="tw_zip_location" default="/sdcard" />
521 <data name="tw_filename" />
522 <selection name="tw_file" />
523 </object>
524
525 <object type="template" name="sort_options" />
526
527 <object type="action">
528 <condition var1="tw_filename" op="modified" />
529 <actions>
530 <action function="queuezip"></action>
531 <action function="page">flash_confirm</action>
532 </actions>
533 </object>
534
535 <object type="action">
536 <touch key="back" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="action">
541 <touch key="home" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="template" name="footer" />
546 </page>
547
548 <page name="flash_confirm">
549 <object type="template" name="header" />
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
554 <text>This operation may install incompatible</text>
555 </object>
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
560 <text>software and render your device unusable.</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
566 <text>Folder:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
572 <text>%tw_zip_location%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
578 <text>File to flash:</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="%row6_text_y%" placement="5" />
584 <text>%tw_file%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
590 <text>Press back to cancel adding this zip.</text>
591 </object>
592
593 <object type="checkbox">
594 <placement x="%col1_x%" y="%row8_text_y%" />
595 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400596 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <data variable="tw_signed_zip_verify" />
598 <image checked="checkbox_true" unchecked="checkbox_false" />
599 </object>
600
601 <object type="checkbox">
602 <placement x="%col1_x%" y="%row9_text_y%" />
603 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400604 <text>Force MD5 check on all zips.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400605 <data variable="tw_force_md5_check" />
606 <image checked="checkbox_true" unchecked="checkbox_false" />
607 </object>
608
609 <object type="checkbox">
610 <condition var1="tw_has_injecttwrp" var2="1" />
611 <placement x="%col1_x%" y="%row10_text_y%" />
612 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <data variable="tw_inject_after_zip" />
615 <image checked="checkbox_true" unchecked="checkbox_false" />
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
620 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
621 <text>File %tw_zip_queue_count% of max of 10</text>
622 </object>
623
624 <object type="slider">
625 <placement x="%slider_x%" y="%slider_y%" placement="5" />
626 <resource base="slider" used="slider-used" touch="slider-touch" />
627 <action function="flash">flash_zip</action>
628 </object>
629
630 <object type="text" color="%text_color%">
631 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400632 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400633 <text>Swipe to Confirm Flash</text>
634 </object>
635
636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400638 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
639 <placement x="%col1_x%" y="%row_queue_y%" />
640 <font resource="font" color="%button_text_color%" />
641 <text>Add More Zips</text>
642 <image resource="main_button" />
643 <action function="page">install</action>
644 </object>
645
646 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600647 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400648 <placement x="%col2_x%" y="%row_queue_y%" />
649 <font resource="font" color="%button_text_color%" />
650 <text>Clear Zip Queue</text>
651 <image resource="main_button" />
652 <actions>
653 <action function="queueclear"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="back" />
660 <actions>
661 <action function="cancelzip"></action>
662 <action function="page">install</action>
663 </actions>
664 </object>
665
666 <object type="action">
667 <touch key="home" />
668 <action function="page">main</action>
669 </object>
670
671 <object type="template" name="footer" />
672 </page>
673
674 <page name="flash_zip">
675 <object type="template" name="header" />
676
677 <object type="console">
678 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
679 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
680 <font resource="fixed" />
681 </object>
682
683 <object type="text" color="%text_color%">
684 <font resource="font" />
685 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
686 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
687 </object>
688
689 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400690 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400691 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
692 <text>%tw_filename%</text>
693 </object>
694
695 <object type="template" name="progress_bar" />
696
697 <object type="action">
698 <condition var1="tw_operation_state" var2="1" />
699 <action function="page">flash_done</action>
700 </object>
701 </page>
702
703 <page name="flash_done">
704 <object type="template" name="header" />
705
706 <object type="text" color="%text_color%">
707 <font resource="font" />
708 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
709 <text>Zip Install Complete</text>
710 </object>
711
712 <object type="console">
713 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
714 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
715 <font resource="fixed" />
716 </object>
717
718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400720 <placement x="%col1_x%" y="%row4_y%" />
721 <font resource="font" color="%button_text_color%" />
722 <text>Wipe cache/dalvik</text>
723 <image resource="main_button" />
724 <actions>
725 <action function="set">tw_back=flash_done</action>
726 <action function="set">tw_action=wipe</action>
727 <action function="set">tw_action_param=/cache</action>
728 <action function="set">tw_has_action2=1</action>
729 <action function="set">tw_action2=wipe</action>
730 <action function="set">tw_action2_param=dalvik</action>
731 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
732 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
733 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
734 <action function="set">tw_slider_text=Swipe to Wipe</action>
735 <action function="page">confirm_action</action>
736 </actions>
737 </object>
738
739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400741 <placement x="%col2_x%" y="%row4_y%" />
742 <font resource="font" color="%button_text_color%" />
743 <text>Reboot System</text>
744 <image resource="main_button" />
745 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400746 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_action=reboot</action>
748 <action function="set">tw_action_param=system</action>
749 <action function="set">tw_has_action2=0</action>
750 <action function="set">tw_text1=No OS Installed! Are you</action>
751 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400752 <action function="set">tw_text3=</action>
753 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400755 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <action function="set">tw_complete_text1=Rebooting...</action>
757 <action function="set">tw_slider_text=Swipe to Reboot</action>
758 <action function="page">rebootcheck</action>
759 </actions>
760 </object>
761
762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400764 <placement x="%col_center_x%" y="%row3_y%" />
765 <font resource="font" color="%button_text_color%" />
766 <text>Home</text>
767 <image resource="main_button" />
768 <actions>
769 <action function="set">tw_clear_destination=main2</action>
770 <action function="page">clear_vars</action>
771 </actions>
772 </object>
773
774 <object type="text" color="%text_fail_color%">
775 <condition var1="tw_operation_status" op="!=" var2="0" />
776 <font resource="font" />
777 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
778 <text>Failed</text>
779 </object>
780
781 <object type="text" color="%text_success_color%">
782 <condition var1="tw_operation_status" var2="0" />
783 <font resource="font" />
784 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
785 <text>Successful</text>
786 </object>
787
788 <object type="action">
789 <touch key="back" />
790 <actions>
791 <action function="set">tw_clear_destination=install</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795
796 <object type="action">
797 <touch key="home" />
798 <actions>
799 <action function="set">tw_clear_destination=main2</action>
800 <action function="page">clear_vars</action>
801 </actions>
802 </object>
803 </page>
804
805 <page name="clear_vars">
806 <object type="action">
807 <action function="set">tw_operation_state=0</action>
808 <action function="set">tw_text1=</action>
809 <action function="set">tw_text2=</action>
810 <action function="set">tw_text3=</action>
811 <action function="set">tw_text4=</action>
812 <action function="set">tw_action_text1=</action>
813 <action function="set">tw_action_text2=</action>
814 <action function="set">tw_action_param=</action>
815 <action function="set">tw_has_action2=0</action>
816 <action function="set">tw_action2=</action>
817 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400818 <action function="set">tw_has_cancel=0</action>
819 <action function="set">tw_cancel_action=</action>
820 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400821 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400822 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400823 <action function="page">%tw_clear_destination%</action>
824 </object>
825 </page>
826
827 <page name="confirm_action">
828 <object type="template" name="header" />
829
Dees_Troyce2fe772012-09-28 12:34:33 -0400830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600831 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400832 <condition var1="tw_show_exclamation" var2="1" />
833 <placement x="%exclamation_x%" y="%exclamation_y%" />
834 <font resource="font" color="%button_text_color%" />
835 <text></text>
836 <image resource="exclamation" />
837 </object>
838
Dees_Troy51a0e822012-09-05 15:24:24 -0400839 <object type="text" color="%text_color%">
840 <font resource="font" />
841 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
842 <text>%tw_text1%</text>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
848 <text>%tw_text2%</text>
849 </object>
850
851 <object type="text" color="%text_color%">
852 <font resource="font" />
853 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
854 <text>%tw_text3%</text>
855 </object>
856
857 <object type="text" color="%text_color%">
858 <font resource="font" />
859 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
860 <text>%tw_text4%</text>
861 </object>
862
863 <object type="text" color="%text_color%">
864 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400865 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400866 <text>Press back button to cancel.</text>
867 </object>
868
869 <object type="slider">
870 <placement x="%slider_x%" y="%slider_y%" />
871 <resource base="slider" used="slider-used" touch="slider-touch" />
872 <action function="page">action_page</action>
873 </object>
874
875 <object type="text" color="%text_color%">
876 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400877 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400878 <text>%tw_slider_text%</text>
879 </object>
880
881 <object type="action">
882 <touch key="back" />
883 <actions>
884 <action function="set">tw_clear_destination=%tw_back%</action>
885 <action function="page">clear_vars</action>
886 </actions>
887 </object>
888
889 <object type="action">
890 <touch key="home" />
891 <action function="page">main</action>
892 </object>
893
894 <object type="template" name="footer" />
895 </page>
896
897 <page name="action_page">
898 <object type="template" name="header" />
899
900 <object type="text" color="%text_color%">
901 <font resource="font" />
902 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
903 <text>%tw_action_text1%</text>
904 </object>
905
906 <object type="text" color="%text_color%">
907 <font resource="font" />
908 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
909 <text>%tw_action_text2%</text>
910 </object>
911
912 <object type="template" name="action_page_console" />
913
Dees_Troycfb63ae2012-09-19 14:30:17 -0400914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600915 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400916 <condition var1="tw_has_cancel" var2="1" />
917 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400918 <font resource="font" color="%button_text_color%" />
919 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400920 <image resource="medium_button" />
921 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400922 </object>
923
Dees_Troycfb63ae2012-09-19 14:30:17 -0400924 <object type="template" name="progress_bar" />
925
926 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400927 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400928 <actions>
929 <action function="page">action_complete</action>
930 </actions>
931 </object>
932
933 <object type="action">
934 <condition var1="tw_has_action2" var2="0" />
935 <actions>
936 <action function="%tw_action%">%tw_action_param%</action>
937 </actions>
938 </object>
939
940 <object type="action">
941 <condition var1="tw_has_action2" var2="1" />
942 <actions>
943 <action function="%tw_action%">%tw_action_param%</action>
944 <action function="%tw_action2%">%tw_action2_param%</action>
945 </actions>
946 </object>
947 </page>
948
Dees_Troy51a0e822012-09-05 15:24:24 -0400949 <page name="action_complete">
950 <object type="template" name="header" />
951
952 <object type="text" color="%text_color%">
953 <font resource="font" />
954 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
955 <text>%tw_complete_text1%</text>
956 </object>
957
958 <object type="text" color="%text_fail_color%">
959 <condition var1="tw_operation_status" op="!=" var2="0" />
960 <font resource="font" />
961 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
962 <text>Failed</text>
963 </object>
964
965 <object type="text" color="%text_success_color%">
966 <condition var1="tw_operation_status" var2="0" />
967 <font resource="font" />
968 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
969 <text>Successful</text>
970 </object>
971
972 <object type="template" name="action_page_console" />
973
974 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600975 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400976 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400977 <placement x="%col_center_x%" y="%row4_y%" />
978 <font resource="font" color="%button_text_color%" />
979 <text>Back</text>
980 <image resource="main_button" />
981 <actions>
982 <action function="set">tw_clear_destination=%tw_back%</action>
983 <action function="page">clear_vars</action>
984 </actions>
985 </object>
986
Dees_Troya3f81542012-10-08 10:58:53 -0400987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600988 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400989 <condition var1="tw_show_reboot" var2="1" />
990 <placement x="%col_center_x%" y="%row4_y%" />
991 <font resource="font" color="%button_text_color%" />
992 <text>Reboot System</text>
993 <image resource="main_button" />
994 <actions>
995 <action function="set">tw_back=main2</action>
996 <action function="set">tw_action=reboot</action>
997 <action function="set">tw_action_param=system</action>
998 <action function="set">tw_has_action2=0</action>
999 <action function="set">tw_text1=No OS Installed! Are you</action>
1000 <action function="set">tw_text2=sure you wish to reboot?</action>
1001 <action function="set">tw_text3=</action>
1002 <action function="set">tw_text4=</action>
1003 <action function="set">tw_action_text1=Rebooting...</action>
1004 <action function="set">tw_action_text2=</action>
1005 <action function="set">tw_complete_text1=Rebooting...</action>
1006 <action function="set">tw_slider_text=Swipe to Reboot</action>
1007 <action function="page">rebootcheck</action>
1008 </actions>
1009 </object>
1010
Dees_Troy51a0e822012-09-05 15:24:24 -04001011 <object type="action">
1012 <touch key="home" />
1013 <actions>
1014 <action function="set">tw_clear_destination=main2</action>
1015 <action function="page">clear_vars</action>
1016 </actions>
1017 </object>
1018
1019 <object type="action">
1020 <touch key="back" />
1021 <actions>
1022 <action function="set">tw_clear_destination=%tw_back%</action>
1023 <action function="page">clear_vars</action>
1024 </actions>
1025 </object>
1026 </page>
1027
1028 <page name="filecheck">
1029 <object type="action">
1030 <action function="fileexists">%tw_filecheck%</action>
1031 </object>
1032
1033 <object type="action">
1034 <conditions>
1035 <condition var1="tw_operation_state" var2="1" />
1036 <condition var1="tw_operation_status" var2="0" />
1037 </conditions>
1038 <actions>
1039 <action function="set">tw_fileexists=1</action>
1040 <action function="page">%tw_existpage%</action>
1041 </actions>
1042 </object>
1043
1044 <object type="action">
1045 <conditions>
1046 <condition var1="tw_operation_state" var2="1" />
1047 <condition var1="tw_operation_status" var2="1" />
1048 </conditions>
1049 <actions>
1050 <action function="set">tw_fileexists=0</action>
1051 <action function="page">%tw_notexistpage%</action>
1052 </actions>
1053 </object>
1054 </page>
1055
1056 <page name="rebootcheck">
1057 <object type="action">
1058 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1059 <action function="reboot">%tw_action_param%</action>
1060 </object>
1061
1062 <object type="action">
1063 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1064 <action function="page">confirm_action</action>
1065 </object>
1066 </page>
1067
1068 <page name="wipe">
1069 <object type="template" name="header" />
1070
1071 <object type="text" color="%text_color%">
1072 <font resource="font" />
1073 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1074 <text>Wipe Menu</text>
1075 </object>
1076
1077 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001078 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001079 <placement x="%col1_x%" y="%row1_y%" />
1080 <font resource="font" color="%button_text_color%" />
1081 <text>Cache</text>
1082 <image resource="main_button" />
1083 <actions>
1084 <action function="set">tw_back=wipe</action>
1085 <action function="set">tw_action=wipe</action>
1086 <action function="set">tw_action_param=/cache</action>
1087 <action function="set">tw_text1=Wipe Cache?</action>
1088 <action function="set">tw_action_text1=Wiping Cache...</action>
1089 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1090 <action function="set">tw_slider_text=Swipe to Wipe</action>
1091 <action function="page">confirm_action</action>
1092 </actions>
1093 </object>
1094
1095 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001096 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001097 <placement x="%col2_x%" y="%row1_y%" />
1098 <font resource="font" color="%button_text_color%" />
1099 <text>Dalvik Cache</text>
1100 <image resource="main_button" />
1101 <actions>
1102 <action function="set">tw_back=wipe</action>
1103 <action function="set">tw_action=wipe</action>
1104 <action function="set">tw_action_param=dalvik</action>
1105 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1106 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1107 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1108 <action function="set">tw_slider_text=Swipe to Wipe</action>
1109 <action function="page">confirm_action</action>
1110 </actions>
1111 </object>
1112
1113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001115 <placement x="%col1_x%" y="%row2_y%" />
1116 <font resource="font" color="%button_text_color%" />
1117 <text>Factory Reset</text>
1118 <image resource="main_button" />
1119 <actions>
1120 <action function="set">tw_back=wipe</action>
1121 <action function="set">tw_action=wipe</action>
1122 <action function="set">tw_action_param=data</action>
1123 <action function="set">tw_text1=Factory Reset?</action>
1124 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1125 <action function="set">tw_action_text1=Factory Reset...</action>
1126 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1127 <action function="set">tw_slider_text=Swipe to Wipe</action>
1128 <action function="page">confirm_action</action>
1129 </actions>
1130 </object>
1131
1132 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001133 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001134 <placement x="%col2_x%" y="%row2_y%" />
1135 <font resource="font" color="%button_text_color%" />
1136 <text>System</text>
1137 <image resource="main_button" />
1138 <actions>
1139 <action function="set">tw_back=wipe</action>
1140 <action function="set">tw_action=wipe</action>
1141 <action function="set">tw_action_param=/system</action>
1142 <action function="set">tw_text1=Wipe System?</action>
1143 <action function="set">tw_text2=This will wipe your ROM</action>
1144 <action function="set">tw_action_text1=Wiping System...</action>
1145 <action function="set">tw_complete_text1=System Wipe Complete</action>
1146 <action function="set">tw_slider_text=Swipe to Wipe</action>
1147 <action function="page">confirm_action</action>
1148 </actions>
1149 </object>
1150
1151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <condition var1="tw_has_external" var2="1" />
1154 <placement x="%col1_x%" y="%row3_y%" />
1155 <font resource="font" color="%button_text_color%" />
1156 <text>External Storage</text>
1157 <image resource="main_button" />
1158 <actions>
1159 <action function="set">tw_back=wipe</action>
1160 <action function="set">tw_action=wipe</action>
1161 <action function="set">tw_action_param=EXTERNAL</action>
1162 <action function="set">tw_has_action2=1</action>
1163 <action function="set">tw_action2=set</action>
1164 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001165 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 <action function="set">tw_action_text1=Wiping External Storage...</action>
1167 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1168 <action function="set">tw_slider_text=Swipe to Wipe</action>
1169 <action function="page">confirm_action</action>
1170 </actions>
1171 </object>
1172
1173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 <condition var1="tw_has_internal" var2="1" />
1176 <placement x="%col2_x%" y="%row3_y%" />
1177 <font resource="font" color="%button_text_color%" />
1178 <text>Internal Storage</text>
1179 <image resource="main_button" />
1180 <actions>
1181 <action function="set">tw_back=wipe</action>
1182 <action function="set">tw_action=wipe</action>
1183 <action function="set">tw_action_param=INTERNAL</action>
1184 <action function="set">tw_has_action2=1</action>
1185 <action function="set">tw_action2=set</action>
1186 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1187 <action function="set">tw_text1=Wipe Internal Storage?</action>
1188 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1189 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1190 <action function="set">tw_slider_text=Swipe to Wipe</action>
1191 <action function="page">confirm_action</action>
1192 </actions>
1193 </object>
1194
1195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001197 <conditions>
1198 <condition var1="tw_has_internal" var2="1" />
1199 <condition var1="tw_has_data_media" var2="1" />
1200 </conditions>
1201 <placement x="%col1_x%" y="%row4_y%" />
1202 <font resource="font" color="%button_text_color%" />
1203 <text>Format Data</text>
1204 <image resource="main_button" />
1205 <actions>
1206 <action function="set">tw_back=wipe</action>
1207 <action function="set">tw_action=wipe</action>
1208 <action function="set">tw_action_param=DATAMEDIA</action>
1209 <action function="set">tw_has_action2=1</action>
1210 <action function="set">tw_action2=set</action>
1211 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001212 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001213 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001214 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001215 <action function="set">tw_action_text1=Formatting Data...</action>
1216 <action function="set">tw_complete_text1=Data Format Complete</action>
1217 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001218 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="page">confirm_action</action>
1220 </actions>
1221 </object>
1222
1223 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001224 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001225 <condition var1="tw_has_data_media" var2="0" />
1226 <placement x="%col1_x%" y="%row4_y%" />
1227 <font resource="font" color="%button_text_color%" />
1228 <text>Android Secure</text>
1229 <image resource="main_button" />
1230 <actions>
1231 <action function="set">tw_back=wipe</action>
1232 <action function="set">tw_action=wipe</action>
1233 <action function="set">tw_action_param=ANDROIDSECURE</action>
1234 <action function="set">tw_text1=Wipe Android Secure?</action>
1235 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1236 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1237 <action function="set">tw_slider_text=Swipe to Format</action>
1238 <action function="page">confirm_action</action>
1239 </actions>
1240 </object>
1241
1242 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001243 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001244 <condition var1="tw_has_sdext_partition" var2="1" />
1245 <placement x="%col2_x%" y="%row4_y%" />
1246 <font resource="font" color="%button_text_color%" />
1247 <text>SD Ext</text>
1248 <image resource="main_button" />
1249 <actions>
1250 <action function="set">tw_back=wipe</action>
1251 <action function="set">tw_action=wipe</action>
1252 <action function="set">tw_action_param=/sd-ext</action>
1253 <action function="set">tw_text1=Wipe SD-Ext?</action>
1254 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1255 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1256 <action function="set">tw_slider_text=Swipe to Wipe</action>
1257 <action function="page">confirm_action</action>
1258 </actions>
1259 </object>
1260
1261 <object type="action">
1262 <touch key="home" />
1263 <action function="page">main</action>
1264 </object>
1265
1266 <object type="action">
1267 <touch key="back" />
1268 <action function="page">main</action>
1269 </object>
1270
1271 <object type="template" name="footer" />
1272 </page>
1273
1274 <page name="backup">
1275 <object type="template" name="header" />
1276
Dees_Troyb46a6842012-09-25 11:06:46 -04001277 <object type="text" color="%text_color%">
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1280 <text>Backup Name: %tw_backup_name%</text>
1281 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001282
Dees_Troyb46a6842012-09-25 11:06:46 -04001283 <object type="text" color="%text_color%">
1284 <placement x="%col1_x%" y="%row1_text_y%" />
1285 <font resource="font" />
1286 <text>Backup Device</text>
1287 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001288
Dees_Troyb46a6842012-09-25 11:06:46 -04001289 <object type="slider">
1290 <placement x="%slider_x%" y="slider_y" />
1291 <resource base="slider" used="slider-used" touch="slider-touch" />
1292 <action function="page">backup_run</action>
1293 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001294
1295 <object type="text" color="%text_color%">
1296 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001297 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001298 <text>Swipe to Back Up</text>
1299 </object>
1300
1301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001303 <placement x="%col2_x%" y="%row1_y%" />
1304 <font resource="font" color="%button_text_color%" />
1305 <text>Refresh Sizes</text>
1306 <image resource="main_button" />
1307 <action function="refreshsizes"></action>
1308 </object>
1309
1310 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001311 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001312 <placement x="%col2_x%" y="%backup_name_y%" />
1313 <font resource="font" color="%button_text_color%" />
1314 <text>Set Backup Name</text>
1315 <image resource="main_button" />
1316 <actions>
1317 <action function="set">tw_fileexists=0</action>
1318 <action function="page">backupname1</action>
1319 </actions>
1320 </object>
1321
1322 <object type="checkbox">
1323 <placement x="%col1_x%" y="%row2_text_y%" />
1324 <font resource="font" color="%text_color%" />
1325 <text>System (%tw_backup_system_size% MB)</text>
1326 <data variable="tw_backup_system" />
1327 <image checked="checkbox_true" unchecked="checkbox_false" />
1328 </object>
1329
1330 <object type="checkbox">
1331 <placement x="%col1_x%" y="%row3_text_y%" />
1332 <font resource="font" color="%text_color%" />
1333 <text>Data (%tw_backup_data_size% MB)</text>
1334 <data variable="tw_backup_data" />
1335 <image checked="checkbox_true" unchecked="checkbox_false" />
1336 </object>
1337
1338 <object type="checkbox">
1339 <condition var1="tw_has_boot_partition" var2="1" />
1340 <placement x="%col1_x%" y="%row4_text_y%" />
1341 <font resource="font" color="%text_color%" />
1342 <text>Boot (%tw_backup_boot_size% MB)</text>
1343 <data variable="tw_backup_boot" />
1344 <image checked="checkbox_true" unchecked="checkbox_false" />
1345 </object>
1346
1347 <object type="checkbox">
1348 <condition var1="tw_has_recovery_partition" var2="1" />
1349 <placement x="%col1_x%" y="%row5_text_y%" />
1350 <font resource="font" color="%text_color%" />
1351 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1352 <data variable="tw_backup_recovery" />
1353 <image checked="checkbox_true" unchecked="checkbox_false" />
1354 </object>
1355
1356 <object type="checkbox">
1357 <placement x="%col1_x%" y="%row6_text_y%" />
1358 <font resource="font" color="%text_color%" />
1359 <text>Cache (%tw_backup_cache_size% MB)</text>
1360 <data variable="tw_backup_cache" />
1361 <image checked="checkbox_true" unchecked="checkbox_false" />
1362 </object>
1363
1364 <object type="checkbox">
1365 <condition var1="tw_has_android_secure" var2="1" />
1366 <placement x="%col1_x%" y="%row7_text_y%" />
1367 <font resource="font" color="%text_color%" />
1368 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1369 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1370 <data variable="tw_backup_andsec" />
1371 <image checked="checkbox_true" unchecked="checkbox_false" />
1372 </object>
1373
1374 <object type="checkbox">
1375 <condition var1="tw_has_sdext_partition" var2="1" />
1376 <placement x="%col1_x%" y="%row8_text_y%" />
1377 <font resource="font" color="%text_color%" />
1378 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1379 <condition var1="fileexists" var2="/sd-ext" />
1380 <data variable="tw_backup_sdext" />
1381 <image checked="checkbox_true" unchecked="checkbox_false" />
1382 </object>
1383
1384 <object type="checkbox">
1385 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001386 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001387 <font resource="font" color="%text_color%" />
1388 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1389 <data variable="tw_backup_sp1" />
1390 <image checked="checkbox_true" unchecked="checkbox_false" />
1391 </object>
1392
1393 <object type="checkbox">
1394 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001395 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001396 <font resource="font" color="%text_color%" />
1397 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1398 <data variable="tw_backup_sp2" />
1399 <image checked="checkbox_true" unchecked="checkbox_false" />
1400 </object>
1401
1402 <object type="checkbox">
1403 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001404 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001405 <font resource="font" color="%text_color%" />
1406 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1407 <data variable="tw_backup_sp3" />
1408 <image checked="checkbox_true" unchecked="checkbox_false" />
1409 </object>
1410
1411 <object type="text" color="%text_color%">
1412 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001413 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001414 <text>Free Space: %tw_storage_free_size% MB</text>
1415 </object>
1416
1417 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001418 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001420 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 <data variable="tw_use_compression" />
1422 <image checked="checkbox_true" unchecked="checkbox_false" />
1423 </object>
1424
1425 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001426 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001428 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001429 <data variable="tw_skip_md5_generate" />
1430 <image checked="checkbox_true" unchecked="checkbox_false" />
1431 </object>
1432
1433 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001434 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001435 <font resource="font" color="%text_color%" />
1436 <conditions>
1437 <condition var1="tw_has_dual_storage" var2="1" />
1438 <condition var1="tw_use_external_storage" var2="1" />
1439 </conditions>
1440 <text>Use external SD</text>
1441 <image resource="radio_true" />
1442 <action function="togglestorage">external</action>
1443 </object>
1444
1445 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001446 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001447 <font resource="font" color="%text_color%" />
1448 <conditions>
1449 <condition var1="tw_has_dual_storage" var2="1" />
1450 <condition var1="tw_use_external_storage" var2="0" />
1451 </conditions>
1452 <text>Use external SD</text>
1453 <image resource="radio_false" />
1454 <action function="togglestorage">external</action>
1455 </object>
1456
1457 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001458 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001459 <font resource="font" color="%text_color%" />
1460 <conditions>
1461 <condition var1="tw_has_dual_storage" var2="1" />
1462 <condition var1="tw_use_external_storage" var2="1" />
1463 </conditions>
1464 <text>Use internal storage</text>
1465 <image resource="radio_false" />
1466 <action function="togglestorage">internal</action>
1467 </object>
1468
1469 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001470 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001471 <font resource="font" color="%text_color%" />
1472 <conditions>
1473 <condition var1="tw_has_dual_storage" var2="1" />
1474 <condition var1="tw_use_external_storage" var2="0" />
1475 </conditions>
1476 <text>Use internal storage</text>
1477 <image resource="radio_true" />
1478 <action function="togglestorage">internal</action>
1479 </object>
1480
1481 <object type="action">
1482 <touch key="home" />
1483 <action function="page">main</action>
1484 </object>
1485
1486 <object type="action">
1487 <touch key="back" />
1488 <action function="page">main</action>
1489 </object>
1490
1491 <object type="template" name="footer" />
1492 </page>
1493
1494 <page name="backupname1">
1495 <object type="action">
1496 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1497 <action function="set">tw_backup_name=</function>
1498 </object>
1499
1500 <object type="action">
1501 <action function="page">backupname2</function>
1502 </object>
1503 </page>
1504
1505 <page name="backupname2">
1506 <object type="template" name="header" />
1507
1508 <object type="text" color="%text_color%">
1509 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1510 <font resource="font" />
1511 <text>Please Enter a Backup Name</text>
1512 </object>
1513
1514 <object type="input">
1515 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1516 <background color="%input_background_color%" />
1517 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1518 <font resource="font" color="%text_color%" />
1519 <text>%tw_backup_name%</text>
1520 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001521 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001522 <actions>
1523 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1524 <action function="set">tw_existpage=backupname2</action>
1525 <action function="set">tw_notexistpage=backup</action>
1526 <action function="page">filecheck</action>
1527 </actions>
1528 </object>
1529
1530 <object type="text" color="%text_fail_color%">
1531 <condition var1="tw_fileexists" var2="1" />
1532 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1533 <font resource="font" />
1534 <text>A backup with that name already exists!</text>
1535 </object>
1536
Dees_Troyb46a6842012-09-25 11:06:46 -04001537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001538 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001539 <placement x="%col_center_x%" y="%row2_y%" />
1540 <font resource="font" color="%button_text_color%" />
1541 <text>Cancel</text>
1542 <image resource="main_button" />
1543 <actions>
1544 <action function="set">tw_backup_name=(Current Date)</action>
1545 <action function="page">backup</action>
1546 </actions>
1547 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001548
1549 <object type="template" name="keyboardtemplate" />
1550
Dees_Troyb46a6842012-09-25 11:06:46 -04001551 <object type="action">
1552 <touch key="home" />
1553 <actions>
1554 <action function="set">tw_backup_name=(Current Date)</action>
1555 <action function="page">main</action>
1556 </actions>
1557 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001558
Dees_Troyb46a6842012-09-25 11:06:46 -04001559 <object type="action">
1560 <touch key="back" />
1561 <actions>
1562 <action function="set">tw_backup_name=(Current Date)</action>
1563 <action function="page">backup</action>
1564 </actions>
1565 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001566
1567 <object type="template" name="footer" />
1568 </page>
1569
1570 <page name="backup_run">
1571 <object type="template" name="header" />
1572
1573 <object type="text" color="%text_color%">
1574 <font resource="font" />
1575 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1576 <text>%tw_operation% %tw_partition%</text>
1577 </object>
1578
1579 <object type="template" name="action_page_console" />
1580
1581 <object type="template" name="progress_bar" />
1582
1583 <object type="action">
1584 <action function="nandroid">backup</action>
1585 </object>
1586
1587 <object type="action">
1588 <condition var1="tw_operation_state" var2="1" />
1589 <actions>
1590 <action function="set">tw_back=backup</action>
1591 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001592 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001593 <action function="page">action_complete</action>
1594 </actions>
1595 </object>
1596 </page>
1597
1598 <page name="restore">
1599 <object type="template" name="header" />
1600
1601 <object type="button">
1602 <placement x="%col1_x%" y="%row1_header_y%" />
1603 <font resource="font" color="%text_color%" />
1604 <conditions>
1605 <condition var1="tw_has_dual_storage" var2="1" />
1606 <condition var1="tw_use_external_storage" var2="1" />
1607 </conditions>
1608 <text>Use external SD</text>
1609 <image resource="radio_true" />
1610 <action function="togglestorage">external</action>
1611 </object>
1612
1613 <object type="button">
1614 <placement x="%col1_x%" y="%row1_header_y%" />
1615 <font resource="font" color="%text_color%" />
1616 <conditions>
1617 <condition var1="tw_has_dual_storage" var2="1" />
1618 <condition var1="tw_use_external_storage" var2="0" />
1619 </conditions>
1620 <text>Use external SD</text>
1621 <image resource="radio_false" />
1622 <action function="togglestorage">external</action>
1623 </object>
1624
1625 <object type="button">
1626 <placement x="%col2_x%" y="%row1_header_y%" />
1627 <font resource="font" color="%text_color%" />
1628 <conditions>
1629 <condition var1="tw_has_dual_storage" var2="1" />
1630 <condition var1="tw_use_external_storage" var2="1" />
1631 </conditions>
1632 <text>Use internal storage</text>
1633 <image resource="radio_false" />
1634 <action function="togglestorage">internal</action>
1635 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001636
Dees_Troy51a0e822012-09-05 15:24:24 -04001637 <object type="button">
1638 <placement x="%col2_x%" y="%row1_header_y%" />
1639 <font resource="font" color="%text_color%" />
1640 <conditions>
1641 <condition var1="tw_has_dual_storage" var2="1" />
1642 <condition var1="tw_use_external_storage" var2="0" />
1643 </conditions>
1644 <text>Use internal storage</text>
1645 <image resource="radio_true" />
1646 <action function="togglestorage">internal</action>
1647 </object>
1648
1649 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001650 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001651 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1652 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1653 <text>Select Package to Restore:</text>
1654 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1655 <sort name="tw_gui_sort_order" />
1656 <icon folder="folder_icon" file="file_icon" />
1657 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001658 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001659 <filter folders="1" files="0" nav="0" />
1660 <path name="tw_backups_folder" />
1661 <data name="tw_restore" default="" />
1662 <selection name="tw_restore_name" />
1663 </object>
1664
1665 <object type="template" name="sort_options" />
1666
1667 <object type="action">
1668 <condition var1="tw_restore" op="modified" />
1669 <actions>
1670 <action function="readBackup"></action>
1671 <action function="page">restore_select</action>
1672 </actions>
1673 </object>
1674
1675 <object type="action">
1676 <touch key="home" />
1677 <action function="page">main</action>
1678 </object>
1679
1680 <object type="action">
1681 <touch key="back" />
1682 <action function="page">main</action>
1683 </object>
1684
1685 <object type="template" name="footer" />
1686 </page>
1687
1688 <page name="restore_select">
1689 <object type="template" name="header" />
1690
1691 <object type="text">
1692 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1693 <font resource="font" color="%text_color%" />
1694 <text>Restoring: %tw_restore_name%</text>
1695 </object>
1696
1697 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001698 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 <placement x="%col2_x%" y="%row1_y%" />
1700 <font resource="font" color="%button_text_color%" />
1701 <text>Rename Backup</text>
1702 <image resource="main_button" />
1703 <actions>
1704 <action function="set">tw_backup_rename=</action>
1705 <action function="set">tw_fileexists=0</action>
1706 <action function="page">renamebackup</action>
1707 </actions>
1708 </object>
1709
1710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001712 <placement x="%col2_x%" y="%row2_y%" />
1713 <font resource="font" color="%button_text_color%" />
1714 <text>Delete Backup</text>
1715 <image resource="main_button" />
1716 <actions>
1717 <action function="set">tw_back=restore</action>
1718 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001719 <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 -04001720 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1721 <action function="set">tw_text2=This cannot be undone!</action>
1722 <action function="set">tw_action_text1=Deleting Backup...</action>
1723 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1724 <action function="set">tw_slider_text=Swipe to Delete</action>
1725 <action function="page">confirm_action</action>
1726 </actions>
1727 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001728
Dees_Troy51a0e822012-09-05 15:24:24 -04001729 <object type="slider">
1730 <placement x="%slider_x%" y="%slider_y%" />
1731 <resource base="slider" used="slider-used" touch="slider-touch" />
1732 <action function="page">restore_run</action>
1733 </object>
1734
1735 <object type="text" color="%text_color%">
1736 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001737 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001738 <text>Swipe to Restore</text>
1739 </object>
1740
1741 <object type="checkbox">
1742 <placement x="%col1_x%" y="%row2_text_y%" />
1743 <font resource="font" color="%text_color%" />
1744 <text>System</text>
1745 <condition var1="tw_restore_system" op=">=" var2="0" />
1746 <data variable="tw_restore_system" />
1747 <image checked="checkbox_true" unchecked="checkbox_false" />
1748 </object>
1749
1750 <object type="checkbox">
1751 <placement x="%col1_x%" y="%row3_text_y%" />
1752 <font resource="font" color="%text_color%" />
1753 <text>Data</text>
1754 <condition var1="tw_restore_data" op=">=" var2="0" />
1755 <data variable="tw_restore_data" />
1756 <image checked="checkbox_true" unchecked="checkbox_false" />
1757 </object>
1758
1759 <object type="checkbox">
1760 <placement x="%col1_x%" y="%row4_text_y%" />
1761 <font resource="font" color="%text_color%" />
1762 <text>Boot</text>
1763 <condition var1="tw_restore_boot" op=">=" var2="0" />
1764 <data variable="tw_restore_boot" />
1765 <image checked="checkbox_true" unchecked="checkbox_false" />
1766 </object>
1767
Dees_Troy51a0e822012-09-05 15:24:24 -04001768 <object type="checkbox">
1769 <placement x="%col1_x%" y="%row6_text_y%" />
1770 <font resource="font" color="%text_color%" />
1771 <text>Cache</text>
1772 <condition var1="tw_restore_cache" op=">=" var2="0" />
1773 <data variable="tw_restore_cache" />
1774 <image checked="checkbox_true" unchecked="checkbox_false" />
1775 </object>
1776
1777 <object type="checkbox">
1778 <placement x="%col1_x%" y="%row7_text_y%" />
1779 <font resource="font" color="%text_color%" />
1780 <text>.android_secure</text>
1781 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1782 <data variable="tw_restore_andsec" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
1784 </object>
1785
1786 <object type="checkbox">
1787 <placement x="%col1_x%" y="%row8_text_y%" />
1788 <font resource="font" color="%text_color%" />
1789 <text>sd-ext</text>
1790 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1791 <data variable="tw_restore_sdext" />
1792 <image checked="checkbox_true" unchecked="checkbox_false" />
1793 </object>
1794
1795 <object type="checkbox">
1796 <placement x="%col1_x%" y="%row10_text_y%" />
1797 <font resource="font" color="%text_color%" />
1798 <text>%tw_sp1_name%</text>
1799 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1800 <data variable="tw_restore_sp1" />
1801 <image checked="checkbox_true" unchecked="checkbox_false" />
1802 </object>
1803
1804 <object type="checkbox">
1805 <placement x="%col1_x%" y="%row11_text_y%" />
1806 <font resource="font" color="%text_color%" />
1807 <text>%tw_sp2_name%</text>
1808 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1809 <data variable="tw_restore_sp2" />
1810 <image checked="checkbox_true" unchecked="checkbox_false" />
1811 </object>
1812
1813 <object type="checkbox">
1814 <placement x="%col1_x%" y="%row12_text_y%" />
1815 <font resource="font" color="%text_color%" />
1816 <text>%tw_sp3_name%</text>
1817 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1818 <data variable="tw_restore_sp3" />
1819 <image checked="checkbox_true" unchecked="checkbox_false" />
1820 </object>
1821
1822 <object type="checkbox">
1823 <placement x="%col1_x%" y="%row14_text_y%" />
1824 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001825 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001826 <data variable="tw_skip_md5_check" />
1827 <image checked="checkbox_true" unchecked="checkbox_false" />
1828 </object>
1829
Dees_Troyb46a6842012-09-25 11:06:46 -04001830 <object type="text" color="%text_color%">
1831 <font resource="font" />
1832 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1833 <text>Package Date: %tw_restore_file_date%</text>
1834 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001835
1836 <object type="action">
1837 <touch key="home" />
1838 <action function="page">main</action>
1839 </object>
1840
1841 <object type="action">
1842 <touch key="back" />
1843 <action function="page">restore</action>
1844 </object>
1845
1846 <object type="template" name="footer" />
1847 </page>
1848
1849 <page name="renamebackup">
1850 <object type="template" name="header" />
1851
1852 <object type="text" color="%text_color%">
1853 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1854 <font resource="font" />
1855 <text>Please Enter a New Backup Name</text>
1856 </object>
1857
1858 <object type="input">
1859 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1860 <background color="%input_background_color%" />
1861 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1862 <font resource="font" color="%text_color%" />
1863 <text>%tw_backup_rename%</text>
1864 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001865 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001866 <actions>
1867 <action function="set">tw_back=restore</action>
1868 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001869 <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 -04001870 <action function="set">tw_text1=Rename Backup?</action>
1871 <action function="set">tw_text2=This cannot be undone!</action>
1872 <action function="set">tw_action_text1=Renaming Backup...</action>
1873 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1874 <action function="set">tw_slider_text=Swipe to Rename</action>
1875 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1876 <action function="set">tw_existpage=renamebackup</action>
1877 <action function="set">tw_notexistpage=confirm_action</action>
1878 <action function="page">filecheck</action>
1879 </actions>
1880 </object>
1881
1882 <object type="text" color="%text_fail_color%">
1883 <condition var1="tw_fileexists" var2="1" />
1884 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1885 <font resource="font" />
1886 <text>A backup with that name already exists!</text>
1887 </object>
1888
1889 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001890 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001891 <placement x="%col_center_x%" y="%row2_y%" />
1892 <font resource="font" color="%button_text_color%" />
1893 <text>Cancel</text>
1894 <image resource="main_button" />
1895 <action function="page">restore_select</action>
1896 </object>
1897
1898 <object type="template" name="keyboardtemplate" />
1899
1900 <object type="action">
1901 <touch key="home" />
1902 <action function="page">main</action>
1903 </object>
1904
1905 <object type="action">
1906 <touch key="back" />
1907 <action function="page">restore_select</action>
1908 </object>
1909
1910 <object type="template" name="footer" />
1911 </page>
1912
1913 <page name="restore_run">
1914 <object type="template" name="header" />
1915
1916 <object type="text" color="%text_color%">
1917 <font resource="font" />
1918 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1919 <text>%tw_operation% %tw_partition%</text>
1920 </object>
1921
1922 <object type="template" name="action_page_console" />
1923
1924 <object type="template" name="progress_bar" />
1925
1926 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001927 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <actions>
1929 <action function="set">tw_back=restore_select</action>
1930 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001931 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001932 <action function="page">action_complete</action>
1933 </actions>
1934 </object>
1935
1936 <object type="action">
1937 <action function="nandroid">restore</action>
1938 </object>
1939 </page>
1940
1941 <page name="mount">
1942 <object type="template" name="header" />
1943
1944 <object type="text" color="%text_color%">
1945 <font resource="font" />
1946 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1947 <text>Mount Menu</text>
1948 </object>
1949
1950 <object type="button">
1951 <placement x="%col1_x%" y="%row1_text_y%" />
1952 <font resource="font" color="%text_color%" />
1953 <condition var1="mounted" op="!=" var2="/system" />
1954 <text>Mount System</text>
1955 <image resource="checkbox_false" />
1956 <action function="mount">/system</action>
1957 </object>
1958
1959 <object type="button">
1960 <placement x="%col1_x%" y="%row1_text_y%" />
1961 <font resource="font" color="%text_color%" />
1962 <condition var1="mounted" op="=" var2="/system" />
1963 <text>Unmount System</text>
1964 <image resource="checkbox_true" />
1965 <action function="umount">/system</action>
1966 </object>
1967
1968 <object type="button">
1969 <placement x="%col1_x%" y="%row2_text_y%" />
1970 <font resource="font" color="%text_color%" />
1971 <condition var1="mounted" op="!=" var2="/data" />
1972 <text>Mount Data</text>
1973 <image resource="checkbox_false" />
1974 <action function="mount">/data</action>
1975 </object>
1976
1977 <object type="button">
1978 <placement x="%col1_x%" y="%row2_text_y%" />
1979 <font resource="font" color="%text_color%" />
1980 <condition var1="mounted" op="=" var2="/data" />
1981 <text>Unmount Data</text>
1982 <image resource="checkbox_true" />
1983 <action function="umount">/data</action>
1984 </object>
1985
1986 <object type="button">
1987 <placement x="%col1_x%" y="%row3_text_y%" />
1988 <font resource="font" color="%text_color%" />
1989 <condition var1="mounted" op="!=" var2="/cache" />
1990 <text>Mount Cache</text>
1991 <image resource="checkbox_false" />
1992 <action function="mount">/cache</action>
1993 </object>
1994
1995 <object type="button">
1996 <placement x="%col1_x%" y="%row3_text_y%" />
1997 <font resource="font" color="%text_color%" />
1998 <condition var1="mounted" op="=" var2="/cache" />
1999 <text>Unmount Cache</text>
2000 <image resource="checkbox_true" />
2001 <action function="umount">/cache</action>
2002 </object>
2003
2004 <object type="button">
2005 <placement x="%col1_x%" y="%row4_text_y%" />
2006 <font resource="font" color="%text_color%" />
2007 <conditions>
2008 <condition var1="tw_has_external" var2="1" />
2009 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2010 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002011 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002012 <image resource="checkbox_false" />
2013 <action function="mount">EXTERNAL</action>
2014 </object>
2015
2016 <object type="button">
2017 <placement x="%col1_x%" y="%row4_text_y%" />
2018 <font resource="font" color="%text_color%" />
2019 <conditions>
2020 <condition var1="tw_has_external" var2="1" />
2021 <condition var1="mounted" op="=" var2="EXTERNAL" />
2022 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002023 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002024 <image resource="checkbox_true" />
2025 <action function="umount">EXTERNAL</action>
2026 </object>
2027
2028 <object type="button">
2029 <placement x="%col2_x%" y="%row4_text_y%" />
2030 <font resource="font" color="%text_color%" />
2031 <conditions>
2032 <condition var1="tw_has_internal" var2="1" />
2033 <condition var1="tw_has_data_media" var2="0" />
2034 <condition var1="mounted" op="!=" var2="INTERNAL" />
2035 </conditions>
2036 <text>Mount Internal</text>
2037 <image resource="checkbox_false" />
2038 <action function="mount">INTERNAL</action>
2039 </object>
2040
2041 <object type="button">
2042 <placement x="%col2_x%" y="%row4_text_y%" />
2043 <font resource="font" color="%text_color%" />
2044 <conditions>
2045 <condition var1="tw_has_internal" var2="1" />
2046 <condition var1="tw_has_data_media" var2="0" />
2047 <condition var1="mounted" op="=" var2="INTERNAL" />
2048 </conditions>
2049 <text>Unmount Internal</text>
2050 <image resource="checkbox_true" />
2051 <action function="umount">INTERNAL</action>
2052 </object>
2053
2054 <object type="button">
2055 <conditions>
2056 <condition var1="tw_has_sdext_partition" var2="1" />
2057 <condition var1="mounted" op="!=" var2="/sd-ext" />
2058 </conditions>
2059 <placement x="%col1_x%" y="%row5_text_y%" />
2060 <font resource="font" color="%text_color%" />
2061 <text>Mount SD-Ext</text>
2062 <image resource="checkbox_false" />
2063 <action function="mount">/sd-ext</action>
2064 </object>
2065
2066 <object type="button">
2067 <placement x="%col1_x%" y="%row5_text_y%" />
2068 <font resource="font" color="%text_color%" />
2069 <condition var1="mounted" op="=" var2="/sd-ext" />
2070 <text>Unmount SD-Ext</text>
2071 <image resource="checkbox_true" />
2072 <action function="umount">/sd-ext</action>
2073 </object>
2074
2075 <object type="button">
2076 <conditions>
2077 <condition var1="tw_boot_is_mountable" var2="1" />
2078 <condition var1="mounted" op="!=" var2="/boot" />
2079 </conditions>
2080 <placement x="%col1_x%" y="%row6_text_y%" />
2081 <font resource="font" color="#A0A0A0" />
2082 <text>Mount Boot</text>
2083 <image resource="checkbox_false" />
2084 <action function="mount">/boot</action>
2085 </object>
2086
2087 <object type="button">
2088 <conditions>
2089 <condition var1="tw_boot_is_mountable" var2="1" />
2090 <condition var1="mounted" op="=" var2="/boot" />
2091 </conditions>
2092 <placement x="%col1_x%" y="%row6_text_y%" />
2093 <font resource="font" color="#A0A0A0" />
2094 <text>Unmount Boot</text>
2095 <image resource="checkbox_true" />
2096 <action function="umount">/boot</action>
2097 </object>
2098
2099 <object type="button">
2100 <placement x="%col1_x%" y="%row8_text_y%" />
2101 <font resource="font" color="%text_color%" />
2102 <conditions>
2103 <condition var1="tw_has_dual_storage" var2="1" />
2104 <condition var1="tw_use_external_storage" var2="1" />
2105 </conditions>
2106 <text>Use external SD</text>
2107 <image resource="radio_true" />
2108 <action function="togglestorage">external</action>
2109 </object>
2110
2111 <object type="button">
2112 <placement x="%col1_x%" y="%row8_text_y%" />
2113 <font resource="font" color="%text_color%" />
2114 <conditions>
2115 <condition var1="tw_has_dual_storage" var2="1" />
2116 <condition var1="tw_use_external_storage" var2="0" />
2117 </conditions>
2118 <text>Use external SD</text>
2119 <image resource="radio_false" />
2120 <action function="togglestorage">external</action>
2121 </object>
2122
2123 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002124 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002125 <font resource="font" color="%text_color%" />
2126 <conditions>
2127 <condition var1="tw_has_dual_storage" var2="1" />
2128 <condition var1="tw_use_external_storage" var2="1" />
2129 </conditions>
2130 <text>Use internal storage</text>
2131 <image resource="radio_false" />
2132 <action function="togglestorage">internal</action>
2133 </object>
2134
2135 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002136 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002137 <font resource="font" color="%text_color%" />
2138 <conditions>
2139 <condition var1="tw_has_dual_storage" var2="1" />
2140 <condition var1="tw_use_external_storage" var2="0" />
2141 </conditions>
2142 <text>Use internal storage</text>
2143 <image resource="radio_true" />
2144 <action function="togglestorage">internal</action>
2145 </object>
2146
2147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002148 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002149 <condition var1="tw_has_usb_storage" var2="1" />
2150 <placement x="%col1_x%" y="row3_y" />
2151 <font resource="font" color="%button_text_color%" />
2152 <text>Mount USB Storage</text>
2153 <image resource="main_button" />
2154 <action function="page">usb_mount</action>
2155 </object>
2156
Gary Peckffdc6ae2012-11-21 18:02:02 -08002157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002158 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002159 <conditions>
2160 <condition var1="tw_is_encrypted" var2="1" />
2161 <condition var1="tw_is_decrypted" var2="0" />
2162 </conditions>
2163 <placement x="%col2_x%" y="row3_y" />
2164 <font resource="font" color="%button_text_color%" />
2165 <text>Decrypt Data</text>
2166 <image resource="main_button" />
2167 <action function="page">decrypt</action>
2168 </object>
2169
Dees_Troy51a0e822012-09-05 15:24:24 -04002170 <object type="action">
2171 <touch key="home" />
2172 <action function="page">main</action>
2173 </object>
2174
2175 <object type="action">
2176 <touch key="back" />
2177 <action function="page">main</action>
2178 </object>
2179
2180 <object type="template" name="footer" />
2181 </page>
2182
2183 <page name="usb_mount">
2184 <object type="template" name="header" />
2185
2186 <object type="text" color="%text_color%">
2187 <font resource="font" />
2188 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2189 <text>USB Storage Mounted</text>
2190 </object>
2191
2192 <object type="text" color="%text_color%">
2193 <placement x="%col1_x%" y="%row1_text_y%" />
2194 <font resource="font" />
2195 <text>Be sure to safely remove your device</text>
2196 </object>
2197
2198 <object type="text" color="%text_color%">
2199 <placement x="%col1_x%" y="%row2_text_y%" />
2200 <font resource="font" />
2201 <text>from your computer before unmounting!</text>
2202 </object>
2203
2204 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002205 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002206 <placement x="%col1_x%" y="%row3_y%" />
2207 <font resource="font" color="%button_text_color%" />
2208 <text>Unmount</text>
2209 <image resource="main_button" />
2210 <action function="page">usb_umount</action>
2211 </object>
2212
2213 <object type="action">
2214 <action function="mount">usb</action>
2215 </object>
2216
2217 <object type="template" name="footer" />
2218 </page>
2219
2220 <page name="usb_umount">
2221 <object type="action">
2222 <action function="unmount">usb</action>
2223 </object>
2224
2225 <object type="action">
2226 <action function="page">mount</action>
2227 </object>
2228 </page>
2229
2230 <page name="reboot">
2231 <object type="template" name="header" />
2232
2233 <object type="text" color="%text_color%">
2234 <font resource="font" />
2235 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2236 <text>Reboot Menu</text>
2237 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002238
Dees_Troy51a0e822012-09-05 15:24:24 -04002239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002241 <condition var1="tw_reboot_system" var2="1" />
2242 <placement x="%col1_x%" y="%row1_y%" />
2243 <font resource="font" color="%button_text_color%" />
2244 <text>System</text>
2245 <image resource="main_button" />
2246 <actions>
2247 <action function="set">tw_back=reboot</action>
2248 <action function="set">tw_action=reboot</action>
2249 <action function="set">tw_action_param=system</action>
2250 <action function="set">tw_has_action2=0</action>
2251 <action function="set">tw_text1=No OS Installed! Are you</action>
2252 <action function="set">tw_text2=sure you wish to reboot?</action>
2253 <action function="set">tw_action_text1=Rebooting...</action>
2254 <action function="set">tw_complete_text1=Rebooting...</action>
2255 <action function="set">tw_slider_text=Swipe to Reboot</action>
2256 <action function="page">rebootcheck</action>
2257 </actions>
2258 </object>
2259
2260 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002261 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002262 <condition var1="tw_reboot_poweroff" var2="1" />
2263 <placement x="%col2_x%" y="%row1_y%" />
2264 <font resource="font" color="%button_text_color%" />
2265 <text>Power Off</text>
2266 <image resource="main_button" />
2267 <actions>
2268 <action function="set">tw_back=reboot</action>
2269 <action function="set">tw_action=reboot</action>
2270 <action function="set">tw_action_param=poweroff</action>
2271 <action function="set">tw_has_action2=0</action>
2272 <action function="set">tw_text1=No OS Installed! Are you</action>
2273 <action function="set">tw_text2=sure you wish to power off?</action>
2274 <action function="set">tw_action_text1=Turning Off...</action>
2275 <action function="set">tw_complete_text1=Turning Off...</action>
2276 <action function="set">tw_slider_text=Swipe to Power Off</action>
2277 <action function="page">rebootcheck</action>
2278 </actions>
2279 </object>
2280
2281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 <condition var1="tw_reboot_recovery" var2="1" />
2284 <placement x="%col1_x%" y="%row2_y%" />
2285 <font resource="font" color="%button_text_color%" />
2286 <text>Recovery</text>
2287 <image resource="main_button" />
2288 <actions>
2289 <action function="set">tw_back=reboot</action>
2290 <action function="set">tw_action=reboot</action>
2291 <action function="set">tw_action_param=recovery</action>
2292 <action function="set">tw_has_action2=0</action>
2293 <action function="set">tw_text1=No OS Installed! Are you</action>
2294 <action function="set">tw_text2=sure you wish to reboot?</action>
2295 <action function="set">tw_action_text1=Rebooting...</action>
2296 <action function="set">tw_complete_text1=Rebooting...</action>
2297 <action function="set">tw_slider_text=Swipe to Reboot</action>
2298 <action function="page">rebootcheck</action>
2299 </actions>
2300 </object>
2301
2302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002304 <condition var1="tw_reboot_bootloader" var2="1" />
2305 <placement x="%col2_x%" y="%row2_y%" />
2306 <font resource="font" color="%button_text_color%" />
2307 <text>Bootloader</text>
2308 <image resource="main_button" />
2309 <actions>
2310 <action function="set">tw_back=reboot</action>
2311 <action function="set">tw_action=reboot</action>
2312 <action function="set">tw_action_param=bootloader</action>
2313 <action function="set">tw_has_action2=0</action>
2314 <action function="set">tw_text1=No OS Installed! Are you</action>
2315 <action function="set">tw_text2=sure you wish to reboot?</action>
2316 <action function="set">tw_action_text1=Rebooting...</action>
2317 <action function="set">tw_complete_text1=Rebooting...</action>
2318 <action function="set">tw_slider_text=Swipe to Reboot</action>
2319 <action function="page">rebootcheck</action>
2320 </actions>
2321 </object>
2322
2323 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002324 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002325 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002326 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002327 <font resource="font" color="%button_text_color%" />
2328 <text>Download</text>
2329 <image resource="main_button" />
2330 <actions>
2331 <action function="set">tw_back=reboot</action>
2332 <action function="set">tw_action=reboot</action>
2333 <action function="set">tw_action_param=download</action>
2334 <action function="set">tw_has_action2=0</action>
2335 <action function="set">tw_text1=No OS Installed! Are you</action>
2336 <action function="set">tw_text2=sure you wish to reboot?</action>
2337 <action function="set">tw_action_text1=Rebooting...</action>
2338 <action function="set">tw_complete_text1=Rebooting...</action>
2339 <action function="set">tw_slider_text=Swipe to Reboot</action>
2340 <action function="page">rebootcheck</action>
2341 </actions>
2342 </object>
2343
2344 <object type="action">
2345 <touch key="home" />
2346 <action function="page">main</action>
2347 </object>
2348
2349 <object type="action">
2350 <touch key="back" />
2351 <action function="page">main</action>
2352 </object>
2353
2354 <object type="template" name="footer" />
2355 </page>
2356
2357 <page name="settings">
2358 <object type="template" name="header" />
2359
2360 <object type="text" color="%text_color%">
2361 <font resource="font" />
2362 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2363 <text>Settings</text>
2364 </object>
2365
2366 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002367 <placement x="%col1_x%" y="%row1_text_y%" />
2368 <font resource="font" color="%text_color%" />
2369 <text>Zip file signature verification.</text>
2370 <data variable="tw_signed_zip_verify" />
2371 <image checked="checkbox_true" unchecked="checkbox_false" />
2372 </object>
2373
2374 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <placement x="%col1_x%" y="%row2_text_y%" />
2376 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002377 <text>Force MD5 check on all zips.</text>
2378 <data variable="tw_force_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002379 <image checked="checkbox_true" unchecked="checkbox_false" />
2380 </object>
2381
2382 <object type="checkbox">
2383 <placement x="%col1_x%" y="%row3_text_y%" />
2384 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002385 <text>Use rm -rf instead of formatting.</text>
2386 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
2391 <placement x="%col1_x%" y="%row4_text_y%" />
2392 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002393 <text>Skip MD5 generation during backup.</text>
2394 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
2399 <placement x="%col1_x%" y="%row5_text_y%" />
2400 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002401 <text>Enable MD5 verification of backup files.</text>
2402 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
2407 <placement x="%col1_x%" y="%row6_text_y%" />
2408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Ignore image size errors during backup.</text>
2410 <data variable="tw_ignore_image_size" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
2415 <placement x="%col1_x%" y="%row7_text_y%" />
2416 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002417 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <data variable="tw_simulate_actions" />
2419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
2423 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002424 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002425 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002426 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <data variable="tw_simulate_fail" />
2428 <image checked="checkbox_true" unchecked="checkbox_false" />
2429 </object>
2430
2431 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002432 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <placement x="%col1_x%" y="%row3_y%" />
2434 <font resource="font" color="%button_text_color%" />
2435 <text>Time Zone</text>
2436 <image resource="main_button" />
2437 <action function="page">timezone</action>
2438 </object>
2439
2440 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002441 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <placement x="%col_center_x%" y="%row4_y%" />
2443 <font resource="font" color="%button_text_color%" />
2444 <text>Restore Defaults</text>
2445 <image resource="main_button" />
2446 <action function="restoredefaultsettings"></action>
2447 </object>
2448
2449 <object type="action">
2450 <touch key="home" />
2451 <action function="page">main</action>
2452 </object>
2453
2454 <object type="action">
2455 <touch key="back" />
2456 <action function="page">main</action>
2457 </object>
2458
2459 <object type="template" name="footer" />
2460 </page>
2461
2462 <page name="timezone">
2463 <object type="template" name="header" />
2464
2465 <object type="text" color="%text_color%">
2466 <font resource="font" />
2467 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2468 <text>Select Time Zone</text>
2469 </object>
2470
2471 <object type="listbox">
2472 <placement x="%listbox_x%" y="%row1_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2473 <icon selected="radio_true" unselected="radio_false" />
2474 <background color="%listbox_background%" />
2475 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" />
2476 <data name="tw_time_zone_guisel" />
2477 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2478 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2479 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2480 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2481 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2482 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2483 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2484 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2485 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2486 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2487 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2488 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2489 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2490 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2491 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2492 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2493 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2494 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2495 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2496 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2497 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2498 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2499 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2500 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2501 </object>
2502
2503 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002504 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <font resource="font" color="%text_color%" />
2506 <text>Do you use daylight savings time (DST)?</text>
2507 <data variable="tw_time_zone_guidst" />
2508 <image checked="checkbox_true" unchecked="checkbox_false" />
2509 </object>
2510
2511 <object type="text" color="%text_color%">
2512 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002513 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2515 </object>
2516
2517 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002518 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002519 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002520 <font resource="font" color="%button_text_color%" />
2521 <text>None</text>
2522 <image resource="medium_button" />
2523 <action function="set">tw_time_zone_guioffset=0</action>
2524 </object>
2525
2526 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002527 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002528 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <font resource="font" color="%button_text_color%" />
2530 <text>15</text>
2531 <image resource="medium_button" />
2532 <action function="set">tw_time_zone_guioffset=15</action>
2533 </object>
2534
2535 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002536 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002537 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <font resource="font" color="%button_text_color%" />
2539 <text>30</text>
2540 <image resource="medium_button" />
2541 <action function="set">tw_time_zone_guioffset=30</action>
2542 </object>
2543
2544 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002545 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002546 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002547 <font resource="font" color="%button_text_color%" />
2548 <text>45</text>
2549 <image resource="medium_button" />
2550 <action function="set">tw_time_zone_guioffset=45</action>
2551 </object>
2552
2553 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002554 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <placement x="%col_center_x%" y="%tz_set_y%" />
2556 <font resource="font" color="%button_text_color%" />
2557 <text>Set Time Zone</text>
2558 <image resource="main_button" />
2559 <action function="setguitimezone"></action>
2560 </object>
2561
2562 <object type="text" color="%text_color%">
2563 <font resource="font" />
2564 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2565 <text>Current Time Zone: %tw_time_zone%</text>
2566 </object>
2567
2568 <object type="action">
2569 <touch key="home" />
2570 <action function="page">main</action>
2571 </object>
2572
2573 <object type="action">
2574 <touch key="back" />
2575 <action function="page">settings</action>
2576 </object>
2577
2578 <object type="template" name="footer" />
2579 </page>
2580
2581 <page name="advanced">
2582 <object type="template" name="header" />
2583
2584 <object type="text" color="%text_color%">
2585 <font resource="font" />
2586 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2587 <text>Advanced</text>
2588 </object>
2589
2590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002592 <placement x="%col1_x%" y="%row1_y%" />
2593 <font resource="font" color="%button_text_color%" />
2594 <text>Copy Log to SD</text>
2595 <image resource="main_button" />
2596 <actions>
2597 <action function="set">tw_back=advanced</action>
2598 <action function="set">tw_action=copylog</action>
2599 <action function="set">tw_text1=Copy Log to SD Card?</action>
2600 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2601 <action function="set">tw_complete_text1=Log Copy Complete</action>
2602 <action function="set">tw_slider_text=Swipe to Confirm</action>
2603 <action function="page">confirm_action</action>
2604 </actions>
2605 </object>
2606
2607 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002608 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002609 <placement x="%col2_x%" y="%row1_y%" />
2610 <font resource="font" color="%button_text_color%" />
2611 <text>Fix Permissions</text>
2612 <image resource="main_button" />
2613 <actions>
2614 <action function="set">tw_back=advanced</action>
2615 <action function="set">tw_action=fixpermissions</action>
2616 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002617 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002618 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2619 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002620 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002621 <action function="page">confirm_action</action>
2622 </actions>
2623 </object>
2624
2625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002627 <condition var1="tw_allow_partition_sdcard" var2="1" />
2628 <placement x="%col1_x%" y="%row2_y%" />
2629 <font resource="font" color="%button_text_color%" />
2630 <text>Partition SD Card</text>
2631 <image resource="main_button" />
2632 <action function="page">partsdcard</action>
2633 </object>
2634
2635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002637 <placement x="%col2_x%" y="%row2_y%" />
2638 <font resource="font" color="%button_text_color%" />
2639 <text>File Manager</text>
2640 <image resource="main_button" />
2641 <action function="page">filemanagerlist</action>
2642 </object>
2643
2644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002646 <placement x="%col1_x%" y="%row3_y%" />
2647 <font resource="font" color="%button_text_color%" />
2648 <text>Terminal Command</text>
2649 <image resource="main_button" />
2650 <action function="page">terminalfolder</action>
2651 </object>
2652
2653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002654 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002655 <placement x="%col2_x%" y="%row3_y%" />
2656 <font resource="font" color="%button_text_color%" />
2657 <text>Reload Theme</text>
2658 <image resource="main_button" />
2659 <action function="reload"></action>
2660 </object>
2661
2662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002663 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002664 <placement x="%col1_x%" y="%row4_y%" />
2665 <font resource="font" color="%button_text_color%" />
2666 <text>ADB Sideload</text>
2667 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002668 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002669 </object>
2670
2671 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002672 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002673 <condition var1="tw_show_dumlock" var2="1" />
2674 <placement x="%col2_x%" y="%row4_y%" />
2675 <font resource="font" color="%button_text_color%" />
2676 <text>HTC Dumlock</text>
2677 <image resource="main_button" />
2678 <action function="page">htcdumlock</action>
2679 </object>
2680
2681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <condition var1="tw_has_injecttwrp" var2="1" />
2684 <placement x="%col2_x%" y="%row4_y%" />
2685 <font resource="font" color="%button_text_color%" />
2686 <text>Re-Inject TWRP</text>
2687 <image resource="main_button" />
2688 <actions>
2689 <action function="set">tw_back=advanced</action>
2690 <action function="set">tw_action=reinjecttwrp</action>
2691 <action function="set">tw_text1=Re-Inject TWRP?</action>
2692 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2693 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2694 <action function="set">tw_slider_text=Swipe to Confirm</action>
2695 <action function="page">confirm_action</action>
2696 </actions>
2697 </object>
2698
Dees_Troy51a0e822012-09-05 15:24:24 -04002699 <object type="action">
2700 <touch key="home" />
2701 <action function="page">main</action>
2702 </object>
2703
2704 <object type="action">
2705 <touch key="back" />
2706 <action function="page">main</action>
2707 </object>
2708
2709 <object type="template" name="footer" />
2710 </page>
2711
2712 <page name="partsdcard">
2713 <object type="template" name="header" />
2714
2715 <object type="text" color="%text_color%">
2716 <font resource="font" />
2717 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2718 <text>Partition SD Card</text>
2719 </object>
2720
2721 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002722 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002723 <placement x="%col1_x%" y="%row1_y%" />
2724 <font resource="font" color="%button_text_color%" />
2725 <text></text>
2726 <image resource="minus_button" />
2727 <action function="addsubtract">tw_sdext_size-128</action>
2728 </object>
2729
2730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <placement x="%sd_plus_x%" y="%row1_y%" />
2733 <font resource="font" color="%button_text_color%" />
2734 <text></text>
2735 <image resource="plus_button" />
2736 <action function="addsubtract">tw_sdext_size+128</action>
2737 </object>
2738
2739 <object type="text" color="%text_color%">
2740 <font resource="font" />
2741 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2742 <text>EXT Size: %tw_sdext_size%</text>
2743 </object>
2744
2745 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002746 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <placement x="%col1_x%" y="%sdswap_button_y%" />
2748 <font resource="font" color="%button_text_color%" />
2749 <text></text>
2750 <image resource="minus_button" />
2751 <action function="addsubtract">tw_swap_size-32</action>
2752 </object>
2753
2754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2757 <font resource="font" color="%button_text_color%" />
2758 <text></text>
2759 <image resource="plus_button" />
2760 <action function="addsubtract">tw_swap_size+32</action>
2761 </object>
2762
2763 <object type="text" color="%text_color%">
2764 <font resource="font" />
2765 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2766 <text>Swap Size: %tw_swap_size%</text>
2767 </object>
2768
2769 <object type="text" color="%text_color%">
2770 <font resource="font" />
2771 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2772 <text>File system: %tw_sdpart_file_system%</text>
2773 </object>
2774
2775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2778 <font resource="font" color="%button_text_color%" />
2779 <text>EXT3</text>
2780 <image resource="main_button" />
2781 <action function="set">tw_sdpart_file_system=ext3</action>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <condition var1="tw_sdext_disable_ext4" var2="0" />
2787 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>EXT4</text>
2790 <image resource="main_button" />
2791 <action function="set">tw_sdpart_file_system=ext4</action>
2792 </object>
2793
2794 <object type="text" color="%text_color%">
2795 <font resource="font" />
2796 <placement x="%col1_x%" y="%row12_text_y%" />
2797 <text>You will lose all files on your SD card!</text>
2798 </object>
2799
2800 <object type="text" color="%text_color%">
2801 <font resource="font" />
2802 <placement x="%col1_x%" y="%row13_text_y%" />
2803 <text>This action cannot be undone!</text>
2804 </object>
2805
2806 <object type="slider">
2807 <placement x="%slider_x%" y="%slider_y%" />
2808 <resource base="slider" used="slider-used" touch="slider-touch" />
2809 <action function="page">partsdcardaction</action>
2810 <actions>
2811 <action function="set">tw_back=partsdcard</action>
2812 <action function="set">tw_action=partitionsd</action>
2813 <action function="set">tw_has_action2=1</action>
2814 <action function="set">tw_action2=set</action>
2815 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2816 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2817 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002818 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <action function="page">action_page</action>
2820 </actions>
2821 </object>
2822
2823 <object type="text" color="%text_color%">
2824 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002825 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002826 <text>Swipe to Partition</text>
2827 </object>
2828
2829 <object type="action">
2830 <touch key="home" />
2831 <action function="page">main</action>
2832 </object>
2833
2834 <object type="action">
2835 <touch key="back" />
2836 <action function="page">advanced</action>
2837 </object>
2838
2839 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 </page>
2841
2842 <page name="htcdumlock">
2843 <object type="template" name="header" />
2844
2845 <object type="text" color="%text_color%">
2846 <font resource="font" />
2847 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2848 <text>HTC Dumlock</text>
2849 </object>
2850
2851 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002852 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002853 <condition var1="tw_show_dumlock" var2="1" />
2854 <placement x="%col1_x%" y="%row1_y%" />
2855 <font resource="font" color="%button_text_color%" />
2856 <text>Restore Original Boot</text>
2857 <image resource="main_button" />
2858 <actions>
2859 <action function="set">tw_back=htcdumlock</action>
2860 <action function="set">tw_action=htcdumlockrestoreboot</action>
2861 <action function="set">tw_text1=Restore original boot image?</action>
2862 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2863 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2864 <action function="set">tw_slider_text=Swipe to Confirm</action>
2865 <action function="page">confirm_action</action>
2866 </actions>
2867 </object>
2868
2869 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002870 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002871 <condition var1="tw_show_dumlock" var2="1" />
2872 <placement x="%col2_x%" y="%row1_y%" />
2873 <font resource="font" color="%button_text_color%" />
2874 <text>Reflash Recovery</text>
2875 <image resource="main_button" />
2876 <actions>
2877 <action function="set">tw_back=htcdumlock</action>
2878 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2879 <action function="set">tw_text1=Reflash recovery to boot?</action>
2880 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2881 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2882 <action function="set">tw_slider_text=Swipe to Confirm</action>
2883 <action function="page">confirm_action</action>
2884 </actions>
2885 </object>
2886
2887 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002888 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002889 <condition var1="tw_show_dumlock" var2="1" />
2890 <placement x="%col1_x%" y="%row2_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text>Install HTC Dumlock</text>
2893 <image resource="main_button" />
2894 <actions>
2895 <action function="set">tw_back=htcdumlock</action>
2896 <action function="set">tw_action=installhtcdumlock</action>
2897 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2898 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2899 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2900 <action function="set">tw_slider_text=Swipe to Confirm</action>
2901 <action function="page">confirm_action</action>
2902 </actions>
2903 </object>
2904
2905 <object type="action">
2906 <touch key="home" />
2907 <action function="page">main</action>
2908 </object>
2909
2910 <object type="action">
2911 <touch key="back" />
2912 <action function="page">advanced</action>
2913 </object>
2914
2915 <object type="template" name="footer" />
2916 </page>
2917
2918 <page name="lock">
2919 <background color="#000000A0" />
2920
2921 <object type="image">
2922 <image resource="unlock-icon" />
2923 <placement x="%lock_x%" y="%lock_y%" />
2924 </object>
2925
2926 <object type="slider">
2927 <placement x="%slider_x%" y="%slider_y%" />
2928 <resource base="slider" used="slider-used" touch="slider-touch" />
2929 <action function="overlay"></action>
2930 </object>
2931
2932 <object type="text" color="%text_color%">
2933 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002934 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002935 <text>Swipe to Unlock</text>
2936 </object>
2937 </page>
2938
2939 <page name="filemanagerlist">
2940 <object type="template" name="header" />
2941
2942 <object type="text" color="%text_color%">
2943 <font resource="font" />
2944 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2945 <text>File Manager: Select a File or Folder</text>
2946 </object>
2947
2948 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002949 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002950 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2951 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2952 <text>%tw_file_location1%</text>
2953 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2954 <sort name="tw_gui_sort_order" />
2955 <icon folder="folder_icon" file="file_icon" />
2956 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002957 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002958 <folders="1" files="1" />
2959 <path name="tw_file_location1" default="/" />
2960 <data name="tw_filename1" />
2961 <selection name="tw_selection1" />
2962 </object>
2963
2964 <object type="template" name="sort_options" />
2965
2966 <object type="action">
2967 <actions>
2968 <action function="set">tw_fm_type=File</action>
2969 <action function="set">tw_fm_isfolder=0</action>
2970 </actions>
2971 </object>
2972
2973 <object type="action">
2974 <touch key="home" />
2975 <action function="page">main</action>
2976 </object>
2977
2978 <object type="action">
2979 <touch key="back" />
2980 <action function="page">advanced</action>
2981 </object>
2982
2983 <object type="action">
2984 <condition var1="tw_filename1" op="modified" />
2985 <actions>
2986 <action function="page">filemanageroptions</action>
2987 </actions>
2988 </object>
2989
2990 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002991 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002992 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
2993 <font resource="font" color="%button_text_color%" />
2994 <text>Select</text>
2995 <image resource="medium_button" />
2996 <actions>
2997 <action function="set">tw_filename1=tw_file_location1</action>
2998 <action function="set">tw_fm_isfolder=1</action>
2999 <action function="set">tw_fm_type=Folder</action>
3000 <action function="page">filemanageroptions</action>
3001 </actions>
3002 </object>
3003
3004 <object type="template" name="footer" />
3005 </page>
3006
3007 <page name="filemanageroptions">
3008 <object type="template" name="header" />
3009
3010 <object type="text" color="%text_color%">
3011 <font resource="font" />
3012 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3013 <text>%tw_fm_type% Selected:</text>
3014 </object>
3015
3016 <object type="text" color="%text_color%">
3017 <font resource="font" />
3018 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3019 <text>%tw_filename1%</text>
3020 </object>
3021
3022 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003023 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <condition var1="tw_fm_isfolder" var2="0" />
3025 <placement x="%col1_x%" y="%row2_y%" />
3026 <font resource="font" color="%button_text_color%" />
3027 <text>Copy File</text>
3028 <image resource="main_button" />
3029 <actions>
3030 <action function="set">tw_filemanager_command=cp</action>
3031 <action function="set">tw_fm_text1=Copying</action>
3032 <action function="page">choosedestinationfolder</action>
3033 </actions>
3034 </object>
3035
3036 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003037 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003038 <condition var1="tw_fm_isfolder" var2="1" />
3039 <placement x="%col1_x%" y="%row2_y%" />
3040 <font resource="font" color="%button_text_color%" />
3041 <text>Copy Folder</text>
3042 <image resource="main_button" />
3043 <actions>
3044 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3045 <action function="set">tw_fm_text1=Copying</action>
3046 <action function="page">choosedestinationfolder</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 <placement x="%col2_x%" y="%row2_y%" />
3053 <font resource="font" color="%button_text_color%" />
3054 <text>Move</text>
3055 <image resource="main_button" />
3056 <actions>
3057 <action function="set">tw_filemanager_command=mv</action>
3058 <action function="set">tw_fm_text1=Moving</action>
3059 <action function="page">choosedestinationfolder</action>
3060 </actions>
3061 </object>
3062
3063 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003064 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003065 <placement x="%col1_x%" y="%row3_y%" />
3066 <font resource="font" color="%button_text_color%" />
3067 <text>chmod 755</text>
3068 <image resource="main_button" />
3069 <actions>
3070 <action function="set">tw_filemanager_command=chmod 755</action>
3071 <action function="set">tw_fm_text1=chmod 755</action>
3072 <action function="set">tw_fm_text2=</action>
3073 <action function="set">tw_fm_text3=</action>
3074 <action function="set">tw_include_text3=0</action>
3075 <action function="set">tw_back=filemanageroptions</action>
3076 <action function="page">filemanagerconfirm</action>
3077 </actions>
3078 </object>
3079
3080 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003081 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003082 <placement x="%col2_x%" y="%row3_y%" />
3083 <font resource="font" color="%button_text_color%" />
3084 <text>chmod</text>
3085 <image resource="main_button" />
3086 <actions>
3087 <action function="set">tw_filemanager_rename=0000</action>
3088 <action function="set">tw_fm_text2=</action>
3089 <action function="set">tw_fm_text3=</action>
3090 <action function="set">tw_include_text3=0</action>
3091 <action function="set">tw_back=filemanageroptions</action>
3092 <action function="page">filemanagerchmod</action>
3093 </actions>
3094 </object>
3095
3096 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003097 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003098 <placement x="%col1_x%" y="%row4_y%" />
3099 <font resource="font" color="%button_text_color%" />
3100 <text>Delete</text>
3101 <image resource="main_button" />
3102 <actions>
3103 <action function="set">tw_filemanager_command=rm -rf</action>
3104 <action function="set">tw_fm_text1=Deleting</action>
3105 <action function="set">tw_fm_text2=</action>
3106 <action function="set">tw_fm_text3=</action>
3107 <action function="set">tw_include_text3=0</action>
3108 <action function="set">tw_back=filemanageroptions</action>
3109 <action function="page">filemanagerconfirm</action>
3110 </actions>
3111 </object>
3112
3113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <condition var1="tw_fm_isfolder" var2="0" />
3116 <placement x="%col2_x%" y="%row4_y%" />
3117 <font resource="font" color="%button_text_color%" />
3118 <text>Rename File</text>
3119 <image resource="main_button" />
3120 <actions>
3121 <action function="set">tw_filemanager_rename=tw_selection1</action>
3122 <action function="set">tw_fm_text1=Renaming</action>
3123 <action function="set">tw_filemanager_command=mv</action>
3124 <action function="page">filemanagerrenamefile</action>
3125 </actions>
3126 </object>
3127
3128 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003129 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003130 <condition var1="tw_fm_isfolder" var2="1" />
3131 <placement x="%col2_x%" y="%row4_y%" />
3132 <font resource="font" color="%button_text_color%" />
3133 <text>Rename Folder</text>
3134 <image resource="main_button" />
3135 <actions>
3136 <action function="set">tw_filemanager_rename=tw_selection1</action>
3137 <action function="set">tw_fm_text1=Renaming</action>
3138 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3139 <action function="page">filemanagerrenamefolder</action>
3140 </actions>
3141 </object>
3142
3143 <object type="action">
3144 <touch key="home" />
3145 <action function="page">main</action>
3146 </object>
3147
3148 <object type="action">
3149 <touch key="back" />
3150 <action function="page">filemanagerlist</action>
3151 </object>
3152
3153 <object type="template" name="footer" />
3154 </page>
3155
3156 <page name="choosedestinationfolder">
3157 <object type="template" name="header" />
3158
3159 <object type="text" color="%text_color%">
3160 <font resource="font" />
3161 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3162 <text>Browse to Destination Folder & Press Select</text>
3163 </object>
3164
3165 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003166 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003167 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3168 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3169 <text>%tw_file_location2%</text>
3170 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3171 <sort name="tw_gui_sort_order" />
3172 <icon folder="folder_icon" file="file_icon" />
3173 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003174 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003175 <filter folders="1" files="0" />
3176 <path name="tw_file_location2" default="/" />
3177 <data name="tw_filename2" />
3178 <selection name="tw_selection2" />
3179 </object>
3180
3181 <object type="template" name="sort_options" />
3182
3183 <object type="action">
3184 <touch key="home" />
3185 <action function="page">main</action>
3186 </object>
3187
3188 <object type="action">
3189 <touch key="back" />
3190 <action function="page">filemanageroptions</action>
3191 </object>
3192
3193 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003194 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003195 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3196 <font resource="font" color="%button_text_color%" />
3197 <text>Select</text>
3198 <image resource="medium_button" />
3199 <actions>
3200 <action function="set">tw_fm_text2=to</action>
3201 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3202 <action function="set">tw_include_text3=1</action>
3203 <action function="set">tw_back=filemanageroptions</action>
3204 <action function="page">filemanagerconfirm</action>
3205 </actions>
3206 </object>
3207
3208 <object type="template" name="footer" />
3209 </page>
3210
3211 <page name="filemanagerrenamefile">
3212 <object type="template" name="header" />
3213
3214 <object type="text" color="%text_color%">
3215 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3216 <font resource="font" />
3217 <text>Please Enter a New %tw_fm_type% Name</text>
3218 </object>
3219
3220 <object type="input">
3221 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3222 <background color="%input_background_color%" />
3223 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3224 <font resource="font" color="%text_color%" />
3225 <text>%tw_filemanager_rename%</text>
3226 <data name="tw_filemanager_rename" />
3227 <restrict minlen="1" maxlen="128" />
3228 <actions>
3229 <action function="set">tw_fm_text2=to</action>
3230 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3231 <action function="set">tw_include_text3=1</action>
3232 <action function="set">tw_back=filemanageroptions</action>
3233 <action function="page">filemanagerconfirm</action>
3234 </actions>
3235 </object>
3236
3237 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003238 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <placement x="%col_center_x%" y="%row2_y%" />
3240 <font resource="font" color="%button_text_color%" />
3241 <text>Cancel</text>
3242 <image resource="main_button" />
3243 <action function="page">filemanageroptions</action>
3244 </object>
3245
3246 <object type="template" name="keyboardtemplate" />
3247
3248 <object type="action">
3249 <touch key="home" />
3250 <action function="page">main</action>
3251 </object>
3252
3253 <object type="action">
3254 <touch key="back" />
3255 <action function="page">filemanageroptions</action>
3256 </object>
3257
3258 <object type="template" name="footer" />
3259 </page>
3260
3261 <page name="filemanagerrenamefolder">
3262 <object type="template" name="header" />
3263
3264 <object type="text" color="%text_color%">
3265 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3266 <font resource="font" />
3267 <text>Please Enter a New %tw_fm_type% Name</text>
3268 </object>
3269
3270 <object type="input">
3271 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3272 <background color="%input_background_color%" />
3273 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3274 <font resource="font" color="%text_color%" />
3275 <text>%tw_filemanager_rename%</text>
3276 <data name="tw_filemanager_rename" />
3277 <restrict minlen="1" maxlen="128" />
3278 <actions>
3279 <action function="set">tw_fm_text2=to</action>
3280 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3281 <action function="set">tw_include_text3=1</action>
3282 <action function="set">tw_back=filemanageroptions</action>
3283 <action function="page">filemanagerconfirm</action>
3284 </actions>
3285 </object>
3286
3287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003288 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003289 <placement x="%col_center_x%" y="%row2_y%" />
3290 <font resource="font" color="%button_text_color%" />
3291 <text>Cancel</text>
3292 <image resource="main_button" />
3293 <action function="page">filemanageroptions</action>
3294 </object>
3295
3296 <object type="template" name="keyboardtemplate" />
3297
3298 <object type="action">
3299 <touch key="home" />
3300 <action function="page">main</action>
3301 </object>
3302
3303 <object type="action">
3304 <touch key="back" />
3305 <action function="page">filemanageroptions</action>
3306 </object>
3307
3308 <object type="template" name="footer" />
3309 </page>
3310
3311 <page name="filemanagerchmod">
3312 <object type="template" name="header" />
3313
3314 <object type="text" color="%text_color%">
3315 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3316 <font resource="font" />
3317 <text>Please Enter New Permissions</text>
3318 </object>
3319
3320 <object type="input">
3321 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3322 <background color="%input_background_color%" />
3323 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3324 <font resource="font" color="%text_color%" />
3325 <text>%tw_filemanager_rename%</text>
3326 <data name="tw_filemanager_rename" />
3327 <restrict minlen="3" maxlen="4" allow="0123456789" />
3328 <actions>
3329 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3330 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3331 <action function="set">tw_back=filemanageroptions</action>
3332 <action function="page">filemanagerconfirm</action>
3333 </actions>
3334 </object>
3335
3336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003338 <placement x="%col_center_x%" y="%row2_y%" />
3339 <font resource="font" color="%button_text_color%" />
3340 <text>Cancel</text>
3341 <image resource="main_button" />
3342 <action function="page">filemanageroptions</action>
3343 </object>
3344
3345 <object type="template" name="keyboardtemplate" />
3346
3347 <object type="action">
3348 <touch key="home" />
3349 <action function="page">main</action>
3350 </object>
3351
3352 <object type="action">
3353 <touch key="back" />
3354 <action function="page">filemanageroptions</action>
3355 </object>
3356
3357 <object type="template" name="footer" />
3358 </page>
3359
3360 <page name="filemanagerconfirm">
3361 <object type="template" name="header" />
3362
3363 <object type="text" color="%text_color%">
3364 <font resource="font" />
3365 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3366 <text>%tw_fm_text1%</text>
3367 </object>
3368
3369 <object type="text" color="%text_color%">
3370 <font resource="font" />
3371 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3372 <text>%tw_filename1%</text>
3373 </object>
3374
3375 <object type="text" color="%text_color%">
3376 <font resource="font" />
3377 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3378 <text>%tw_fm_text2%</text>
3379 </object>
3380
3381 <object type="text" color="%text_color%">
3382 <font resource="font" />
3383 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3384 <text>%tw_fm_text3%</text>
3385 </object>
3386
3387 <object type="text" color="%text_color%">
3388 <font resource="font" />
3389 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3390 <text>Press back button to cancel.</text>
3391 </object>
3392
3393 <object type="slider">
3394 <placement x="%slider_x%" y="%slider_y%" />
3395 <resource base="slider" used="slider-used" touch="slider-touch" />
3396 <action function="page">filemanageracction</action>
3397 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003398
Dees_Troy51a0e822012-09-05 15:24:24 -04003399 <object type="text" color="%text_color%">
3400 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003401 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003402 <text>Swipe to Confirm</text>
3403 </object>
3404
3405 <object type="action">
3406 <touch key="back" />
3407 <action function="page">%tw_back%</action>
3408 </object>
3409
3410 <object type="action">
3411 <touch key="home" />
3412 <action function="page">main</action>
3413 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003414
Dees_Troy51a0e822012-09-05 15:24:24 -04003415 <object type="template" name="footer" />
3416 </page>
3417
3418 <page name="filemanageracction">
3419 <object type="template" name="header" />
3420
3421 <object type="text" color="%text_color%">
3422
3423 <font resource="font" />
3424 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3425 <text>%tw_fm_text1%</text>
3426 </object>
3427
3428 <object type="template" name="action_page_console" />
3429
3430 <object type="template" name="progress_bar" />
3431
3432 <object type="action">
3433 <conditions>
3434 <condition var1="tw_operation_state" var2="1" />
3435 <condition var1="tw_operation_status" var2="0" />
3436 </conditions>
3437 <actions>
3438 <action function="set">tw_back=filemanagerlist</action>
3439 <action function="set">tw_complete_text1=File Operation Complete</action>
3440 <action function="page">action_complete</action>
3441 </actions>
3442 </object>
3443
3444 <object type="action">
3445 <conditions>
3446 <condition var1="tw_operation_state" var2="1" />
3447 <condition var1="tw_operation_status" op="!=" var2="0" />
3448 </conditions>
3449 <actions>
3450 <action function="set">tw_complete_text1=File Operation Complete</action>
3451 <action function="page">action_complete</action>
3452 </actions>
3453 </object>
3454
3455 <object type="action">
3456 <condition var1="tw_include_text3" var2="0" />
3457 <actions>
3458 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3459 </actions>
3460 </object>
3461
3462 <object type="action">
3463 <condition var1="tw_include_text3" var2="1" />
3464 <actions>
3465 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3466 </actions>
3467 </object>
3468 </page>
3469
3470 <page name="decrypt">
3471 <object type="template" name="header" />
3472
3473 <object type="text" color="%text_color%">
3474 <font resource="font" />
3475 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3476 <text>Please Enter Your Password</text>
3477 </object>
3478
3479 <object type="input">
3480 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3481 <background color="%input_background_color%" />
3482 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3483 <font resource="font" color="%text_color%" />
3484 <text>%tw_crypto_display%</text>
3485 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3486 <restrict minlen="1" maxlen="254" />
3487 <actions>
3488 <action function="page">trydecrypt</action>
3489 </actions>
3490 </object>
3491
3492 <object type="text" color="%text_fail_color%">
3493 <condition var1="tw_password_fail" var2="1" />
3494 <font resource="font" />
3495 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3496 <text>Password Failed, Please Try Again</text>
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 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003506 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003507 <action function="page">main</action>
3508 </actions>
3509 </object>
3510
3511 <object type="template" name="keyboardtemplate" />
3512
Dees_Troy51a0e822012-09-05 15:24:24 -04003513 <object type="template" name="footer" />
3514 </page>
3515
3516 <page name="trydecrypt">
3517 <object type="template" name="header" />
3518
3519 <object type="text" color="%text_color%">
3520 <font resource="font" />
3521 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3522 <text>Trying Decryption with Your Password</text>
3523 </object>
3524
3525 <object type="template" name="action_page_console" />
3526
3527 <object type="template" name="progress_bar" />
3528
3529 <object type="action">
3530 <action function="decrypt"></action>
3531 </object>
3532
3533 <object type="action">
3534 <conditions>
3535 <condition var1="tw_operation_state" var2="1" />
3536 <condition var1="tw_operation_status" op="!=" var2="0" />
3537 </conditions>
3538 <actions>
3539 <action function="set">tw_password_fail=1</action>
3540 <action function="page">decrypt</action>
3541 </actions>
3542 </object>
3543
3544 <object type="action">
3545 <conditions>
3546 <condition var1="tw_operation_state" var2="1" />
3547 <condition var1="tw_operation_status" op="=" var2="0" />
3548 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003549 <actions>
3550 <action function="set">tw_page_done=1</action>
3551 <action function="page">main</action>
3552 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003553 </object>
3554 </page>
3555
3556 <page name="terminalfolder">
3557 <object type="template" name="header" />
3558
3559 <object type="text" color="%text_color%">
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3562 <text>Browse to Starting Folder</text>
3563 </object>
3564
3565 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003566 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003567 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3568 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3569 <text>%tw_terminal_location%</text>
3570 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3571 <sort name="tw_gui_sort_order" />
3572 <icon folder="folder_icon" file="file_icon" />
3573 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003574 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003575 <filter folders="1" files="0" />
3576 <path name="tw_terminal_location" default="/" />
3577 <data name="tw_terminal" />
3578 <selection name="tw_terminal_selection" />
3579 </object>
3580
3581 <object type="template" name="sort_options" />
3582
3583 <object type="action">
3584 <touch key="home" />
3585 <action function="page">main</action>
3586 </object>
3587
3588 <object type="action">
3589 <touch key="back" />
3590 <action function="page">advanced</action>
3591 </object>
3592
3593 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003594 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003595 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3596 <font resource="font" color="%button_text_color%" />
3597 <text>Select</text>
3598 <image resource="medium_button" />
3599 <actions>
3600 <action function="page">terminalcommand</action>
3601 </actions>
3602 </object>
3603
3604 <object type="template" name="footer" />
3605 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003606
Dees_Troy51a0e822012-09-05 15:24:24 -04003607 <page name="terminalcommand">
3608 <object type="template" name="header" />
3609
3610 <object type="console">
3611 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3612 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3613 <font resource="fixed" />
3614 </object>
3615
3616 <object type="text" color="%text_color%">
3617 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3618 <font resource="font" />
3619 <text>Starting Path: %tw_terminal_location%</text>
3620 </object>
3621
3622 <object type="input">
3623 <condition var1="tw_terminal_state" var2="0" />
3624 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3625 <background color="%input_background_color%" />
3626 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3627 <font resource="font" color="%text_color%" />
3628 <text>%tw_terminal_command%</text>
3629 <data name="tw_terminal_command" />
3630 <restrict minlen="1" />
3631 <action function="terminalcommand">%tw_terminal_command%</action>
3632 </object>
3633
3634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <condition var1="tw_terminal_state" var2="1" />
3637 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3638 <font resource="font" color="%button_text_color%" />
3639 <text>KILL</text>
3640 <image resource="medium_button" />
3641 <action function="killterminal"></action>
3642 </object>
3643
3644 <object type="template" name="keyboardtemplate" />
3645
3646 <object type="action">
3647 <touch key="home" />
3648 <action function="page">main</action>
3649 </object>
3650
3651 <object type="action">
3652 <touch key="back" />
3653 <action function="page">terminalfolder</action>
3654 </object>
3655 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003656
3657 <page name="sideload">
3658 <object type="template" name="header" />
3659
3660 <object type="text" color="%text_color%">
3661 <font resource="font" />
3662 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3663 <text>ADB Sideload</text>
3664 </object>
3665
3666 <object type="checkbox">
3667 <placement x="%col1_x%" y="%row2_text_y%" />
3668 <font resource="font" color="%text_color%" />
3669 <text>Wipe Dalvik Cache.</text>
3670 <data variable="tw_wipe_dalvik" />
3671 <image checked="checkbox_true" unchecked="checkbox_false" />
3672 </object>
3673
3674 <object type="checkbox">
3675 <placement x="%col1_x%" y="%row3_text_y%" />
3676 <font resource="font" color="%text_color%" />
3677 <text>Wipe Cache.</text>
3678 <data variable="tw_wipe_cache" />
3679 <image checked="checkbox_true" unchecked="checkbox_false" />
3680 </object>
3681
3682 <object type="slider">
3683 <placement x="%slider_x%" y="%slider_y%" />
3684 <resource base="slider" used="slider-used" touch="slider-touch" />
3685 <actions>
3686 <action function="set">tw_back=advanced</action>
3687 <action function="set">tw_action=adbsideload</action>
3688 <action function="set">tw_action_text1=ADB Sideload</action>
3689 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3690 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3691 <action function="set">tw_has_cancel=1</action>
3692 <action function="set">tw_show_reboot=1</action>
3693 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3694 <action function="page">action_page</action>
3695 </actions>
3696 </object>
3697
3698 <object type="text" color="%text_color%">
3699 <font resource="font" />
3700 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3701 <text>Swipe to Start Sideload</text>
3702 </object>
3703
3704 <object type="action">
3705 <touch key="home" />
3706 <action function="page">main</action>
3707 </object>
3708
3709 <object type="action">
3710 <touch key="back" />
3711 <action function="page">advanced</action>
3712 </object>
3713
3714 <object type="template" name="footer" />
3715 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003716 </pages>
3717</recovery>