blob: eb602cd7cc1dc1862fb0780493865ffe463709d2 [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_Troy82111022013-02-21 21:13:09 +00002435 <text>Use Military Time.</text>
2436 <data variable="tw_military_time" />
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
2457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <placement x="%col1_x%" y="%row3_y%" />
2460 <font resource="font" color="%button_text_color%" />
2461 <text>Time Zone</text>
2462 <image resource="main_button" />
2463 <action function="page">timezone</action>
2464 </object>
2465
2466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002467 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002468 <placement x="%col2_x%" y="%row3_y%" />
2469 <font resource="font" color="%button_text_color%" />
2470 <text>Screen</text>
2471 <image resource="main_button" />
2472 <action function="page">screen</action>
2473 </object>
2474
2475 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002476 <placement x="%col_center_x%" y="%row4_y%" />
2477 <font resource="font" color="%button_text_color%" />
2478 <text>Restore Defaults</text>
2479 <image resource="main_button" />
2480 <action function="restoredefaultsettings"></action>
2481 </object>
2482
2483 <object type="action">
2484 <touch key="home" />
2485 <action function="page">main</action>
2486 </object>
2487
2488 <object type="action">
2489 <touch key="back" />
2490 <action function="page">main</action>
2491 </object>
2492
2493 <object type="template" name="footer" />
2494 </page>
2495
2496 <page name="timezone">
2497 <object type="template" name="header" />
2498
Dees_Troy51a0e822012-09-05 15:24:24 -04002499 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002500 <highlight color="%fileselector_highlight_color%" />
2501 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2502 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2503 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002504 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002505 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002506 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002507 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002508 <data name="tw_time_zone_guisel" />
2509 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2510 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2511 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2512 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2513 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2514 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2515 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2516 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2517 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2518 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2519 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2520 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2521 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2522 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2523 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2524 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2525 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2526 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2527 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2528 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2529 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2530 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2531 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2532 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2533 </object>
2534
2535 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002536 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <font resource="font" color="%text_color%" />
2538 <text>Do you use daylight savings time (DST)?</text>
2539 <data variable="tw_time_zone_guidst" />
2540 <image checked="checkbox_true" unchecked="checkbox_false" />
2541 </object>
2542
2543 <object type="text" color="%text_color%">
2544 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002545 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002546 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2547 </object>
2548
2549 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002550 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002551 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002552 <font resource="font" color="%button_text_color%" />
2553 <text>None</text>
2554 <image resource="medium_button" />
2555 <action function="set">tw_time_zone_guioffset=0</action>
2556 </object>
2557
2558 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002559 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002560 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <font resource="font" color="%button_text_color%" />
2562 <text>15</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=15</action>
2565 </object>
2566
2567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002568 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002569 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <font resource="font" color="%button_text_color%" />
2571 <text>30</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=30</action>
2574 </object>
2575
2576 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002577 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002578 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002579 <font resource="font" color="%button_text_color%" />
2580 <text>45</text>
2581 <image resource="medium_button" />
2582 <action function="set">tw_time_zone_guioffset=45</action>
2583 </object>
2584
2585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002586 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002587 <placement x="%col_center_x%" y="%tz_set_y%" />
2588 <font resource="font" color="%button_text_color%" />
2589 <text>Set Time Zone</text>
2590 <image resource="main_button" />
2591 <action function="setguitimezone"></action>
2592 </object>
2593
2594 <object type="text" color="%text_color%">
2595 <font resource="font" />
2596 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2597 <text>Current Time Zone: %tw_time_zone%</text>
2598 </object>
2599
2600 <object type="action">
2601 <touch key="home" />
2602 <action function="page">main</action>
2603 </object>
2604
2605 <object type="action">
2606 <touch key="back" />
2607 <action function="page">settings</action>
2608 </object>
2609
2610 <object type="template" name="footer" />
2611 </page>
2612
Dees_Troy2f9117a2013-02-17 19:52:09 -06002613 <page name="screen">
2614 <object type="template" name="header" />
2615
2616 <object type="text" color="%text_color%">
2617 <font resource="font" />
2618 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2619 <text>Screen Settings</text>
2620 </object>
2621
2622 <object type="text" color="%text_color%">
2623 <font resource="font" />
2624 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2625 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2626 </object>
2627
2628 <object type="button">
2629 <placement x="%col1_medium_x%" y="%row2_y%" />
2630 <font resource="font" color="%button_text_color%" />
2631 <text>None</text>
2632 <image resource="medium_button" />
2633 <action function="set">tw_screen_timeout_secs=0</action>
2634 </object>
2635
2636 <object type="button">
2637 <placement x="%col2_medium_x%" y="%row2_y%" />
2638 <font resource="font" color="%button_text_color%" />
2639 <text>60</text>
2640 <image resource="medium_button" />
2641 <action function="set">tw_screen_timeout_secs=60</action>
2642 </object>
2643
2644 <object type="button">
2645 <placement x="%col3_medium_x%" y="%row2_y%" />
2646 <font resource="font" color="%button_text_color%" />
2647 <text>120</text>
2648 <image resource="medium_button" />
2649 <action function="set">tw_screen_timeout_secs=120</action>
2650 </object>
2651
2652 <object type="button">
2653 <placement x="%col4_medium_x%" y="%row2_y%" />
2654 <font resource="font" color="%button_text_color%" />
2655 <text>180</text>
2656 <image resource="medium_button" />
2657 <action function="set">tw_screen_timeout_secs=180</action>
2658 </object>
2659
2660 <object type="text" color="%text_color%">
2661 <condition var1="tw_has_brightnesss_file" var2="1" />
2662 <font resource="font" />
2663 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2664 <text>Brightness: %tw_brightness_display%</text>
2665 </object>
2666
2667 <object type="button">
2668 <condition var1="tw_has_brightnesss_file" var2="1" />
2669 <placement x="%col1_medium_x%" y="%row4_y%" />
2670 <font resource="font" color="%button_text_color%" />
2671 <text>25%</text>
2672 <image resource="medium_button" />
2673 <actions>
2674 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2675 <action function="set">tw_brightness_display=25%</action>
2676 <action function="set">tw_brightness=%tw_brightness_25%</action>
2677 </actions>
2678 </object>
2679
2680 <object type="button">
2681 <condition var1="tw_has_brightnesss_file" var2="1" />
2682 <placement x="%col2_medium_x%" y="%row4_y%" />
2683 <font resource="font" color="%button_text_color%" />
2684 <text>50%</text>
2685 <image resource="medium_button" />
2686 <actions>
2687 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2688 <action function="set">tw_brightness_display=50%</action>
2689 <action function="set">tw_brightness=%tw_brightness_50%</action>
2690 </actions>
2691 </object>
2692
2693 <object type="button">
2694 <condition var1="tw_has_brightnesss_file" var2="1" />
2695 <placement x="%col3_medium_x%" y="%row4_y%" />
2696 <font resource="font" color="%button_text_color%" />
2697 <text>75%</text>
2698 <image resource="medium_button" />
2699 <actions>
2700 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2701 <action function="set">tw_brightness_display=75%</action>
2702 <action function="set">tw_brightness=%tw_brightness_75%</action>
2703 </actions>
2704 </object>
2705
2706 <object type="button">
2707 <condition var1="tw_has_brightnesss_file" var2="1" />
2708 <placement x="%col4_medium_x%" y="%row4_y%" />
2709 <font resource="font" color="%button_text_color%" />
2710 <text>100%</text>
2711 <image resource="medium_button" />
2712 <actions>
2713 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2714 <action function="set">tw_brightness_display=100%</action>
2715 <action function="set">tw_brightness=%tw_brightness_100%</action>
2716 </actions>
2717 </object>
2718
2719 <object type="action">
2720 <touch key="home" />
2721 <action function="page">main</action>
2722 </object>
2723
2724 <object type="action">
2725 <touch key="back" />
2726 <action function="page">settings</action>
2727 </object>
2728
2729 <object type="template" name="footer" />
2730 </page>
2731
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <page name="advanced">
2733 <object type="template" name="header" />
2734
2735 <object type="text" color="%text_color%">
2736 <font resource="font" />
2737 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2738 <text>Advanced</text>
2739 </object>
2740
2741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <placement x="%col1_x%" y="%row1_y%" />
2744 <font resource="font" color="%button_text_color%" />
2745 <text>Copy Log to SD</text>
2746 <image resource="main_button" />
2747 <actions>
2748 <action function="set">tw_back=advanced</action>
2749 <action function="set">tw_action=copylog</action>
2750 <action function="set">tw_text1=Copy Log to SD Card?</action>
2751 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2752 <action function="set">tw_complete_text1=Log Copy Complete</action>
2753 <action function="set">tw_slider_text=Swipe to Confirm</action>
2754 <action function="page">confirm_action</action>
2755 </actions>
2756 </object>
2757
2758 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002759 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002760 <placement x="%col2_x%" y="%row1_y%" />
2761 <font resource="font" color="%button_text_color%" />
2762 <text>Fix Permissions</text>
2763 <image resource="main_button" />
2764 <actions>
2765 <action function="set">tw_back=advanced</action>
2766 <action function="set">tw_action=fixpermissions</action>
2767 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002768 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2770 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002771 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <action function="page">confirm_action</action>
2773 </actions>
2774 </object>
2775
2776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <condition var1="tw_allow_partition_sdcard" var2="1" />
2779 <placement x="%col1_x%" y="%row2_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text>Partition SD Card</text>
2782 <image resource="main_button" />
2783 <action function="page">partsdcard</action>
2784 </object>
2785
2786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002787 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002788 <placement x="%col2_x%" y="%row2_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>File Manager</text>
2791 <image resource="main_button" />
2792 <action function="page">filemanagerlist</action>
2793 </object>
2794
2795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002796 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002797 <placement x="%col1_x%" y="%row3_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>Terminal Command</text>
2800 <image resource="main_button" />
2801 <action function="page">terminalfolder</action>
2802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002806 <placement x="%col2_x%" y="%row3_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text>Reload Theme</text>
2809 <image resource="main_button" />
2810 <action function="reload"></action>
2811 </object>
2812
2813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002814 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002815 <placement x="%col1_x%" y="%row4_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text>ADB Sideload</text>
2818 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002819 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002820 </object>
2821
2822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002823 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002824 <condition var1="tw_show_dumlock" var2="1" />
2825 <placement x="%col2_x%" y="%row4_y%" />
2826 <font resource="font" color="%button_text_color%" />
2827 <text>HTC Dumlock</text>
2828 <image resource="main_button" />
2829 <action function="page">htcdumlock</action>
2830 </object>
2831
2832 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002833 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002834 <condition var1="tw_has_injecttwrp" var2="1" />
2835 <placement x="%col2_x%" y="%row4_y%" />
2836 <font resource="font" color="%button_text_color%" />
2837 <text>Re-Inject TWRP</text>
2838 <image resource="main_button" />
2839 <actions>
2840 <action function="set">tw_back=advanced</action>
2841 <action function="set">tw_action=reinjecttwrp</action>
2842 <action function="set">tw_text1=Re-Inject TWRP?</action>
2843 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2844 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2845 <action function="set">tw_slider_text=Swipe to Confirm</action>
2846 <action function="page">confirm_action</action>
2847 </actions>
2848 </object>
2849
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <object type="action">
2851 <touch key="home" />
2852 <action function="page">main</action>
2853 </object>
2854
2855 <object type="action">
2856 <touch key="back" />
2857 <action function="page">main</action>
2858 </object>
2859
2860 <object type="template" name="footer" />
2861 </page>
2862
2863 <page name="partsdcard">
2864 <object type="template" name="header" />
2865
2866 <object type="text" color="%text_color%">
2867 <font resource="font" />
2868 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2869 <text>Partition SD Card</text>
2870 </object>
2871
2872 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002873 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002874 <placement x="%col1_x%" y="%row1_y%" />
2875 <font resource="font" color="%button_text_color%" />
2876 <text></text>
2877 <image resource="minus_button" />
2878 <action function="addsubtract">tw_sdext_size-128</action>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <placement x="%sd_plus_x%" y="%row1_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text></text>
2886 <image resource="plus_button" />
2887 <action function="addsubtract">tw_sdext_size+128</action>
2888 </object>
2889
2890 <object type="text" color="%text_color%">
2891 <font resource="font" />
2892 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2893 <text>EXT Size: %tw_sdext_size%</text>
2894 </object>
2895
2896 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002897 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002898 <placement x="%col1_x%" y="%sdswap_button_y%" />
2899 <font resource="font" color="%button_text_color%" />
2900 <text></text>
2901 <image resource="minus_button" />
2902 <action function="addsubtract">tw_swap_size-32</action>
2903 </object>
2904
2905 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002906 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002907 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2908 <font resource="font" color="%button_text_color%" />
2909 <text></text>
2910 <image resource="plus_button" />
2911 <action function="addsubtract">tw_swap_size+32</action>
2912 </object>
2913
2914 <object type="text" color="%text_color%">
2915 <font resource="font" />
2916 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2917 <text>Swap Size: %tw_swap_size%</text>
2918 </object>
2919
2920 <object type="text" color="%text_color%">
2921 <font resource="font" />
2922 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2923 <text>File system: %tw_sdpart_file_system%</text>
2924 </object>
2925
2926 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002927 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002928 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2929 <font resource="font" color="%button_text_color%" />
2930 <text>EXT3</text>
2931 <image resource="main_button" />
2932 <action function="set">tw_sdpart_file_system=ext3</action>
2933 </object>
2934
2935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002936 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <condition var1="tw_sdext_disable_ext4" var2="0" />
2938 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2939 <font resource="font" color="%button_text_color%" />
2940 <text>EXT4</text>
2941 <image resource="main_button" />
2942 <action function="set">tw_sdpart_file_system=ext4</action>
2943 </object>
2944
2945 <object type="text" color="%text_color%">
2946 <font resource="font" />
2947 <placement x="%col1_x%" y="%row12_text_y%" />
2948 <text>You will lose all files on your SD card!</text>
2949 </object>
2950
2951 <object type="text" color="%text_color%">
2952 <font resource="font" />
2953 <placement x="%col1_x%" y="%row13_text_y%" />
2954 <text>This action cannot be undone!</text>
2955 </object>
2956
2957 <object type="slider">
2958 <placement x="%slider_x%" y="%slider_y%" />
2959 <resource base="slider" used="slider-used" touch="slider-touch" />
2960 <action function="page">partsdcardaction</action>
2961 <actions>
2962 <action function="set">tw_back=partsdcard</action>
2963 <action function="set">tw_action=partitionsd</action>
2964 <action function="set">tw_has_action2=1</action>
2965 <action function="set">tw_action2=set</action>
2966 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2967 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2968 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002969 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002970 <action function="page">action_page</action>
2971 </actions>
2972 </object>
2973
2974 <object type="text" color="%text_color%">
2975 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002976 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002977 <text>Swipe to Partition</text>
2978 </object>
2979
2980 <object type="action">
2981 <touch key="home" />
2982 <action function="page">main</action>
2983 </object>
2984
2985 <object type="action">
2986 <touch key="back" />
2987 <action function="page">advanced</action>
2988 </object>
2989
2990 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002991 </page>
2992
2993 <page name="htcdumlock">
2994 <object type="template" name="header" />
2995
2996 <object type="text" color="%text_color%">
2997 <font resource="font" />
2998 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2999 <text>HTC Dumlock</text>
3000 </object>
3001
3002 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003003 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003004 <condition var1="tw_show_dumlock" var2="1" />
3005 <placement x="%col1_x%" y="%row1_y%" />
3006 <font resource="font" color="%button_text_color%" />
3007 <text>Restore Original Boot</text>
3008 <image resource="main_button" />
3009 <actions>
3010 <action function="set">tw_back=htcdumlock</action>
3011 <action function="set">tw_action=htcdumlockrestoreboot</action>
3012 <action function="set">tw_text1=Restore original boot image?</action>
3013 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3014 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3015 <action function="set">tw_slider_text=Swipe to Confirm</action>
3016 <action function="page">confirm_action</action>
3017 </actions>
3018 </object>
3019
3020 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003021 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003022 <condition var1="tw_show_dumlock" var2="1" />
3023 <placement x="%col2_x%" y="%row1_y%" />
3024 <font resource="font" color="%button_text_color%" />
3025 <text>Reflash Recovery</text>
3026 <image resource="main_button" />
3027 <actions>
3028 <action function="set">tw_back=htcdumlock</action>
3029 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3030 <action function="set">tw_text1=Reflash recovery to boot?</action>
3031 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3032 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3033 <action function="set">tw_slider_text=Swipe to Confirm</action>
3034 <action function="page">confirm_action</action>
3035 </actions>
3036 </object>
3037
3038 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003039 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003040 <condition var1="tw_show_dumlock" var2="1" />
3041 <placement x="%col1_x%" y="%row2_y%" />
3042 <font resource="font" color="%button_text_color%" />
3043 <text>Install HTC Dumlock</text>
3044 <image resource="main_button" />
3045 <actions>
3046 <action function="set">tw_back=htcdumlock</action>
3047 <action function="set">tw_action=installhtcdumlock</action>
3048 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3049 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3050 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3051 <action function="set">tw_slider_text=Swipe to Confirm</action>
3052 <action function="page">confirm_action</action>
3053 </actions>
3054 </object>
3055
3056 <object type="action">
3057 <touch key="home" />
3058 <action function="page">main</action>
3059 </object>
3060
3061 <object type="action">
3062 <touch key="back" />
3063 <action function="page">advanced</action>
3064 </object>
3065
3066 <object type="template" name="footer" />
3067 </page>
3068
3069 <page name="lock">
3070 <background color="#000000A0" />
3071
3072 <object type="image">
3073 <image resource="unlock-icon" />
3074 <placement x="%lock_x%" y="%lock_y%" />
3075 </object>
3076
3077 <object type="slider">
3078 <placement x="%slider_x%" y="%slider_y%" />
3079 <resource base="slider" used="slider-used" touch="slider-touch" />
3080 <action function="overlay"></action>
3081 </object>
3082
3083 <object type="text" color="%text_color%">
3084 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003085 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <text>Swipe to Unlock</text>
3087 </object>
3088 </page>
3089
3090 <page name="filemanagerlist">
3091 <object type="template" name="header" />
3092
3093 <object type="text" color="%text_color%">
3094 <font resource="font" />
3095 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3096 <text>File Manager: Select a File or Folder</text>
3097 </object>
3098
3099 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003100 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3102 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3103 <text>%tw_file_location1%</text>
3104 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3105 <sort name="tw_gui_sort_order" />
3106 <icon folder="folder_icon" file="file_icon" />
3107 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003108 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003109 <folders="1" files="1" />
3110 <path name="tw_file_location1" default="/" />
3111 <data name="tw_filename1" />
3112 <selection name="tw_selection1" />
3113 </object>
3114
3115 <object type="template" name="sort_options" />
3116
3117 <object type="action">
3118 <actions>
3119 <action function="set">tw_fm_type=File</action>
3120 <action function="set">tw_fm_isfolder=0</action>
3121 </actions>
3122 </object>
3123
3124 <object type="action">
3125 <touch key="home" />
3126 <action function="page">main</action>
3127 </object>
3128
3129 <object type="action">
3130 <touch key="back" />
3131 <action function="page">advanced</action>
3132 </object>
3133
3134 <object type="action">
3135 <condition var1="tw_filename1" op="modified" />
3136 <actions>
3137 <action function="page">filemanageroptions</action>
3138 </actions>
3139 </object>
3140
3141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003143 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3144 <font resource="font" color="%button_text_color%" />
3145 <text>Select</text>
3146 <image resource="medium_button" />
3147 <actions>
3148 <action function="set">tw_filename1=tw_file_location1</action>
3149 <action function="set">tw_fm_isfolder=1</action>
3150 <action function="set">tw_fm_type=Folder</action>
3151 <action function="page">filemanageroptions</action>
3152 </actions>
3153 </object>
3154
3155 <object type="template" name="footer" />
3156 </page>
3157
3158 <page name="filemanageroptions">
3159 <object type="template" name="header" />
3160
3161 <object type="text" color="%text_color%">
3162 <font resource="font" />
3163 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3164 <text>%tw_fm_type% Selected:</text>
3165 </object>
3166
3167 <object type="text" color="%text_color%">
3168 <font resource="font" />
3169 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3170 <text>%tw_filename1%</text>
3171 </object>
3172
3173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003175 <condition var1="tw_fm_isfolder" var2="0" />
3176 <placement x="%col1_x%" y="%row2_y%" />
3177 <font resource="font" color="%button_text_color%" />
3178 <text>Copy File</text>
3179 <image resource="main_button" />
3180 <actions>
3181 <action function="set">tw_filemanager_command=cp</action>
3182 <action function="set">tw_fm_text1=Copying</action>
3183 <action function="page">choosedestinationfolder</action>
3184 </actions>
3185 </object>
3186
3187 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003188 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003189 <condition var1="tw_fm_isfolder" var2="1" />
3190 <placement x="%col1_x%" y="%row2_y%" />
3191 <font resource="font" color="%button_text_color%" />
3192 <text>Copy Folder</text>
3193 <image resource="main_button" />
3194 <actions>
3195 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3196 <action function="set">tw_fm_text1=Copying</action>
3197 <action function="page">choosedestinationfolder</action>
3198 </actions>
3199 </object>
3200
3201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003203 <placement x="%col2_x%" y="%row2_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text>Move</text>
3206 <image resource="main_button" />
3207 <actions>
3208 <action function="set">tw_filemanager_command=mv</action>
3209 <action function="set">tw_fm_text1=Moving</action>
3210 <action function="page">choosedestinationfolder</action>
3211 </actions>
3212 </object>
3213
3214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003215 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003216 <placement x="%col1_x%" y="%row3_y%" />
3217 <font resource="font" color="%button_text_color%" />
3218 <text>chmod 755</text>
3219 <image resource="main_button" />
3220 <actions>
3221 <action function="set">tw_filemanager_command=chmod 755</action>
3222 <action function="set">tw_fm_text1=chmod 755</action>
3223 <action function="set">tw_fm_text2=</action>
3224 <action function="set">tw_fm_text3=</action>
3225 <action function="set">tw_include_text3=0</action>
3226 <action function="set">tw_back=filemanageroptions</action>
3227 <action function="page">filemanagerconfirm</action>
3228 </actions>
3229 </object>
3230
3231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%col2_x%" y="%row3_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text>chmod</text>
3236 <image resource="main_button" />
3237 <actions>
3238 <action function="set">tw_filemanager_rename=0000</action>
3239 <action function="set">tw_fm_text2=</action>
3240 <action function="set">tw_fm_text3=</action>
3241 <action function="set">tw_include_text3=0</action>
3242 <action function="set">tw_back=filemanageroptions</action>
3243 <action function="page">filemanagerchmod</action>
3244 </actions>
3245 </object>
3246
3247 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003248 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <placement x="%col1_x%" y="%row4_y%" />
3250 <font resource="font" color="%button_text_color%" />
3251 <text>Delete</text>
3252 <image resource="main_button" />
3253 <actions>
3254 <action function="set">tw_filemanager_command=rm -rf</action>
3255 <action function="set">tw_fm_text1=Deleting</action>
3256 <action function="set">tw_fm_text2=</action>
3257 <action function="set">tw_fm_text3=</action>
3258 <action function="set">tw_include_text3=0</action>
3259 <action function="set">tw_back=filemanageroptions</action>
3260 <action function="page">filemanagerconfirm</action>
3261 </actions>
3262 </object>
3263
3264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003266 <condition var1="tw_fm_isfolder" var2="0" />
3267 <placement x="%col2_x%" y="%row4_y%" />
3268 <font resource="font" color="%button_text_color%" />
3269 <text>Rename File</text>
3270 <image resource="main_button" />
3271 <actions>
3272 <action function="set">tw_filemanager_rename=tw_selection1</action>
3273 <action function="set">tw_fm_text1=Renaming</action>
3274 <action function="set">tw_filemanager_command=mv</action>
3275 <action function="page">filemanagerrenamefile</action>
3276 </actions>
3277 </object>
3278
3279 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003280 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003281 <condition var1="tw_fm_isfolder" var2="1" />
3282 <placement x="%col2_x%" y="%row4_y%" />
3283 <font resource="font" color="%button_text_color%" />
3284 <text>Rename Folder</text>
3285 <image resource="main_button" />
3286 <actions>
3287 <action function="set">tw_filemanager_rename=tw_selection1</action>
3288 <action function="set">tw_fm_text1=Renaming</action>
3289 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3290 <action function="page">filemanagerrenamefolder</action>
3291 </actions>
3292 </object>
3293
3294 <object type="action">
3295 <touch key="home" />
3296 <action function="page">main</action>
3297 </object>
3298
3299 <object type="action">
3300 <touch key="back" />
3301 <action function="page">filemanagerlist</action>
3302 </object>
3303
3304 <object type="template" name="footer" />
3305 </page>
3306
3307 <page name="choosedestinationfolder">
3308 <object type="template" name="header" />
3309
3310 <object type="text" color="%text_color%">
3311 <font resource="font" />
3312 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3313 <text>Browse to Destination Folder & Press Select</text>
3314 </object>
3315
3316 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003317 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003318 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3319 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3320 <text>%tw_file_location2%</text>
3321 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3322 <sort name="tw_gui_sort_order" />
3323 <icon folder="folder_icon" file="file_icon" />
3324 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003325 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003326 <filter folders="1" files="0" />
3327 <path name="tw_file_location2" default="/" />
3328 <data name="tw_filename2" />
3329 <selection name="tw_selection2" />
3330 </object>
3331
3332 <object type="template" name="sort_options" />
3333
3334 <object type="action">
3335 <touch key="home" />
3336 <action function="page">main</action>
3337 </object>
3338
3339 <object type="action">
3340 <touch key="back" />
3341 <action function="page">filemanageroptions</action>
3342 </object>
3343
3344 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003346 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3347 <font resource="font" color="%button_text_color%" />
3348 <text>Select</text>
3349 <image resource="medium_button" />
3350 <actions>
3351 <action function="set">tw_fm_text2=to</action>
3352 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3353 <action function="set">tw_include_text3=1</action>
3354 <action function="set">tw_back=filemanageroptions</action>
3355 <action function="page">filemanagerconfirm</action>
3356 </actions>
3357 </object>
3358
3359 <object type="template" name="footer" />
3360 </page>
3361
3362 <page name="filemanagerrenamefile">
3363 <object type="template" name="header" />
3364
3365 <object type="text" color="%text_color%">
3366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3367 <font resource="font" />
3368 <text>Please Enter a New %tw_fm_type% Name</text>
3369 </object>
3370
3371 <object type="input">
3372 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3373 <background color="%input_background_color%" />
3374 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3375 <font resource="font" color="%text_color%" />
3376 <text>%tw_filemanager_rename%</text>
3377 <data name="tw_filemanager_rename" />
3378 <restrict minlen="1" maxlen="128" />
3379 <actions>
3380 <action function="set">tw_fm_text2=to</action>
3381 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3382 <action function="set">tw_include_text3=1</action>
3383 <action function="set">tw_back=filemanageroptions</action>
3384 <action function="page">filemanagerconfirm</action>
3385 </actions>
3386 </object>
3387
3388 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003389 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003390 <placement x="%col_center_x%" y="%row2_y%" />
3391 <font resource="font" color="%button_text_color%" />
3392 <text>Cancel</text>
3393 <image resource="main_button" />
3394 <action function="page">filemanageroptions</action>
3395 </object>
3396
3397 <object type="template" name="keyboardtemplate" />
3398
3399 <object type="action">
3400 <touch key="home" />
3401 <action function="page">main</action>
3402 </object>
3403
3404 <object type="action">
3405 <touch key="back" />
3406 <action function="page">filemanageroptions</action>
3407 </object>
3408
3409 <object type="template" name="footer" />
3410 </page>
3411
3412 <page name="filemanagerrenamefolder">
3413 <object type="template" name="header" />
3414
3415 <object type="text" color="%text_color%">
3416 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3417 <font resource="font" />
3418 <text>Please Enter a New %tw_fm_type% Name</text>
3419 </object>
3420
3421 <object type="input">
3422 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3423 <background color="%input_background_color%" />
3424 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3425 <font resource="font" color="%text_color%" />
3426 <text>%tw_filemanager_rename%</text>
3427 <data name="tw_filemanager_rename" />
3428 <restrict minlen="1" maxlen="128" />
3429 <actions>
3430 <action function="set">tw_fm_text2=to</action>
3431 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3432 <action function="set">tw_include_text3=1</action>
3433 <action function="set">tw_back=filemanageroptions</action>
3434 <action function="page">filemanagerconfirm</action>
3435 </actions>
3436 </object>
3437
3438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003440 <placement x="%col_center_x%" y="%row2_y%" />
3441 <font resource="font" color="%button_text_color%" />
3442 <text>Cancel</text>
3443 <image resource="main_button" />
3444 <action function="page">filemanageroptions</action>
3445 </object>
3446
3447 <object type="template" name="keyboardtemplate" />
3448
3449 <object type="action">
3450 <touch key="home" />
3451 <action function="page">main</action>
3452 </object>
3453
3454 <object type="action">
3455 <touch key="back" />
3456 <action function="page">filemanageroptions</action>
3457 </object>
3458
3459 <object type="template" name="footer" />
3460 </page>
3461
3462 <page name="filemanagerchmod">
3463 <object type="template" name="header" />
3464
3465 <object type="text" color="%text_color%">
3466 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3467 <font resource="font" />
3468 <text>Please Enter New Permissions</text>
3469 </object>
3470
3471 <object type="input">
3472 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3473 <background color="%input_background_color%" />
3474 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3475 <font resource="font" color="%text_color%" />
3476 <text>%tw_filemanager_rename%</text>
3477 <data name="tw_filemanager_rename" />
3478 <restrict minlen="3" maxlen="4" allow="0123456789" />
3479 <actions>
3480 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3481 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3482 <action function="set">tw_back=filemanageroptions</action>
3483 <action function="page">filemanagerconfirm</action>
3484 </actions>
3485 </object>
3486
3487 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003488 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003489 <placement x="%col_center_x%" y="%row2_y%" />
3490 <font resource="font" color="%button_text_color%" />
3491 <text>Cancel</text>
3492 <image resource="main_button" />
3493 <action function="page">filemanageroptions</action>
3494 </object>
3495
3496 <object type="template" name="keyboardtemplate" />
3497
3498 <object type="action">
3499 <touch key="home" />
3500 <action function="page">main</action>
3501 </object>
3502
3503 <object type="action">
3504 <touch key="back" />
3505 <action function="page">filemanageroptions</action>
3506 </object>
3507
3508 <object type="template" name="footer" />
3509 </page>
3510
3511 <page name="filemanagerconfirm">
3512 <object type="template" name="header" />
3513
3514 <object type="text" color="%text_color%">
3515 <font resource="font" />
3516 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3517 <text>%tw_fm_text1%</text>
3518 </object>
3519
3520 <object type="text" color="%text_color%">
3521 <font resource="font" />
3522 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3523 <text>%tw_filename1%</text>
3524 </object>
3525
3526 <object type="text" color="%text_color%">
3527 <font resource="font" />
3528 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3529 <text>%tw_fm_text2%</text>
3530 </object>
3531
3532 <object type="text" color="%text_color%">
3533 <font resource="font" />
3534 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3535 <text>%tw_fm_text3%</text>
3536 </object>
3537
3538 <object type="text" color="%text_color%">
3539 <font resource="font" />
3540 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3541 <text>Press back button to cancel.</text>
3542 </object>
3543
3544 <object type="slider">
3545 <placement x="%slider_x%" y="%slider_y%" />
3546 <resource base="slider" used="slider-used" touch="slider-touch" />
3547 <action function="page">filemanageracction</action>
3548 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003549
Dees_Troy51a0e822012-09-05 15:24:24 -04003550 <object type="text" color="%text_color%">
3551 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003552 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003553 <text>Swipe to Confirm</text>
3554 </object>
3555
3556 <object type="action">
3557 <touch key="back" />
3558 <action function="page">%tw_back%</action>
3559 </object>
3560
3561 <object type="action">
3562 <touch key="home" />
3563 <action function="page">main</action>
3564 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003565
Dees_Troy51a0e822012-09-05 15:24:24 -04003566 <object type="template" name="footer" />
3567 </page>
3568
3569 <page name="filemanageracction">
3570 <object type="template" name="header" />
3571
3572 <object type="text" color="%text_color%">
3573
3574 <font resource="font" />
3575 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3576 <text>%tw_fm_text1%</text>
3577 </object>
3578
3579 <object type="template" name="action_page_console" />
3580
3581 <object type="template" name="progress_bar" />
3582
3583 <object type="action">
3584 <conditions>
3585 <condition var1="tw_operation_state" var2="1" />
3586 <condition var1="tw_operation_status" var2="0" />
3587 </conditions>
3588 <actions>
3589 <action function="set">tw_back=filemanagerlist</action>
3590 <action function="set">tw_complete_text1=File Operation Complete</action>
3591 <action function="page">action_complete</action>
3592 </actions>
3593 </object>
3594
3595 <object type="action">
3596 <conditions>
3597 <condition var1="tw_operation_state" var2="1" />
3598 <condition var1="tw_operation_status" op="!=" var2="0" />
3599 </conditions>
3600 <actions>
3601 <action function="set">tw_complete_text1=File Operation Complete</action>
3602 <action function="page">action_complete</action>
3603 </actions>
3604 </object>
3605
3606 <object type="action">
3607 <condition var1="tw_include_text3" var2="0" />
3608 <actions>
3609 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3610 </actions>
3611 </object>
3612
3613 <object type="action">
3614 <condition var1="tw_include_text3" var2="1" />
3615 <actions>
3616 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3617 </actions>
3618 </object>
3619 </page>
3620
3621 <page name="decrypt">
3622 <object type="template" name="header" />
3623
3624 <object type="text" color="%text_color%">
3625 <font resource="font" />
3626 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3627 <text>Please Enter Your Password</text>
3628 </object>
3629
3630 <object type="input">
3631 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3632 <background color="%input_background_color%" />
3633 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3634 <font resource="font" color="%text_color%" />
3635 <text>%tw_crypto_display%</text>
3636 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3637 <restrict minlen="1" maxlen="254" />
3638 <actions>
3639 <action function="page">trydecrypt</action>
3640 </actions>
3641 </object>
3642
3643 <object type="text" color="%text_fail_color%">
3644 <condition var1="tw_password_fail" var2="1" />
3645 <font resource="font" />
3646 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3647 <text>Password Failed, Please Try Again</text>
3648 </object>
3649
3650 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003651 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003652 <placement x="%col_center_x%" y="%row2_y%" />
3653 <font resource="font" color="%button_text_color%" />
3654 <text>Cancel</text>
3655 <image resource="main_button" />
3656 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003657 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003658 <action function="page">main</action>
3659 </actions>
3660 </object>
3661
3662 <object type="template" name="keyboardtemplate" />
3663
Dees_Troy51a0e822012-09-05 15:24:24 -04003664 <object type="template" name="footer" />
3665 </page>
3666
3667 <page name="trydecrypt">
3668 <object type="template" name="header" />
3669
3670 <object type="text" color="%text_color%">
3671 <font resource="font" />
3672 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3673 <text>Trying Decryption with Your Password</text>
3674 </object>
3675
3676 <object type="template" name="action_page_console" />
3677
3678 <object type="template" name="progress_bar" />
3679
3680 <object type="action">
3681 <action function="decrypt"></action>
3682 </object>
3683
3684 <object type="action">
3685 <conditions>
3686 <condition var1="tw_operation_state" var2="1" />
3687 <condition var1="tw_operation_status" op="!=" var2="0" />
3688 </conditions>
3689 <actions>
3690 <action function="set">tw_password_fail=1</action>
3691 <action function="page">decrypt</action>
3692 </actions>
3693 </object>
3694
3695 <object type="action">
3696 <conditions>
3697 <condition var1="tw_operation_state" var2="1" />
3698 <condition var1="tw_operation_status" op="=" var2="0" />
3699 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003700 <actions>
3701 <action function="set">tw_page_done=1</action>
3702 <action function="page">main</action>
3703 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 </object>
3705 </page>
3706
3707 <page name="terminalfolder">
3708 <object type="template" name="header" />
3709
3710 <object type="text" color="%text_color%">
3711 <font resource="font" />
3712 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3713 <text>Browse to Starting Folder</text>
3714 </object>
3715
3716 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003717 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003718 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3719 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3720 <text>%tw_terminal_location%</text>
3721 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3722 <sort name="tw_gui_sort_order" />
3723 <icon folder="folder_icon" file="file_icon" />
3724 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003725 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003726 <filter folders="1" files="0" />
3727 <path name="tw_terminal_location" default="/" />
3728 <data name="tw_terminal" />
3729 <selection name="tw_terminal_selection" />
3730 </object>
3731
3732 <object type="template" name="sort_options" />
3733
3734 <object type="action">
3735 <touch key="home" />
3736 <action function="page">main</action>
3737 </object>
3738
3739 <object type="action">
3740 <touch key="back" />
3741 <action function="page">advanced</action>
3742 </object>
3743
3744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003746 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3747 <font resource="font" color="%button_text_color%" />
3748 <text>Select</text>
3749 <image resource="medium_button" />
3750 <actions>
3751 <action function="page">terminalcommand</action>
3752 </actions>
3753 </object>
3754
3755 <object type="template" name="footer" />
3756 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003757
Dees_Troy51a0e822012-09-05 15:24:24 -04003758 <page name="terminalcommand">
3759 <object type="template" name="header" />
3760
3761 <object type="console">
3762 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3763 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3764 <font resource="fixed" />
3765 </object>
3766
3767 <object type="text" color="%text_color%">
3768 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3769 <font resource="font" />
3770 <text>Starting Path: %tw_terminal_location%</text>
3771 </object>
3772
3773 <object type="input">
3774 <condition var1="tw_terminal_state" var2="0" />
3775 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3776 <background color="%input_background_color%" />
3777 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3778 <font resource="font" color="%text_color%" />
3779 <text>%tw_terminal_command%</text>
3780 <data name="tw_terminal_command" />
3781 <restrict minlen="1" />
3782 <action function="terminalcommand">%tw_terminal_command%</action>
3783 </object>
3784
3785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003787 <condition var1="tw_terminal_state" var2="1" />
3788 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3789 <font resource="font" color="%button_text_color%" />
3790 <text>KILL</text>
3791 <image resource="medium_button" />
3792 <action function="killterminal"></action>
3793 </object>
3794
3795 <object type="template" name="keyboardtemplate" />
3796
3797 <object type="action">
3798 <touch key="home" />
3799 <action function="page">main</action>
3800 </object>
3801
3802 <object type="action">
3803 <touch key="back" />
3804 <action function="page">terminalfolder</action>
3805 </object>
3806 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003807
3808 <page name="sideload">
3809 <object type="template" name="header" />
3810
3811 <object type="text" color="%text_color%">
3812 <font resource="font" />
3813 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3814 <text>ADB Sideload</text>
3815 </object>
3816
3817 <object type="checkbox">
3818 <placement x="%col1_x%" y="%row2_text_y%" />
3819 <font resource="font" color="%text_color%" />
3820 <text>Wipe Dalvik Cache.</text>
3821 <data variable="tw_wipe_dalvik" />
3822 <image checked="checkbox_true" unchecked="checkbox_false" />
3823 </object>
3824
3825 <object type="checkbox">
3826 <placement x="%col1_x%" y="%row3_text_y%" />
3827 <font resource="font" color="%text_color%" />
3828 <text>Wipe Cache.</text>
3829 <data variable="tw_wipe_cache" />
3830 <image checked="checkbox_true" unchecked="checkbox_false" />
3831 </object>
3832
3833 <object type="slider">
3834 <placement x="%slider_x%" y="%slider_y%" />
3835 <resource base="slider" used="slider-used" touch="slider-touch" />
3836 <actions>
3837 <action function="set">tw_back=advanced</action>
3838 <action function="set">tw_action=adbsideload</action>
3839 <action function="set">tw_action_text1=ADB Sideload</action>
3840 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3841 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3842 <action function="set">tw_has_cancel=1</action>
3843 <action function="set">tw_show_reboot=1</action>
3844 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3845 <action function="page">action_page</action>
3846 </actions>
3847 </object>
3848
3849 <object type="text" color="%text_color%">
3850 <font resource="font" />
3851 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3852 <text>Swipe to Start Sideload</text>
3853 </object>
3854
3855 <object type="action">
3856 <touch key="home" />
3857 <action function="page">main</action>
3858 </object>
3859
3860 <object type="action">
3861 <touch key="back" />
3862 <action function="page">advanced</action>
3863 </object>
3864
3865 <object type="template" name="footer" />
3866 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003867
3868 <page name="installsu">
3869 <object type="template" name="header" />
3870
3871 <object type="text" color="%text_color%">
3872 <font resource="font" />
3873 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3874 <text>Install SuperSU?</text>
3875 </object>
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3880 <text>Your device does not appear to be rooted.</text>
3881 </object>
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3886 <text>Install SuperSU now?</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3892 <text>This will root your device.</text>
3893 </object>
3894
3895 <object type="button">
3896 <highlight color="%highlight_color%" />
3897 <placement x="%col_center_x%" y="%row3_y%" />
3898 <font resource="font" color="%button_text_color%" />
3899 <text>Do Not Install</text>
3900 <image resource="main_button" />
3901 <action function="set">tw_page_done=1</action>
3902 </object>
3903
3904 <object type="slider">
3905 <placement x="%slider_x%" y="%slider_y%" />
3906 <resource base="slider" used="slider-used" touch="slider-touch" />
3907 <actions>
3908 <action function="set">tw_action=installsu</action>
3909 <action function="set">tw_action_text1=Installing SuperSU</action>
3910 <action function="set">tw_action_text2=</action>
3911 <action function="page">singleaction_page</action>
3912 </actions>
3913 </object>
3914
3915 <object type="text" color="%text_color%">
3916 <font resource="font" />
3917 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3918 <text>Swipe to Install</text>
3919 </object>
3920 </page>
3921
3922 <page name="fixsu">
3923 <object type="template" name="header" />
3924
3925 <object type="text" color="%text_color%">
3926 <font resource="font" />
3927 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3928 <text>Fix Superuser Permissions?</text>
3929 </object>
3930
3931 <object type="text" color="%text_color%">
3932 <font resource="font" />
3933 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3934 <text>Root permissions appear to be lost.</text>
3935 </object>
3936
3937 <object type="text" color="%text_color%">
3938 <font resource="font" />
3939 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3940 <text>Fix root permissions now?</text>
3941 </object>
3942
3943 <object type="text" color="%text_color%">
3944 <font resource="font" />
3945 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3946 <text>(Fixes permissions on su binary & app)</text>
3947 </object>
3948
3949 <object type="button">
3950 <highlight color="%highlight_color%" />
3951 <placement x="%col_center_x%" y="%row3_y%" />
3952 <font resource="font" color="%button_text_color%" />
3953 <text>Do Not Fix</text>
3954 <image resource="main_button" />
3955 <action function="set">tw_page_done=1</action>
3956 </object>
3957
3958 <object type="slider">
3959 <placement x="%slider_x%" y="%slider_y%" />
3960 <resource base="slider" used="slider-used" touch="slider-touch" />
3961 <actions>
3962 <action function="set">tw_action=fixsu</action>
3963 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3964 <action function="set">tw_action_text2=</action>
3965 <action function="page">singleaction_page</action>
3966 </actions>
3967 </object>
3968
3969 <object type="text" color="%text_color%">
3970 <font resource="font" />
3971 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3972 <text>Swipe to Fix Root</text>
3973 </object>
3974 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003975 </pages>
3976</recovery>