blob: 9e2e2b8e7feefe7038d1f58402764125b4653ea3 [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"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100138 <variable name="fastscroll_linecolor" value="#808080" />
139 <variable name="fastscroll_rectcolor" value="#808080" />
140 <variable name="fastscroll_w" value="60" />
141 <variable name="fastscroll_linew" value="2" />
142 <variable name="fastscroll_rectw" value="40" />
143 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_x" value="5" />
145 <variable name="listbox_width" value="710" />
Dees_Troyeead9852013-02-15 14:31:06 -0600146 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="listbox_background" value="#303030" />
148 <variable name="listbox_spacing" value="16" />
149 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400150 <variable name="sdext_text_x" value="115" />
151 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400153 <variable name="sdswap_text_x" value="115" />
154 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="sdfilesystem_text_y" value="340" />
156 <variable name="sdfilesystem_button_y" value="380" />
157 <variable name="lock_x" value="200" />
158 <variable name="lock_y" value="400" />
159 <variable name="filemanager_select_x" value="320" />
160 <variable name="filemanager_select_y" value="950" />
161 <variable name="backup_name_y" value="550" />
162 <variable name="terminal_console_height" value="600" />
163 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400164 <variable name="terminal_button_y" value="620" />
165 <variable name="row_dst_text_y" value="720" />
166 <variable name="row_offset_text_y" value="800" />
167 <variable name="row_offset_medium_y" value="840" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400168 <variable name="exclamation_x" value="200" />
169 <variable name="exclamation_y" value="400" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400170 </variables>
171
172 <templates>
173 <template name="header">
174 <background color="#000000FF" />
175
176 <object type="image">
177 <image resource="top_bar" />
178 <placement x="0" y="0" />
179 </object>
180
181 <object type="text" color="%text_color%">
182 <font resource="font" />
183 <placement x="120" y="10" />
184 <text>Team Win Recovery Project v%tw_version%</text>
185 </object>
186
187 <object type="text" color="%text_color%">
188 <condition var1="tw_simulate_actions" var2="1" />
189 <font resource="font" />
190 <placement x="120" y="45" />
191 <text>SIMULATING ACTIONS</text>
192 </object>
193
194 <object type="text" color="%text_color%">
195 <font resource="font" />
196 <placement x="120" y="76" />
197 <text>%tw_time%</text>
198 </object>
199
200 <object type="text" color="%text_color%">
201 <font resource="font" />
202 <placement x="270" y="76" />
203 <conditions>
204 <condition var1="tw_no_battery_percent" var2="0" />
205 <condition var1="tw_battery" op=">" var2="0" />
206 <condition var1="tw_battery" op="<" var2="101" />
207 </conditions>
208 <text>Battery: %tw_battery%</text>
209 </object>
210
211 <object type="button">
212 <placement x="%home_button_x%" y="%home_button_y%" />
213 <font resource="font" color="%button_text_color%" />
214 <text></text>
215 <image resource="home_icon" />
216 <condition var1="tw_busy" var2="0" />
217 <action function="key">home</action>
218 </object>
219
220 <object type="button">
221 <placement x="%back_button_x%" y="%back_button_y%" />
222 <font resource="font" color="%button_text_color%" />
223 <text></text>
224 <image resource="back_icon" />
225 <condition var1="tw_busy" var2="0" />
226 <action function="key">back</action>
227 </object>
228
229 <object type="action">
230 <touch key="power" />
231 <action function="overlay">lock</action>
232 </object>
233 </template>
234
235 <template name="progress_bar">
236 <object type="progressbar">
237 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
238 <resource empty="progress_empty" full="progress_full" />
239 <data name="ui_progress" />
240 </object>
241
242 <object type="animation">
243 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
244 <resource name="progress" />
245 <speed fps="15" render="2" />
246 <loop frame="1" />
247 </object>
248 </template>
249
250 <template name="sort_options">
251 <object type="text" color="%text_color%">
252 <font resource="font" />
253 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
254 <text>Sort Ascending:</text>
255 </object>
256
257 <object type="button">
258 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
259 <font resource="font" color="%button_text_color%" />
260 <text>Name</text>
261 <image resource="sort_button" />
262 <action function="set">tw_gui_sort_order=1</action>
263 </object>
264
265 <object type="button">
266 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
267 <font resource="font" color="%button_text_color%" />
268 <text>Date</text>
269 <image resource="sort_button" />
270 <action function="set">tw_gui_sort_order=2</action>
271 </object>
272
273 <object type="button">
274 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
275 <font resource="font" color="%button_text_color%" />
276 <text>Size</text>
277 <image resource="sort_button" />
278 <action function="set">tw_gui_sort_order=3</action>
279 </object>
280
281 <object type="text" color="%text_color%">
282 <font resource="font" />
283 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
284 <text>Sort Descending:</text>
285 </object>
286
287 <object type="button">
288 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
289 <font resource="font" color="%button_text_color%" />
290 <text>Name</text>
291 <image resource="sort_button" />
292 <action function="set">tw_gui_sort_order=-1</action>
293 </object>
294
295 <object type="button">
296 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
297 <font resource="font" color="%button_text_color%" />
298 <text>Date</text>
299 <image resource="sort_button" />
300 <action function="set">tw_gui_sort_order=-2</action>
301 </object>
302
303 <object type="button">
304 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
305 <font resource="font" color="%button_text_color%" />
306 <text>Size</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=-3</action>
309 </object>
310 </template>
311
312 <template name="action_page_console">
313 <object type="console">
314 <placement x="0" y="%row3_text_y%" w="800" h="600" />
315 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
316 <font resource="fixed" />
317 </object>
318 </template>
319
320 <template name="footer">
321 <object type="console">
322 <slideout resource="slideout" x="355" y="1220" />
323 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
324 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
325 <font resource="fixed" />
326 </object>
327 </template>
328
329 <template name="keyboardtemplate">
330 <object type="keyboard">
331 <placement x="0" y="740" />
332 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600333 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 <layout1>
335 <keysize height="115" width="80" />
336 <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 -0600337 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
338 <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 +0000339 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 </layout1>
341 <layout2>
342 <keysize height="116" width="80" />
343 <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 -0600344 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
345 <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 -0400346 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
347 </layout2>
348 <layout3>
349 <keysize height="115" width="80" />
350 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
351 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600352 <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 -0400353 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
354 </layout3>
355 <layout4>
356 <keysize height="116" width="80" />
357 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
358 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600359 <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 -0400360 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
361 </layout4>
362 </object>
363 </template>
364 </templates>
365
366 <pages>
367 <page name="main">
368 <object type="action">
369 <actions>
370 <action function="set">tw_clear_destination=main2</action>
371 <action function="page">clear_vars</action>
372 </actions>
373 </object>
374 </page>
375
376 <page name="main2">
377 <object type="template" name="header" />
378
379 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600380 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400381 <placement x="%col1_x%" y="%row1_y%" />
382 <font resource="font" color="%button_text_color%" />
383 <text>Install</text>
384 <image resource="main_button" />
385 <actions>
386 <action function="queueclear"></action>
387 <action function="page">install</action>
388 </actions>
389 </object>
390
391 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600392 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400393 <placement x="%col2_x%" y="%row1_y%" />
394 <font resource="font" color="%button_text_color%" />
395 <text>Wipe</text>
396 <image resource="main_button" />
397 <action function="page">wipe</action>
398 </object>
399
400 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600401 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400402 <placement x="%col1_x%" y="%row2_y%" />
403 <font resource="font" color="%button_text_color%" />
404 <text>Backup</text>
405 <image resource="main_button" />
406 <action function="page">backup</action>
407 </object>
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col2_x%" y="%row2_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Restore</text>
414 <image resource="main_button" />
415 <action function="page">restore</action>
416 </object>
417
418 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600419 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400420 <placement x="%col1_x%" y="%row3_y%" />
421 <font resource="font" color="%button_text_color%" />
422 <text>Mount</text>
423 <image resource="main_button" />
424 <action function="page">mount</action>
425 </object>
426
427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400429 <placement x="%col2_x%" y="%row3_y%" />
430 <font resource="font" color="%button_text_color%" />
431 <text>Settings</text>
432 <image resource="main_button" />
433 <action function="page">settings</action>
434 </object>
435
Dees_Troyb46a6842012-09-25 11:06:46 -0400436
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600438 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400439 <placement x="%col1_x%" y="%row4_y%" />
440 <font resource="font" color="%button_text_color%" />
441 <text>Advanced</text>
442 <image resource="main_button" />
443 <action function="page">advanced</action>
444 </object>
445
446 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600447 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400448 <placement x="%col2_x%" y="%row4_y%" />
449 <font resource="font" color="%button_text_color%" />
450 <text>Reboot</text>
451 <image resource="main_button" />
452 <action function="page">reboot</action>
453 </object>
454
455 <object type="template" name="footer" />
456 </page>
457
458 <page name="install">
459 <object type="template" name="header" />
460
461 <object type="text" color="%text_color%">
462 <font resource="font" />
463 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
464 <text>Select Zip to Install</text>
465 </object>
466
467 <object type="button">
468 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400469 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400470 <conditions>
471 <condition var1="tw_has_dual_storage" var2="1" />
472 <condition var1="tw_use_external_storage" var2="1" />
473 </conditions>
474 <text>Use external SD</text>
475 <image resource="radio_true" />
476 <action function="togglestorage">external</action>
477 </object>
478
479 <object type="button">
480 <placement x="%col1_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400481 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400482 <conditions>
483 <condition var1="tw_has_dual_storage" var2="1" />
484 <condition var1="tw_use_external_storage" var2="0" />
485 </conditions>
486 <text>Use external SD</text>
487 <image resource="radio_false" />
488 <action function="togglestorage">external</action>
489 </object>
490
491 <object type="button">
492 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400493 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 <conditions>
495 <condition var1="tw_has_dual_storage" var2="1" />
496 <condition var1="tw_use_external_storage" var2="1" />
497 </conditions>
498 <text>Use internal storage</text>
499 <image resource="radio_false" />
500 <action function="togglestorage">internal</action>
501 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400502
Dees_Troy51a0e822012-09-05 15:24:24 -0400503 <object type="button">
504 <placement x="%col2_x%" y="%row1_text_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400505 <font resource="mediumfont" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <conditions>
507 <condition var1="tw_has_dual_storage" var2="1" />
508 <condition var1="tw_use_external_storage" var2="0" />
509 </conditions>
510 <text>Use internal storage</text>
511 <image resource="radio_true" />
512 <action function="togglestorage">internal</action>
513 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400514
Dees_Troy51a0e822012-09-05 15:24:24 -0400515 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600516 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400517 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
518 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100519 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 <text>%tw_zip_location%</text>
521 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
522 <sort name="tw_gui_sort_order" />
523 <icon folder="folder_icon" file="file_icon" />
524 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600525 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400526 <filter extn=".zip" folders="1" files="1" />
527 <path name="tw_zip_location" default="/sdcard" />
528 <data name="tw_filename" />
529 <selection name="tw_file" />
530 </object>
531
532 <object type="template" name="sort_options" />
533
534 <object type="action">
535 <condition var1="tw_filename" op="modified" />
536 <actions>
537 <action function="queuezip"></action>
538 <action function="page">flash_confirm</action>
539 </actions>
540 </object>
541
542 <object type="action">
543 <touch key="back" />
544 <action function="page">main</action>
545 </object>
546
547 <object type="action">
548 <touch key="home" />
549 <action function="page">main</action>
550 </object>
551
552 <object type="template" name="footer" />
553 </page>
554
555 <page name="flash_confirm">
556 <object type="template" name="header" />
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
561 <text>This operation may install incompatible</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
567 <text>software and render your device unusable.</text>
568 </object>
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
572 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
573 <text>Folder:</text>
574 </object>
575
576 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400577 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400578 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
579 <text>%tw_zip_location%</text>
580 </object>
581
582 <object type="text" color="%text_color%">
583 <font resource="font" />
584 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
585 <text>File to flash:</text>
586 </object>
587
588 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400589 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
591 <text>%tw_file%</text>
592 </object>
593
594 <object type="text" color="%text_color%">
595 <font resource="font" />
596 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
597 <text>Press back to cancel adding this zip.</text>
598 </object>
599
600 <object type="checkbox">
601 <placement x="%col1_x%" y="%row8_text_y%" />
602 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400603 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400604 <data variable="tw_signed_zip_verify" />
605 <image checked="checkbox_true" unchecked="checkbox_false" />
606 </object>
607
608 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400609 <condition var1="tw_has_injecttwrp" var2="1" />
610 <placement x="%col1_x%" y="%row10_text_y%" />
611 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400612 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <data variable="tw_inject_after_zip" />
614 <image checked="checkbox_true" unchecked="checkbox_false" />
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
619 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
620 <text>File %tw_zip_queue_count% of max of 10</text>
621 </object>
622
623 <object type="slider">
624 <placement x="%slider_x%" y="%slider_y%" placement="5" />
625 <resource base="slider" used="slider-used" touch="slider-touch" />
626 <action function="flash">flash_zip</action>
627 </object>
628
629 <object type="text" color="%text_color%">
630 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400631 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400632 <text>Swipe to Confirm Flash</text>
633 </object>
634
635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
638 <placement x="%col1_x%" y="%row_queue_y%" />
639 <font resource="font" color="%button_text_color%" />
640 <text>Add More Zips</text>
641 <image resource="main_button" />
642 <action function="page">install</action>
643 </object>
644
645 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600646 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400647 <placement x="%col2_x%" y="%row_queue_y%" />
648 <font resource="font" color="%button_text_color%" />
649 <text>Clear Zip Queue</text>
650 <image resource="main_button" />
651 <actions>
652 <action function="queueclear"></action>
653 <action function="page">install</action>
654 </actions>
655 </object>
656
657 <object type="action">
658 <touch key="back" />
659 <actions>
660 <action function="cancelzip"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="action">
666 <touch key="home" />
667 <action function="page">main</action>
668 </object>
669
670 <object type="template" name="footer" />
671 </page>
672
673 <page name="flash_zip">
674 <object type="template" name="header" />
675
676 <object type="console">
677 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
678 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
679 <font resource="fixed" />
680 </object>
681
682 <object type="text" color="%text_color%">
683 <font resource="font" />
684 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
685 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
686 </object>
687
688 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400689 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400690 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
691 <text>%tw_filename%</text>
692 </object>
693
694 <object type="template" name="progress_bar" />
695
696 <object type="action">
697 <condition var1="tw_operation_state" var2="1" />
698 <action function="page">flash_done</action>
699 </object>
700 </page>
701
702 <page name="flash_done">
703 <object type="template" name="header" />
704
705 <object type="text" color="%text_color%">
706 <font resource="font" />
707 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
708 <text>Zip Install Complete</text>
709 </object>
710
711 <object type="console">
712 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
713 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
714 <font resource="fixed" />
715 </object>
716
717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400719 <placement x="%col1_x%" y="%row4_y%" />
720 <font resource="font" color="%button_text_color%" />
721 <text>Wipe cache/dalvik</text>
722 <image resource="main_button" />
723 <actions>
724 <action function="set">tw_back=flash_done</action>
725 <action function="set">tw_action=wipe</action>
726 <action function="set">tw_action_param=/cache</action>
727 <action function="set">tw_has_action2=1</action>
728 <action function="set">tw_action2=wipe</action>
729 <action function="set">tw_action2_param=dalvik</action>
730 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
731 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
732 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
733 <action function="set">tw_slider_text=Swipe to Wipe</action>
734 <action function="page">confirm_action</action>
735 </actions>
736 </object>
737
738 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600739 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <placement x="%col2_x%" y="%row4_y%" />
741 <font resource="font" color="%button_text_color%" />
742 <text>Reboot System</text>
743 <image resource="main_button" />
744 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action=reboot</action>
747 <action function="set">tw_action_param=system</action>
748 <action function="set">tw_has_action2=0</action>
749 <action function="set">tw_text1=No OS Installed! Are you</action>
750 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400751 <action function="set">tw_text3=</action>
752 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400754 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400755 <action function="set">tw_complete_text1=Rebooting...</action>
756 <action function="set">tw_slider_text=Swipe to Reboot</action>
757 <action function="page">rebootcheck</action>
758 </actions>
759 </object>
760
761 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600762 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400763 <placement x="%col_center_x%" y="%row3_y%" />
764 <font resource="font" color="%button_text_color%" />
765 <text>Home</text>
766 <image resource="main_button" />
767 <actions>
768 <action function="set">tw_clear_destination=main2</action>
769 <action function="page">clear_vars</action>
770 </actions>
771 </object>
772
773 <object type="text" color="%text_fail_color%">
774 <condition var1="tw_operation_status" op="!=" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Failed</text>
778 </object>
779
780 <object type="text" color="%text_success_color%">
781 <condition var1="tw_operation_status" var2="0" />
782 <font resource="font" />
783 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
784 <text>Successful</text>
785 </object>
786
787 <object type="action">
788 <touch key="back" />
789 <actions>
790 <action function="set">tw_clear_destination=install</action>
791 <action function="page">clear_vars</action>
792 </actions>
793 </object>
794
795 <object type="action">
796 <touch key="home" />
797 <actions>
798 <action function="set">tw_clear_destination=main2</action>
799 <action function="page">clear_vars</action>
800 </actions>
801 </object>
802 </page>
803
804 <page name="clear_vars">
805 <object type="action">
806 <action function="set">tw_operation_state=0</action>
807 <action function="set">tw_text1=</action>
808 <action function="set">tw_text2=</action>
809 <action function="set">tw_text3=</action>
810 <action function="set">tw_text4=</action>
811 <action function="set">tw_action_text1=</action>
812 <action function="set">tw_action_text2=</action>
813 <action function="set">tw_action_param=</action>
814 <action function="set">tw_has_action2=0</action>
815 <action function="set">tw_action2=</action>
816 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400817 <action function="set">tw_has_cancel=0</action>
818 <action function="set">tw_cancel_action=</action>
819 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400820 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400821 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400822 <action function="page">%tw_clear_destination%</action>
823 </object>
824 </page>
825
826 <page name="confirm_action">
827 <object type="template" name="header" />
828
Dees_Troyce2fe772012-09-28 12:34:33 -0400829 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600830 <highlight color="%highlight_color%" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400831 <condition var1="tw_show_exclamation" var2="1" />
832 <placement x="%exclamation_x%" y="%exclamation_y%" />
833 <font resource="font" color="%button_text_color%" />
834 <text></text>
835 <image resource="exclamation" />
836 </object>
837
Dees_Troy51a0e822012-09-05 15:24:24 -0400838 <object type="text" color="%text_color%">
839 <font resource="font" />
840 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
841 <text>%tw_text1%</text>
842 </object>
843
844 <object type="text" color="%text_color%">
845 <font resource="font" />
846 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
847 <text>%tw_text2%</text>
848 </object>
849
850 <object type="text" color="%text_color%">
851 <font resource="font" />
852 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
853 <text>%tw_text3%</text>
854 </object>
855
856 <object type="text" color="%text_color%">
857 <font resource="font" />
858 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
859 <text>%tw_text4%</text>
860 </object>
861
862 <object type="text" color="%text_color%">
863 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400864 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400865 <text>Press back button to cancel.</text>
866 </object>
867
868 <object type="slider">
869 <placement x="%slider_x%" y="%slider_y%" />
870 <resource base="slider" used="slider-used" touch="slider-touch" />
871 <action function="page">action_page</action>
872 </object>
873
874 <object type="text" color="%text_color%">
875 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400877 <text>%tw_slider_text%</text>
878 </object>
879
880 <object type="action">
881 <touch key="back" />
882 <actions>
883 <action function="set">tw_clear_destination=%tw_back%</action>
884 <action function="page">clear_vars</action>
885 </actions>
886 </object>
887
888 <object type="action">
889 <touch key="home" />
890 <action function="page">main</action>
891 </object>
892
893 <object type="template" name="footer" />
894 </page>
895
896 <page name="action_page">
897 <object type="template" name="header" />
898
899 <object type="text" color="%text_color%">
900 <font resource="font" />
901 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
902 <text>%tw_action_text1%</text>
903 </object>
904
905 <object type="text" color="%text_color%">
906 <font resource="font" />
907 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
908 <text>%tw_action_text2%</text>
909 </object>
910
911 <object type="template" name="action_page_console" />
912
Dees_Troycfb63ae2012-09-19 14:30:17 -0400913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600914 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400915 <condition var1="tw_has_cancel" var2="1" />
916 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400917 <font resource="font" color="%button_text_color%" />
918 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400919 <image resource="medium_button" />
920 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400921 </object>
922
Dees_Troycfb63ae2012-09-19 14:30:17 -0400923 <object type="template" name="progress_bar" />
924
925 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400926 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400927 <actions>
928 <action function="page">action_complete</action>
929 </actions>
930 </object>
931
932 <object type="action">
933 <condition var1="tw_has_action2" var2="0" />
934 <actions>
935 <action function="%tw_action%">%tw_action_param%</action>
936 </actions>
937 </object>
938
939 <object type="action">
940 <condition var1="tw_has_action2" var2="1" />
941 <actions>
942 <action function="%tw_action%">%tw_action_param%</action>
943 <action function="%tw_action2%">%tw_action2_param%</action>
944 </actions>
945 </object>
946 </page>
947
Dees_Troy6ef66352013-02-21 08:26:57 -0600948 <page name="singleaction_page">
949 <object type="template" name="header" />
950
951 <object type="text" color="%text_color%">
952 <font resource="font" />
953 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
954 <text>%tw_action_text1%</text>
955 </object>
956
957 <object type="text" color="%text_color%">
958 <font resource="font" />
959 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
960 <text>%tw_action_text2%</text>
961 </object>
962
963 <object type="template" name="action_page_console" />
964
965 <object type="template" name="progress_bar" />
966
967 <object type="action">
968 <condition var1="tw_operation_state" var2="1" />
969 <actions>
970 <action function="set">tw_page_done=1</action>
971 </actions>
972 </object>
973
974 <object type="action">
975 <condition var1="tw_has_action2" var2="0" />
976 <actions>
977 <action function="%tw_action%">%tw_action_param%</action>
978 </actions>
979 </object>
980
981 <object type="action">
982 <condition var1="tw_has_action2" var2="1" />
983 <actions>
984 <action function="%tw_action%">%tw_action_param%</action>
985 <action function="%tw_action2%">%tw_action2_param%</action>
986 </actions>
987 </object>
988 </page>
989
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <page name="action_complete">
991 <object type="template" name="header" />
992
993 <object type="text" color="%text_color%">
994 <font resource="font" />
995 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
996 <text>%tw_complete_text1%</text>
997 </object>
998
999 <object type="text" color="%text_fail_color%">
1000 <condition var1="tw_operation_status" op="!=" var2="0" />
1001 <font resource="font" />
1002 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1003 <text>Failed</text>
1004 </object>
1005
1006 <object type="text" color="%text_success_color%">
1007 <condition var1="tw_operation_status" var2="0" />
1008 <font resource="font" />
1009 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1010 <text>Successful</text>
1011 </object>
1012
1013 <object type="template" name="action_page_console" />
1014
1015 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001016 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001017 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001018 <placement x="%col_center_x%" y="%row4_y%" />
1019 <font resource="font" color="%button_text_color%" />
1020 <text>Back</text>
1021 <image resource="main_button" />
1022 <actions>
1023 <action function="set">tw_clear_destination=%tw_back%</action>
1024 <action function="page">clear_vars</action>
1025 </actions>
1026 </object>
1027
Dees_Troya3f81542012-10-08 10:58:53 -04001028 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001029 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001030 <condition var1="tw_show_reboot" var2="1" />
1031 <placement x="%col_center_x%" y="%row4_y%" />
1032 <font resource="font" color="%button_text_color%" />
1033 <text>Reboot System</text>
1034 <image resource="main_button" />
1035 <actions>
1036 <action function="set">tw_back=main2</action>
1037 <action function="set">tw_action=reboot</action>
1038 <action function="set">tw_action_param=system</action>
1039 <action function="set">tw_has_action2=0</action>
1040 <action function="set">tw_text1=No OS Installed! Are you</action>
1041 <action function="set">tw_text2=sure you wish to reboot?</action>
1042 <action function="set">tw_text3=</action>
1043 <action function="set">tw_text4=</action>
1044 <action function="set">tw_action_text1=Rebooting...</action>
1045 <action function="set">tw_action_text2=</action>
1046 <action function="set">tw_complete_text1=Rebooting...</action>
1047 <action function="set">tw_slider_text=Swipe to Reboot</action>
1048 <action function="page">rebootcheck</action>
1049 </actions>
1050 </object>
1051
Dees_Troy51a0e822012-09-05 15:24:24 -04001052 <object type="action">
1053 <touch key="home" />
1054 <actions>
1055 <action function="set">tw_clear_destination=main2</action>
1056 <action function="page">clear_vars</action>
1057 </actions>
1058 </object>
1059
1060 <object type="action">
1061 <touch key="back" />
1062 <actions>
1063 <action function="set">tw_clear_destination=%tw_back%</action>
1064 <action function="page">clear_vars</action>
1065 </actions>
1066 </object>
1067 </page>
1068
1069 <page name="filecheck">
1070 <object type="action">
1071 <action function="fileexists">%tw_filecheck%</action>
1072 </object>
1073
1074 <object type="action">
1075 <conditions>
1076 <condition var1="tw_operation_state" var2="1" />
1077 <condition var1="tw_operation_status" var2="0" />
1078 </conditions>
1079 <actions>
1080 <action function="set">tw_fileexists=1</action>
1081 <action function="page">%tw_existpage%</action>
1082 </actions>
1083 </object>
1084
1085 <object type="action">
1086 <conditions>
1087 <condition var1="tw_operation_state" var2="1" />
1088 <condition var1="tw_operation_status" var2="1" />
1089 </conditions>
1090 <actions>
1091 <action function="set">tw_fileexists=0</action>
1092 <action function="page">%tw_notexistpage%</action>
1093 </actions>
1094 </object>
1095 </page>
1096
1097 <page name="rebootcheck">
1098 <object type="action">
1099 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1100 <action function="reboot">%tw_action_param%</action>
1101 </object>
1102
1103 <object type="action">
1104 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1105 <action function="page">confirm_action</action>
1106 </object>
1107 </page>
1108
1109 <page name="wipe">
1110 <object type="template" name="header" />
1111
1112 <object type="text" color="%text_color%">
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1115 <text>Wipe Menu</text>
1116 </object>
1117
1118 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001119 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001120 <placement x="%col1_x%" y="%row1_y%" />
1121 <font resource="font" color="%button_text_color%" />
1122 <text>Cache</text>
1123 <image resource="main_button" />
1124 <actions>
1125 <action function="set">tw_back=wipe</action>
1126 <action function="set">tw_action=wipe</action>
1127 <action function="set">tw_action_param=/cache</action>
1128 <action function="set">tw_text1=Wipe Cache?</action>
1129 <action function="set">tw_action_text1=Wiping Cache...</action>
1130 <action function="set">tw_complete_text1=Cache Wipe Complete</action>
1131 <action function="set">tw_slider_text=Swipe to Wipe</action>
1132 <action function="page">confirm_action</action>
1133 </actions>
1134 </object>
1135
1136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001137 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <placement x="%col2_x%" y="%row1_y%" />
1139 <font resource="font" color="%button_text_color%" />
1140 <text>Dalvik Cache</text>
1141 <image resource="main_button" />
1142 <actions>
1143 <action function="set">tw_back=wipe</action>
1144 <action function="set">tw_action=wipe</action>
1145 <action function="set">tw_action_param=dalvik</action>
1146 <action function="set">tw_text1=Wipe Dalvik-Cache?</action>
1147 <action function="set">tw_action_text1=Wiping Dalvik-Cache...</action>
1148 <action function="set">tw_complete_text1=Dalvik-Cache Wipe Complete</action>
1149 <action function="set">tw_slider_text=Swipe to Wipe</action>
1150 <action function="page">confirm_action</action>
1151 </actions>
1152 </object>
1153
1154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001155 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 <placement x="%col1_x%" y="%row2_y%" />
1157 <font resource="font" color="%button_text_color%" />
1158 <text>Factory Reset</text>
1159 <image resource="main_button" />
1160 <actions>
1161 <action function="set">tw_back=wipe</action>
1162 <action function="set">tw_action=wipe</action>
1163 <action function="set">tw_action_param=data</action>
1164 <action function="set">tw_text1=Factory Reset?</action>
1165 <action function="set">tw_text2=(Wipes Data and Cache)</action>
1166 <action function="set">tw_action_text1=Factory Reset...</action>
1167 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1168 <action function="set">tw_slider_text=Swipe to Wipe</action>
1169 <action function="page">confirm_action</action>
1170 </actions>
1171 </object>
1172
1173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 <placement x="%col2_x%" y="%row2_y%" />
1176 <font resource="font" color="%button_text_color%" />
1177 <text>System</text>
1178 <image resource="main_button" />
1179 <actions>
1180 <action function="set">tw_back=wipe</action>
1181 <action function="set">tw_action=wipe</action>
1182 <action function="set">tw_action_param=/system</action>
1183 <action function="set">tw_text1=Wipe System?</action>
1184 <action function="set">tw_text2=This will wipe your ROM</action>
1185 <action function="set">tw_action_text1=Wiping System...</action>
1186 <action function="set">tw_complete_text1=System Wipe Complete</action>
1187 <action function="set">tw_slider_text=Swipe to Wipe</action>
1188 <action function="page">confirm_action</action>
1189 </actions>
1190 </object>
1191
1192 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001193 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001194 <condition var1="tw_has_external" var2="1" />
1195 <placement x="%col1_x%" y="%row3_y%" />
1196 <font resource="font" color="%button_text_color%" />
1197 <text>External Storage</text>
1198 <image resource="main_button" />
1199 <actions>
1200 <action function="set">tw_back=wipe</action>
1201 <action function="set">tw_action=wipe</action>
1202 <action function="set">tw_action_param=EXTERNAL</action>
1203 <action function="set">tw_has_action2=1</action>
1204 <action function="set">tw_action2=set</action>
1205 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001206 <action function="set">tw_text1=Wipe External Storage (SD Card)?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001207 <action function="set">tw_action_text1=Wiping External Storage...</action>
1208 <action function="set">tw_complete_text1=External Storage Wipe Complete</action>
1209 <action function="set">tw_slider_text=Swipe to Wipe</action>
1210 <action function="page">confirm_action</action>
1211 </actions>
1212 </object>
1213
1214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001215 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001216 <condition var1="tw_has_internal" var2="1" />
1217 <placement x="%col2_x%" y="%row3_y%" />
1218 <font resource="font" color="%button_text_color%" />
1219 <text>Internal Storage</text>
1220 <image resource="main_button" />
1221 <actions>
1222 <action function="set">tw_back=wipe</action>
1223 <action function="set">tw_action=wipe</action>
1224 <action function="set">tw_action_param=INTERNAL</action>
1225 <action function="set">tw_has_action2=1</action>
1226 <action function="set">tw_action2=set</action>
1227 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
1228 <action function="set">tw_text1=Wipe Internal Storage?</action>
1229 <action function="set">tw_action_text1=Wiping Internal Storage...</action>
1230 <action function="set">tw_complete_text1=Internal Storage Wipe Complete</action>
1231 <action function="set">tw_slider_text=Swipe to Wipe</action>
1232 <action function="page">confirm_action</action>
1233 </actions>
1234 </object>
1235
1236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001238 <conditions>
1239 <condition var1="tw_has_internal" var2="1" />
1240 <condition var1="tw_has_data_media" var2="1" />
1241 </conditions>
1242 <placement x="%col1_x%" y="%row4_y%" />
1243 <font resource="font" color="%button_text_color%" />
1244 <text>Format Data</text>
1245 <image resource="main_button" />
1246 <actions>
1247 <action function="set">tw_back=wipe</action>
1248 <action function="set">tw_action=wipe</action>
1249 <action function="set">tw_action_param=DATAMEDIA</action>
1250 <action function="set">tw_has_action2=1</action>
1251 <action function="set">tw_action2=set</action>
1252 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001253 <action function="set">tw_text1=Format Data? (This wipes all internal storage</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001254 <action function="set">tw_text2=including backups & removes encryption)</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001255 <action function="set">tw_text3=Most of the time you do not need to do this.</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001256 <action function="set">tw_action_text1=Formatting Data...</action>
1257 <action function="set">tw_complete_text1=Data Format Complete</action>
1258 <action function="set">tw_slider_text=Swipe to Format</action>
Dees_Troyce2fe772012-09-28 12:34:33 -04001259 <action function="set">tw_show_exclamation=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001260 <action function="page">confirm_action</action>
1261 </actions>
1262 </object>
1263
1264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001265 <highlight color="%highlight_color%" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001266 <condition var1="tw_has_data_media" var2="0" />
1267 <placement x="%col1_x%" y="%row4_y%" />
1268 <font resource="font" color="%button_text_color%" />
1269 <text>Android Secure</text>
1270 <image resource="main_button" />
1271 <actions>
1272 <action function="set">tw_back=wipe</action>
1273 <action function="set">tw_action=wipe</action>
1274 <action function="set">tw_action_param=ANDROIDSECURE</action>
1275 <action function="set">tw_text1=Wipe Android Secure?</action>
1276 <action function="set">tw_action_text1=Wiping Android Secure...</action>
1277 <action function="set">tw_complete_text1=Wipe Android Secure Complete</action>
1278 <action function="set">tw_slider_text=Swipe to Format</action>
1279 <action function="page">confirm_action</action>
1280 </actions>
1281 </object>
1282
1283 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001284 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001285 <condition var1="tw_has_sdext_partition" var2="1" />
1286 <placement x="%col2_x%" y="%row4_y%" />
1287 <font resource="font" color="%button_text_color%" />
1288 <text>SD Ext</text>
1289 <image resource="main_button" />
1290 <actions>
1291 <action function="set">tw_back=wipe</action>
1292 <action function="set">tw_action=wipe</action>
1293 <action function="set">tw_action_param=/sd-ext</action>
1294 <action function="set">tw_text1=Wipe SD-Ext?</action>
1295 <action function="set">tw_action_text1=Wiping SD-Ext...</action>
1296 <action function="set">tw_complete_text1=SD-Ext Wipe Complete</action>
1297 <action function="set">tw_slider_text=Swipe to Wipe</action>
1298 <action function="page">confirm_action</action>
1299 </actions>
1300 </object>
1301
1302 <object type="action">
1303 <touch key="home" />
1304 <action function="page">main</action>
1305 </object>
1306
1307 <object type="action">
1308 <touch key="back" />
1309 <action function="page">main</action>
1310 </object>
1311
1312 <object type="template" name="footer" />
1313 </page>
1314
1315 <page name="backup">
1316 <object type="template" name="header" />
1317
Dees_Troyb46a6842012-09-25 11:06:46 -04001318 <object type="text" color="%text_color%">
1319 <font resource="font" />
1320 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1321 <text>Backup Name: %tw_backup_name%</text>
1322 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001323
Dees_Troyb46a6842012-09-25 11:06:46 -04001324 <object type="text" color="%text_color%">
1325 <placement x="%col1_x%" y="%row1_text_y%" />
1326 <font resource="font" />
1327 <text>Backup Device</text>
1328 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001329
Dees_Troyb46a6842012-09-25 11:06:46 -04001330 <object type="slider">
1331 <placement x="%slider_x%" y="slider_y" />
1332 <resource base="slider" used="slider-used" touch="slider-touch" />
1333 <action function="page">backup_run</action>
1334 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001335
1336 <object type="text" color="%text_color%">
1337 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001338 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001339 <text>Swipe to Back Up</text>
1340 </object>
1341
1342 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001343 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001344 <placement x="%col2_x%" y="%row1_y%" />
1345 <font resource="font" color="%button_text_color%" />
1346 <text>Refresh Sizes</text>
1347 <image resource="main_button" />
1348 <action function="refreshsizes"></action>
1349 </object>
1350
1351 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001352 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001353 <placement x="%col2_x%" y="%backup_name_y%" />
1354 <font resource="font" color="%button_text_color%" />
1355 <text>Set Backup Name</text>
1356 <image resource="main_button" />
1357 <actions>
1358 <action function="set">tw_fileexists=0</action>
1359 <action function="page">backupname1</action>
1360 </actions>
1361 </object>
1362
1363 <object type="checkbox">
1364 <placement x="%col1_x%" y="%row2_text_y%" />
1365 <font resource="font" color="%text_color%" />
1366 <text>System (%tw_backup_system_size% MB)</text>
1367 <data variable="tw_backup_system" />
1368 <image checked="checkbox_true" unchecked="checkbox_false" />
1369 </object>
1370
1371 <object type="checkbox">
1372 <placement x="%col1_x%" y="%row3_text_y%" />
1373 <font resource="font" color="%text_color%" />
1374 <text>Data (%tw_backup_data_size% MB)</text>
1375 <data variable="tw_backup_data" />
1376 <image checked="checkbox_true" unchecked="checkbox_false" />
1377 </object>
1378
1379 <object type="checkbox">
1380 <condition var1="tw_has_boot_partition" var2="1" />
1381 <placement x="%col1_x%" y="%row4_text_y%" />
1382 <font resource="font" color="%text_color%" />
1383 <text>Boot (%tw_backup_boot_size% MB)</text>
1384 <data variable="tw_backup_boot" />
1385 <image checked="checkbox_true" unchecked="checkbox_false" />
1386 </object>
1387
1388 <object type="checkbox">
1389 <condition var1="tw_has_recovery_partition" var2="1" />
1390 <placement x="%col1_x%" y="%row5_text_y%" />
1391 <font resource="font" color="%text_color%" />
1392 <text>Recovery (%tw_backup_recovery_size% MB)</text>
1393 <data variable="tw_backup_recovery" />
1394 <image checked="checkbox_true" unchecked="checkbox_false" />
1395 </object>
1396
1397 <object type="checkbox">
1398 <placement x="%col1_x%" y="%row6_text_y%" />
1399 <font resource="font" color="%text_color%" />
1400 <text>Cache (%tw_backup_cache_size% MB)</text>
1401 <data variable="tw_backup_cache" />
1402 <image checked="checkbox_true" unchecked="checkbox_false" />
1403 </object>
1404
1405 <object type="checkbox">
1406 <condition var1="tw_has_android_secure" var2="1" />
1407 <placement x="%col1_x%" y="%row7_text_y%" />
1408 <font resource="font" color="%text_color%" />
1409 <text>.android_secure (%tw_backup_andsec_size% MB)</text>
1410 <condition var1="fileexists" var2="/sdcard/.android_secure" />
1411 <data variable="tw_backup_andsec" />
1412 <image checked="checkbox_true" unchecked="checkbox_false" />
1413 </object>
1414
1415 <object type="checkbox">
1416 <condition var1="tw_has_sdext_partition" var2="1" />
1417 <placement x="%col1_x%" y="%row8_text_y%" />
1418 <font resource="font" color="%text_color%" />
1419 <text>sd-ext (%tw_backup_sdext_size% MB)</text>
1420 <condition var1="fileexists" var2="/sd-ext" />
1421 <data variable="tw_backup_sdext" />
1422 <image checked="checkbox_true" unchecked="checkbox_false" />
1423 </object>
1424
1425 <object type="checkbox">
1426 <condition var1="tw_sp1_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001427 <placement x="%col1_x%" y="%row9_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001428 <font resource="font" color="%text_color%" />
1429 <text>%tw_sp1_name% (%tw_backup_sp1_size% MB)</text>
1430 <data variable="tw_backup_sp1" />
1431 <image checked="checkbox_true" unchecked="checkbox_false" />
1432 </object>
1433
1434 <object type="checkbox">
1435 <condition var1="tw_sp2_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001436 <placement x="%col1_x%" y="%row10_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001437 <font resource="font" color="%text_color%" />
1438 <text>%tw_sp2_name% (%tw_backup_sp2_size% MB)</text>
1439 <data variable="tw_backup_sp2" />
1440 <image checked="checkbox_true" unchecked="checkbox_false" />
1441 </object>
1442
1443 <object type="checkbox">
1444 <condition var1="tw_sp3_name" op=">" var2="" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001445 <placement x="%col1_x%" y="%row11_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 <font resource="font" color="%text_color%" />
1447 <text>%tw_sp3_name% (%tw_backup_sp3_size% MB)</text>
1448 <data variable="tw_backup_sp3" />
1449 <image checked="checkbox_true" unchecked="checkbox_false" />
1450 </object>
1451
1452 <object type="text" color="%text_color%">
1453 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001454 <placement x="%col1_x%" y="%row13_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001455 <text>Free Space: %tw_storage_free_size% MB</text>
1456 </object>
1457
1458 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001459 <placement x="%col1_x%" y="%row14_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001460 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001461 <text>Enable compression.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001462 <data variable="tw_use_compression" />
1463 <image checked="checkbox_true" unchecked="checkbox_false" />
1464 </object>
1465
1466 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04001467 <placement x="%col1_x%" y="%row15_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001468 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001469 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001470 <data variable="tw_skip_md5_generate" />
1471 <image checked="checkbox_true" unchecked="checkbox_false" />
1472 </object>
1473
1474 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001475 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001476 <font resource="font" color="%text_color%" />
1477 <conditions>
1478 <condition var1="tw_has_dual_storage" var2="1" />
1479 <condition var1="tw_use_external_storage" var2="1" />
1480 </conditions>
1481 <text>Use external SD</text>
1482 <image resource="radio_true" />
1483 <action function="togglestorage">external</action>
1484 </object>
1485
1486 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001487 <placement x="%col1_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001488 <font resource="font" color="%text_color%" />
1489 <conditions>
1490 <condition var1="tw_has_dual_storage" var2="1" />
1491 <condition var1="tw_use_external_storage" var2="0" />
1492 </conditions>
1493 <text>Use external SD</text>
1494 <image resource="radio_false" />
1495 <action function="togglestorage">external</action>
1496 </object>
1497
1498 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001499 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001500 <font resource="font" color="%text_color%" />
1501 <conditions>
1502 <condition var1="tw_has_dual_storage" var2="1" />
1503 <condition var1="tw_use_external_storage" var2="1" />
1504 </conditions>
1505 <text>Use internal storage</text>
1506 <image resource="radio_false" />
1507 <action function="togglestorage">internal</action>
1508 </object>
1509
1510 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04001511 <placement x="%col2_x%" y="%row16_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001512 <font resource="font" color="%text_color%" />
1513 <conditions>
1514 <condition var1="tw_has_dual_storage" var2="1" />
1515 <condition var1="tw_use_external_storage" var2="0" />
1516 </conditions>
1517 <text>Use internal storage</text>
1518 <image resource="radio_true" />
1519 <action function="togglestorage">internal</action>
1520 </object>
1521
1522 <object type="action">
1523 <touch key="home" />
1524 <action function="page">main</action>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="back" />
1529 <action function="page">main</action>
1530 </object>
1531
1532 <object type="template" name="footer" />
1533 </page>
1534
1535 <page name="backupname1">
1536 <object type="action">
1537 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1538 <action function="set">tw_backup_name=</function>
1539 </object>
1540
1541 <object type="action">
1542 <action function="page">backupname2</function>
1543 </object>
1544 </page>
1545
1546 <page name="backupname2">
1547 <object type="template" name="header" />
1548
1549 <object type="text" color="%text_color%">
1550 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1551 <font resource="font" />
1552 <text>Please Enter a Backup Name</text>
1553 </object>
1554
1555 <object type="input">
1556 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1557 <background color="%input_background_color%" />
1558 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1559 <font resource="font" color="%text_color%" />
1560 <text>%tw_backup_name%</text>
1561 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001562 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001563 <actions>
1564 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1565 <action function="set">tw_existpage=backupname2</action>
1566 <action function="set">tw_notexistpage=backup</action>
1567 <action function="page">filecheck</action>
1568 </actions>
1569 </object>
1570
1571 <object type="text" color="%text_fail_color%">
1572 <condition var1="tw_fileexists" var2="1" />
1573 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1574 <font resource="font" />
1575 <text>A backup with that name already exists!</text>
1576 </object>
1577
Dees_Troyb46a6842012-09-25 11:06:46 -04001578 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001579 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001580 <placement x="%col_center_x%" y="%row2_y%" />
1581 <font resource="font" color="%button_text_color%" />
1582 <text>Cancel</text>
1583 <image resource="main_button" />
1584 <actions>
1585 <action function="set">tw_backup_name=(Current Date)</action>
1586 <action function="page">backup</action>
1587 </actions>
1588 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001589
1590 <object type="template" name="keyboardtemplate" />
1591
Dees_Troyb46a6842012-09-25 11:06:46 -04001592 <object type="action">
1593 <touch key="home" />
1594 <actions>
1595 <action function="set">tw_backup_name=(Current Date)</action>
1596 <action function="page">main</action>
1597 </actions>
1598 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001599
Dees_Troyb46a6842012-09-25 11:06:46 -04001600 <object type="action">
1601 <touch key="back" />
1602 <actions>
1603 <action function="set">tw_backup_name=(Current Date)</action>
1604 <action function="page">backup</action>
1605 </actions>
1606 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001607
1608 <object type="template" name="footer" />
1609 </page>
1610
1611 <page name="backup_run">
1612 <object type="template" name="header" />
1613
1614 <object type="text" color="%text_color%">
1615 <font resource="font" />
1616 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1617 <text>%tw_operation% %tw_partition%</text>
1618 </object>
1619
1620 <object type="template" name="action_page_console" />
1621
1622 <object type="template" name="progress_bar" />
1623
1624 <object type="action">
1625 <action function="nandroid">backup</action>
1626 </object>
1627
1628 <object type="action">
1629 <condition var1="tw_operation_state" var2="1" />
1630 <actions>
1631 <action function="set">tw_back=backup</action>
1632 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001633 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001634 <action function="page">action_complete</action>
1635 </actions>
1636 </object>
1637 </page>
1638
1639 <page name="restore">
1640 <object type="template" name="header" />
1641
1642 <object type="button">
1643 <placement x="%col1_x%" y="%row1_header_y%" />
1644 <font resource="font" color="%text_color%" />
1645 <conditions>
1646 <condition var1="tw_has_dual_storage" var2="1" />
1647 <condition var1="tw_use_external_storage" var2="1" />
1648 </conditions>
1649 <text>Use external SD</text>
1650 <image resource="radio_true" />
1651 <action function="togglestorage">external</action>
1652 </object>
1653
1654 <object type="button">
1655 <placement x="%col1_x%" y="%row1_header_y%" />
1656 <font resource="font" color="%text_color%" />
1657 <conditions>
1658 <condition var1="tw_has_dual_storage" var2="1" />
1659 <condition var1="tw_use_external_storage" var2="0" />
1660 </conditions>
1661 <text>Use external SD</text>
1662 <image resource="radio_false" />
1663 <action function="togglestorage">external</action>
1664 </object>
1665
1666 <object type="button">
1667 <placement x="%col2_x%" y="%row1_header_y%" />
1668 <font resource="font" color="%text_color%" />
1669 <conditions>
1670 <condition var1="tw_has_dual_storage" var2="1" />
1671 <condition var1="tw_use_external_storage" var2="1" />
1672 </conditions>
1673 <text>Use internal storage</text>
1674 <image resource="radio_false" />
1675 <action function="togglestorage">internal</action>
1676 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001677
Dees_Troy51a0e822012-09-05 15:24:24 -04001678 <object type="button">
1679 <placement x="%col2_x%" y="%row1_header_y%" />
1680 <font resource="font" color="%text_color%" />
1681 <conditions>
1682 <condition var1="tw_has_dual_storage" var2="1" />
1683 <condition var1="tw_use_external_storage" var2="0" />
1684 </conditions>
1685 <text>Use internal storage</text>
1686 <image resource="radio_true" />
1687 <action function="togglestorage">internal</action>
1688 </object>
1689
1690 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001691 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001692 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
1693 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001694 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001695 <text>Select Package to Restore:</text>
1696 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1697 <sort name="tw_gui_sort_order" />
1698 <icon folder="folder_icon" file="file_icon" />
1699 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001700 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001701 <filter folders="1" files="0" nav="0" />
1702 <path name="tw_backups_folder" />
1703 <data name="tw_restore" default="" />
1704 <selection name="tw_restore_name" />
1705 </object>
1706
1707 <object type="template" name="sort_options" />
1708
1709 <object type="action">
1710 <condition var1="tw_restore" op="modified" />
1711 <actions>
1712 <action function="readBackup"></action>
1713 <action function="page">restore_select</action>
1714 </actions>
1715 </object>
1716
1717 <object type="action">
1718 <touch key="home" />
1719 <action function="page">main</action>
1720 </object>
1721
1722 <object type="action">
1723 <touch key="back" />
1724 <action function="page">main</action>
1725 </object>
1726
1727 <object type="template" name="footer" />
1728 </page>
1729
1730 <page name="restore_select">
1731 <object type="template" name="header" />
1732
1733 <object type="text">
1734 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1735 <font resource="font" color="%text_color%" />
1736 <text>Restoring: %tw_restore_name%</text>
1737 </object>
1738
1739 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001740 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001741 <placement x="%col2_x%" y="%row1_y%" />
1742 <font resource="font" color="%button_text_color%" />
1743 <text>Rename Backup</text>
1744 <image resource="main_button" />
1745 <actions>
1746 <action function="set">tw_backup_rename=</action>
1747 <action function="set">tw_fileexists=0</action>
1748 <action function="page">renamebackup</action>
1749 </actions>
1750 </object>
1751
1752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001754 <placement x="%col2_x%" y="%row2_y%" />
1755 <font resource="font" color="%button_text_color%" />
1756 <text>Delete Backup</text>
1757 <image resource="main_button" />
1758 <actions>
1759 <action function="set">tw_back=restore</action>
1760 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001761 <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 -04001762 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1763 <action function="set">tw_text2=This cannot be undone!</action>
1764 <action function="set">tw_action_text1=Deleting Backup...</action>
1765 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1766 <action function="set">tw_slider_text=Swipe to Delete</action>
1767 <action function="page">confirm_action</action>
1768 </actions>
1769 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001770
Dees_Troy51a0e822012-09-05 15:24:24 -04001771 <object type="slider">
1772 <placement x="%slider_x%" y="%slider_y%" />
1773 <resource base="slider" used="slider-used" touch="slider-touch" />
1774 <action function="page">restore_run</action>
1775 </object>
1776
1777 <object type="text" color="%text_color%">
1778 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001779 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001780 <text>Swipe to Restore</text>
1781 </object>
1782
1783 <object type="checkbox">
1784 <placement x="%col1_x%" y="%row2_text_y%" />
1785 <font resource="font" color="%text_color%" />
1786 <text>System</text>
1787 <condition var1="tw_restore_system" op=">=" var2="0" />
1788 <data variable="tw_restore_system" />
1789 <image checked="checkbox_true" unchecked="checkbox_false" />
1790 </object>
1791
1792 <object type="checkbox">
1793 <placement x="%col1_x%" y="%row3_text_y%" />
1794 <font resource="font" color="%text_color%" />
1795 <text>Data</text>
1796 <condition var1="tw_restore_data" op=">=" var2="0" />
1797 <data variable="tw_restore_data" />
1798 <image checked="checkbox_true" unchecked="checkbox_false" />
1799 </object>
1800
1801 <object type="checkbox">
1802 <placement x="%col1_x%" y="%row4_text_y%" />
1803 <font resource="font" color="%text_color%" />
1804 <text>Boot</text>
1805 <condition var1="tw_restore_boot" op=">=" var2="0" />
1806 <data variable="tw_restore_boot" />
1807 <image checked="checkbox_true" unchecked="checkbox_false" />
1808 </object>
1809
Dees_Troy51a0e822012-09-05 15:24:24 -04001810 <object type="checkbox">
1811 <placement x="%col1_x%" y="%row6_text_y%" />
1812 <font resource="font" color="%text_color%" />
1813 <text>Cache</text>
1814 <condition var1="tw_restore_cache" op=">=" var2="0" />
1815 <data variable="tw_restore_cache" />
1816 <image checked="checkbox_true" unchecked="checkbox_false" />
1817 </object>
1818
1819 <object type="checkbox">
1820 <placement x="%col1_x%" y="%row7_text_y%" />
1821 <font resource="font" color="%text_color%" />
1822 <text>.android_secure</text>
1823 <condition var1="tw_restore_andsec" op=">=" var2="0" />
1824 <data variable="tw_restore_andsec" />
1825 <image checked="checkbox_true" unchecked="checkbox_false" />
1826 </object>
1827
1828 <object type="checkbox">
1829 <placement x="%col1_x%" y="%row8_text_y%" />
1830 <font resource="font" color="%text_color%" />
1831 <text>sd-ext</text>
1832 <condition var1="tw_restore_sdext" op=">=" var2="0" />
1833 <data variable="tw_restore_sdext" />
1834 <image checked="checkbox_true" unchecked="checkbox_false" />
1835 </object>
1836
1837 <object type="checkbox">
1838 <placement x="%col1_x%" y="%row10_text_y%" />
1839 <font resource="font" color="%text_color%" />
1840 <text>%tw_sp1_name%</text>
1841 <condition var1="tw_restore_sp1" op=">=" var2="0" />
1842 <data variable="tw_restore_sp1" />
1843 <image checked="checkbox_true" unchecked="checkbox_false" />
1844 </object>
1845
1846 <object type="checkbox">
1847 <placement x="%col1_x%" y="%row11_text_y%" />
1848 <font resource="font" color="%text_color%" />
1849 <text>%tw_sp2_name%</text>
1850 <condition var1="tw_restore_sp2" op=">=" var2="0" />
1851 <data variable="tw_restore_sp2" />
1852 <image checked="checkbox_true" unchecked="checkbox_false" />
1853 </object>
1854
1855 <object type="checkbox">
1856 <placement x="%col1_x%" y="%row12_text_y%" />
1857 <font resource="font" color="%text_color%" />
1858 <text>%tw_sp3_name%</text>
1859 <condition var1="tw_restore_sp3" op=">=" var2="0" />
1860 <data variable="tw_restore_sp3" />
1861 <image checked="checkbox_true" unchecked="checkbox_false" />
1862 </object>
1863
1864 <object type="checkbox">
1865 <placement x="%col1_x%" y="%row14_text_y%" />
1866 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001867 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001868 <data variable="tw_skip_md5_check" />
1869 <image checked="checkbox_true" unchecked="checkbox_false" />
1870 </object>
1871
Dees_Troyb46a6842012-09-25 11:06:46 -04001872 <object type="text" color="%text_color%">
1873 <font resource="font" />
1874 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
1875 <text>Package Date: %tw_restore_file_date%</text>
1876 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001877
1878 <object type="action">
1879 <touch key="home" />
1880 <action function="page">main</action>
1881 </object>
1882
1883 <object type="action">
1884 <touch key="back" />
1885 <action function="page">restore</action>
1886 </object>
1887
1888 <object type="template" name="footer" />
1889 </page>
1890
1891 <page name="renamebackup">
1892 <object type="template" name="header" />
1893
1894 <object type="text" color="%text_color%">
1895 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1896 <font resource="font" />
1897 <text>Please Enter a New Backup Name</text>
1898 </object>
1899
1900 <object type="input">
1901 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1902 <background color="%input_background_color%" />
1903 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1904 <font resource="font" color="%text_color%" />
1905 <text>%tw_backup_rename%</text>
1906 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001907 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001908 <actions>
1909 <action function="set">tw_back=restore</action>
1910 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001911 <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 -04001912 <action function="set">tw_text1=Rename Backup?</action>
1913 <action function="set">tw_text2=This cannot be undone!</action>
1914 <action function="set">tw_action_text1=Renaming Backup...</action>
1915 <action function="set">tw_complete_text1=Backup Rename Complete</action>
1916 <action function="set">tw_slider_text=Swipe to Rename</action>
1917 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
1918 <action function="set">tw_existpage=renamebackup</action>
1919 <action function="set">tw_notexistpage=confirm_action</action>
1920 <action function="page">filecheck</action>
1921 </actions>
1922 </object>
1923
1924 <object type="text" color="%text_fail_color%">
1925 <condition var1="tw_fileexists" var2="1" />
1926 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1927 <font resource="font" />
1928 <text>A backup with that name already exists!</text>
1929 </object>
1930
1931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001932 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001933 <placement x="%col_center_x%" y="%row2_y%" />
1934 <font resource="font" color="%button_text_color%" />
1935 <text>Cancel</text>
1936 <image resource="main_button" />
1937 <action function="page">restore_select</action>
1938 </object>
1939
1940 <object type="template" name="keyboardtemplate" />
1941
1942 <object type="action">
1943 <touch key="home" />
1944 <action function="page">main</action>
1945 </object>
1946
1947 <object type="action">
1948 <touch key="back" />
1949 <action function="page">restore_select</action>
1950 </object>
1951
1952 <object type="template" name="footer" />
1953 </page>
1954
1955 <page name="restore_run">
1956 <object type="template" name="header" />
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1961 <text>%tw_operation% %tw_partition%</text>
1962 </object>
1963
1964 <object type="template" name="action_page_console" />
1965
1966 <object type="template" name="progress_bar" />
1967
1968 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04001969 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001970 <actions>
1971 <action function="set">tw_back=restore_select</action>
1972 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001973 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001974 <action function="page">action_complete</action>
1975 </actions>
1976 </object>
1977
1978 <object type="action">
1979 <action function="nandroid">restore</action>
1980 </object>
1981 </page>
1982
1983 <page name="mount">
1984 <object type="template" name="header" />
1985
1986 <object type="text" color="%text_color%">
1987 <font resource="font" />
1988 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1989 <text>Mount Menu</text>
1990 </object>
1991
1992 <object type="button">
1993 <placement x="%col1_x%" y="%row1_text_y%" />
1994 <font resource="font" color="%text_color%" />
1995 <condition var1="mounted" op="!=" var2="/system" />
1996 <text>Mount System</text>
1997 <image resource="checkbox_false" />
1998 <action function="mount">/system</action>
1999 </object>
2000
2001 <object type="button">
2002 <placement x="%col1_x%" y="%row1_text_y%" />
2003 <font resource="font" color="%text_color%" />
2004 <condition var1="mounted" op="=" var2="/system" />
2005 <text>Unmount System</text>
2006 <image resource="checkbox_true" />
2007 <action function="umount">/system</action>
2008 </object>
2009
2010 <object type="button">
2011 <placement x="%col1_x%" y="%row2_text_y%" />
2012 <font resource="font" color="%text_color%" />
2013 <condition var1="mounted" op="!=" var2="/data" />
2014 <text>Mount Data</text>
2015 <image resource="checkbox_false" />
2016 <action function="mount">/data</action>
2017 </object>
2018
2019 <object type="button">
2020 <placement x="%col1_x%" y="%row2_text_y%" />
2021 <font resource="font" color="%text_color%" />
2022 <condition var1="mounted" op="=" var2="/data" />
2023 <text>Unmount Data</text>
2024 <image resource="checkbox_true" />
2025 <action function="umount">/data</action>
2026 </object>
2027
2028 <object type="button">
2029 <placement x="%col1_x%" y="%row3_text_y%" />
2030 <font resource="font" color="%text_color%" />
2031 <condition var1="mounted" op="!=" var2="/cache" />
2032 <text>Mount Cache</text>
2033 <image resource="checkbox_false" />
2034 <action function="mount">/cache</action>
2035 </object>
2036
2037 <object type="button">
2038 <placement x="%col1_x%" y="%row3_text_y%" />
2039 <font resource="font" color="%text_color%" />
2040 <condition var1="mounted" op="=" var2="/cache" />
2041 <text>Unmount Cache</text>
2042 <image resource="checkbox_true" />
2043 <action function="umount">/cache</action>
2044 </object>
2045
2046 <object type="button">
2047 <placement x="%col1_x%" y="%row4_text_y%" />
2048 <font resource="font" color="%text_color%" />
2049 <conditions>
2050 <condition var1="tw_has_external" var2="1" />
2051 <condition var1="mounted" op="!=" var2="EXTERNAL" />
2052 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002053 <text>Mount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002054 <image resource="checkbox_false" />
2055 <action function="mount">EXTERNAL</action>
2056 </object>
2057
2058 <object type="button">
2059 <placement x="%col1_x%" y="%row4_text_y%" />
2060 <font resource="font" color="%text_color%" />
2061 <conditions>
2062 <condition var1="tw_has_external" var2="1" />
2063 <condition var1="mounted" op="=" var2="EXTERNAL" />
2064 </conditions>
Dees_Troyb46a6842012-09-25 11:06:46 -04002065 <text>Unmount SD Card</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <image resource="checkbox_true" />
2067 <action function="umount">EXTERNAL</action>
2068 </object>
2069
2070 <object type="button">
2071 <placement x="%col2_x%" y="%row4_text_y%" />
2072 <font resource="font" color="%text_color%" />
2073 <conditions>
2074 <condition var1="tw_has_internal" var2="1" />
2075 <condition var1="tw_has_data_media" var2="0" />
2076 <condition var1="mounted" op="!=" var2="INTERNAL" />
2077 </conditions>
2078 <text>Mount Internal</text>
2079 <image resource="checkbox_false" />
2080 <action function="mount">INTERNAL</action>
2081 </object>
2082
2083 <object type="button">
2084 <placement x="%col2_x%" y="%row4_text_y%" />
2085 <font resource="font" color="%text_color%" />
2086 <conditions>
2087 <condition var1="tw_has_internal" var2="1" />
2088 <condition var1="tw_has_data_media" var2="0" />
2089 <condition var1="mounted" op="=" var2="INTERNAL" />
2090 </conditions>
2091 <text>Unmount Internal</text>
2092 <image resource="checkbox_true" />
2093 <action function="umount">INTERNAL</action>
2094 </object>
2095
2096 <object type="button">
2097 <conditions>
2098 <condition var1="tw_has_sdext_partition" var2="1" />
2099 <condition var1="mounted" op="!=" var2="/sd-ext" />
2100 </conditions>
2101 <placement x="%col1_x%" y="%row5_text_y%" />
2102 <font resource="font" color="%text_color%" />
2103 <text>Mount SD-Ext</text>
2104 <image resource="checkbox_false" />
2105 <action function="mount">/sd-ext</action>
2106 </object>
2107
2108 <object type="button">
2109 <placement x="%col1_x%" y="%row5_text_y%" />
2110 <font resource="font" color="%text_color%" />
2111 <condition var1="mounted" op="=" var2="/sd-ext" />
2112 <text>Unmount SD-Ext</text>
2113 <image resource="checkbox_true" />
2114 <action function="umount">/sd-ext</action>
2115 </object>
2116
2117 <object type="button">
2118 <conditions>
2119 <condition var1="tw_boot_is_mountable" var2="1" />
2120 <condition var1="mounted" op="!=" var2="/boot" />
2121 </conditions>
2122 <placement x="%col1_x%" y="%row6_text_y%" />
2123 <font resource="font" color="#A0A0A0" />
2124 <text>Mount Boot</text>
2125 <image resource="checkbox_false" />
2126 <action function="mount">/boot</action>
2127 </object>
2128
2129 <object type="button">
2130 <conditions>
2131 <condition var1="tw_boot_is_mountable" var2="1" />
2132 <condition var1="mounted" op="=" var2="/boot" />
2133 </conditions>
2134 <placement x="%col1_x%" y="%row6_text_y%" />
2135 <font resource="font" color="#A0A0A0" />
2136 <text>Unmount Boot</text>
2137 <image resource="checkbox_true" />
2138 <action function="umount">/boot</action>
2139 </object>
2140
2141 <object type="button">
2142 <placement x="%col1_x%" y="%row8_text_y%" />
2143 <font resource="font" color="%text_color%" />
2144 <conditions>
2145 <condition var1="tw_has_dual_storage" var2="1" />
2146 <condition var1="tw_use_external_storage" var2="1" />
2147 </conditions>
2148 <text>Use external SD</text>
2149 <image resource="radio_true" />
2150 <action function="togglestorage">external</action>
2151 </object>
2152
2153 <object type="button">
2154 <placement x="%col1_x%" y="%row8_text_y%" />
2155 <font resource="font" color="%text_color%" />
2156 <conditions>
2157 <condition var1="tw_has_dual_storage" var2="1" />
2158 <condition var1="tw_use_external_storage" var2="0" />
2159 </conditions>
2160 <text>Use external SD</text>
2161 <image resource="radio_false" />
2162 <action function="togglestorage">external</action>
2163 </object>
2164
2165 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002166 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002167 <font resource="font" color="%text_color%" />
2168 <conditions>
2169 <condition var1="tw_has_dual_storage" var2="1" />
2170 <condition var1="tw_use_external_storage" var2="1" />
2171 </conditions>
2172 <text>Use internal storage</text>
2173 <image resource="radio_false" />
2174 <action function="togglestorage">internal</action>
2175 </object>
2176
2177 <object type="button">
Dees_Troyb46a6842012-09-25 11:06:46 -04002178 <placement x="%col2_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002179 <font resource="font" color="%text_color%" />
2180 <conditions>
2181 <condition var1="tw_has_dual_storage" var2="1" />
2182 <condition var1="tw_use_external_storage" var2="0" />
2183 </conditions>
2184 <text>Use internal storage</text>
2185 <image resource="radio_true" />
2186 <action function="togglestorage">internal</action>
2187 </object>
2188
2189 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002190 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002191 <condition var1="tw_has_usb_storage" var2="1" />
2192 <placement x="%col1_x%" y="row3_y" />
2193 <font resource="font" color="%button_text_color%" />
2194 <text>Mount USB Storage</text>
2195 <image resource="main_button" />
2196 <action function="page">usb_mount</action>
2197 </object>
2198
Gary Peckffdc6ae2012-11-21 18:02:02 -08002199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002200 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002201 <conditions>
2202 <condition var1="tw_is_encrypted" var2="1" />
2203 <condition var1="tw_is_decrypted" var2="0" />
2204 </conditions>
2205 <placement x="%col2_x%" y="row3_y" />
2206 <font resource="font" color="%button_text_color%" />
2207 <text>Decrypt Data</text>
2208 <image resource="main_button" />
2209 <action function="page">decrypt</action>
2210 </object>
2211
Dees_Troy51a0e822012-09-05 15:24:24 -04002212 <object type="action">
2213 <touch key="home" />
2214 <action function="page">main</action>
2215 </object>
2216
2217 <object type="action">
2218 <touch key="back" />
2219 <action function="page">main</action>
2220 </object>
2221
2222 <object type="template" name="footer" />
2223 </page>
2224
2225 <page name="usb_mount">
2226 <object type="template" name="header" />
2227
2228 <object type="text" color="%text_color%">
2229 <font resource="font" />
2230 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2231 <text>USB Storage Mounted</text>
2232 </object>
2233
2234 <object type="text" color="%text_color%">
2235 <placement x="%col1_x%" y="%row1_text_y%" />
2236 <font resource="font" />
2237 <text>Be sure to safely remove your device</text>
2238 </object>
2239
2240 <object type="text" color="%text_color%">
2241 <placement x="%col1_x%" y="%row2_text_y%" />
2242 <font resource="font" />
2243 <text>from your computer before unmounting!</text>
2244 </object>
2245
2246 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002247 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002248 <placement x="%col1_x%" y="%row3_y%" />
2249 <font resource="font" color="%button_text_color%" />
2250 <text>Unmount</text>
2251 <image resource="main_button" />
2252 <action function="page">usb_umount</action>
2253 </object>
2254
2255 <object type="action">
2256 <action function="mount">usb</action>
2257 </object>
2258
2259 <object type="template" name="footer" />
2260 </page>
2261
2262 <page name="usb_umount">
2263 <object type="action">
2264 <action function="unmount">usb</action>
2265 </object>
2266
2267 <object type="action">
2268 <action function="page">mount</action>
2269 </object>
2270 </page>
2271
2272 <page name="reboot">
2273 <object type="template" name="header" />
2274
2275 <object type="text" color="%text_color%">
2276 <font resource="font" />
2277 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2278 <text>Reboot Menu</text>
2279 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002280
Dees_Troy51a0e822012-09-05 15:24:24 -04002281 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002282 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002283 <condition var1="tw_reboot_system" var2="1" />
2284 <placement x="%col1_x%" y="%row1_y%" />
2285 <font resource="font" color="%button_text_color%" />
2286 <text>System</text>
2287 <image resource="main_button" />
2288 <actions>
2289 <action function="set">tw_back=reboot</action>
2290 <action function="set">tw_action=reboot</action>
2291 <action function="set">tw_action_param=system</action>
2292 <action function="set">tw_has_action2=0</action>
2293 <action function="set">tw_text1=No OS Installed! Are you</action>
2294 <action function="set">tw_text2=sure you wish to reboot?</action>
2295 <action function="set">tw_action_text1=Rebooting...</action>
2296 <action function="set">tw_complete_text1=Rebooting...</action>
2297 <action function="set">tw_slider_text=Swipe to Reboot</action>
2298 <action function="page">rebootcheck</action>
2299 </actions>
2300 </object>
2301
2302 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002303 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002304 <condition var1="tw_reboot_poweroff" var2="1" />
2305 <placement x="%col2_x%" y="%row1_y%" />
2306 <font resource="font" color="%button_text_color%" />
2307 <text>Power Off</text>
2308 <image resource="main_button" />
2309 <actions>
2310 <action function="set">tw_back=reboot</action>
2311 <action function="set">tw_action=reboot</action>
2312 <action function="set">tw_action_param=poweroff</action>
2313 <action function="set">tw_has_action2=0</action>
2314 <action function="set">tw_text1=No OS Installed! Are you</action>
2315 <action function="set">tw_text2=sure you wish to power off?</action>
2316 <action function="set">tw_action_text1=Turning Off...</action>
2317 <action function="set">tw_complete_text1=Turning Off...</action>
2318 <action function="set">tw_slider_text=Swipe to Power Off</action>
2319 <action function="page">rebootcheck</action>
2320 </actions>
2321 </object>
2322
2323 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002324 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002325 <condition var1="tw_reboot_recovery" var2="1" />
2326 <placement x="%col1_x%" y="%row2_y%" />
2327 <font resource="font" color="%button_text_color%" />
2328 <text>Recovery</text>
2329 <image resource="main_button" />
2330 <actions>
2331 <action function="set">tw_back=reboot</action>
2332 <action function="set">tw_action=reboot</action>
2333 <action function="set">tw_action_param=recovery</action>
2334 <action function="set">tw_has_action2=0</action>
2335 <action function="set">tw_text1=No OS Installed! Are you</action>
2336 <action function="set">tw_text2=sure you wish to reboot?</action>
2337 <action function="set">tw_action_text1=Rebooting...</action>
2338 <action function="set">tw_complete_text1=Rebooting...</action>
2339 <action function="set">tw_slider_text=Swipe to Reboot</action>
2340 <action function="page">rebootcheck</action>
2341 </actions>
2342 </object>
2343
2344 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002345 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002346 <condition var1="tw_reboot_bootloader" var2="1" />
2347 <placement x="%col2_x%" y="%row2_y%" />
2348 <font resource="font" color="%button_text_color%" />
2349 <text>Bootloader</text>
2350 <image resource="main_button" />
2351 <actions>
2352 <action function="set">tw_back=reboot</action>
2353 <action function="set">tw_action=reboot</action>
2354 <action function="set">tw_action_param=bootloader</action>
2355 <action function="set">tw_has_action2=0</action>
2356 <action function="set">tw_text1=No OS Installed! Are you</action>
2357 <action function="set">tw_text2=sure you wish to reboot?</action>
2358 <action function="set">tw_action_text1=Rebooting...</action>
2359 <action function="set">tw_complete_text1=Rebooting...</action>
2360 <action function="set">tw_slider_text=Swipe to Reboot</action>
2361 <action function="page">rebootcheck</action>
2362 </actions>
2363 </object>
2364
2365 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002366 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002368 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002369 <font resource="font" color="%button_text_color%" />
2370 <text>Download</text>
2371 <image resource="main_button" />
2372 <actions>
2373 <action function="set">tw_back=reboot</action>
2374 <action function="set">tw_action=reboot</action>
2375 <action function="set">tw_action_param=download</action>
2376 <action function="set">tw_has_action2=0</action>
2377 <action function="set">tw_text1=No OS Installed! Are you</action>
2378 <action function="set">tw_text2=sure you wish to reboot?</action>
2379 <action function="set">tw_action_text1=Rebooting...</action>
2380 <action function="set">tw_complete_text1=Rebooting...</action>
2381 <action function="set">tw_slider_text=Swipe to Reboot</action>
2382 <action function="page">rebootcheck</action>
2383 </actions>
2384 </object>
2385
2386 <object type="action">
2387 <touch key="home" />
2388 <action function="page">main</action>
2389 </object>
2390
2391 <object type="action">
2392 <touch key="back" />
2393 <action function="page">main</action>
2394 </object>
2395
2396 <object type="template" name="footer" />
2397 </page>
2398
2399 <page name="settings">
2400 <object type="template" name="header" />
2401
2402 <object type="text" color="%text_color%">
2403 <font resource="font" />
2404 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2405 <text>Settings</text>
2406 </object>
2407
2408 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <placement x="%col1_x%" y="%row1_text_y%" />
2410 <font resource="font" color="%text_color%" />
2411 <text>Zip file signature verification.</text>
2412 <data variable="tw_signed_zip_verify" />
2413 <image checked="checkbox_true" unchecked="checkbox_false" />
2414 </object>
2415
2416 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002417 <placement x="%col1_x%" y="%row2_text_y%" />
2418 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002419 <text>Use rm -rf instead of formatting.</text>
2420 <data variable="tw_rm_rf" />
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="%row3_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>Skip MD5 generation during backup.</text>
2428 <data variable="tw_skip_md5_generate" />
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="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002434 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002435 <text>Enable MD5 verification of backup files.</text>
2436 <data variable="tw_skip_md5_check" />
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="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002443 <text>Use Military Time.</text>
2444 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002445 <image checked="checkbox_true" unchecked="checkbox_false" />
2446 </object>
2447
2448 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002449 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002450 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002451 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002452 <data variable="tw_simulate_actions" />
2453 <image checked="checkbox_true" unchecked="checkbox_false" />
2454 </object>
2455
2456 <object type="checkbox">
2457 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002458 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002460 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002461 <data variable="tw_simulate_fail" />
2462 <image checked="checkbox_true" unchecked="checkbox_false" />
2463 </object>
2464
2465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <placement x="%col1_x%" y="%row3_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Time Zone</text>
2470 <image resource="main_button" />
2471 <action function="page">timezone</action>
2472 </object>
2473
2474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002475 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002476 <placement x="%col2_x%" y="%row3_y%" />
2477 <font resource="font" color="%button_text_color%" />
2478 <text>Screen</text>
2479 <image resource="main_button" />
2480 <action function="page">screen</action>
2481 </object>
2482
2483 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <placement x="%col_center_x%" y="%row4_y%" />
2485 <font resource="font" color="%button_text_color%" />
2486 <text>Restore Defaults</text>
2487 <image resource="main_button" />
2488 <action function="restoredefaultsettings"></action>
2489 </object>
2490
2491 <object type="action">
2492 <touch key="home" />
2493 <action function="page">main</action>
2494 </object>
2495
2496 <object type="action">
2497 <touch key="back" />
2498 <action function="page">main</action>
2499 </object>
2500
2501 <object type="template" name="footer" />
2502 </page>
2503
2504 <page name="timezone">
2505 <object type="template" name="header" />
2506
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002508 <highlight color="%fileselector_highlight_color%" />
2509 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2510 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002511 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002512 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002516 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <data name="tw_time_zone_guisel" />
2518 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2519 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2520 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2521 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2522 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2523 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2524 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2525 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2526 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2527 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2528 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2529 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2530 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2531 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2532 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2533 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2534 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2535 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2536 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2537 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2538 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2539 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2540 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2541 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2542 </object>
2543
2544 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002545 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002546 <font resource="font" color="%text_color%" />
2547 <text>Do you use daylight savings time (DST)?</text>
2548 <data variable="tw_time_zone_guidst" />
2549 <image checked="checkbox_true" unchecked="checkbox_false" />
2550 </object>
2551
2552 <object type="text" color="%text_color%">
2553 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002554 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002555 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
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="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002561 <font resource="font" color="%button_text_color%" />
2562 <text>None</text>
2563 <image resource="medium_button" />
2564 <action function="set">tw_time_zone_guioffset=0</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="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002570 <font resource="font" color="%button_text_color%" />
2571 <text>15</text>
2572 <image resource="medium_button" />
2573 <action function="set">tw_time_zone_guioffset=15</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="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002579 <font resource="font" color="%button_text_color%" />
2580 <text>30</text>
2581 <image resource="medium_button" />
2582 <action function="set">tw_time_zone_guioffset=30</action>
2583 </object>
2584
2585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002586 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002587 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002588 <font resource="font" color="%button_text_color%" />
2589 <text>45</text>
2590 <image resource="medium_button" />
2591 <action function="set">tw_time_zone_guioffset=45</action>
2592 </object>
2593
2594 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002595 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002596 <placement x="%col_center_x%" y="%tz_set_y%" />
2597 <font resource="font" color="%button_text_color%" />
2598 <text>Set Time Zone</text>
2599 <image resource="main_button" />
2600 <action function="setguitimezone"></action>
2601 </object>
2602
2603 <object type="text" color="%text_color%">
2604 <font resource="font" />
2605 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2606 <text>Current Time Zone: %tw_time_zone%</text>
2607 </object>
2608
2609 <object type="action">
2610 <touch key="home" />
2611 <action function="page">main</action>
2612 </object>
2613
2614 <object type="action">
2615 <touch key="back" />
2616 <action function="page">settings</action>
2617 </object>
2618
2619 <object type="template" name="footer" />
2620 </page>
2621
Dees_Troy2f9117a2013-02-17 19:52:09 -06002622 <page name="screen">
2623 <object type="template" name="header" />
2624
2625 <object type="text" color="%text_color%">
2626 <font resource="font" />
2627 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2628 <text>Screen Settings</text>
2629 </object>
2630
2631 <object type="text" color="%text_color%">
2632 <font resource="font" />
2633 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2634 <text>Screen Timeout: %tw_screen_timeout_secs% seconds</text>
2635 </object>
2636
2637 <object type="button">
2638 <placement x="%col1_medium_x%" y="%row2_y%" />
2639 <font resource="font" color="%button_text_color%" />
2640 <text>None</text>
2641 <image resource="medium_button" />
2642 <action function="set">tw_screen_timeout_secs=0</action>
2643 </object>
2644
2645 <object type="button">
2646 <placement x="%col2_medium_x%" y="%row2_y%" />
2647 <font resource="font" color="%button_text_color%" />
2648 <text>60</text>
2649 <image resource="medium_button" />
2650 <action function="set">tw_screen_timeout_secs=60</action>
2651 </object>
2652
2653 <object type="button">
2654 <placement x="%col3_medium_x%" y="%row2_y%" />
2655 <font resource="font" color="%button_text_color%" />
2656 <text>120</text>
2657 <image resource="medium_button" />
2658 <action function="set">tw_screen_timeout_secs=120</action>
2659 </object>
2660
2661 <object type="button">
2662 <placement x="%col4_medium_x%" y="%row2_y%" />
2663 <font resource="font" color="%button_text_color%" />
2664 <text>180</text>
2665 <image resource="medium_button" />
2666 <action function="set">tw_screen_timeout_secs=180</action>
2667 </object>
2668
2669 <object type="text" color="%text_color%">
2670 <condition var1="tw_has_brightnesss_file" var2="1" />
2671 <font resource="font" />
2672 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
2673 <text>Brightness: %tw_brightness_display%</text>
2674 </object>
2675
2676 <object type="button">
2677 <condition var1="tw_has_brightnesss_file" var2="1" />
2678 <placement x="%col1_medium_x%" y="%row4_y%" />
2679 <font resource="font" color="%button_text_color%" />
2680 <text>25%</text>
2681 <image resource="medium_button" />
2682 <actions>
2683 <action function="cmd">echo %tw_brightness_25% > &quot;%tw_brightness_file%&quot;</action>
2684 <action function="set">tw_brightness_display=25%</action>
2685 <action function="set">tw_brightness=%tw_brightness_25%</action>
2686 </actions>
2687 </object>
2688
2689 <object type="button">
2690 <condition var1="tw_has_brightnesss_file" var2="1" />
2691 <placement x="%col2_medium_x%" y="%row4_y%" />
2692 <font resource="font" color="%button_text_color%" />
2693 <text>50%</text>
2694 <image resource="medium_button" />
2695 <actions>
2696 <action function="cmd">echo %tw_brightness_50% > &quot;%tw_brightness_file%&quot;</action>
2697 <action function="set">tw_brightness_display=50%</action>
2698 <action function="set">tw_brightness=%tw_brightness_50%</action>
2699 </actions>
2700 </object>
2701
2702 <object type="button">
2703 <condition var1="tw_has_brightnesss_file" var2="1" />
2704 <placement x="%col3_medium_x%" y="%row4_y%" />
2705 <font resource="font" color="%button_text_color%" />
2706 <text>75%</text>
2707 <image resource="medium_button" />
2708 <actions>
2709 <action function="cmd">echo %tw_brightness_75% > &quot;%tw_brightness_file%&quot;</action>
2710 <action function="set">tw_brightness_display=75%</action>
2711 <action function="set">tw_brightness=%tw_brightness_75%</action>
2712 </actions>
2713 </object>
2714
2715 <object type="button">
2716 <condition var1="tw_has_brightnesss_file" var2="1" />
2717 <placement x="%col4_medium_x%" y="%row4_y%" />
2718 <font resource="font" color="%button_text_color%" />
2719 <text>100%</text>
2720 <image resource="medium_button" />
2721 <actions>
2722 <action function="cmd">echo %tw_brightness_100% > &quot;%tw_brightness_file%&quot;</action>
2723 <action function="set">tw_brightness_display=100%</action>
2724 <action function="set">tw_brightness=%tw_brightness_100%</action>
2725 </actions>
2726 </object>
2727
2728 <object type="action">
2729 <touch key="home" />
2730 <action function="page">main</action>
2731 </object>
2732
2733 <object type="action">
2734 <touch key="back" />
2735 <action function="page">settings</action>
2736 </object>
2737
2738 <object type="template" name="footer" />
2739 </page>
2740
Dees_Troy51a0e822012-09-05 15:24:24 -04002741 <page name="advanced">
2742 <object type="template" name="header" />
2743
2744 <object type="text" color="%text_color%">
2745 <font resource="font" />
2746 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2747 <text>Advanced</text>
2748 </object>
2749
2750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <placement x="%col1_x%" y="%row1_y%" />
2753 <font resource="font" color="%button_text_color%" />
2754 <text>Copy Log to SD</text>
2755 <image resource="main_button" />
2756 <actions>
2757 <action function="set">tw_back=advanced</action>
2758 <action function="set">tw_action=copylog</action>
2759 <action function="set">tw_text1=Copy Log to SD Card?</action>
2760 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2761 <action function="set">tw_complete_text1=Log Copy Complete</action>
2762 <action function="set">tw_slider_text=Swipe to Confirm</action>
2763 <action function="page">confirm_action</action>
2764 </actions>
2765 </object>
2766
2767 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002768 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <placement x="%col2_x%" y="%row1_y%" />
2770 <font resource="font" color="%button_text_color%" />
2771 <text>Fix Permissions</text>
2772 <image resource="main_button" />
2773 <actions>
2774 <action function="set">tw_back=advanced</action>
2775 <action function="set">tw_action=fixpermissions</action>
2776 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002777 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2779 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002780 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <action function="page">confirm_action</action>
2782 </actions>
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <condition var1="tw_allow_partition_sdcard" var2="1" />
2788 <placement x="%col1_x%" y="%row2_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>Partition SD Card</text>
2791 <image resource="main_button" />
2792 <action function="page">partsdcard</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="%col2_x%" y="%row2_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>File Manager</text>
2800 <image resource="main_button" />
2801 <action function="page">filemanagerlist</action>
2802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <placement x="%col1_x%" y="%row3_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text>Terminal Command</text>
2809 <image resource="main_button" />
2810 <action function="page">terminalfolder</action>
2811 </object>
2812
2813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002814 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002815 <placement x="%col2_x%" y="%row3_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text>Reload Theme</text>
2818 <image resource="main_button" />
2819 <action function="reload"></action>
2820 </object>
2821
2822 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002823 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002824 <placement x="%col1_x%" y="%row4_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>ADB Sideload</text>
2827 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002828 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002829 </object>
2830
2831 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002832 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <condition var1="tw_show_dumlock" var2="1" />
2834 <placement x="%col2_x%" y="%row4_y%" />
2835 <font resource="font" color="%button_text_color%" />
2836 <text>HTC Dumlock</text>
2837 <image resource="main_button" />
2838 <action function="page">htcdumlock</action>
2839 </object>
2840
2841 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002842 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002843 <condition var1="tw_has_injecttwrp" var2="1" />
2844 <placement x="%col2_x%" y="%row4_y%" />
2845 <font resource="font" color="%button_text_color%" />
2846 <text>Re-Inject TWRP</text>
2847 <image resource="main_button" />
2848 <actions>
2849 <action function="set">tw_back=advanced</action>
2850 <action function="set">tw_action=reinjecttwrp</action>
2851 <action function="set">tw_text1=Re-Inject TWRP?</action>
2852 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2853 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2854 <action function="set">tw_slider_text=Swipe to Confirm</action>
2855 <action function="page">confirm_action</action>
2856 </actions>
2857 </object>
2858
Dees_Troy51a0e822012-09-05 15:24:24 -04002859 <object type="action">
2860 <touch key="home" />
2861 <action function="page">main</action>
2862 </object>
2863
2864 <object type="action">
2865 <touch key="back" />
2866 <action function="page">main</action>
2867 </object>
2868
2869 <object type="template" name="footer" />
2870 </page>
2871
2872 <page name="partsdcard">
2873 <object type="template" name="header" />
2874
2875 <object type="text" color="%text_color%">
2876 <font resource="font" />
2877 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2878 <text>Partition SD Card</text>
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="%col1_x%" y="%row1_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text></text>
2886 <image resource="minus_button" />
2887 <action function="addsubtract">tw_sdext_size-128</action>
2888 </object>
2889
2890 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002891 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002892 <placement x="%sd_plus_x%" y="%row1_y%" />
2893 <font resource="font" color="%button_text_color%" />
2894 <text></text>
2895 <image resource="plus_button" />
2896 <action function="addsubtract">tw_sdext_size+128</action>
2897 </object>
2898
2899 <object type="text" color="%text_color%">
2900 <font resource="font" />
2901 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2902 <text>EXT Size: %tw_sdext_size%</text>
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="%col1_x%" y="%sdswap_button_y%" />
2908 <font resource="font" color="%button_text_color%" />
2909 <text></text>
2910 <image resource="minus_button" />
2911 <action function="addsubtract">tw_swap_size-32</action>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text></text>
2919 <image resource="plus_button" />
2920 <action function="addsubtract">tw_swap_size+32</action>
2921 </object>
2922
2923 <object type="text" color="%text_color%">
2924 <font resource="font" />
2925 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2926 <text>Swap Size: %tw_swap_size%</text>
2927 </object>
2928
2929 <object type="text" color="%text_color%">
2930 <font resource="font" />
2931 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2932 <text>File system: %tw_sdpart_file_system%</text>
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 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2938 <font resource="font" color="%button_text_color%" />
2939 <text>EXT3</text>
2940 <image resource="main_button" />
2941 <action function="set">tw_sdpart_file_system=ext3</action>
2942 </object>
2943
2944 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002945 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002946 <condition var1="tw_sdext_disable_ext4" var2="0" />
2947 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2948 <font resource="font" color="%button_text_color%" />
2949 <text>EXT4</text>
2950 <image resource="main_button" />
2951 <action function="set">tw_sdpart_file_system=ext4</action>
2952 </object>
2953
2954 <object type="text" color="%text_color%">
2955 <font resource="font" />
2956 <placement x="%col1_x%" y="%row12_text_y%" />
2957 <text>You will lose all files on your SD card!</text>
2958 </object>
2959
2960 <object type="text" color="%text_color%">
2961 <font resource="font" />
2962 <placement x="%col1_x%" y="%row13_text_y%" />
2963 <text>This action cannot be undone!</text>
2964 </object>
2965
2966 <object type="slider">
2967 <placement x="%slider_x%" y="%slider_y%" />
2968 <resource base="slider" used="slider-used" touch="slider-touch" />
2969 <action function="page">partsdcardaction</action>
2970 <actions>
2971 <action function="set">tw_back=partsdcard</action>
2972 <action function="set">tw_action=partitionsd</action>
2973 <action function="set">tw_has_action2=1</action>
2974 <action function="set">tw_action2=set</action>
2975 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2976 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2977 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002978 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002979 <action function="page">action_page</action>
2980 </actions>
2981 </object>
2982
2983 <object type="text" color="%text_color%">
2984 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002985 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002986 <text>Swipe to Partition</text>
2987 </object>
2988
2989 <object type="action">
2990 <touch key="home" />
2991 <action function="page">main</action>
2992 </object>
2993
2994 <object type="action">
2995 <touch key="back" />
2996 <action function="page">advanced</action>
2997 </object>
2998
2999 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003000 </page>
3001
3002 <page name="htcdumlock">
3003 <object type="template" name="header" />
3004
3005 <object type="text" color="%text_color%">
3006 <font resource="font" />
3007 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3008 <text>HTC Dumlock</text>
3009 </object>
3010
3011 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003012 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003013 <condition var1="tw_show_dumlock" var2="1" />
3014 <placement x="%col1_x%" y="%row1_y%" />
3015 <font resource="font" color="%button_text_color%" />
3016 <text>Restore Original Boot</text>
3017 <image resource="main_button" />
3018 <actions>
3019 <action function="set">tw_back=htcdumlock</action>
3020 <action function="set">tw_action=htcdumlockrestoreboot</action>
3021 <action function="set">tw_text1=Restore original boot image?</action>
3022 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3023 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3024 <action function="set">tw_slider_text=Swipe to Confirm</action>
3025 <action function="page">confirm_action</action>
3026 </actions>
3027 </object>
3028
3029 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003030 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003031 <condition var1="tw_show_dumlock" var2="1" />
3032 <placement x="%col2_x%" y="%row1_y%" />
3033 <font resource="font" color="%button_text_color%" />
3034 <text>Reflash Recovery</text>
3035 <image resource="main_button" />
3036 <actions>
3037 <action function="set">tw_back=htcdumlock</action>
3038 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3039 <action function="set">tw_text1=Reflash recovery to boot?</action>
3040 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3041 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3042 <action function="set">tw_slider_text=Swipe to Confirm</action>
3043 <action function="page">confirm_action</action>
3044 </actions>
3045 </object>
3046
3047 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003048 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003049 <condition var1="tw_show_dumlock" var2="1" />
3050 <placement x="%col1_x%" y="%row2_y%" />
3051 <font resource="font" color="%button_text_color%" />
3052 <text>Install HTC Dumlock</text>
3053 <image resource="main_button" />
3054 <actions>
3055 <action function="set">tw_back=htcdumlock</action>
3056 <action function="set">tw_action=installhtcdumlock</action>
3057 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3058 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3059 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3060 <action function="set">tw_slider_text=Swipe to Confirm</action>
3061 <action function="page">confirm_action</action>
3062 </actions>
3063 </object>
3064
3065 <object type="action">
3066 <touch key="home" />
3067 <action function="page">main</action>
3068 </object>
3069
3070 <object type="action">
3071 <touch key="back" />
3072 <action function="page">advanced</action>
3073 </object>
3074
3075 <object type="template" name="footer" />
3076 </page>
3077
3078 <page name="lock">
3079 <background color="#000000A0" />
3080
3081 <object type="image">
3082 <image resource="unlock-icon" />
3083 <placement x="%lock_x%" y="%lock_y%" />
3084 </object>
3085
3086 <object type="slider">
3087 <placement x="%slider_x%" y="%slider_y%" />
3088 <resource base="slider" used="slider-used" touch="slider-touch" />
3089 <action function="overlay"></action>
3090 </object>
3091
3092 <object type="text" color="%text_color%">
3093 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003094 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <text>Swipe to Unlock</text>
3096 </object>
3097 </page>
3098
3099 <page name="filemanagerlist">
3100 <object type="template" name="header" />
3101
3102 <object type="text" color="%text_color%">
3103 <font resource="font" />
3104 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3105 <text>File Manager: Select a File or Folder</text>
3106 </object>
3107
3108 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003109 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003110 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3111 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003112 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <text>%tw_file_location1%</text>
3114 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3115 <sort name="tw_gui_sort_order" />
3116 <icon folder="folder_icon" file="file_icon" />
3117 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003118 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003119 <folders="1" files="1" />
3120 <path name="tw_file_location1" default="/" />
3121 <data name="tw_filename1" />
3122 <selection name="tw_selection1" />
3123 </object>
3124
3125 <object type="template" name="sort_options" />
3126
3127 <object type="action">
3128 <actions>
3129 <action function="set">tw_fm_type=File</action>
3130 <action function="set">tw_fm_isfolder=0</action>
3131 </actions>
3132 </object>
3133
3134 <object type="action">
3135 <touch key="home" />
3136 <action function="page">main</action>
3137 </object>
3138
3139 <object type="action">
3140 <touch key="back" />
3141 <action function="page">advanced</action>
3142 </object>
3143
3144 <object type="action">
3145 <condition var1="tw_filename1" op="modified" />
3146 <actions>
3147 <action function="page">filemanageroptions</action>
3148 </actions>
3149 </object>
3150
3151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003153 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3154 <font resource="font" color="%button_text_color%" />
3155 <text>Select</text>
3156 <image resource="medium_button" />
3157 <actions>
3158 <action function="set">tw_filename1=tw_file_location1</action>
3159 <action function="set">tw_fm_isfolder=1</action>
3160 <action function="set">tw_fm_type=Folder</action>
3161 <action function="page">filemanageroptions</action>
3162 </actions>
3163 </object>
3164
3165 <object type="template" name="footer" />
3166 </page>
3167
3168 <page name="filemanageroptions">
3169 <object type="template" name="header" />
3170
3171 <object type="text" color="%text_color%">
3172 <font resource="font" />
3173 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3174 <text>%tw_fm_type% Selected:</text>
3175 </object>
3176
3177 <object type="text" color="%text_color%">
3178 <font resource="font" />
3179 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3180 <text>%tw_filename1%</text>
3181 </object>
3182
3183 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003184 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003185 <condition var1="tw_fm_isfolder" var2="0" />
3186 <placement x="%col1_x%" y="%row2_y%" />
3187 <font resource="font" color="%button_text_color%" />
3188 <text>Copy File</text>
3189 <image resource="main_button" />
3190 <actions>
3191 <action function="set">tw_filemanager_command=cp</action>
3192 <action function="set">tw_fm_text1=Copying</action>
3193 <action function="page">choosedestinationfolder</action>
3194 </actions>
3195 </object>
3196
3197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003199 <condition var1="tw_fm_isfolder" var2="1" />
3200 <placement x="%col1_x%" y="%row2_y%" />
3201 <font resource="font" color="%button_text_color%" />
3202 <text>Copy Folder</text>
3203 <image resource="main_button" />
3204 <actions>
3205 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3206 <action function="set">tw_fm_text1=Copying</action>
3207 <action function="page">choosedestinationfolder</action>
3208 </actions>
3209 </object>
3210
3211 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003212 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003213 <placement x="%col2_x%" y="%row2_y%" />
3214 <font resource="font" color="%button_text_color%" />
3215 <text>Move</text>
3216 <image resource="main_button" />
3217 <actions>
3218 <action function="set">tw_filemanager_command=mv</action>
3219 <action function="set">tw_fm_text1=Moving</action>
3220 <action function="page">choosedestinationfolder</action>
3221 </actions>
3222 </object>
3223
3224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003226 <placement x="%col1_x%" y="%row3_y%" />
3227 <font resource="font" color="%button_text_color%" />
3228 <text>chmod 755</text>
3229 <image resource="main_button" />
3230 <actions>
3231 <action function="set">tw_filemanager_command=chmod 755</action>
3232 <action function="set">tw_fm_text1=chmod 755</action>
3233 <action function="set">tw_fm_text2=</action>
3234 <action function="set">tw_fm_text3=</action>
3235 <action function="set">tw_include_text3=0</action>
3236 <action function="set">tw_back=filemanageroptions</action>
3237 <action function="page">filemanagerconfirm</action>
3238 </actions>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <placement x="%col2_x%" y="%row3_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text>chmod</text>
3246 <image resource="main_button" />
3247 <actions>
3248 <action function="set">tw_filemanager_rename=0000</action>
3249 <action function="set">tw_fm_text2=</action>
3250 <action function="set">tw_fm_text3=</action>
3251 <action function="set">tw_include_text3=0</action>
3252 <action function="set">tw_back=filemanageroptions</action>
3253 <action function="page">filemanagerchmod</action>
3254 </actions>
3255 </object>
3256
3257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003259 <placement x="%col1_x%" y="%row4_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>Delete</text>
3262 <image resource="main_button" />
3263 <actions>
3264 <action function="set">tw_filemanager_command=rm -rf</action>
3265 <action function="set">tw_fm_text1=Deleting</action>
3266 <action function="set">tw_fm_text2=</action>
3267 <action function="set">tw_fm_text3=</action>
3268 <action function="set">tw_include_text3=0</action>
3269 <action function="set">tw_back=filemanageroptions</action>
3270 <action function="page">filemanagerconfirm</action>
3271 </actions>
3272 </object>
3273
3274 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003275 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003276 <condition var1="tw_fm_isfolder" var2="0" />
3277 <placement x="%col2_x%" y="%row4_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>Rename File</text>
3280 <image resource="main_button" />
3281 <actions>
3282 <action function="set">tw_filemanager_rename=tw_selection1</action>
3283 <action function="set">tw_fm_text1=Renaming</action>
3284 <action function="set">tw_filemanager_command=mv</action>
3285 <action function="page">filemanagerrenamefile</action>
3286 </actions>
3287 </object>
3288
3289 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003290 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003291 <condition var1="tw_fm_isfolder" var2="1" />
3292 <placement x="%col2_x%" y="%row4_y%" />
3293 <font resource="font" color="%button_text_color%" />
3294 <text>Rename Folder</text>
3295 <image resource="main_button" />
3296 <actions>
3297 <action function="set">tw_filemanager_rename=tw_selection1</action>
3298 <action function="set">tw_fm_text1=Renaming</action>
3299 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3300 <action function="page">filemanagerrenamefolder</action>
3301 </actions>
3302 </object>
3303
3304 <object type="action">
3305 <touch key="home" />
3306 <action function="page">main</action>
3307 </object>
3308
3309 <object type="action">
3310 <touch key="back" />
3311 <action function="page">filemanagerlist</action>
3312 </object>
3313
3314 <object type="template" name="footer" />
3315 </page>
3316
3317 <page name="choosedestinationfolder">
3318 <object type="template" name="header" />
3319
3320 <object type="text" color="%text_color%">
3321 <font resource="font" />
3322 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3323 <text>Browse to Destination Folder & Press Select</text>
3324 </object>
3325
3326 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003327 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003328 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3329 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003330 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003331 <text>%tw_file_location2%</text>
3332 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3333 <sort name="tw_gui_sort_order" />
3334 <icon folder="folder_icon" file="file_icon" />
3335 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003336 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003337 <filter folders="1" files="0" />
3338 <path name="tw_file_location2" default="/" />
3339 <data name="tw_filename2" />
3340 <selection name="tw_selection2" />
3341 </object>
3342
3343 <object type="template" name="sort_options" />
3344
3345 <object type="action">
3346 <touch key="home" />
3347 <action function="page">main</action>
3348 </object>
3349
3350 <object type="action">
3351 <touch key="back" />
3352 <action function="page">filemanageroptions</action>
3353 </object>
3354
3355 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003356 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003357 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3358 <font resource="font" color="%button_text_color%" />
3359 <text>Select</text>
3360 <image resource="medium_button" />
3361 <actions>
3362 <action function="set">tw_fm_text2=to</action>
3363 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3364 <action function="set">tw_include_text3=1</action>
3365 <action function="set">tw_back=filemanageroptions</action>
3366 <action function="page">filemanagerconfirm</action>
3367 </actions>
3368 </object>
3369
3370 <object type="template" name="footer" />
3371 </page>
3372
3373 <page name="filemanagerrenamefile">
3374 <object type="template" name="header" />
3375
3376 <object type="text" color="%text_color%">
3377 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3378 <font resource="font" />
3379 <text>Please Enter a New %tw_fm_type% Name</text>
3380 </object>
3381
3382 <object type="input">
3383 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3384 <background color="%input_background_color%" />
3385 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3386 <font resource="font" color="%text_color%" />
3387 <text>%tw_filemanager_rename%</text>
3388 <data name="tw_filemanager_rename" />
3389 <restrict minlen="1" maxlen="128" />
3390 <actions>
3391 <action function="set">tw_fm_text2=to</action>
3392 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3393 <action function="set">tw_include_text3=1</action>
3394 <action function="set">tw_back=filemanageroptions</action>
3395 <action function="page">filemanagerconfirm</action>
3396 </actions>
3397 </object>
3398
3399 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003400 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003401 <placement x="%col_center_x%" y="%row2_y%" />
3402 <font resource="font" color="%button_text_color%" />
3403 <text>Cancel</text>
3404 <image resource="main_button" />
3405 <action function="page">filemanageroptions</action>
3406 </object>
3407
3408 <object type="template" name="keyboardtemplate" />
3409
3410 <object type="action">
3411 <touch key="home" />
3412 <action function="page">main</action>
3413 </object>
3414
3415 <object type="action">
3416 <touch key="back" />
3417 <action function="page">filemanageroptions</action>
3418 </object>
3419
3420 <object type="template" name="footer" />
3421 </page>
3422
3423 <page name="filemanagerrenamefolder">
3424 <object type="template" name="header" />
3425
3426 <object type="text" color="%text_color%">
3427 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3428 <font resource="font" />
3429 <text>Please Enter a New %tw_fm_type% Name</text>
3430 </object>
3431
3432 <object type="input">
3433 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3434 <background color="%input_background_color%" />
3435 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3436 <font resource="font" color="%text_color%" />
3437 <text>%tw_filemanager_rename%</text>
3438 <data name="tw_filemanager_rename" />
3439 <restrict minlen="1" maxlen="128" />
3440 <actions>
3441 <action function="set">tw_fm_text2=to</action>
3442 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3443 <action function="set">tw_include_text3=1</action>
3444 <action function="set">tw_back=filemanageroptions</action>
3445 <action function="page">filemanagerconfirm</action>
3446 </actions>
3447 </object>
3448
3449 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003450 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003451 <placement x="%col_center_x%" y="%row2_y%" />
3452 <font resource="font" color="%button_text_color%" />
3453 <text>Cancel</text>
3454 <image resource="main_button" />
3455 <action function="page">filemanageroptions</action>
3456 </object>
3457
3458 <object type="template" name="keyboardtemplate" />
3459
3460 <object type="action">
3461 <touch key="home" />
3462 <action function="page">main</action>
3463 </object>
3464
3465 <object type="action">
3466 <touch key="back" />
3467 <action function="page">filemanageroptions</action>
3468 </object>
3469
3470 <object type="template" name="footer" />
3471 </page>
3472
3473 <page name="filemanagerchmod">
3474 <object type="template" name="header" />
3475
3476 <object type="text" color="%text_color%">
3477 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3478 <font resource="font" />
3479 <text>Please Enter New Permissions</text>
3480 </object>
3481
3482 <object type="input">
3483 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3484 <background color="%input_background_color%" />
3485 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3486 <font resource="font" color="%text_color%" />
3487 <text>%tw_filemanager_rename%</text>
3488 <data name="tw_filemanager_rename" />
3489 <restrict minlen="3" maxlen="4" allow="0123456789" />
3490 <actions>
3491 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3492 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3493 <action function="set">tw_back=filemanageroptions</action>
3494 <action function="page">filemanagerconfirm</action>
3495 </actions>
3496 </object>
3497
3498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003499 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003500 <placement x="%col_center_x%" y="%row2_y%" />
3501 <font resource="font" color="%button_text_color%" />
3502 <text>Cancel</text>
3503 <image resource="main_button" />
3504 <action function="page">filemanageroptions</action>
3505 </object>
3506
3507 <object type="template" name="keyboardtemplate" />
3508
3509 <object type="action">
3510 <touch key="home" />
3511 <action function="page">main</action>
3512 </object>
3513
3514 <object type="action">
3515 <touch key="back" />
3516 <action function="page">filemanageroptions</action>
3517 </object>
3518
3519 <object type="template" name="footer" />
3520 </page>
3521
3522 <page name="filemanagerconfirm">
3523 <object type="template" name="header" />
3524
3525 <object type="text" color="%text_color%">
3526 <font resource="font" />
3527 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3528 <text>%tw_fm_text1%</text>
3529 </object>
3530
3531 <object type="text" color="%text_color%">
3532 <font resource="font" />
3533 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3534 <text>%tw_filename1%</text>
3535 </object>
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3540 <text>%tw_fm_text2%</text>
3541 </object>
3542
3543 <object type="text" color="%text_color%">
3544 <font resource="font" />
3545 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3546 <text>%tw_fm_text3%</text>
3547 </object>
3548
3549 <object type="text" color="%text_color%">
3550 <font resource="font" />
3551 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3552 <text>Press back button to cancel.</text>
3553 </object>
3554
3555 <object type="slider">
3556 <placement x="%slider_x%" y="%slider_y%" />
3557 <resource base="slider" used="slider-used" touch="slider-touch" />
3558 <action function="page">filemanageracction</action>
3559 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003560
Dees_Troy51a0e822012-09-05 15:24:24 -04003561 <object type="text" color="%text_color%">
3562 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003563 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003564 <text>Swipe to Confirm</text>
3565 </object>
3566
3567 <object type="action">
3568 <touch key="back" />
3569 <action function="page">%tw_back%</action>
3570 </object>
3571
3572 <object type="action">
3573 <touch key="home" />
3574 <action function="page">main</action>
3575 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003576
Dees_Troy51a0e822012-09-05 15:24:24 -04003577 <object type="template" name="footer" />
3578 </page>
3579
3580 <page name="filemanageracction">
3581 <object type="template" name="header" />
3582
3583 <object type="text" color="%text_color%">
3584
3585 <font resource="font" />
3586 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3587 <text>%tw_fm_text1%</text>
3588 </object>
3589
3590 <object type="template" name="action_page_console" />
3591
3592 <object type="template" name="progress_bar" />
3593
3594 <object type="action">
3595 <conditions>
3596 <condition var1="tw_operation_state" var2="1" />
3597 <condition var1="tw_operation_status" var2="0" />
3598 </conditions>
3599 <actions>
3600 <action function="set">tw_back=filemanagerlist</action>
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 <conditions>
3608 <condition var1="tw_operation_state" var2="1" />
3609 <condition var1="tw_operation_status" op="!=" var2="0" />
3610 </conditions>
3611 <actions>
3612 <action function="set">tw_complete_text1=File Operation Complete</action>
3613 <action function="page">action_complete</action>
3614 </actions>
3615 </object>
3616
3617 <object type="action">
3618 <condition var1="tw_include_text3" var2="0" />
3619 <actions>
3620 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3621 </actions>
3622 </object>
3623
3624 <object type="action">
3625 <condition var1="tw_include_text3" var2="1" />
3626 <actions>
3627 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3628 </actions>
3629 </object>
3630 </page>
3631
3632 <page name="decrypt">
3633 <object type="template" name="header" />
3634
3635 <object type="text" color="%text_color%">
3636 <font resource="font" />
3637 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3638 <text>Please Enter Your Password</text>
3639 </object>
3640
3641 <object type="input">
3642 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3643 <background color="%input_background_color%" />
3644 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3645 <font resource="font" color="%text_color%" />
3646 <text>%tw_crypto_display%</text>
3647 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3648 <restrict minlen="1" maxlen="254" />
3649 <actions>
3650 <action function="page">trydecrypt</action>
3651 </actions>
3652 </object>
3653
3654 <object type="text" color="%text_fail_color%">
3655 <condition var1="tw_password_fail" var2="1" />
3656 <font resource="font" />
3657 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3658 <text>Password Failed, Please Try Again</text>
3659 </object>
3660
3661 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003662 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003663 <placement x="%col_center_x%" y="%row2_y%" />
3664 <font resource="font" color="%button_text_color%" />
3665 <text>Cancel</text>
3666 <image resource="main_button" />
3667 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003668 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003669 <action function="page">main</action>
3670 </actions>
3671 </object>
3672
3673 <object type="template" name="keyboardtemplate" />
3674
Dees_Troy51a0e822012-09-05 15:24:24 -04003675 <object type="template" name="footer" />
3676 </page>
3677
3678 <page name="trydecrypt">
3679 <object type="template" name="header" />
3680
3681 <object type="text" color="%text_color%">
3682 <font resource="font" />
3683 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3684 <text>Trying Decryption with Your Password</text>
3685 </object>
3686
3687 <object type="template" name="action_page_console" />
3688
3689 <object type="template" name="progress_bar" />
3690
3691 <object type="action">
3692 <action function="decrypt"></action>
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>
3700 <actions>
3701 <action function="set">tw_password_fail=1</action>
3702 <action function="page">decrypt</action>
3703 </actions>
3704 </object>
3705
3706 <object type="action">
3707 <conditions>
3708 <condition var1="tw_operation_state" var2="1" />
3709 <condition var1="tw_operation_status" op="=" var2="0" />
3710 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003711 <actions>
3712 <action function="set">tw_page_done=1</action>
3713 <action function="page">main</action>
3714 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003715 </object>
3716 </page>
3717
3718 <page name="terminalfolder">
3719 <object type="template" name="header" />
3720
3721 <object type="text" color="%text_color%">
3722 <font resource="font" />
3723 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3724 <text>Browse to Starting Folder</text>
3725 </object>
3726
3727 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003728 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003729 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3730 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003731 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003732 <text>%tw_terminal_location%</text>
3733 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3734 <sort name="tw_gui_sort_order" />
3735 <icon folder="folder_icon" file="file_icon" />
3736 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003737 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003738 <filter folders="1" files="0" />
3739 <path name="tw_terminal_location" default="/" />
3740 <data name="tw_terminal" />
3741 <selection name="tw_terminal_selection" />
3742 </object>
3743
3744 <object type="template" name="sort_options" />
3745
3746 <object type="action">
3747 <touch key="home" />
3748 <action function="page">main</action>
3749 </object>
3750
3751 <object type="action">
3752 <touch key="back" />
3753 <action function="page">advanced</action>
3754 </object>
3755
3756 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003757 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003758 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3759 <font resource="font" color="%button_text_color%" />
3760 <text>Select</text>
3761 <image resource="medium_button" />
3762 <actions>
3763 <action function="page">terminalcommand</action>
3764 </actions>
3765 </object>
3766
3767 <object type="template" name="footer" />
3768 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003769
Dees_Troy51a0e822012-09-05 15:24:24 -04003770 <page name="terminalcommand">
3771 <object type="template" name="header" />
3772
3773 <object type="console">
3774 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3775 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3776 <font resource="fixed" />
3777 </object>
3778
3779 <object type="text" color="%text_color%">
3780 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3781 <font resource="font" />
3782 <text>Starting Path: %tw_terminal_location%</text>
3783 </object>
3784
3785 <object type="input">
3786 <condition var1="tw_terminal_state" var2="0" />
3787 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3788 <background color="%input_background_color%" />
3789 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3790 <font resource="font" color="%text_color%" />
3791 <text>%tw_terminal_command%</text>
3792 <data name="tw_terminal_command" />
3793 <restrict minlen="1" />
3794 <action function="terminalcommand">%tw_terminal_command%</action>
3795 </object>
3796
3797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003798 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003799 <condition var1="tw_terminal_state" var2="1" />
3800 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3801 <font resource="font" color="%button_text_color%" />
3802 <text>KILL</text>
3803 <image resource="medium_button" />
3804 <action function="killterminal"></action>
3805 </object>
3806
3807 <object type="template" name="keyboardtemplate" />
3808
3809 <object type="action">
3810 <touch key="home" />
3811 <action function="page">main</action>
3812 </object>
3813
3814 <object type="action">
3815 <touch key="back" />
3816 <action function="page">terminalfolder</action>
3817 </object>
3818 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003819
3820 <page name="sideload">
3821 <object type="template" name="header" />
3822
3823 <object type="text" color="%text_color%">
3824 <font resource="font" />
3825 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3826 <text>ADB Sideload</text>
3827 </object>
3828
3829 <object type="checkbox">
3830 <placement x="%col1_x%" y="%row2_text_y%" />
3831 <font resource="font" color="%text_color%" />
3832 <text>Wipe Dalvik Cache.</text>
3833 <data variable="tw_wipe_dalvik" />
3834 <image checked="checkbox_true" unchecked="checkbox_false" />
3835 </object>
3836
3837 <object type="checkbox">
3838 <placement x="%col1_x%" y="%row3_text_y%" />
3839 <font resource="font" color="%text_color%" />
3840 <text>Wipe Cache.</text>
3841 <data variable="tw_wipe_cache" />
3842 <image checked="checkbox_true" unchecked="checkbox_false" />
3843 </object>
3844
3845 <object type="slider">
3846 <placement x="%slider_x%" y="%slider_y%" />
3847 <resource base="slider" used="slider-used" touch="slider-touch" />
3848 <actions>
3849 <action function="set">tw_back=advanced</action>
3850 <action function="set">tw_action=adbsideload</action>
3851 <action function="set">tw_action_text1=ADB Sideload</action>
3852 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3853 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3854 <action function="set">tw_has_cancel=1</action>
3855 <action function="set">tw_show_reboot=1</action>
3856 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3857 <action function="page">action_page</action>
3858 </actions>
3859 </object>
3860
3861 <object type="text" color="%text_color%">
3862 <font resource="font" />
3863 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3864 <text>Swipe to Start Sideload</text>
3865 </object>
3866
3867 <object type="action">
3868 <touch key="home" />
3869 <action function="page">main</action>
3870 </object>
3871
3872 <object type="action">
3873 <touch key="back" />
3874 <action function="page">advanced</action>
3875 </object>
3876
3877 <object type="template" name="footer" />
3878 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003879
3880 <page name="installsu">
3881 <object type="template" name="header" />
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3886 <text>Install SuperSU?</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3892 <text>Your device does not appear to be rooted.</text>
3893 </object>
3894
3895 <object type="text" color="%text_color%">
3896 <font resource="font" />
3897 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3898 <text>Install SuperSU now?</text>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3904 <text>This will root your device.</text>
3905 </object>
3906
3907 <object type="button">
3908 <highlight color="%highlight_color%" />
3909 <placement x="%col_center_x%" y="%row3_y%" />
3910 <font resource="font" color="%button_text_color%" />
3911 <text>Do Not Install</text>
3912 <image resource="main_button" />
3913 <action function="set">tw_page_done=1</action>
3914 </object>
3915
3916 <object type="slider">
3917 <placement x="%slider_x%" y="%slider_y%" />
3918 <resource base="slider" used="slider-used" touch="slider-touch" />
3919 <actions>
3920 <action function="set">tw_action=installsu</action>
3921 <action function="set">tw_action_text1=Installing SuperSU</action>
3922 <action function="set">tw_action_text2=</action>
3923 <action function="page">singleaction_page</action>
3924 </actions>
3925 </object>
3926
3927 <object type="text" color="%text_color%">
3928 <font resource="font" />
3929 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3930 <text>Swipe to Install</text>
3931 </object>
3932 </page>
3933
3934 <page name="fixsu">
3935 <object type="template" name="header" />
3936
3937 <object type="text" color="%text_color%">
3938 <font resource="font" />
3939 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3940 <text>Fix Superuser Permissions?</text>
3941 </object>
3942
3943 <object type="text" color="%text_color%">
3944 <font resource="font" />
3945 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3946 <text>Root permissions appear to be lost.</text>
3947 </object>
3948
3949 <object type="text" color="%text_color%">
3950 <font resource="font" />
3951 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3952 <text>Fix root permissions now?</text>
3953 </object>
3954
3955 <object type="text" color="%text_color%">
3956 <font resource="font" />
3957 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3958 <text>(Fixes permissions on su binary & app)</text>
3959 </object>
3960
3961 <object type="button">
3962 <highlight color="%highlight_color%" />
3963 <placement x="%col_center_x%" y="%row3_y%" />
3964 <font resource="font" color="%button_text_color%" />
3965 <text>Do Not Fix</text>
3966 <image resource="main_button" />
3967 <action function="set">tw_page_done=1</action>
3968 </object>
3969
3970 <object type="slider">
3971 <placement x="%slider_x%" y="%slider_y%" />
3972 <resource base="slider" used="slider-used" touch="slider-touch" />
3973 <actions>
3974 <action function="set">tw_action=fixsu</action>
3975 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3976 <action function="set">tw_action_text2=</action>
3977 <action function="page">singleaction_page</action>
3978 </actions>
3979 </object>
3980
3981 <object type="text" color="%text_color%">
3982 <font resource="font" />
3983 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3984 <text>Swipe to Fix Root</text>
3985 </object>
3986 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003987 </pages>
3988</recovery>