blob: 03e4e7001e427040501f4bf00ed291652795121b [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" />
Dees_Troyeead9852013-02-15 14:31:06 -0600140 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600331 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
332 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123: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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600338 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
339 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <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=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600346 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400347 <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="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600353 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400354 <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">
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <condition var1="tw_has_injecttwrp" var2="1" />
603 <placement x="%col1_x%" y="%row10_text_y%" />
604 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400605 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400606 <data variable="tw_inject_after_zip" />
607 <image checked="checkbox_true" unchecked="checkbox_false" />
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
613 <text>File %tw_zip_queue_count% of max of 10</text>
614 </object>
615
616 <object type="slider">
617 <placement x="%slider_x%" y="%slider_y%" placement="5" />
618 <resource base="slider" used="slider-used" touch="slider-touch" />
619 <action function="flash">flash_zip</action>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400624 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <text>Swipe to Confirm Flash</text>
626 </object>
627
628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
631 <placement x="%col1_x%" y="%row_queue_y%" />
632 <font resource="font" color="%button_text_color%" />
633 <text>Add More Zips</text>
634 <image resource="main_button" />
635 <action function="page">install</action>
636 </object>
637
638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <placement x="%col2_x%" y="%row_queue_y%" />
641 <font resource="font" color="%button_text_color%" />
642 <text>Clear Zip Queue</text>
643 <image resource="main_button" />
644 <actions>
645 <action function="queueclear"></action>
646 <action function="page">install</action>
647 </actions>
648 </object>
649
650 <object type="action">
651 <touch key="back" />
652 <actions>
653 <action function="cancelzip"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="home" />
660 <action function="page">main</action>
661 </object>
662
663 <object type="template" name="footer" />
664 </page>
665
666 <page name="flash_zip">
667 <object type="template" name="header" />
668
669 <object type="console">
670 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
671 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
672 <font resource="fixed" />
673 </object>
674
675 <object type="text" color="%text_color%">
676 <font resource="font" />
677 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
678 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
679 </object>
680
681 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400682 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400683 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
684 <text>%tw_filename%</text>
685 </object>
686
687 <object type="template" name="progress_bar" />
688
689 <object type="action">
690 <condition var1="tw_operation_state" var2="1" />
691 <action function="page">flash_done</action>
692 </object>
693 </page>
694
695 <page name="flash_done">
696 <object type="template" name="header" />
697
698 <object type="text" color="%text_color%">
699 <font resource="font" />
700 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
701 <text>Zip Install Complete</text>
702 </object>
703
704 <object type="console">
705 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
706 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
707 <font resource="fixed" />
708 </object>
709
710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400712 <placement x="%col1_x%" y="%row4_y%" />
713 <font resource="font" color="%button_text_color%" />
714 <text>Wipe cache/dalvik</text>
715 <image resource="main_button" />
716 <actions>
717 <action function="set">tw_back=flash_done</action>
718 <action function="set">tw_action=wipe</action>
719 <action function="set">tw_action_param=/cache</action>
720 <action function="set">tw_has_action2=1</action>
721 <action function="set">tw_action2=wipe</action>
722 <action function="set">tw_action2_param=dalvik</action>
723 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
724 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
725 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
726 <action function="set">tw_slider_text=Swipe to Wipe</action>
727 <action function="page">confirm_action</action>
728 </actions>
729 </object>
730
731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <placement x="%col2_x%" y="%row4_y%" />
734 <font resource="font" color="%button_text_color%" />
735 <text>Reboot System</text>
736 <image resource="main_button" />
737 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400738 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <action function="set">tw_action=reboot</action>
740 <action function="set">tw_action_param=system</action>
741 <action function="set">tw_has_action2=0</action>
742 <action function="set">tw_text1=No OS Installed! Are you</action>
743 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_text3=</action>
745 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400747 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <action function="set">tw_complete_text1=Rebooting...</action>
749 <action function="set">tw_slider_text=Swipe to Reboot</action>
750 <action function="page">rebootcheck</action>
751 </actions>
752 </object>
753
754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <placement x="%col_center_x%" y="%row3_y%" />
757 <font resource="font" color="%button_text_color%" />
758 <text>Home</text>
759 <image resource="main_button" />
760 <actions>
761 <action function="set">tw_clear_destination=main2</action>
762 <action function="page">clear_vars</action>
763 </actions>
764 </object>
765
766 <object type="text" color="%text_fail_color%">
767 <condition var1="tw_operation_status" op="!=" var2="0" />
768 <font resource="font" />
769 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
770 <text>Failed</text>
771 </object>
772
773 <object type="text" color="%text_success_color%">
774 <condition var1="tw_operation_status" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Successful</text>
778 </object>
779
780 <object type="action">
781 <touch key="back" />
782 <actions>
783 <action function="set">tw_clear_destination=install</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </object>
787
788 <object type="action">
789 <touch key="home" />
790 <actions>
791 <action function="set">tw_clear_destination=main2</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795 </page>
796
797 <page name="clear_vars">
798 <object type="action">
799 <action function="set">tw_operation_state=0</action>
800 <action function="set">tw_text1=</action>
801 <action function="set">tw_text2=</action>
802 <action function="set">tw_text3=</action>
803 <action function="set">tw_text4=</action>
804 <action function="set">tw_action_text1=</action>
805 <action function="set">tw_action_text2=</action>
806 <action function="set">tw_action_param=</action>
807 <action function="set">tw_has_action2=0</action>
808 <action function="set">tw_action2=</action>
809 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400810 <action function="set">tw_has_cancel=0</action>
811 <action function="set">tw_cancel_action=</action>
812 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400813 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400814 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400815 <action function="page">%tw_clear_destination%</action>
816 </object>
817 </page>
818
819 <page name="confirm_action">
820 <object type="template" name="header" />
821
Dees_Troyce2fe772012-09-28 12:34:33 -0400822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600823 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400824 <condition var1="tw_show_exclamation" var2="1" />
825 <placement x="%exclamation_x%" y="%exclamation_y%" />
826 <font resource="font" color="%button_text_color%" />
827 <text></text>
828 <image resource="exclamation" />
829 </object>
830
Dees_Troy51a0e822012-09-05 15:24:24 -0400831 <object type="text" color="%text_color%">
832 <font resource="font" />
833 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
834 <text>%tw_text1%</text>
835 </object>
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
840 <text>%tw_text2%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
845 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
846 <text>%tw_text3%</text>
847 </object>
848
849 <object type="text" color="%text_color%">
850 <font resource="font" />
851 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
852 <text>%tw_text4%</text>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400857 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400858 <text>Press back button to cancel.</text>
859 </object>
860
861 <object type="slider">
862 <placement x="%slider_x%" y="%slider_y%" />
863 <resource base="slider" used="slider-used" touch="slider-touch" />
864 <action function="page">action_page</action>
865 </object>
866
867 <object type="text" color="%text_color%">
868 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400869 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400870 <text>%tw_slider_text%</text>
871 </object>
872
873 <object type="action">
874 <touch key="back" />
875 <actions>
876 <action function="set">tw_clear_destination=%tw_back%</action>
877 <action function="page">clear_vars</action>
878 </actions>
879 </object>
880
881 <object type="action">
882 <touch key="home" />
883 <action function="page">main</action>
884 </object>
885
886 <object type="template" name="footer" />
887 </page>
888
889 <page name="action_page">
890 <object type="template" name="header" />
891
892 <object type="text" color="%text_color%">
893 <font resource="font" />
894 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
895 <text>%tw_action_text1%</text>
896 </object>
897
898 <object type="text" color="%text_color%">
899 <font resource="font" />
900 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
901 <text>%tw_action_text2%</text>
902 </object>
903
904 <object type="template" name="action_page_console" />
905
Dees_Troycfb63ae2012-09-19 14:30:17 -0400906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600907 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400908 <condition var1="tw_has_cancel" var2="1" />
909 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400910 <font resource="font" color="%button_text_color%" />
911 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400912 <image resource="medium_button" />
913 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400914 </object>
915
Dees_Troycfb63ae2012-09-19 14:30:17 -0400916 <object type="template" name="progress_bar" />
917
918 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400919 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400920 <actions>
921 <action function="page">action_complete</action>
922 </actions>
923 </object>
924
925 <object type="action">
926 <condition var1="tw_has_action2" var2="0" />
927 <actions>
928 <action function="%tw_action%">%tw_action_param%</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="1" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 <action function="%tw_action2%">%tw_action2_param%</action>
937 </actions>
938 </object>
939 </page>
940
Dees_Troy6ef66352013-02-21 08:26:57 -0600941 <page name="singleaction_page">
942 <object type="template" name="header" />
943
944 <object type="text" color="%text_color%">
945 <font resource="font" />
946 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
947 <text>%tw_action_text1%</text>
948 </object>
949
950 <object type="text" color="%text_color%">
951 <font resource="font" />
952 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
953 <text>%tw_action_text2%</text>
954 </object>
955
956 <object type="template" name="action_page_console" />
957
958 <object type="template" name="progress_bar" />
959
960 <object type="action">
961 <condition var1="tw_operation_state" var2="1" />
962 <actions>
963 <action function="set">tw_page_done=1</action>
964 </actions>
965 </object>
966
967 <object type="action">
968 <condition var1="tw_has_action2" var2="0" />
969 <actions>
970 <action function="%tw_action%">%tw_action_param%</action>
971 </actions>
972 </object>
973
974 <object type="action">
975 <condition var1="tw_has_action2" var2="1" />
976 <actions>
977 <action function="%tw_action%">%tw_action_param%</action>
978 <action function="%tw_action2%">%tw_action2_param%</action>
979 </actions>
980 </object>
981 </page>
982
Dees_Troy51a0e822012-09-05 15:24:24 -0400983 <page name="action_complete">
984 <object type="template" name="header" />
985
986 <object type="text" color="%text_color%">
987 <font resource="font" />
988 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
989 <text>%tw_complete_text1%</text>
990 </object>
991
992 <object type="text" color="%text_fail_color%">
993 <condition var1="tw_operation_status" op="!=" var2="0" />
994 <font resource="font" />
995 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
996 <text>Failed</text>
997 </object>
998
999 <object type="text" color="%text_success_color%">
1000 <condition var1="tw_operation_status" var2="0" />
1001 <font resource="font" />
1002 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1003 <text>Successful</text>
1004 </object>
1005
1006 <object type="template" name="action_page_console" />
1007
1008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001009 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001011 <placement x="%col_center_x%" y="%row4_y%" />
1012 <font resource="font" color="%button_text_color%" />
1013 <text>Back</text>
1014 <image resource="main_button" />
1015 <actions>
1016 <action function="set">tw_clear_destination=%tw_back%</action>
1017 <action function="page">clear_vars</action>
1018 </actions>
1019 </object>
1020
Dees_Troya3f81542012-10-08 10:58:53 -04001021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001022 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001023 <condition var1="tw_show_reboot" var2="1" />
1024 <placement x="%col_center_x%" y="%row4_y%" />
1025 <font resource="font" color="%button_text_color%" />
1026 <text>Reboot System</text>
1027 <image resource="main_button" />
1028 <actions>
1029 <action function="set">tw_back=main2</action>
1030 <action function="set">tw_action=reboot</action>
1031 <action function="set">tw_action_param=system</action>
1032 <action function="set">tw_has_action2=0</action>
1033 <action function="set">tw_text1=No OS Installed! Are you</action>
1034 <action function="set">tw_text2=sure you wish to reboot?</action>
1035 <action function="set">tw_text3=</action>
1036 <action function="set">tw_text4=</action>
1037 <action function="set">tw_action_text1=Rebooting...</action>
1038 <action function="set">tw_action_text2=</action>
1039 <action function="set">tw_complete_text1=Rebooting...</action>
1040 <action function="set">tw_slider_text=Swipe to Reboot</action>
1041 <action function="page">rebootcheck</action>
1042 </actions>
1043 </object>
1044
Dees_Troy51a0e822012-09-05 15:24:24 -04001045 <object type="action">
1046 <touch key="home" />
1047 <actions>
1048 <action function="set">tw_clear_destination=main2</action>
1049 <action function="page">clear_vars</action>
1050 </actions>
1051 </object>
1052
1053 <object type="action">
1054 <touch key="back" />
1055 <actions>
1056 <action function="set">tw_clear_destination=%tw_back%</action>
1057 <action function="page">clear_vars</action>
1058 </actions>
1059 </object>
1060 </page>
1061
1062 <page name="filecheck">
1063 <object type="action">
1064 <action function="fileexists">%tw_filecheck%</action>
1065 </object>
1066
1067 <object type="action">
1068 <conditions>
1069 <condition var1="tw_operation_state" var2="1" />
1070 <condition var1="tw_operation_status" var2="0" />
1071 </conditions>
1072 <actions>
1073 <action function="set">tw_fileexists=1</action>
1074 <action function="page">%tw_existpage%</action>
1075 </actions>
1076 </object>
1077
1078 <object type="action">
1079 <conditions>
1080 <condition var1="tw_operation_state" var2="1" />
1081 <condition var1="tw_operation_status" var2="1" />
1082 </conditions>
1083 <actions>
1084 <action function="set">tw_fileexists=0</action>
1085 <action function="page">%tw_notexistpage%</action>
1086 </actions>
1087 </object>
1088 </page>
1089
1090 <page name="rebootcheck">
1091 <object type="action">
1092 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1093 <action function="reboot">%tw_action_param%</action>
1094 </object>
1095
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1098 <action function="page">confirm_action</action>
1099 </object>
1100 </page>
1101
1102 <page name="wipe">
1103 <object type="template" name="header" />
1104
1105 <object type="text" color="%text_color%">
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1108 <text>Wipe Menu</text>
1109 </object>
1110
1111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001113 <placement x="%col1_x%" y="%row1_y%" />
1114 <font resource="font" color="%button_text_color%" />
1115 <text>Cache</text>
1116 <image resource="main_button" />
1117 <actions>
1118 <action function="set">tw_back=wipe</action>
1119 <action function="set">tw_action=wipe</action>
1120 <action function="set">tw_action_param=/cache</action>
1121 <action function="set">tw_text1=Wipe Cache?</action>
1122 <action function="set">tw_action_text1=Wiping Cache...</action>
1123 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1124 <action function="set">tw_slider_text=Swipe to Wipe</action>
1125 <action function="page">confirm_action</action>
1126 </actions>
1127 </object>
1128
1129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001131 <placement x="%col2_x%" y="%row1_y%" />
1132 <font resource="font" color="%button_text_color%" />
1133 <text>Dalvik Cache</text>
1134 <image resource="main_button" />
1135 <actions>
1136 <action function="set">tw_back=wipe</action>
1137 <action function="set">tw_action=wipe</action>
1138 <action function="set">tw_action_param=dalvik</action>
1139 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1140 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1141 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1142 <action function="set">tw_slider_text=Swipe to Wipe</action>
1143 <action function="page">confirm_action</action>
1144 </actions>
1145 </object>
1146
1147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001148 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 <placement x="%col1_x%" y="%row2_y%" />
1150 <font resource="font" color="%button_text_color%" />
1151 <text>Factory Reset</text>
1152 <image resource="main_button" />
1153 <actions>
1154 <action function="set">tw_back=wipe</action>
1155 <action function="set">tw_action=wipe</action>
1156 <action function="set">tw_action_param=data</action>
1157 <action function="set">tw_text1=Factory Reset?</action>
1158 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1159 <action function="set">tw_action_text1=Factory Reset...</action>
1160 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1161 <action function="set">tw_slider_text=Swipe to Wipe</action>
1162 <action function="page">confirm_action</action>
1163 </actions>
1164 </object>
1165
1166 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001167 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001168 <placement x="%col2_x%" y="%row2_y%" />
1169 <font resource="font" color="%button_text_color%" />
1170 <text>System</text>
1171 <image resource="main_button" />
1172 <actions>
1173 <action function="set">tw_back=wipe</action>
1174 <action function="set">tw_action=wipe</action>
1175 <action function="set">tw_action_param=/system</action>
1176 <action function="set">tw_text1=Wipe System?</action>
1177 <action function="set">tw_text2=This will wipe your ROM</action>
1178 <action function="set">tw_action_text1=Wiping System...</action>
1179 <action function="set">tw_complete_text1=System Wipe Complete</action>
1180 <action function="set">tw_slider_text=Swipe to Wipe</action>
1181 <action function="page">confirm_action</action>
1182 </actions>
1183 </object>
1184
1185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001187 <condition var1="tw_has_external" var2="1" />
1188 <placement x="%col1_x%" y="%row3_y%" />
1189 <font resource="font" color="%button_text_color%" />
1190 <text>External Storage</text>
1191 <image resource="main_button" />
1192 <actions>
1193 <action function="set">tw_back=wipe</action>
1194 <action function="set">tw_action=wipe</action>
1195 <action function="set">tw_action_param=EXTERNAL</action>
1196 <action function="set">tw_has_action2=1</action>
1197 <action function="set">tw_action2=set</action>
1198 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001199 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001200 <action function="set">tw_action_text1=Wiping External Storage...</action>
1201 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1202 <action function="set">tw_slider_text=Swipe to Wipe</action>
1203 <action function="page">confirm_action</action>
1204 </actions>
1205 </object>
1206
1207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001209 <condition var1="tw_has_internal" var2="1" />
1210 <placement x="%col2_x%" y="%row3_y%" />
1211 <font resource="font" color="%button_text_color%" />
1212 <text>Internal Storage</text>
1213 <image resource="main_button" />
1214 <actions>
1215 <action function="set">tw_back=wipe</action>
1216 <action function="set">tw_action=wipe</action>
1217 <action function="set">tw_action_param=INTERNAL</action>
1218 <action function="set">tw_has_action2=1</action>
1219 <action function="set">tw_action2=set</action>
1220 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1221 <action function="set">tw_text1=Wipe Internal Storage?</action>
1222 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1223 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1224 <action function="set">tw_slider_text=Swipe to Wipe</action>
1225 <action function="page">confirm_action</action>
1226 </actions>
1227 </object>
1228
1229 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001230 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001231 <conditions>
1232 <condition var1="tw_has_internal" var2="1" />
1233 <condition var1="tw_has_data_media" var2="1" />
1234 </conditions>
1235 <placement x="%col1_x%" y="%row4_y%" />
1236 <font resource="font" color="%button_text_color%" />
1237 <text>Format Data</text>
1238 <image resource="main_button" />
1239 <actions>
1240 <action function="set">tw_back=wipe</action>
1241 <action function="set">tw_action=wipe</action>
1242 <action function="set">tw_action_param=DATAMEDIA</action>
1243 <action function="set">tw_has_action2=1</action>
1244 <action function="set">tw_action2=set</action>
1245 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001246 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001248 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001249 <action function="set">tw_action_text1=Formatting Data...</action>
1250 <action function="set">tw_complete_text1=Data Format Complete</action>
1251 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001252 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001253 <action function="page">confirm_action</action>
1254 </actions>
1255 </object>
1256
1257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001258 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001259 <condition var1="tw_has_data_media" var2="0" />
1260 <placement x="%col1_x%" y="%row4_y%" />
1261 <font resource="font" color="%button_text_color%" />
1262 <text>Android Secure</text>
1263 <image resource="main_button" />
1264 <actions>
1265 <action function="set">tw_back=wipe</action>
1266 <action function="set">tw_action=wipe</action>
1267 <action function="set">tw_action_param=ANDROIDSECURE</action>
1268 <action function="set">tw_text1=Wipe Android Secure?</action>
1269 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1270 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1271 <action function="set">tw_slider_text=Swipe to Format</action>
1272 <action function="page">confirm_action</action>
1273 </actions>
1274 </object>
1275
1276 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001277 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001278 <condition var1="tw_has_sdext_partition" var2="1" />
1279 <placement x="%col2_x%" y="%row4_y%" />
1280 <font resource="font" color="%button_text_color%" />
1281 <text>SD Ext</text>
1282 <image resource="main_button" />
1283 <actions>
1284 <action function="set">tw_back=wipe</action>
1285 <action function="set">tw_action=wipe</action>
1286 <action function="set">tw_action_param=/sd-ext</action>
1287 <action function="set">tw_text1=Wipe SD-Ext?</action>
1288 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1289 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1290 <action function="set">tw_slider_text=Swipe to Wipe</action>
1291 <action function="page">confirm_action</action>
1292 </actions>
1293 </object>
1294
1295 <object type="action">
1296 <touch key="home" />
1297 <action function="page">main</action>
1298 </object>
1299
1300 <object type="action">
1301 <touch key="back" />
1302 <action function="page">main</action>
1303 </object>
1304
1305 <object type="template" name="footer" />
1306 </page>
1307
1308 <page name="backup">
1309 <object type="template" name="header" />
1310
Dees_Troyb46a6842012-09-25 11:06:46 -04001311 <object type="text" color="%text_color%">
1312 <font resource="font" />
1313 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1314 <text>Backup Name: %tw_backup_name%</text>
1315 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001316
Dees_Troyb46a6842012-09-25 11:06:46 -04001317 <object type="text" color="%text_color%">
1318 <placement x="%col1_x%" y="%row1_text_y%" />
1319 <font resource="font" />
1320 <text>Backup Device</text>
1321 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001322
Dees_Troyb46a6842012-09-25 11:06:46 -04001323 <object type="slider">
1324 <placement x="%slider_x%" y="slider_y" />
1325 <resource base="slider" used="slider-used" touch="slider-touch" />
1326 <action function="page">backup_run</action>
1327 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001328
1329 <object type="text" color="%text_color%">
1330 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001331 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 <text>Swipe to Back Up</text>
1333 </object>
1334
1335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001337 <placement x="%col2_x%" y="%row1_y%" />
1338 <font resource="font" color="%button_text_color%" />
1339 <text>Refresh Sizes</text>
1340 <image resource="main_button" />
1341 <action function="refreshsizes"></action>
1342 </object>
1343
1344 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001346 <placement x="%col2_x%" y="%backup_name_y%" />
1347 <font resource="font" color="%button_text_color%" />
1348 <text>Set Backup Name</text>
1349 <image resource="main_button" />
1350 <actions>
1351 <action function="set">tw_fileexists=0</action>
1352 <action function="page">backupname1</action>
1353 </actions>
1354 </object>
1355
1356 <object type="checkbox">
1357 <placement x="%col1_x%" y="%row2_text_y%" />
1358 <font resource="font" color="%text_color%" />
1359 <text>System (%tw_backup_system_size% MB)</text>
1360 <data variable="tw_backup_system" />
1361 <image checked="checkbox_true" unchecked="checkbox_false" />
1362 </object>
1363
1364 <object type="checkbox">
1365 <placement x="%col1_x%" y="%row3_text_y%" />
1366 <font resource="font" color="%text_color%" />
1367 <text>Data (%tw_backup_data_size% MB)</text>
1368 <data variable="tw_backup_data" />
1369 <image checked="checkbox_true" unchecked="checkbox_false" />
1370 </object>
1371
1372 <object type="checkbox">
1373 <condition var1="tw_has_boot_partition" var2="1" />
1374 <placement x="%col1_x%" y="%row4_text_y%" />
1375 <font resource="font" color="%text_color%" />
1376 <text>Boot (%tw_backup_boot_size% MB)</text>
1377 <data variable="tw_backup_boot" />
1378 <image checked="checkbox_true" unchecked="checkbox_false" />
1379 </object>
1380
1381 <object type="checkbox">
1382 <condition var1="tw_has_recovery_partition" var2="1" />
1383 <placement x="%col1_x%" y="%row5_text_y%" />
1384 <font resource="font" color="%text_color%" />
1385 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1386 <data variable="tw_backup_recovery" />
1387 <image checked="checkbox_true" unchecked="checkbox_false" />
1388 </object>
1389
1390 <object type="checkbox">
1391 <placement x="%col1_x%" y="%row6_text_y%" />
1392 <font resource="font" color="%text_color%" />
1393 <text>Cache (%tw_backup_cache_size% MB)</text>
1394 <data variable="tw_backup_cache" />
1395 <image checked="checkbox_true" unchecked="checkbox_false" />
1396 </object>
1397
1398 <object type="checkbox">
1399 <condition var1="tw_has_android_secure" var2="1" />
1400 <placement x="%col1_x%" y="%row7_text_y%" />
1401 <font resource="font" color="%text_color%" />
1402 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1403 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1404 <data variable="tw_backup_andsec" />
1405 <image checked="checkbox_true" unchecked="checkbox_false" />
1406 </object>
1407
1408 <object type="checkbox">
1409 <condition var1="tw_has_sdext_partition" var2="1" />
1410 <placement x="%col1_x%" y="%row8_text_y%" />
1411 <font resource="font" color="%text_color%" />
1412 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1413 <condition var1="fileexists" var2="/sd-ext" />
1414 <data variable="tw_backup_sdext" />
1415 <image checked="checkbox_true" unchecked="checkbox_false" />
1416 </object>
1417
1418 <object type="checkbox">
1419 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001420 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001421 <font resource="font" color="%text_color%" />
1422 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1423 <data variable="tw_backup_sp1" />
1424 <image checked="checkbox_true" unchecked="checkbox_false" />
1425 </object>
1426
1427 <object type="checkbox">
1428 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001429 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001430 <font resource="font" color="%text_color%" />
1431 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1432 <data variable="tw_backup_sp2" />
1433 <image checked="checkbox_true" unchecked="checkbox_false" />
1434 </object>
1435
1436 <object type="checkbox">
1437 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001438 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <font resource="font" color="%text_color%" />
1440 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1441 <data variable="tw_backup_sp3" />
1442 <image checked="checkbox_true" unchecked="checkbox_false" />
1443 </object>
1444
1445 <object type="text" color="%text_color%">
1446 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001447 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001448 <text>Free Space: %tw_storage_free_size% MB</text>
1449 </object>
1450
1451 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001452 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001453 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001454 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001455 <data variable="tw_use_compression" />
1456 <image checked="checkbox_true" unchecked="checkbox_false" />
1457 </object>
1458
1459 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001460 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001461 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001462 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 <data variable="tw_skip_md5_generate" />
1464 <image checked="checkbox_true" unchecked="checkbox_false" />
1465 </object>
1466
1467 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001468 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001469 <font resource="font" color="%text_color%" />
1470 <conditions>
1471 <condition var1="tw_has_dual_storage" var2="1" />
1472 <condition var1="tw_use_external_storage" var2="1" />
1473 </conditions>
1474 <text>Use external SD</text>
1475 <image resource="radio_true" />
1476 <action function="togglestorage">external</action>
1477 </object>
1478
1479 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001480 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001481 <font resource="font" color="%text_color%" />
1482 <conditions>
1483 <condition var1="tw_has_dual_storage" var2="1" />
1484 <condition var1="tw_use_external_storage" var2="0" />
1485 </conditions>
1486 <text>Use external SD</text>
1487 <image resource="radio_false" />
1488 <action function="togglestorage">external</action>
1489 </object>
1490
1491 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001492 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001493 <font resource="font" color="%text_color%" />
1494 <conditions>
1495 <condition var1="tw_has_dual_storage" var2="1" />
1496 <condition var1="tw_use_external_storage" var2="1" />
1497 </conditions>
1498 <text>Use internal storage</text>
1499 <image resource="radio_false" />
1500 <action function="togglestorage">internal</action>
1501 </object>
1502
1503 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001504 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001505 <font resource="font" color="%text_color%" />
1506 <conditions>
1507 <condition var1="tw_has_dual_storage" var2="1" />
1508 <condition var1="tw_use_external_storage" var2="0" />
1509 </conditions>
1510 <text>Use internal storage</text>
1511 <image resource="radio_true" />
1512 <action function="togglestorage">internal</action>
1513 </object>
1514
1515 <object type="action">
1516 <touch key="home" />
1517 <action function="page">main</action>
1518 </object>
1519
1520 <object type="action">
1521 <touch key="back" />
1522 <action function="page">main</action>
1523 </object>
1524
1525 <object type="template" name="footer" />
1526 </page>
1527
1528 <page name="backupname1">
1529 <object type="action">
1530 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1531 <action function="set">tw_backup_name=</function>
1532 </object>
1533
1534 <object type="action">
1535 <action function="page">backupname2</function>
1536 </object>
1537 </page>
1538
1539 <page name="backupname2">
1540 <object type="template" name="header" />
1541
1542 <object type="text" color="%text_color%">
1543 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1544 <font resource="font" />
1545 <text>Please Enter a Backup Name</text>
1546 </object>
1547
1548 <object type="input">
1549 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1550 <background color="%input_background_color%" />
1551 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1552 <font resource="font" color="%text_color%" />
1553 <text>%tw_backup_name%</text>
1554 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001555 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001556 <actions>
1557 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1558 <action function="set">tw_existpage=backupname2</action>
1559 <action function="set">tw_notexistpage=backup</action>
1560 <action function="page">filecheck</action>
1561 </actions>
1562 </object>
1563
1564 <object type="text" color="%text_fail_color%">
1565 <condition var1="tw_fileexists" var2="1" />
1566 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1567 <font resource="font" />
1568 <text>A backup with that name already exists!</text>
1569 </object>
1570
Dees_Troyb46a6842012-09-25 11:06:46 -04001571 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001572 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001573 <placement x="%col_center_x%" y="%row2_y%" />
1574 <font resource="font" color="%button_text_color%" />
1575 <text>Cancel</text>
1576 <image resource="main_button" />
1577 <actions>
1578 <action function="set">tw_backup_name=(Current Date)</action>
1579 <action function="page">backup</action>
1580 </actions>
1581 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001582
1583 <object type="template" name="keyboardtemplate" />
1584
Dees_Troyb46a6842012-09-25 11:06:46 -04001585 <object type="action">
1586 <touch key="home" />
1587 <actions>
1588 <action function="set">tw_backup_name=(Current Date)</action>
1589 <action function="page">main</action>
1590 </actions>
1591 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001592
Dees_Troyb46a6842012-09-25 11:06:46 -04001593 <object type="action">
1594 <touch key="back" />
1595 <actions>
1596 <action function="set">tw_backup_name=(Current Date)</action>
1597 <action function="page">backup</action>
1598 </actions>
1599 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001600
1601 <object type="template" name="footer" />
1602 </page>
1603
1604 <page name="backup_run">
1605 <object type="template" name="header" />
1606
1607 <object type="text" color="%text_color%">
1608 <font resource="font" />
1609 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1610 <text>%tw_operation% %tw_partition%</text>
1611 </object>
1612
1613 <object type="template" name="action_page_console" />
1614
1615 <object type="template" name="progress_bar" />
1616
1617 <object type="action">
1618 <action function="nandroid">backup</action>
1619 </object>
1620
1621 <object type="action">
1622 <condition var1="tw_operation_state" var2="1" />
1623 <actions>
1624 <action function="set">tw_back=backup</action>
1625 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001626 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001627 <action function="page">action_complete</action>
1628 </actions>
1629 </object>
1630 </page>
1631
1632 <page name="restore">
1633 <object type="template" name="header" />
1634
1635 <object type="button">
1636 <placement x="%col1_x%" y="%row1_header_y%" />
1637 <font resource="font" color="%text_color%" />
1638 <conditions>
1639 <condition var1="tw_has_dual_storage" var2="1" />
1640 <condition var1="tw_use_external_storage" var2="1" />
1641 </conditions>
1642 <text>Use external SD</text>
1643 <image resource="radio_true" />
1644 <action function="togglestorage">external</action>
1645 </object>
1646
1647 <object type="button">
1648 <placement x="%col1_x%" y="%row1_header_y%" />
1649 <font resource="font" color="%text_color%" />
1650 <conditions>
1651 <condition var1="tw_has_dual_storage" var2="1" />
1652 <condition var1="tw_use_external_storage" var2="0" />
1653 </conditions>
1654 <text>Use external SD</text>
1655 <image resource="radio_false" />
1656 <action function="togglestorage">external</action>
1657 </object>
1658
1659 <object type="button">
1660 <placement x="%col2_x%" y="%row1_header_y%" />
1661 <font resource="font" color="%text_color%" />
1662 <conditions>
1663 <condition var1="tw_has_dual_storage" var2="1" />
1664 <condition var1="tw_use_external_storage" var2="1" />
1665 </conditions>
1666 <text>Use internal storage</text>
1667 <image resource="radio_false" />
1668 <action function="togglestorage">internal</action>
1669 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001670
Dees_Troy51a0e822012-09-05 15:24:24 -04001671 <object type="button">
1672 <placement x="%col2_x%" y="%row1_header_y%" />
1673 <font resource="font" color="%text_color%" />
1674 <conditions>
1675 <condition var1="tw_has_dual_storage" var2="1" />
1676 <condition var1="tw_use_external_storage" var2="0" />
1677 </conditions>
1678 <text>Use internal storage</text>
1679 <image resource="radio_true" />
1680 <action function="togglestorage">internal</action>
1681 </object>
1682
1683 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001684 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1686 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1687 <text>Select Package to Restore:</text>
1688 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1689 <sort name="tw_gui_sort_order" />
1690 <icon folder="folder_icon" file="file_icon" />
1691 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001692 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 <filter folders="1" files="0" nav="0" />
1694 <path name="tw_backups_folder" />
1695 <data name="tw_restore" default="" />
1696 <selection name="tw_restore_name" />
1697 </object>
1698
1699 <object type="template" name="sort_options" />
1700
1701 <object type="action">
1702 <condition var1="tw_restore" op="modified" />
1703 <actions>
1704 <action function="readBackup"></action>
1705 <action function="page">restore_select</action>
1706 </actions>
1707 </object>
1708
1709 <object type="action">
1710 <touch key="home" />
1711 <action function="page">main</action>
1712 </object>
1713
1714 <object type="action">
1715 <touch key="back" />
1716 <action function="page">main</action>
1717 </object>
1718
1719 <object type="template" name="footer" />
1720 </page>
1721
1722 <page name="restore_select">
1723 <object type="template" name="header" />
1724
1725 <object type="text">
1726 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1727 <font resource="font" color="%text_color%" />
1728 <text>Restoring: %tw_restore_name%</text>
1729 </object>
1730
1731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001733 <placement x="%col2_x%" y="%row1_y%" />
1734 <font resource="font" color="%button_text_color%" />
1735 <text>Rename Backup</text>
1736 <image resource="main_button" />
1737 <actions>
1738 <action function="set">tw_backup_rename=</action>
1739 <action function="set">tw_fileexists=0</action>
1740 <action function="page">renamebackup</action>
1741 </actions>
1742 </object>
1743
1744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001746 <placement x="%col2_x%" y="%row2_y%" />
1747 <font resource="font" color="%button_text_color%" />
1748 <text>Delete Backup</text>
1749 <image resource="main_button" />
1750 <actions>
1751 <action function="set">tw_back=restore</action>
1752 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001753 <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 -04001754 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1755 <action function="set">tw_text2=This cannot be undone!</action>
1756 <action function="set">tw_action_text1=Deleting Backup...</action>
1757 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1758 <action function="set">tw_slider_text=Swipe to Delete</action>
1759 <action function="page">confirm_action</action>
1760 </actions>
1761 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001762
Dees_Troy51a0e822012-09-05 15:24:24 -04001763 <object type="slider">
1764 <placement x="%slider_x%" y="%slider_y%" />
1765 <resource base="slider" used="slider-used" touch="slider-touch" />
1766 <action function="page">restore_run</action>
1767 </object>
1768
1769 <object type="text" color="%text_color%">
1770 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001771 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001772 <text>Swipe to Restore</text>
1773 </object>
1774
1775 <object type="checkbox">
1776 <placement x="%col1_x%" y="%row2_text_y%" />
1777 <font resource="font" color="%text_color%" />
1778 <text>System</text>
1779 <condition var1="tw_restore_system" op=">=" var2="0" />
1780 <data variable="tw_restore_system" />
1781 <image checked="checkbox_true" unchecked="checkbox_false" />
1782 </object>
1783
1784 <object type="checkbox">
1785 <placement x="%col1_x%" y="%row3_text_y%" />
1786 <font resource="font" color="%text_color%" />
1787 <text>Data</text>
1788 <condition var1="tw_restore_data" op=">=" var2="0" />
1789 <data variable="tw_restore_data" />
1790 <image checked="checkbox_true" unchecked="checkbox_false" />
1791 </object>
1792
1793 <object type="checkbox">
1794 <placement x="%col1_x%" y="%row4_text_y%" />
1795 <font resource="font" color="%text_color%" />
1796 <text>Boot</text>
1797 <condition var1="tw_restore_boot" op=">=" var2="0" />
1798 <data variable="tw_restore_boot" />
1799 <image checked="checkbox_true" unchecked="checkbox_false" />
1800 </object>
1801
Dees_Troy51a0e822012-09-05 15:24:24 -04001802 <object type="checkbox">
1803 <placement x="%col1_x%" y="%row6_text_y%" />
1804 <font resource="font" color="%text_color%" />
1805 <text>Cache</text>
1806 <condition var1="tw_restore_cache" op=">=" var2="0" />
1807 <data variable="tw_restore_cache" />
1808 <image checked="checkbox_true" unchecked="checkbox_false" />
1809 </object>
1810
1811 <object type="checkbox">
1812 <placement x="%col1_x%" y="%row7_text_y%" />
1813 <font resource="font" color="%text_color%" />
1814 <text>.android_secure</text>
1815 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1816 <data variable="tw_restore_andsec" />
1817 <image checked="checkbox_true" unchecked="checkbox_false" />
1818 </object>
1819
1820 <object type="checkbox">
1821 <placement x="%col1_x%" y="%row8_text_y%" />
1822 <font resource="font" color="%text_color%" />
1823 <text>sd-ext</text>
1824 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1825 <data variable="tw_restore_sdext" />
1826 <image checked="checkbox_true" unchecked="checkbox_false" />
1827 </object>
1828
1829 <object type="checkbox">
1830 <placement x="%col1_x%" y="%row10_text_y%" />
1831 <font resource="font" color="%text_color%" />
1832 <text>%tw_sp1_name%</text>
1833 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1834 <data variable="tw_restore_sp1" />
1835 <image checked="checkbox_true" unchecked="checkbox_false" />
1836 </object>
1837
1838 <object type="checkbox">
1839 <placement x="%col1_x%" y="%row11_text_y%" />
1840 <font resource="font" color="%text_color%" />
1841 <text>%tw_sp2_name%</text>
1842 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1843 <data variable="tw_restore_sp2" />
1844 <image checked="checkbox_true" unchecked="checkbox_false" />
1845 </object>
1846
1847 <object type="checkbox">
1848 <placement x="%col1_x%" y="%row12_text_y%" />
1849 <font resource="font" color="%text_color%" />
1850 <text>%tw_sp3_name%</text>
1851 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1852 <data variable="tw_restore_sp3" />
1853 <image checked="checkbox_true" unchecked="checkbox_false" />
1854 </object>
1855
1856 <object type="checkbox">
1857 <placement x="%col1_x%" y="%row14_text_y%" />
1858 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001859 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001860 <data variable="tw_skip_md5_check" />
1861 <image checked="checkbox_true" unchecked="checkbox_false" />
1862 </object>
1863
Dees_Troyb46a6842012-09-25 11:06:46 -04001864 <object type="text" color="%text_color%">
1865 <font resource="font" />
1866 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1867 <text>Package Date: %tw_restore_file_date%</text>
1868 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001869
1870 <object type="action">
1871 <touch key="home" />
1872 <action function="page">main</action>
1873 </object>
1874
1875 <object type="action">
1876 <touch key="back" />
1877 <action function="page">restore</action>
1878 </object>
1879
1880 <object type="template" name="footer" />
1881 </page>
1882
1883 <page name="renamebackup">
1884 <object type="template" name="header" />
1885
1886 <object type="text" color="%text_color%">
1887 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1888 <font resource="font" />
1889 <text>Please Enter a New Backup Name</text>
1890 </object>
1891
1892 <object type="input">
1893 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1894 <background color="%input_background_color%" />
1895 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1896 <font resource="font" color="%text_color%" />
1897 <text>%tw_backup_rename%</text>
1898 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001899 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001900 <actions>
1901 <action function="set">tw_back=restore</action>
1902 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001903 <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 -04001904 <action function="set">tw_text1=Rename Backup?</action>
1905 <action function="set">tw_text2=This cannot be undone!</action>
1906 <action function="set">tw_action_text1=Renaming Backup...</action>
1907 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1908 <action function="set">tw_slider_text=Swipe to Rename</action>
1909 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1910 <action function="set">tw_existpage=renamebackup</action>
1911 <action function="set">tw_notexistpage=confirm_action</action>
1912 <action function="page">filecheck</action>
1913 </actions>
1914 </object>
1915
1916 <object type="text" color="%text_fail_color%">
1917 <condition var1="tw_fileexists" var2="1" />
1918 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1919 <font resource="font" />
1920 <text>A backup with that name already exists!</text>
1921 </object>
1922
1923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001924 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001925 <placement x="%col_center_x%" y="%row2_y%" />
1926 <font resource="font" color="%button_text_color%" />
1927 <text>Cancel</text>
1928 <image resource="main_button" />
1929 <action function="page">restore_select</action>
1930 </object>
1931
1932 <object type="template" name="keyboardtemplate" />
1933
1934 <object type="action">
1935 <touch key="home" />
1936 <action function="page">main</action>
1937 </object>
1938
1939 <object type="action">
1940 <touch key="back" />
1941 <action function="page">restore_select</action>
1942 </object>
1943
1944 <object type="template" name="footer" />
1945 </page>
1946
1947 <page name="restore_run">
1948 <object type="template" name="header" />
1949
1950 <object type="text" color="%text_color%">
1951 <font resource="font" />
1952 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1953 <text>%tw_operation% %tw_partition%</text>
1954 </object>
1955
1956 <object type="template" name="action_page_console" />
1957
1958 <object type="template" name="progress_bar" />
1959
1960 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001961 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001962 <actions>
1963 <action function="set">tw_back=restore_select</action>
1964 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001965 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001966 <action function="page">action_complete</action>
1967 </actions>
1968 </object>
1969
1970 <object type="action">
1971 <action function="nandroid">restore</action>
1972 </object>
1973 </page>
1974
1975 <page name="mount">
1976 <object type="template" name="header" />
1977
1978 <object type="text" color="%text_color%">
1979 <font resource="font" />
1980 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1981 <text>Mount Menu</text>
1982 </object>
1983
1984 <object type="button">
1985 <placement x="%col1_x%" y="%row1_text_y%" />
1986 <font resource="font" color="%text_color%" />
1987 <condition var1="mounted" op="!=" var2="/system" />
1988 <text>Mount System</text>
1989 <image resource="checkbox_false" />
1990 <action function="mount">/system</action>
1991 </object>
1992
1993 <object type="button">
1994 <placement x="%col1_x%" y="%row1_text_y%" />
1995 <font resource="font" color="%text_color%" />
1996 <condition var1="mounted" op="=" var2="/system" />
1997 <text>Unmount System</text>
1998 <image resource="checkbox_true" />
1999 <action function="umount">/system</action>
2000 </object>
2001
2002 <object type="button">
2003 <placement x="%col1_x%" y="%row2_text_y%" />
2004 <font resource="font" color="%text_color%" />
2005 <condition var1="mounted" op="!=" var2="/data" />
2006 <text>Mount Data</text>
2007 <image resource="checkbox_false" />
2008 <action function="mount">/data</action>
2009 </object>
2010
2011 <object type="button">
2012 <placement x="%col1_x%" y="%row2_text_y%" />
2013 <font resource="font" color="%text_color%" />
2014 <condition var1="mounted" op="=" var2="/data" />
2015 <text>Unmount Data</text>
2016 <image resource="checkbox_true" />
2017 <action function="umount">/data</action>
2018 </object>
2019
2020 <object type="button">
2021 <placement x="%col1_x%" y="%row3_text_y%" />
2022 <font resource="font" color="%text_color%" />
2023 <condition var1="mounted" op="!=" var2="/cache" />
2024 <text>Mount Cache</text>
2025 <image resource="checkbox_false" />
2026 <action function="mount">/cache</action>
2027 </object>
2028
2029 <object type="button">
2030 <placement x="%col1_x%" y="%row3_text_y%" />
2031 <font resource="font" color="%text_color%" />
2032 <condition var1="mounted" op="=" var2="/cache" />
2033 <text>Unmount Cache</text>
2034 <image resource="checkbox_true" />
2035 <action function="umount">/cache</action>
2036 </object>
2037
2038 <object type="button">
2039 <placement x="%col1_x%" y="%row4_text_y%" />
2040 <font resource="font" color="%text_color%" />
2041 <conditions>
2042 <condition var1="tw_has_external" var2="1" />
2043 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2044 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002045 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002046 <image resource="checkbox_false" />
2047 <action function="mount">EXTERNAL</action>
2048 </object>
2049
2050 <object type="button">
2051 <placement x="%col1_x%" y="%row4_text_y%" />
2052 <font resource="font" color="%text_color%" />
2053 <conditions>
2054 <condition var1="tw_has_external" var2="1" />
2055 <condition var1="mounted" op="=" var2="EXTERNAL" />
2056 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002057 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <image resource="checkbox_true" />
2059 <action function="umount">EXTERNAL</action>
2060 </object>
2061
2062 <object type="button">
2063 <placement x="%col2_x%" y="%row4_text_y%" />
2064 <font resource="font" color="%text_color%" />
2065 <conditions>
2066 <condition var1="tw_has_internal" var2="1" />
2067 <condition var1="tw_has_data_media" var2="0" />
2068 <condition var1="mounted" op="!=" var2="INTERNAL" />
2069 </conditions>
2070 <text>Mount Internal</text>
2071 <image resource="checkbox_false" />
2072 <action function="mount">INTERNAL</action>
2073 </object>
2074
2075 <object type="button">
2076 <placement x="%col2_x%" y="%row4_text_y%" />
2077 <font resource="font" color="%text_color%" />
2078 <conditions>
2079 <condition var1="tw_has_internal" var2="1" />
2080 <condition var1="tw_has_data_media" var2="0" />
2081 <condition var1="mounted" op="=" var2="INTERNAL" />
2082 </conditions>
2083 <text>Unmount Internal</text>
2084 <image resource="checkbox_true" />
2085 <action function="umount">INTERNAL</action>
2086 </object>
2087
2088 <object type="button">
2089 <conditions>
2090 <condition var1="tw_has_sdext_partition" var2="1" />
2091 <condition var1="mounted" op="!=" var2="/sd-ext" />
2092 </conditions>
2093 <placement x="%col1_x%" y="%row5_text_y%" />
2094 <font resource="font" color="%text_color%" />
2095 <text>Mount SD-Ext</text>
2096 <image resource="checkbox_false" />
2097 <action function="mount">/sd-ext</action>
2098 </object>
2099
2100 <object type="button">
2101 <placement x="%col1_x%" y="%row5_text_y%" />
2102 <font resource="font" color="%text_color%" />
2103 <condition var1="mounted" op="=" var2="/sd-ext" />
2104 <text>Unmount SD-Ext</text>
2105 <image resource="checkbox_true" />
2106 <action function="umount">/sd-ext</action>
2107 </object>
2108
2109 <object type="button">
2110 <conditions>
2111 <condition var1="tw_boot_is_mountable" var2="1" />
2112 <condition var1="mounted" op="!=" var2="/boot" />
2113 </conditions>
2114 <placement x="%col1_x%" y="%row6_text_y%" />
2115 <font resource="font" color="#A0A0A0" />
2116 <text>Mount Boot</text>
2117 <image resource="checkbox_false" />
2118 <action function="mount">/boot</action>
2119 </object>
2120
2121 <object type="button">
2122 <conditions>
2123 <condition var1="tw_boot_is_mountable" var2="1" />
2124 <condition var1="mounted" op="=" var2="/boot" />
2125 </conditions>
2126 <placement x="%col1_x%" y="%row6_text_y%" />
2127 <font resource="font" color="#A0A0A0" />
2128 <text>Unmount Boot</text>
2129 <image resource="checkbox_true" />
2130 <action function="umount">/boot</action>
2131 </object>
2132
2133 <object type="button">
2134 <placement x="%col1_x%" y="%row8_text_y%" />
2135 <font resource="font" color="%text_color%" />
2136 <conditions>
2137 <condition var1="tw_has_dual_storage" var2="1" />
2138 <condition var1="tw_use_external_storage" var2="1" />
2139 </conditions>
2140 <text>Use external SD</text>
2141 <image resource="radio_true" />
2142 <action function="togglestorage">external</action>
2143 </object>
2144
2145 <object type="button">
2146 <placement x="%col1_x%" y="%row8_text_y%" />
2147 <font resource="font" color="%text_color%" />
2148 <conditions>
2149 <condition var1="tw_has_dual_storage" var2="1" />
2150 <condition var1="tw_use_external_storage" var2="0" />
2151 </conditions>
2152 <text>Use external SD</text>
2153 <image resource="radio_false" />
2154 <action function="togglestorage">external</action>
2155 </object>
2156
2157 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002158 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002159 <font resource="font" color="%text_color%" />
2160 <conditions>
2161 <condition var1="tw_has_dual_storage" var2="1" />
2162 <condition var1="tw_use_external_storage" var2="1" />
2163 </conditions>
2164 <text>Use internal storage</text>
2165 <image resource="radio_false" />
2166 <action function="togglestorage">internal</action>
2167 </object>
2168
2169 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002170 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002171 <font resource="font" color="%text_color%" />
2172 <conditions>
2173 <condition var1="tw_has_dual_storage" var2="1" />
2174 <condition var1="tw_use_external_storage" var2="0" />
2175 </conditions>
2176 <text>Use internal storage</text>
2177 <image resource="radio_true" />
2178 <action function="togglestorage">internal</action>
2179 </object>
2180
2181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002183 <condition var1="tw_has_usb_storage" var2="1" />
2184 <placement x="%col1_x%" y="row3_y" />
2185 <font resource="font" color="%button_text_color%" />
2186 <text>Mount USB Storage</text>
2187 <image resource="main_button" />
2188 <action function="page">usb_mount</action>
2189 </object>
2190
Gary Peckffdc6ae2012-11-21 18:02:02 -08002191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002192 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002193 <conditions>
2194 <condition var1="tw_is_encrypted" var2="1" />
2195 <condition var1="tw_is_decrypted" var2="0" />
2196 </conditions>
2197 <placement x="%col2_x%" y="row3_y" />
2198 <font resource="font" color="%button_text_color%" />
2199 <text>Decrypt Data</text>
2200 <image resource="main_button" />
2201 <action function="page">decrypt</action>
2202 </object>
2203
Dees_Troy51a0e822012-09-05 15:24:24 -04002204 <object type="action">
2205 <touch key="home" />
2206 <action function="page">main</action>
2207 </object>
2208
2209 <object type="action">
2210 <touch key="back" />
2211 <action function="page">main</action>
2212 </object>
2213
2214 <object type="template" name="footer" />
2215 </page>
2216
2217 <page name="usb_mount">
2218 <object type="template" name="header" />
2219
2220 <object type="text" color="%text_color%">
2221 <font resource="font" />
2222 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2223 <text>USB Storage Mounted</text>
2224 </object>
2225
2226 <object type="text" color="%text_color%">
2227 <placement x="%col1_x%" y="%row1_text_y%" />
2228 <font resource="font" />
2229 <text>Be sure to safely remove your device</text>
2230 </object>
2231
2232 <object type="text" color="%text_color%">
2233 <placement x="%col1_x%" y="%row2_text_y%" />
2234 <font resource="font" />
2235 <text>from your computer before unmounting!</text>
2236 </object>
2237
2238 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002239 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002240 <placement x="%col1_x%" y="%row3_y%" />
2241 <font resource="font" color="%button_text_color%" />
2242 <text>Unmount</text>
2243 <image resource="main_button" />
2244 <action function="page">usb_umount</action>
2245 </object>
2246
2247 <object type="action">
2248 <action function="mount">usb</action>
2249 </object>
2250
2251 <object type="template" name="footer" />
2252 </page>
2253
2254 <page name="usb_umount">
2255 <object type="action">
2256 <action function="unmount">usb</action>
2257 </object>
2258
2259 <object type="action">
2260 <action function="page">mount</action>
2261 </object>
2262 </page>
2263
2264 <page name="reboot">
2265 <object type="template" name="header" />
2266
2267 <object type="text" color="%text_color%">
2268 <font resource="font" />
2269 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2270 <text>Reboot Menu</text>
2271 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002272
Dees_Troy51a0e822012-09-05 15:24:24 -04002273 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002274 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002275 <condition var1="tw_reboot_system" var2="1" />
2276 <placement x="%col1_x%" y="%row1_y%" />
2277 <font resource="font" color="%button_text_color%" />
2278 <text>System</text>
2279 <image resource="main_button" />
2280 <actions>
2281 <action function="set">tw_back=reboot</action>
2282 <action function="set">tw_action=reboot</action>
2283 <action function="set">tw_action_param=system</action>
2284 <action function="set">tw_has_action2=0</action>
2285 <action function="set">tw_text1=No OS Installed! Are you</action>
2286 <action function="set">tw_text2=sure you wish to reboot?</action>
2287 <action function="set">tw_action_text1=Rebooting...</action>
2288 <action function="set">tw_complete_text1=Rebooting...</action>
2289 <action function="set">tw_slider_text=Swipe to Reboot</action>
2290 <action function="page">rebootcheck</action>
2291 </actions>
2292 </object>
2293
2294 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002295 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002296 <condition var1="tw_reboot_poweroff" var2="1" />
2297 <placement x="%col2_x%" y="%row1_y%" />
2298 <font resource="font" color="%button_text_color%" />
2299 <text>Power Off</text>
2300 <image resource="main_button" />
2301 <actions>
2302 <action function="set">tw_back=reboot</action>
2303 <action function="set">tw_action=reboot</action>
2304 <action function="set">tw_action_param=poweroff</action>
2305 <action function="set">tw_has_action2=0</action>
2306 <action function="set">tw_text1=No OS Installed! Are you</action>
2307 <action function="set">tw_text2=sure you wish to power off?</action>
2308 <action function="set">tw_action_text1=Turning Off...</action>
2309 <action function="set">tw_complete_text1=Turning Off...</action>
2310 <action function="set">tw_slider_text=Swipe to Power Off</action>
2311 <action function="page">rebootcheck</action>
2312 </actions>
2313 </object>
2314
2315 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002316 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002317 <condition var1="tw_reboot_recovery" var2="1" />
2318 <placement x="%col1_x%" y="%row2_y%" />
2319 <font resource="font" color="%button_text_color%" />
2320 <text>Recovery</text>
2321 <image resource="main_button" />
2322 <actions>
2323 <action function="set">tw_back=reboot</action>
2324 <action function="set">tw_action=reboot</action>
2325 <action function="set">tw_action_param=recovery</action>
2326 <action function="set">tw_has_action2=0</action>
2327 <action function="set">tw_text1=No OS Installed! Are you</action>
2328 <action function="set">tw_text2=sure you wish to reboot?</action>
2329 <action function="set">tw_action_text1=Rebooting...</action>
2330 <action function="set">tw_complete_text1=Rebooting...</action>
2331 <action function="set">tw_slider_text=Swipe to Reboot</action>
2332 <action function="page">rebootcheck</action>
2333 </actions>
2334 </object>
2335
2336 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002337 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002338 <condition var1="tw_reboot_bootloader" var2="1" />
2339 <placement x="%col2_x%" y="%row2_y%" />
2340 <font resource="font" color="%button_text_color%" />
2341 <text>Bootloader</text>
2342 <image resource="main_button" />
2343 <actions>
2344 <action function="set">tw_back=reboot</action>
2345 <action function="set">tw_action=reboot</action>
2346 <action function="set">tw_action_param=bootloader</action>
2347 <action function="set">tw_has_action2=0</action>
2348 <action function="set">tw_text1=No OS Installed! Are you</action>
2349 <action function="set">tw_text2=sure you wish to reboot?</action>
2350 <action function="set">tw_action_text1=Rebooting...</action>
2351 <action function="set">tw_complete_text1=Rebooting...</action>
2352 <action function="set">tw_slider_text=Swipe to Reboot</action>
2353 <action function="page">rebootcheck</action>
2354 </actions>
2355 </object>
2356
2357 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002358 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002359 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002360 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002361 <font resource="font" color="%button_text_color%" />
2362 <text>Download</text>
2363 <image resource="main_button" />
2364 <actions>
2365 <action function="set">tw_back=reboot</action>
2366 <action function="set">tw_action=reboot</action>
2367 <action function="set">tw_action_param=download</action>
2368 <action function="set">tw_has_action2=0</action>
2369 <action function="set">tw_text1=No OS Installed! Are you</action>
2370 <action function="set">tw_text2=sure you wish to reboot?</action>
2371 <action function="set">tw_action_text1=Rebooting...</action>
2372 <action function="set">tw_complete_text1=Rebooting...</action>
2373 <action function="set">tw_slider_text=Swipe to Reboot</action>
2374 <action function="page">rebootcheck</action>
2375 </actions>
2376 </object>
2377
2378 <object type="action">
2379 <touch key="home" />
2380 <action function="page">main</action>
2381 </object>
2382
2383 <object type="action">
2384 <touch key="back" />
2385 <action function="page">main</action>
2386 </object>
2387
2388 <object type="template" name="footer" />
2389 </page>
2390
2391 <page name="settings">
2392 <object type="template" name="header" />
2393
2394 <object type="text" color="%text_color%">
2395 <font resource="font" />
2396 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2397 <text>Settings</text>
2398 </object>
2399
2400 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002401 <placement x="%col1_x%" y="%row1_text_y%" />
2402 <font resource="font" color="%text_color%" />
2403 <text>Zip file signature verification.</text>
2404 <data variable="tw_signed_zip_verify" />
2405 <image checked="checkbox_true" unchecked="checkbox_false" />
2406 </object>
2407
2408 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002409 <placement x="%col1_x%" y="%row2_text_y%" />
2410 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002411 <text>Use rm -rf instead of formatting.</text>
2412 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <image checked="checkbox_true" unchecked="checkbox_false" />
2414 </object>
2415
2416 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002417 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002419 <text>Skip MD5 generation during backup.</text>
2420 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <image checked="checkbox_true" unchecked="checkbox_false" />
2422 </object>
2423
2424 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002425 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002427 <text>Enable MD5 verification of backup files.</text>
2428 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <image checked="checkbox_true" unchecked="checkbox_false" />
2430 </object>
2431
2432 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002433 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002435 <text>Ignore image size errors during backup.</text>
2436 <data variable="tw_ignore_image_size" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <image checked="checkbox_true" unchecked="checkbox_false" />
2438 </object>
2439
2440 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002441 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002443 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002444 <data variable="tw_simulate_actions" />
2445 <image checked="checkbox_true" unchecked="checkbox_false" />
2446 </object>
2447
2448 <object type="checkbox">
2449 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002450 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002451 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002452 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002453 <data variable="tw_simulate_fail" />
2454 <image checked="checkbox_true" unchecked="checkbox_false" />
2455 </object>
2456
bigbiff bigbiff4efe9c32013-02-20 18:58:11 -05002457 <object type="checkbox">
2458 <placement x="%col1_x%" y="%row8_text_y%" />
2459 <font resource="font" color="%text_color%" />
2460 <text>Use Military Time</text>
2461 <data variable="tw_military_time" />
2462 <image checked="checkbox_true" unchecked="checkbox_false" />
2463 </object>
2464
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <placement x="%col1_x%" y="%row3_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Time Zone</text>
2470 <image resource="main_button" />
2471 <action function="page">timezone</action>
2472 </object>
2473
2474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002475 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002476 <placement x="%col2_x%" y="%row3_y%" />
2477 <font resource="font" color="%button_text_color%" />
2478 <text>Screen</text>
2479 <image resource="main_button" />
2480 <action function="page">screen</action>
2481 </object>
2482
2483 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <placement x="%col_center_x%" y="%row4_y%" />
2485 <font resource="font" color="%button_text_color%" />
2486 <text>Restore Defaults</text>
2487 <image resource="main_button" />
2488 <action function="restoredefaultsettings"></action>
2489 </object>
2490
2491 <object type="action">
2492 <touch key="home" />
2493 <action function="page">main</action>
2494 </object>
2495
2496 <object type="action">
2497 <touch key="back" />
2498 <action function="page">main</action>
2499 </object>
2500
2501 <object type="template" name="footer" />
2502 </page>
2503
2504 <page name="timezone">
2505 <object type="template" name="header" />
2506
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002508 <highlight color="%fileselector_highlight_color%" />
2509 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2511 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002512 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002513 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002515 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002516 <data name="tw_time_zone_guisel" />
2517 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2518 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2519 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2520 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2521 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2522 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2523 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2524 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2525 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2526 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2527 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2528 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2529 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2530 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2531 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2532 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2533 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2534 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2535 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2536 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2537 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2538 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2539 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2540 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2541 </object>
2542
2543 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002544 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002545 <font resource="font" color="%text_color%" />
2546 <text>Do you use daylight savings time (DST)?</text>
2547 <data variable="tw_time_zone_guidst" />
2548 <image checked="checkbox_true" unchecked="checkbox_false" />
2549 </object>
2550
2551 <object type="text" color="%text_color%">
2552 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002553 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002554 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2555 </object>
2556
2557 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002558 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002559 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002560 <font resource="font" color="%button_text_color%" />
2561 <text>None</text>
2562 <image resource="medium_button" />
2563 <action function="set">tw_time_zone_guioffset=0</action>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002568 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002569 <font resource="font" color="%button_text_color%" />
2570 <text>15</text>
2571 <image resource="medium_button" />
2572 <action function="set">tw_time_zone_guioffset=15</action>
2573 </object>
2574
2575 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002576 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002577 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002578 <font resource="font" color="%button_text_color%" />
2579 <text>30</text>
2580 <image resource="medium_button" />
2581 <action function="set">tw_time_zone_guioffset=30</action>
2582 </object>
2583
2584 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002585 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002586 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002587 <font resource="font" color="%button_text_color%" />
2588 <text>45</text>
2589 <image resource="medium_button" />
2590 <action function="set">tw_time_zone_guioffset=45</action>
2591 </object>
2592
2593 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002594 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002595 <placement x="%col_center_x%" y="%tz_set_y%" />
2596 <font resource="font" color="%button_text_color%" />
2597 <text>Set Time Zone</text>
2598 <image resource="main_button" />
2599 <action function="setguitimezone"></action>
2600 </object>
2601
2602 <object type="text" color="%text_color%">
2603 <font resource="font" />
2604 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2605 <text>Current Time Zone: %tw_time_zone%</text>
2606 </object>
2607
2608 <object type="action">
2609 <touch key="home" />
2610 <action function="page">main</action>
2611 </object>
2612
2613 <object type="action">
2614 <touch key="back" />
2615 <action function="page">settings</action>
2616 </object>
2617
2618 <object type="template" name="footer" />
2619 </page>
2620
Dees_Troy2f9117a2013-02-17 19:52:09 -06002621 <page name="screen">
2622 <object type="template" name="header" />
2623
2624 <object type="text" color="%text_color%">
2625 <font resource="font" />
2626 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2627 <text>Screen Settings</text>
2628 </object>
2629
2630 <object type="text" color="%text_color%">
2631 <font resource="font" />
2632 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2633 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2634 </object>
2635
2636 <object type="button">
2637 <placement x="%col1_medium_x%" y="%row2_y%" />
2638 <font resource="font" color="%button_text_color%" />
2639 <text>None</text>
2640 <image resource="medium_button" />
2641 <action function="set">tw_screen_timeout_secs=0</action>
2642 </object>
2643
2644 <object type="button">
2645 <placement x="%col2_medium_x%" y="%row2_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>60</text>
2648 <image resource="medium_button" />
2649 <action function="set">tw_screen_timeout_secs=60</action>
2650 </object>
2651
2652 <object type="button">
2653 <placement x="%col3_medium_x%" y="%row2_y%" />
2654 <font resource="font" color="%button_text_color%" />
2655 <text>120</text>
2656 <image resource="medium_button" />
2657 <action function="set">tw_screen_timeout_secs=120</action>
2658 </object>
2659
2660 <object type="button">
2661 <placement x="%col4_medium_x%" y="%row2_y%" />
2662 <font resource="font" color="%button_text_color%" />
2663 <text>180</text>
2664 <image resource="medium_button" />
2665 <action function="set">tw_screen_timeout_secs=180</action>
2666 </object>
2667
2668 <object type="text" color="%text_color%">
2669 <condition var1="tw_has_brightnesss_file" var2="1" />
2670 <font resource="font" />
2671 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2672 <text>Brightness: %tw_brightness_display%</text>
2673 </object>
2674
2675 <object type="button">
2676 <condition var1="tw_has_brightnesss_file" var2="1" />
2677 <placement x="%col1_medium_x%" y="%row4_y%" />
2678 <font resource="font" color="%button_text_color%" />
2679 <text>25%</text>
2680 <image resource="medium_button" />
2681 <actions>
2682 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2683 <action function="set">tw_brightness_display=25%</action>
2684 <action function="set">tw_brightness=%tw_brightness_25%</action>
2685 </actions>
2686 </object>
2687
2688 <object type="button">
2689 <condition var1="tw_has_brightnesss_file" var2="1" />
2690 <placement x="%col2_medium_x%" y="%row4_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text>50%</text>
2693 <image resource="medium_button" />
2694 <actions>
2695 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2696 <action function="set">tw_brightness_display=50%</action>
2697 <action function="set">tw_brightness=%tw_brightness_50%</action>
2698 </actions>
2699 </object>
2700
2701 <object type="button">
2702 <condition var1="tw_has_brightnesss_file" var2="1" />
2703 <placement x="%col3_medium_x%" y="%row4_y%" />
2704 <font resource="font" color="%button_text_color%" />
2705 <text>75%</text>
2706 <image resource="medium_button" />
2707 <actions>
2708 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2709 <action function="set">tw_brightness_display=75%</action>
2710 <action function="set">tw_brightness=%tw_brightness_75%</action>
2711 </actions>
2712 </object>
2713
2714 <object type="button">
2715 <condition var1="tw_has_brightnesss_file" var2="1" />
2716 <placement x="%col4_medium_x%" y="%row4_y%" />
2717 <font resource="font" color="%button_text_color%" />
2718 <text>100%</text>
2719 <image resource="medium_button" />
2720 <actions>
2721 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2722 <action function="set">tw_brightness_display=100%</action>
2723 <action function="set">tw_brightness=%tw_brightness_100%</action>
2724 </actions>
2725 </object>
2726
2727 <object type="action">
2728 <touch key="home" />
2729 <action function="page">main</action>
2730 </object>
2731
2732 <object type="action">
2733 <touch key="back" />
2734 <action function="page">settings</action>
2735 </object>
2736
2737 <object type="template" name="footer" />
2738 </page>
2739
Dees_Troy51a0e822012-09-05 15:24:24 -04002740 <page name="advanced">
2741 <object type="template" name="header" />
2742
2743 <object type="text" color="%text_color%">
2744 <font resource="font" />
2745 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2746 <text>Advanced</text>
2747 </object>
2748
2749 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002750 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <placement x="%col1_x%" y="%row1_y%" />
2752 <font resource="font" color="%button_text_color%" />
2753 <text>Copy Log to SD</text>
2754 <image resource="main_button" />
2755 <actions>
2756 <action function="set">tw_back=advanced</action>
2757 <action function="set">tw_action=copylog</action>
2758 <action function="set">tw_text1=Copy Log to SD Card?</action>
2759 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2760 <action function="set">tw_complete_text1=Log Copy Complete</action>
2761 <action function="set">tw_slider_text=Swipe to Confirm</action>
2762 <action function="page">confirm_action</action>
2763 </actions>
2764 </object>
2765
2766 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002767 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002768 <placement x="%col2_x%" y="%row1_y%" />
2769 <font resource="font" color="%button_text_color%" />
2770 <text>Fix Permissions</text>
2771 <image resource="main_button" />
2772 <actions>
2773 <action function="set">tw_back=advanced</action>
2774 <action function="set">tw_action=fixpermissions</action>
2775 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2778 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002779 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <action function="page">confirm_action</action>
2781 </actions>
2782 </object>
2783
2784 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002785 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <condition var1="tw_allow_partition_sdcard" var2="1" />
2787 <placement x="%col1_x%" y="%row2_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Partition SD Card</text>
2790 <image resource="main_button" />
2791 <action function="page">partsdcard</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <placement x="%col2_x%" y="%row2_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text>File Manager</text>
2799 <image resource="main_button" />
2800 <action function="page">filemanagerlist</action>
2801 </object>
2802
2803 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002804 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <placement x="%col1_x%" y="%row3_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Terminal Command</text>
2808 <image resource="main_button" />
2809 <action function="page">terminalfolder</action>
2810 </object>
2811
2812 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002813 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002814 <placement x="%col2_x%" y="%row3_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>Reload Theme</text>
2817 <image resource="main_button" />
2818 <action function="reload"></action>
2819 </object>
2820
2821 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002822 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002823 <placement x="%col1_x%" y="%row4_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>ADB Sideload</text>
2826 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002827 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002828 </object>
2829
2830 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002831 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002832 <condition var1="tw_show_dumlock" var2="1" />
2833 <placement x="%col2_x%" y="%row4_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text>HTC Dumlock</text>
2836 <image resource="main_button" />
2837 <action function="page">htcdumlock</action>
2838 </object>
2839
2840 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002841 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002842 <condition var1="tw_has_injecttwrp" var2="1" />
2843 <placement x="%col2_x%" y="%row4_y%" />
2844 <font resource="font" color="%button_text_color%" />
2845 <text>Re-Inject TWRP</text>
2846 <image resource="main_button" />
2847 <actions>
2848 <action function="set">tw_back=advanced</action>
2849 <action function="set">tw_action=reinjecttwrp</action>
2850 <action function="set">tw_text1=Re-Inject TWRP?</action>
2851 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2852 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2853 <action function="set">tw_slider_text=Swipe to Confirm</action>
2854 <action function="page">confirm_action</action>
2855 </actions>
2856 </object>
2857
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <object type="action">
2859 <touch key="home" />
2860 <action function="page">main</action>
2861 </object>
2862
2863 <object type="action">
2864 <touch key="back" />
2865 <action function="page">main</action>
2866 </object>
2867
2868 <object type="template" name="footer" />
2869 </page>
2870
2871 <page name="partsdcard">
2872 <object type="template" name="header" />
2873
2874 <object type="text" color="%text_color%">
2875 <font resource="font" />
2876 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2877 <text>Partition SD Card</text>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%col1_x%" y="%row1_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="minus_button" />
2886 <action function="addsubtract">tw_sdext_size-128</action>
2887 </object>
2888
2889 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002890 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002891 <placement x="%sd_plus_x%" y="%row1_y%" />
2892 <font resource="font" color="%button_text_color%" />
2893 <text></text>
2894 <image resource="plus_button" />
2895 <action function="addsubtract">tw_sdext_size+128</action>
2896 </object>
2897
2898 <object type="text" color="%text_color%">
2899 <font resource="font" />
2900 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2901 <text>EXT Size: %tw_sdext_size%</text>
2902 </object>
2903
2904 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002905 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002906 <placement x="%col1_x%" y="%sdswap_button_y%" />
2907 <font resource="font" color="%button_text_color%" />
2908 <text></text>
2909 <image resource="minus_button" />
2910 <action function="addsubtract">tw_swap_size-32</action>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2916 <font resource="font" color="%button_text_color%" />
2917 <text></text>
2918 <image resource="plus_button" />
2919 <action function="addsubtract">tw_swap_size+32</action>
2920 </object>
2921
2922 <object type="text" color="%text_color%">
2923 <font resource="font" />
2924 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2925 <text>Swap Size: %tw_swap_size%</text>
2926 </object>
2927
2928 <object type="text" color="%text_color%">
2929 <font resource="font" />
2930 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2931 <text>File system: %tw_sdpart_file_system%</text>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002936 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2937 <font resource="font" color="%button_text_color%" />
2938 <text>EXT3</text>
2939 <image resource="main_button" />
2940 <action function="set">tw_sdpart_file_system=ext3</action>
2941 </object>
2942
2943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002944 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002945 <condition var1="tw_sdext_disable_ext4" var2="0" />
2946 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2947 <font resource="font" color="%button_text_color%" />
2948 <text>EXT4</text>
2949 <image resource="main_button" />
2950 <action function="set">tw_sdpart_file_system=ext4</action>
2951 </object>
2952
2953 <object type="text" color="%text_color%">
2954 <font resource="font" />
2955 <placement x="%col1_x%" y="%row12_text_y%" />
2956 <text>You will lose all files on your SD card!</text>
2957 </object>
2958
2959 <object type="text" color="%text_color%">
2960 <font resource="font" />
2961 <placement x="%col1_x%" y="%row13_text_y%" />
2962 <text>This action cannot be undone!</text>
2963 </object>
2964
2965 <object type="slider">
2966 <placement x="%slider_x%" y="%slider_y%" />
2967 <resource base="slider" used="slider-used" touch="slider-touch" />
2968 <action function="page">partsdcardaction</action>
2969 <actions>
2970 <action function="set">tw_back=partsdcard</action>
2971 <action function="set">tw_action=partitionsd</action>
2972 <action function="set">tw_has_action2=1</action>
2973 <action function="set">tw_action2=set</action>
2974 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2975 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2976 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002977 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002978 <action function="page">action_page</action>
2979 </actions>
2980 </object>
2981
2982 <object type="text" color="%text_color%">
2983 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002984 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002985 <text>Swipe to Partition</text>
2986 </object>
2987
2988 <object type="action">
2989 <touch key="home" />
2990 <action function="page">main</action>
2991 </object>
2992
2993 <object type="action">
2994 <touch key="back" />
2995 <action function="page">advanced</action>
2996 </object>
2997
2998 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002999 </page>
3000
3001 <page name="htcdumlock">
3002 <object type="template" name="header" />
3003
3004 <object type="text" color="%text_color%">
3005 <font resource="font" />
3006 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3007 <text>HTC Dumlock</text>
3008 </object>
3009
3010 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003011 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003012 <condition var1="tw_show_dumlock" var2="1" />
3013 <placement x="%col1_x%" y="%row1_y%" />
3014 <font resource="font" color="%button_text_color%" />
3015 <text>Restore Original Boot</text>
3016 <image resource="main_button" />
3017 <actions>
3018 <action function="set">tw_back=htcdumlock</action>
3019 <action function="set">tw_action=htcdumlockrestoreboot</action>
3020 <action function="set">tw_text1=Restore original boot image?</action>
3021 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3022 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3023 <action function="set">tw_slider_text=Swipe to Confirm</action>
3024 <action function="page">confirm_action</action>
3025 </actions>
3026 </object>
3027
3028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003029 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003030 <condition var1="tw_show_dumlock" var2="1" />
3031 <placement x="%col2_x%" y="%row1_y%" />
3032 <font resource="font" color="%button_text_color%" />
3033 <text>Reflash Recovery</text>
3034 <image resource="main_button" />
3035 <actions>
3036 <action function="set">tw_back=htcdumlock</action>
3037 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3038 <action function="set">tw_text1=Reflash recovery to boot?</action>
3039 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3040 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3041 <action function="set">tw_slider_text=Swipe to Confirm</action>
3042 <action function="page">confirm_action</action>
3043 </actions>
3044 </object>
3045
3046 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003047 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003048 <condition var1="tw_show_dumlock" var2="1" />
3049 <placement x="%col1_x%" y="%row2_y%" />
3050 <font resource="font" color="%button_text_color%" />
3051 <text>Install HTC Dumlock</text>
3052 <image resource="main_button" />
3053 <actions>
3054 <action function="set">tw_back=htcdumlock</action>
3055 <action function="set">tw_action=installhtcdumlock</action>
3056 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3057 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3058 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3059 <action function="set">tw_slider_text=Swipe to Confirm</action>
3060 <action function="page">confirm_action</action>
3061 </actions>
3062 </object>
3063
3064 <object type="action">
3065 <touch key="home" />
3066 <action function="page">main</action>
3067 </object>
3068
3069 <object type="action">
3070 <touch key="back" />
3071 <action function="page">advanced</action>
3072 </object>
3073
3074 <object type="template" name="footer" />
3075 </page>
3076
3077 <page name="lock">
3078 <background color="#000000A0" />
3079
3080 <object type="image">
3081 <image resource="unlock-icon" />
3082 <placement x="%lock_x%" y="%lock_y%" />
3083 </object>
3084
3085 <object type="slider">
3086 <placement x="%slider_x%" y="%slider_y%" />
3087 <resource base="slider" used="slider-used" touch="slider-touch" />
3088 <action function="overlay"></action>
3089 </object>
3090
3091 <object type="text" color="%text_color%">
3092 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003093 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <text>Swipe to Unlock</text>
3095 </object>
3096 </page>
3097
3098 <page name="filemanagerlist">
3099 <object type="template" name="header" />
3100
3101 <object type="text" color="%text_color%">
3102 <font resource="font" />
3103 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3104 <text>File Manager: Select a File or Folder</text>
3105 </object>
3106
3107 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003108 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003109 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3110 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3111 <text>%tw_file_location1%</text>
3112 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3113 <sort name="tw_gui_sort_order" />
3114 <icon folder="folder_icon" file="file_icon" />
3115 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003116 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003117 <folders="1" files="1" />
3118 <path name="tw_file_location1" default="/" />
3119 <data name="tw_filename1" />
3120 <selection name="tw_selection1" />
3121 </object>
3122
3123 <object type="template" name="sort_options" />
3124
3125 <object type="action">
3126 <actions>
3127 <action function="set">tw_fm_type=File</action>
3128 <action function="set">tw_fm_isfolder=0</action>
3129 </actions>
3130 </object>
3131
3132 <object type="action">
3133 <touch key="home" />
3134 <action function="page">main</action>
3135 </object>
3136
3137 <object type="action">
3138 <touch key="back" />
3139 <action function="page">advanced</action>
3140 </object>
3141
3142 <object type="action">
3143 <condition var1="tw_filename1" op="modified" />
3144 <actions>
3145 <action function="page">filemanageroptions</action>
3146 </actions>
3147 </object>
3148
3149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003150 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003151 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Select</text>
3154 <image resource="medium_button" />
3155 <actions>
3156 <action function="set">tw_filename1=tw_file_location1</action>
3157 <action function="set">tw_fm_isfolder=1</action>
3158 <action function="set">tw_fm_type=Folder</action>
3159 <action function="page">filemanageroptions</action>
3160 </actions>
3161 </object>
3162
3163 <object type="template" name="footer" />
3164 </page>
3165
3166 <page name="filemanageroptions">
3167 <object type="template" name="header" />
3168
3169 <object type="text" color="%text_color%">
3170 <font resource="font" />
3171 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3172 <text>%tw_fm_type% Selected:</text>
3173 </object>
3174
3175 <object type="text" color="%text_color%">
3176 <font resource="font" />
3177 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3178 <text>%tw_filename1%</text>
3179 </object>
3180
3181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003183 <condition var1="tw_fm_isfolder" var2="0" />
3184 <placement x="%col1_x%" y="%row2_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Copy File</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_filemanager_command=cp</action>
3190 <action function="set">tw_fm_text1=Copying</action>
3191 <action function="page">choosedestinationfolder</action>
3192 </actions>
3193 </object>
3194
3195 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003196 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003197 <condition var1="tw_fm_isfolder" var2="1" />
3198 <placement x="%col1_x%" y="%row2_y%" />
3199 <font resource="font" color="%button_text_color%" />
3200 <text>Copy Folder</text>
3201 <image resource="main_button" />
3202 <actions>
3203 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3204 <action function="set">tw_fm_text1=Copying</action>
3205 <action function="page">choosedestinationfolder</action>
3206 </actions>
3207 </object>
3208
3209 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003210 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003211 <placement x="%col2_x%" y="%row2_y%" />
3212 <font resource="font" color="%button_text_color%" />
3213 <text>Move</text>
3214 <image resource="main_button" />
3215 <actions>
3216 <action function="set">tw_filemanager_command=mv</action>
3217 <action function="set">tw_fm_text1=Moving</action>
3218 <action function="page">choosedestinationfolder</action>
3219 </actions>
3220 </object>
3221
3222 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003223 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003224 <placement x="%col1_x%" y="%row3_y%" />
3225 <font resource="font" color="%button_text_color%" />
3226 <text>chmod 755</text>
3227 <image resource="main_button" />
3228 <actions>
3229 <action function="set">tw_filemanager_command=chmod 755</action>
3230 <action function="set">tw_fm_text1=chmod 755</action>
3231 <action function="set">tw_fm_text2=</action>
3232 <action function="set">tw_fm_text3=</action>
3233 <action function="set">tw_include_text3=0</action>
3234 <action function="set">tw_back=filemanageroptions</action>
3235 <action function="page">filemanagerconfirm</action>
3236 </actions>
3237 </object>
3238
3239 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003240 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003241 <placement x="%col2_x%" y="%row3_y%" />
3242 <font resource="font" color="%button_text_color%" />
3243 <text>chmod</text>
3244 <image resource="main_button" />
3245 <actions>
3246 <action function="set">tw_filemanager_rename=0000</action>
3247 <action function="set">tw_fm_text2=</action>
3248 <action function="set">tw_fm_text3=</action>
3249 <action function="set">tw_include_text3=0</action>
3250 <action function="set">tw_back=filemanageroptions</action>
3251 <action function="page">filemanagerchmod</action>
3252 </actions>
3253 </object>
3254
3255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003257 <placement x="%col1_x%" y="%row4_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text>Delete</text>
3260 <image resource="main_button" />
3261 <actions>
3262 <action function="set">tw_filemanager_command=rm -rf</action>
3263 <action function="set">tw_fm_text1=Deleting</action>
3264 <action function="set">tw_fm_text2=</action>
3265 <action function="set">tw_fm_text3=</action>
3266 <action function="set">tw_include_text3=0</action>
3267 <action function="set">tw_back=filemanageroptions</action>
3268 <action function="page">filemanagerconfirm</action>
3269 </actions>
3270 </object>
3271
3272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <condition var1="tw_fm_isfolder" var2="0" />
3275 <placement x="%col2_x%" y="%row4_y%" />
3276 <font resource="font" color="%button_text_color%" />
3277 <text>Rename File</text>
3278 <image resource="main_button" />
3279 <actions>
3280 <action function="set">tw_filemanager_rename=tw_selection1</action>
3281 <action function="set">tw_fm_text1=Renaming</action>
3282 <action function="set">tw_filemanager_command=mv</action>
3283 <action function="page">filemanagerrenamefile</action>
3284 </actions>
3285 </object>
3286
3287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003288 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003289 <condition var1="tw_fm_isfolder" var2="1" />
3290 <placement x="%col2_x%" y="%row4_y%" />
3291 <font resource="font" color="%button_text_color%" />
3292 <text>Rename Folder</text>
3293 <image resource="main_button" />
3294 <actions>
3295 <action function="set">tw_filemanager_rename=tw_selection1</action>
3296 <action function="set">tw_fm_text1=Renaming</action>
3297 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3298 <action function="page">filemanagerrenamefolder</action>
3299 </actions>
3300 </object>
3301
3302 <object type="action">
3303 <touch key="home" />
3304 <action function="page">main</action>
3305 </object>
3306
3307 <object type="action">
3308 <touch key="back" />
3309 <action function="page">filemanagerlist</action>
3310 </object>
3311
3312 <object type="template" name="footer" />
3313 </page>
3314
3315 <page name="choosedestinationfolder">
3316 <object type="template" name="header" />
3317
3318 <object type="text" color="%text_color%">
3319 <font resource="font" />
3320 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3321 <text>Browse to Destination Folder & Press Select</text>
3322 </object>
3323
3324 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003325 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003326 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3327 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3328 <text>%tw_file_location2%</text>
3329 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3330 <sort name="tw_gui_sort_order" />
3331 <icon folder="folder_icon" file="file_icon" />
3332 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003333 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003334 <filter folders="1" files="0" />
3335 <path name="tw_file_location2" default="/" />
3336 <data name="tw_filename2" />
3337 <selection name="tw_selection2" />
3338 </object>
3339
3340 <object type="template" name="sort_options" />
3341
3342 <object type="action">
3343 <touch key="home" />
3344 <action function="page">main</action>
3345 </object>
3346
3347 <object type="action">
3348 <touch key="back" />
3349 <action function="page">filemanageroptions</action>
3350 </object>
3351
3352 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003353 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003354 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3355 <font resource="font" color="%button_text_color%" />
3356 <text>Select</text>
3357 <image resource="medium_button" />
3358 <actions>
3359 <action function="set">tw_fm_text2=to</action>
3360 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3361 <action function="set">tw_include_text3=1</action>
3362 <action function="set">tw_back=filemanageroptions</action>
3363 <action function="page">filemanagerconfirm</action>
3364 </actions>
3365 </object>
3366
3367 <object type="template" name="footer" />
3368 </page>
3369
3370 <page name="filemanagerrenamefile">
3371 <object type="template" name="header" />
3372
3373 <object type="text" color="%text_color%">
3374 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3375 <font resource="font" />
3376 <text>Please Enter a New %tw_fm_type% Name</text>
3377 </object>
3378
3379 <object type="input">
3380 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3381 <background color="%input_background_color%" />
3382 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3383 <font resource="font" color="%text_color%" />
3384 <text>%tw_filemanager_rename%</text>
3385 <data name="tw_filemanager_rename" />
3386 <restrict minlen="1" maxlen="128" />
3387 <actions>
3388 <action function="set">tw_fm_text2=to</action>
3389 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3390 <action function="set">tw_include_text3=1</action>
3391 <action function="set">tw_back=filemanageroptions</action>
3392 <action function="page">filemanagerconfirm</action>
3393 </actions>
3394 </object>
3395
3396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003398 <placement x="%col_center_x%" y="%row2_y%" />
3399 <font resource="font" color="%button_text_color%" />
3400 <text>Cancel</text>
3401 <image resource="main_button" />
3402 <action function="page">filemanageroptions</action>
3403 </object>
3404
3405 <object type="template" name="keyboardtemplate" />
3406
3407 <object type="action">
3408 <touch key="home" />
3409 <action function="page">main</action>
3410 </object>
3411
3412 <object type="action">
3413 <touch key="back" />
3414 <action function="page">filemanageroptions</action>
3415 </object>
3416
3417 <object type="template" name="footer" />
3418 </page>
3419
3420 <page name="filemanagerrenamefolder">
3421 <object type="template" name="header" />
3422
3423 <object type="text" color="%text_color%">
3424 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3425 <font resource="font" />
3426 <text>Please Enter a New %tw_fm_type% Name</text>
3427 </object>
3428
3429 <object type="input">
3430 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3431 <background color="%input_background_color%" />
3432 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3433 <font resource="font" color="%text_color%" />
3434 <text>%tw_filemanager_rename%</text>
3435 <data name="tw_filemanager_rename" />
3436 <restrict minlen="1" maxlen="128" />
3437 <actions>
3438 <action function="set">tw_fm_text2=to</action>
3439 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3440 <action function="set">tw_include_text3=1</action>
3441 <action function="set">tw_back=filemanageroptions</action>
3442 <action function="page">filemanagerconfirm</action>
3443 </actions>
3444 </object>
3445
3446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003448 <placement x="%col_center_x%" y="%row2_y%" />
3449 <font resource="font" color="%button_text_color%" />
3450 <text>Cancel</text>
3451 <image resource="main_button" />
3452 <action function="page">filemanageroptions</action>
3453 </object>
3454
3455 <object type="template" name="keyboardtemplate" />
3456
3457 <object type="action">
3458 <touch key="home" />
3459 <action function="page">main</action>
3460 </object>
3461
3462 <object type="action">
3463 <touch key="back" />
3464 <action function="page">filemanageroptions</action>
3465 </object>
3466
3467 <object type="template" name="footer" />
3468 </page>
3469
3470 <page name="filemanagerchmod">
3471 <object type="template" name="header" />
3472
3473 <object type="text" color="%text_color%">
3474 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3475 <font resource="font" />
3476 <text>Please Enter New Permissions</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_filemanager_rename%</text>
3485 <data name="tw_filemanager_rename" />
3486 <restrict minlen="3" maxlen="4" allow="0123456789" />
3487 <actions>
3488 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3489 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3490 <action function="set">tw_back=filemanageroptions</action>
3491 <action function="page">filemanagerconfirm</action>
3492 </actions>
3493 </object>
3494
3495 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003496 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003497 <placement x="%col_center_x%" y="%row2_y%" />
3498 <font resource="font" color="%button_text_color%" />
3499 <text>Cancel</text>
3500 <image resource="main_button" />
3501 <action function="page">filemanageroptions</action>
3502 </object>
3503
3504 <object type="template" name="keyboardtemplate" />
3505
3506 <object type="action">
3507 <touch key="home" />
3508 <action function="page">main</action>
3509 </object>
3510
3511 <object type="action">
3512 <touch key="back" />
3513 <action function="page">filemanageroptions</action>
3514 </object>
3515
3516 <object type="template" name="footer" />
3517 </page>
3518
3519 <page name="filemanagerconfirm">
3520 <object type="template" name="header" />
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3525 <text>%tw_fm_text1%</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3531 <text>%tw_filename1%</text>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3537 <text>%tw_fm_text2%</text>
3538 </object>
3539
3540 <object type="text" color="%text_color%">
3541 <font resource="font" />
3542 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3543 <text>%tw_fm_text3%</text>
3544 </object>
3545
3546 <object type="text" color="%text_color%">
3547 <font resource="font" />
3548 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3549 <text>Press back button to cancel.</text>
3550 </object>
3551
3552 <object type="slider">
3553 <placement x="%slider_x%" y="%slider_y%" />
3554 <resource base="slider" used="slider-used" touch="slider-touch" />
3555 <action function="page">filemanageracction</action>
3556 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003557
Dees_Troy51a0e822012-09-05 15:24:24 -04003558 <object type="text" color="%text_color%">
3559 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003560 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003561 <text>Swipe to Confirm</text>
3562 </object>
3563
3564 <object type="action">
3565 <touch key="back" />
3566 <action function="page">%tw_back%</action>
3567 </object>
3568
3569 <object type="action">
3570 <touch key="home" />
3571 <action function="page">main</action>
3572 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003573
Dees_Troy51a0e822012-09-05 15:24:24 -04003574 <object type="template" name="footer" />
3575 </page>
3576
3577 <page name="filemanageracction">
3578 <object type="template" name="header" />
3579
3580 <object type="text" color="%text_color%">
3581
3582 <font resource="font" />
3583 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3584 <text>%tw_fm_text1%</text>
3585 </object>
3586
3587 <object type="template" name="action_page_console" />
3588
3589 <object type="template" name="progress_bar" />
3590
3591 <object type="action">
3592 <conditions>
3593 <condition var1="tw_operation_state" var2="1" />
3594 <condition var1="tw_operation_status" var2="0" />
3595 </conditions>
3596 <actions>
3597 <action function="set">tw_back=filemanagerlist</action>
3598 <action function="set">tw_complete_text1=File Operation Complete</action>
3599 <action function="page">action_complete</action>
3600 </actions>
3601 </object>
3602
3603 <object type="action">
3604 <conditions>
3605 <condition var1="tw_operation_state" var2="1" />
3606 <condition var1="tw_operation_status" op="!=" var2="0" />
3607 </conditions>
3608 <actions>
3609 <action function="set">tw_complete_text1=File Operation Complete</action>
3610 <action function="page">action_complete</action>
3611 </actions>
3612 </object>
3613
3614 <object type="action">
3615 <condition var1="tw_include_text3" var2="0" />
3616 <actions>
3617 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3618 </actions>
3619 </object>
3620
3621 <object type="action">
3622 <condition var1="tw_include_text3" var2="1" />
3623 <actions>
3624 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3625 </actions>
3626 </object>
3627 </page>
3628
3629 <page name="decrypt">
3630 <object type="template" name="header" />
3631
3632 <object type="text" color="%text_color%">
3633 <font resource="font" />
3634 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3635 <text>Please Enter Your Password</text>
3636 </object>
3637
3638 <object type="input">
3639 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3640 <background color="%input_background_color%" />
3641 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3642 <font resource="font" color="%text_color%" />
3643 <text>%tw_crypto_display%</text>
3644 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3645 <restrict minlen="1" maxlen="254" />
3646 <actions>
3647 <action function="page">trydecrypt</action>
3648 </actions>
3649 </object>
3650
3651 <object type="text" color="%text_fail_color%">
3652 <condition var1="tw_password_fail" var2="1" />
3653 <font resource="font" />
3654 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3655 <text>Password Failed, Please Try Again</text>
3656 </object>
3657
3658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003660 <placement x="%col_center_x%" y="%row2_y%" />
3661 <font resource="font" color="%button_text_color%" />
3662 <text>Cancel</text>
3663 <image resource="main_button" />
3664 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003665 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003666 <action function="page">main</action>
3667 </actions>
3668 </object>
3669
3670 <object type="template" name="keyboardtemplate" />
3671
Dees_Troy51a0e822012-09-05 15:24:24 -04003672 <object type="template" name="footer" />
3673 </page>
3674
3675 <page name="trydecrypt">
3676 <object type="template" name="header" />
3677
3678 <object type="text" color="%text_color%">
3679 <font resource="font" />
3680 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3681 <text>Trying Decryption with Your Password</text>
3682 </object>
3683
3684 <object type="template" name="action_page_console" />
3685
3686 <object type="template" name="progress_bar" />
3687
3688 <object type="action">
3689 <action function="decrypt"></action>
3690 </object>
3691
3692 <object type="action">
3693 <conditions>
3694 <condition var1="tw_operation_state" var2="1" />
3695 <condition var1="tw_operation_status" op="!=" var2="0" />
3696 </conditions>
3697 <actions>
3698 <action function="set">tw_password_fail=1</action>
3699 <action function="page">decrypt</action>
3700 </actions>
3701 </object>
3702
3703 <object type="action">
3704 <conditions>
3705 <condition var1="tw_operation_state" var2="1" />
3706 <condition var1="tw_operation_status" op="=" var2="0" />
3707 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003708 <actions>
3709 <action function="set">tw_page_done=1</action>
3710 <action function="page">main</action>
3711 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 </object>
3713 </page>
3714
3715 <page name="terminalfolder">
3716 <object type="template" name="header" />
3717
3718 <object type="text" color="%text_color%">
3719 <font resource="font" />
3720 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3721 <text>Browse to Starting Folder</text>
3722 </object>
3723
3724 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003725 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003726 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3727 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3728 <text>%tw_terminal_location%</text>
3729 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3730 <sort name="tw_gui_sort_order" />
3731 <icon folder="folder_icon" file="file_icon" />
3732 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003733 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003734 <filter folders="1" files="0" />
3735 <path name="tw_terminal_location" default="/" />
3736 <data name="tw_terminal" />
3737 <selection name="tw_terminal_selection" />
3738 </object>
3739
3740 <object type="template" name="sort_options" />
3741
3742 <object type="action">
3743 <touch key="home" />
3744 <action function="page">main</action>
3745 </object>
3746
3747 <object type="action">
3748 <touch key="back" />
3749 <action function="page">advanced</action>
3750 </object>
3751
3752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003754 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3755 <font resource="font" color="%button_text_color%" />
3756 <text>Select</text>
3757 <image resource="medium_button" />
3758 <actions>
3759 <action function="page">terminalcommand</action>
3760 </actions>
3761 </object>
3762
3763 <object type="template" name="footer" />
3764 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003765
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <page name="terminalcommand">
3767 <object type="template" name="header" />
3768
3769 <object type="console">
3770 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3771 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3772 <font resource="fixed" />
3773 </object>
3774
3775 <object type="text" color="%text_color%">
3776 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3777 <font resource="font" />
3778 <text>Starting Path: %tw_terminal_location%</text>
3779 </object>
3780
3781 <object type="input">
3782 <condition var1="tw_terminal_state" var2="0" />
3783 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3784 <background color="%input_background_color%" />
3785 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3786 <font resource="font" color="%text_color%" />
3787 <text>%tw_terminal_command%</text>
3788 <data name="tw_terminal_command" />
3789 <restrict minlen="1" />
3790 <action function="terminalcommand">%tw_terminal_command%</action>
3791 </object>
3792
3793 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003794 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003795 <condition var1="tw_terminal_state" var2="1" />
3796 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3797 <font resource="font" color="%button_text_color%" />
3798 <text>KILL</text>
3799 <image resource="medium_button" />
3800 <action function="killterminal"></action>
3801 </object>
3802
3803 <object type="template" name="keyboardtemplate" />
3804
3805 <object type="action">
3806 <touch key="home" />
3807 <action function="page">main</action>
3808 </object>
3809
3810 <object type="action">
3811 <touch key="back" />
3812 <action function="page">terminalfolder</action>
3813 </object>
3814 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003815
3816 <page name="sideload">
3817 <object type="template" name="header" />
3818
3819 <object type="text" color="%text_color%">
3820 <font resource="font" />
3821 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3822 <text>ADB Sideload</text>
3823 </object>
3824
3825 <object type="checkbox">
3826 <placement x="%col1_x%" y="%row2_text_y%" />
3827 <font resource="font" color="%text_color%" />
3828 <text>Wipe Dalvik Cache.</text>
3829 <data variable="tw_wipe_dalvik" />
3830 <image checked="checkbox_true" unchecked="checkbox_false" />
3831 </object>
3832
3833 <object type="checkbox">
3834 <placement x="%col1_x%" y="%row3_text_y%" />
3835 <font resource="font" color="%text_color%" />
3836 <text>Wipe Cache.</text>
3837 <data variable="tw_wipe_cache" />
3838 <image checked="checkbox_true" unchecked="checkbox_false" />
3839 </object>
3840
3841 <object type="slider">
3842 <placement x="%slider_x%" y="%slider_y%" />
3843 <resource base="slider" used="slider-used" touch="slider-touch" />
3844 <actions>
3845 <action function="set">tw_back=advanced</action>
3846 <action function="set">tw_action=adbsideload</action>
3847 <action function="set">tw_action_text1=ADB Sideload</action>
3848 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3849 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3850 <action function="set">tw_has_cancel=1</action>
3851 <action function="set">tw_show_reboot=1</action>
3852 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3853 <action function="page">action_page</action>
3854 </actions>
3855 </object>
3856
3857 <object type="text" color="%text_color%">
3858 <font resource="font" />
3859 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3860 <text>Swipe to Start Sideload</text>
3861 </object>
3862
3863 <object type="action">
3864 <touch key="home" />
3865 <action function="page">main</action>
3866 </object>
3867
3868 <object type="action">
3869 <touch key="back" />
3870 <action function="page">advanced</action>
3871 </object>
3872
3873 <object type="template" name="footer" />
3874 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003875
3876 <page name="installsu">
3877 <object type="template" name="header" />
3878
3879 <object type="text" color="%text_color%">
3880 <font resource="font" />
3881 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3882 <text>Install SuperSU?</text>
3883 </object>
3884
3885 <object type="text" color="%text_color%">
3886 <font resource="font" />
3887 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3888 <text>Your device does not appear to be rooted.</text>
3889 </object>
3890
3891 <object type="text" color="%text_color%">
3892 <font resource="font" />
3893 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3894 <text>Install SuperSU now?</text>
3895 </object>
3896
3897 <object type="text" color="%text_color%">
3898 <font resource="font" />
3899 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3900 <text>This will root your device.</text>
3901 </object>
3902
3903 <object type="button">
3904 <highlight color="%highlight_color%" />
3905 <placement x="%col_center_x%" y="%row3_y%" />
3906 <font resource="font" color="%button_text_color%" />
3907 <text>Do Not Install</text>
3908 <image resource="main_button" />
3909 <action function="set">tw_page_done=1</action>
3910 </object>
3911
3912 <object type="slider">
3913 <placement x="%slider_x%" y="%slider_y%" />
3914 <resource base="slider" used="slider-used" touch="slider-touch" />
3915 <actions>
3916 <action function="set">tw_action=installsu</action>
3917 <action function="set">tw_action_text1=Installing SuperSU</action>
3918 <action function="set">tw_action_text2=</action>
3919 <action function="page">singleaction_page</action>
3920 </actions>
3921 </object>
3922
3923 <object type="text" color="%text_color%">
3924 <font resource="font" />
3925 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3926 <text>Swipe to Install</text>
3927 </object>
3928 </page>
3929
3930 <page name="fixsu">
3931 <object type="template" name="header" />
3932
3933 <object type="text" color="%text_color%">
3934 <font resource="font" />
3935 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3936 <text>Fix Superuser Permissions?</text>
3937 </object>
3938
3939 <object type="text" color="%text_color%">
3940 <font resource="font" />
3941 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3942 <text>Root permissions appear to be lost.</text>
3943 </object>
3944
3945 <object type="text" color="%text_color%">
3946 <font resource="font" />
3947 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3948 <text>Fix root permissions now?</text>
3949 </object>
3950
3951 <object type="text" color="%text_color%">
3952 <font resource="font" />
3953 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3954 <text>(Fixes permissions on su binary & app)</text>
3955 </object>
3956
3957 <object type="button">
3958 <highlight color="%highlight_color%" />
3959 <placement x="%col_center_x%" y="%row3_y%" />
3960 <font resource="font" color="%button_text_color%" />
3961 <text>Do Not Fix</text>
3962 <image resource="main_button" />
3963 <action function="set">tw_page_done=1</action>
3964 </object>
3965
3966 <object type="slider">
3967 <placement x="%slider_x%" y="%slider_y%" />
3968 <resource base="slider" used="slider-used" touch="slider-touch" />
3969 <actions>
3970 <action function="set">tw_action=fixsu</action>
3971 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3972 <action function="set">tw_action_text2=</action>
3973 <action function="page">singleaction_page</action>
3974 </actions>
3975 </object>
3976
3977 <object type="text" color="%text_color%">
3978 <font resource="font" />
3979 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3980 <text>Swipe to Fix Root</text>
3981 </object>
3982 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003983 </pages>
3984</recovery>