blob: 28130b7db4f31da95c3242957a5b16a40eb10bb8 [file] [log] [blame]
Dees_Troya13d74f2013-03-24 08:54:55 -05001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="1080" height="1920" />
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-40" />
14 <resource name="mediumfont" type="font" filename="Roboto-Condensed-40" />
15 <resource name="filelist" type="font" filename="Roboto-Condensed-40" />
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" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troya13d74f2013-03-24 08:54:55 -050043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="565" />
48 <variable name="col_center_x" value="288" />
49 <variable name="col_center_medium_x" value="414" />
50 <variable name="center_x" value="540" />
51 <variable name="row1_y" value="255" />
52 <variable name="row2_y" value="615" />
53 <variable name="row3_y" value="975" />
54 <variable name="row4_y" value="1335" />
55 <variable name="col1_center_x" value="179" />
56 <variable name="col2_center_x" value="552" />
57 <variable name="row1_text2_y" value="310" />
58 <variable name="row2_text2_y" value="550" />
59 <variable name="row_queue_y" value="1140" />
60 <variable name="row1_header_y" value="180" />
61 <variable name="row1_text_y" value="255" />
62 <variable name="row2_text_y" value="330" />
63 <variable name="row3_text_y" value="405" />
64 <variable name="row4_text_y" value="480" />
65 <variable name="row5_text_y" value="555" />
66 <variable name="row6_text_y" value="630" />
67 <variable name="row7_text_y" value="705" />
68 <variable name="row8_text_y" value="780" />
69 <variable name="row9_text_y" value="855" />
70 <variable name="row10_text_y" value="930" />
71 <variable name="row11_text_y" value="1005" />
72 <variable name="row12_text_y" value="1080" />
73 <variable name="row13_text_y" value="1155" />
74 <variable name="row14_text_y" value="1230" />
75 <variable name="row15_text_y" value="1305" />
76 <variable name="row16_text_y" value="1380" />
77 <variable name="row17_text_y" value="1455" />
78 <variable name="row18_text_y" value="1530" />
79 <variable name="zip_status_y" value="922" />
80 <variable name="tz_selected_y" value="240" />
81 <variable name="tz_set_y" value="1500" />
82 <variable name="tz_current_y" value="1425" />
83 <variable name="col_progressbar_x" value="351" />
84 <variable name="row_progressbar_y" value="1650" />
85 <variable name="col1_medium_x" value="10" />
86 <variable name="col2_medium_x" value="282" />
87 <variable name="col3_medium_x" value="545" />
88 <variable name="col4_medium_x" value="817" />
89 <variable name="row1_medium_y" value="195" />
90 <variable name="row2_medium_y" value="345" />
91 <variable name="row3_medium_y" value="392" />
92 <variable name="row4_medium_y" value="645" />
93 <variable name="row5_medium_y" value="795" />
94 <variable name="row6_medium_y" value="1260" />
95 <variable name="row7_medium_y" value="730" />
96 <variable name="slider_x" value="101" />
97 <variable name="slider_y" value="1575" />
98 <variable name="slider_text_y" value="1676" />
99 <variable name="button_text_color" value="#AAAAAA" />
100 <variable name="text_color" value="#FFFFFF" />
101 <variable name="text_success_color" value="#33B5E5" />
102 <variable name="text_fail_color" value="#FF0101" />
103 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600104 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500105 <variable name="home_button_x" value="10" />
106 <variable name="home_button_y" value="1839" />
107 <variable name="back_button_x" value="944" />
108 <variable name="back_button_y" value="1839" />
109 <variable name="sort_text_x" value="10" />
110 <variable name="sort_asc_text_y" value="1635" />
111 <variable name="sort_asc_button_y" value="1620" />
112 <variable name="sort_desc_text_y" value="1725" />
113 <variable name="sort_desc_button_y" value="1710" />
114 <variable name="sort_col1_button_x" value="390" />
115 <variable name="sort_col2_button_x" value="540" />
116 <variable name="sort_col3_button_x" value="690" />
117 <variable name="input_width" value="1060" />
118 <variable name="input_height" value="75" />
119 <variable name="input_background_color" value="#303030" />
120 <variable name="input_cursor_color" value="#33B5E5" />
121 <variable name="input_cursor_width" value="4" />
122 <variable name="console_x" value="0" />
123 <variable name="console_width" value="1080" />
124 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500125 <variable name="warning" value="#F8F8A0" />
126 <variable name="error" value="#FF4040" />
127 <variable name="highlight" value="#33B5E5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500128 <variable name="console_background" value="#303030" />
129 <variable name="console_scroll" value="#303030" />
130 <variable name="console_action_height" value="705" />
131 <variable name="console_install_height" value="900" />
132 <variable name="console_installdone_height" value="660" />
133 <variable name="fileselector_x" value="5" />
134 <variable name="fileselector_width" value="1070" />
135 <variable name="fileselector_install_height" value="1170" />
136 <variable name="fileselector_header_background" value="#202020" />
137 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
138 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
139 <variable name="fileselector_header_separatorheight" value="4" />
140 <variable name="fileselector_separatorcolor" value="#505050" />
141 <variable name="fileselector_separatorheight" value="3" />
142 <variable name="fileselector_background" value="#303030" />
143 <variable name="fileselector_highlight_color" value="#505050" />
144 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
145 <variable name="fileselector_spacing" value="48" />
146 <variable name="fastscroll_linecolor" value="#808080" />
147 <variable name="fastscroll_rectcolor" value="#808080" />
148 <variable name="fastscroll_w" value="90" />
149 <variable name="fastscroll_linew" value="3" />
150 <variable name="fastscroll_rectw" value="60" />
151 <variable name="fastscroll_recth" value="105" />
152 <variable name="listbox_x" value="5" />
153 <variable name="listbox_width" value="1070" />
154 <variable name="listbox_tz_height" value="885" />
155 <variable name="listbox_background" value="#303030" />
156 <variable name="listbox_spacing" value="24" />
157 <variable name="sd_plus_x" value="525" />
158 <variable name="sdext_text_x" value="165" />
159 <variable name="sdext_text_y" value="270" />
160 <variable name="sdswap_button_y" value="390" />
161 <variable name="sdswap_text_x" value="165" />
162 <variable name="sdswap_text_y" value="405" />
163 <variable name="sdfilesystem_text_y" value="510" />
164 <variable name="sdfilesystem_button_y" value="570" />
165 <variable name="lock_x" value="240" />
166 <variable name="lock_y" value="600" />
167 <variable name="filemanager_select_x" value="840" />
168 <variable name="filemanager_select_y" value="1620" />
169 <variable name="backup_name_y" value="825" />
170 <variable name="terminal_console_height" value="1050" />
171 <variable name="terminal_text_y" value="1095" />
172 <variable name="terminal_button_y" value="1050" />
173 <variable name="row_dst_text_y" value="1080" />
174 <variable name="row_offset_text_y" value="1155" />
175 <variable name="row_offset_medium_y" value="1260" />
176 <variable name="button_fill_color" value="#303030" />
177 <variable name="button_fill_full_width" value="1060" />
178 <variable name="button_fill_main_width" value="505" />
179 <variable name="button_fill_main_height" value="324" />
180 <variable name="button_fill_half_height" value="162" />
181 <variable name="button_fill_quarter_height" value="81" />
Dees_Troy7abb7a52013-08-30 02:07:19 +0000182 <variable name="backup_list_height" value="780" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500183 <variable name="backup_button_row1" value="1118" />
184 <variable name="backup_button_row2" value="1220" />
185 <variable name="mount_list_height" value="1035" />
186 <variable name="mount_storage_row" value="1240" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000187 <variable name="storage_list_height" value="1000" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500188 <variable name="wipe_list_height" value="1105" />
189 <variable name="wipe_button_row1" value="1350" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500190 <variable name="wipe_button_y" value="975" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200191 <variable name="slidervalue_w" value="1060" />
192 <variable name="slidervalue_line_clr" value="#FFFFFF" />
193 <variable name="slidervalue_slider_clr" value="#33B5E5" />
194 <variable name="slidervalue_lineh" value="3" />
195 <variable name="slidervalue_padding" value="30" />
196 <variable name="slidervalue_sliderw" value="15" />
197 <variable name="slidervalue_sliderh" value="90" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500198 </variables>
199
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100200 <mousecursor>
201 <placement w="15" h="15" />
202 <background color="#FFFF00FF" resource="cursor" />
203 <speed multiplier="2.5" />
204 </mousecursor>
205
Dees_Troya13d74f2013-03-24 08:54:55 -0500206 <templates>
207 <template name="header">
208 <background color="#000000FF" />
209
210 <object type="image">
211 <image resource="top_bar" />
212 <placement x="0" y="0" />
213 </object>
214
215 <object type="text" color="%text_color%">
216 <font resource="font" />
217 <placement x="180" y="15" />
218 <text>Team Win Recovery Project v%tw_version%</text>
219 </object>
220
221 <object type="text" color="%text_color%">
222 <condition var1="tw_simulate_actions" var2="1" />
223 <font resource="font" />
224 <placement x="180" y="60" />
225 <text>SIMULATING ACTIONS</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="180" y="114" />
231 <text>%tw_time%</text>
232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="405" y="114" />
237 <conditions>
238 <condition var1="tw_no_battery_percent" var2="0" />
239 <condition var1="tw_battery" op=">" var2="0" />
240 <condition var1="tw_battery" op="<" var2="101" />
241 </conditions>
242 <text>Battery: %tw_battery%</text>
243 </object>
244
245 <object type="button">
246 <highlight color="%highlight_color%" />
247 <placement x="%home_button_x%" y="%home_button_y%" />
248 <font resource="font" color="%button_text_color%" />
249 <text></text>
250 <image resource="home_icon" />
251 <condition var1="tw_busy" var2="0" />
252 <action function="key">home</action>
253 </object>
254
255 <object type="button">
256 <highlight color="%highlight_color%" />
257 <placement x="%back_button_x%" y="%back_button_y%" />
258 <font resource="font" color="%button_text_color%" />
259 <text></text>
260 <image resource="back_icon" />
261 <condition var1="tw_busy" var2="0" />
262 <action function="key">back</action>
263 </object>
264
265 <object type="action">
266 <touch key="power" />
267 <action function="overlay">lock</action>
268 </object>
269 </template>
270
271 <template name="progress_bar">
272 <object type="progressbar">
273 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500274 <resource empty="progress_empty" full="progress_full" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500275 <data name="ui_progress" />
276 </object>
277
278 <object type="animation">
279 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
280 <resource name="progress" />
281 <speed fps="15" render="2" />
282 <loop frame="1" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
294 <highlight color="%highlight_color%" />
295 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
296 <font resource="font" color="%button_text_color%" />
297 <text>Name</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=1</action>
300 </object>
301
302 <object type="button">
303 <highlight color="%highlight_color%" />
304 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
305 <font resource="font" color="%button_text_color%" />
306 <text>Date</text>
307 <image resource="sort_button" />
308 <action function="set">tw_gui_sort_order=2</action>
309 </object>
310
311 <object type="button">
312 <highlight color="%highlight_color%" />
313 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Size</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=3</action>
318 </object>
319
320 <object type="text" color="%text_color%">
321 <font resource="font" />
322 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
323 <text>Sort Descending:</text>
324 </object>
325
326 <object type="button">
327 <highlight color="%highlight_color%" />
328 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
329 <font resource="font" color="%button_text_color%" />
330 <text>Name</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-1</action>
333 </object>
334
335 <object type="button">
336 <highlight color="%highlight_color%" />
337 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
338 <font resource="font" color="%button_text_color%" />
339 <text>Date</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-2</action>
342 </object>
343
344 <object type="button">
345 <highlight color="%highlight_color%" />
346 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
347 <font resource="font" color="%button_text_color%" />
348 <text>Size</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-3</action>
351 </object>
352 </template>
353
354 <template name="action_page_console">
355 <object type="console">
356 <placement x="0" y="%row2_y%" w="1080" h="705" />
357 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
358 <font resource="fixed" />
359 </object>
360 </template>
361
362 <template name="footer">
363 <object type="console">
364 <slideout resource="slideout" x="500" y="1841" />
365 <placement x="%console_x%" y="0" w="%console_width%" h="1841" />
366 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
367 <font resource="fixed" />
368 </object>
369 </template>
370
371 <template name="keyboardtemplate">
372 <object type="keyboard">
373 <placement x="0" y="1200" />
374 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
375 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600376 <capshighlight color="%caps_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500377 <layout1>
378 <keysize height="161" width="108" />
379 <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" />
380 <row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
381 <row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" />
382 <row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" />
383 </layout1>
384 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600385 <keysize height="161" width="108" capslock="0" revert_layout="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500386 <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" />
387 <row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
388 <row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" />
389 <row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" />
390 </layout2>
391 <layout3>
392 <keysize height="161" width="108" />
393 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
394 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
395 <row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" />
396 <row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" />
397 </layout3>
398 <layout4>
399 <keysize height="161" width="108" />
400 <row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" />
401 <row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" />
402 <row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" />
403 <row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" />
404 </layout4>
405 </object>
406 </template>
407 </templates>
408
409 <pages>
410 <page name="main">
411 <object type="action">
412 <actions>
413 <action function="set">tw_clear_destination=main2</action>
414 <action function="page">clear_vars</action>
415 </actions>
416 </object>
417 </page>
418
419 <page name="main2">
420 <object type="template" name="header" />
421
422 <object type="button">
423 <highlight color="%highlight_color%" />
424 <placement x="%col1_x%" y="%row1_y%" />
425 <font resource="font" color="%button_text_color%" />
426 <text>Install</text>
427 <image resource="main_button" />
428 <actions>
429 <action function="queueclear"></action>
430 <action function="page">install</action>
431 </actions>
432 </object>
433
434 <object type="button">
435 <highlight color="%highlight_color%" />
436 <placement x="%col2_x%" y="%row1_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Wipe</text>
439 <image resource="main_button" />
440 <action function="page">wipe</action>
441 </object>
442
443 <object type="button">
444 <highlight color="%highlight_color%" />
445 <placement x="%col1_x%" y="%row2_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Backup</text>
448 <image resource="main_button" />
449 <action function="page">backup</action>
450 </object>
451
452 <object type="button">
453 <highlight color="%highlight_color%" />
454 <placement x="%col2_x%" y="%row2_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Restore</text>
457 <image resource="main_button" />
458 <action function="page">restore</action>
459 </object>
460
461 <object type="button">
462 <highlight color="%highlight_color%" />
463 <placement x="%col1_x%" y="%row3_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Mount</text>
466 <image resource="main_button" />
467 <action function="page">mount</action>
468 </object>
469
470 <object type="button">
471 <highlight color="%highlight_color%" />
472 <placement x="%col2_x%" y="%row3_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Settings</text>
475 <image resource="main_button" />
476 <action function="page">settings</action>
477 </object>
478
479
480 <object type="button">
481 <highlight color="%highlight_color%" />
482 <placement x="%col1_x%" y="%row4_y%" />
483 <font resource="font" color="%button_text_color%" />
484 <text>Advanced</text>
485 <image resource="main_button" />
486 <action function="page">advanced</action>
487 </object>
488
489 <object type="button">
490 <highlight color="%highlight_color%" />
491 <placement x="%col2_x%" y="%row4_y%" />
492 <font resource="font" color="%button_text_color%" />
493 <text>Reboot</text>
494 <image resource="main_button" />
495 <action function="page">reboot</action>
496 </object>
497
498 <object type="template" name="footer" />
499 </page>
500
501 <page name="install">
502 <object type="template" name="header" />
503
504 <object type="text" color="%text_color%">
505 <font resource="font" />
506 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
507 <text>Select Zip to Install</text>
508 </object>
509
510 <object type="button">
511 <highlight color="%highlight_color%" />
512 <fill color="%button_fill_color%" />
513 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
514 <font resource="font" color="%button_text_color%" />
515 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
516 <actions>
517 <action function="set">tw_back=install</action>
518 <action function="page">selectstorage</action>
519 </actions>
520 </object>
521
522 <object type="fileselector">
523 <highlight color="%fileselector_highlight_color%" />
524 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
525 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
526 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
527 <text>%tw_zip_location%</text>
528 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
529 <sort name="tw_gui_sort_order" />
530 <icon folder="folder_icon" file="file_icon" />
531 <background color="%fileselector_background%" />
532 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
533 <filter extn=".zip" folders="1" files="1" />
534 <path name="tw_zip_location" default="/sdcard" />
535 <data name="tw_filename" />
536 <selection name="tw_file" />
537 </object>
538
539 <object type="template" name="sort_options" />
540
541 <object type="action">
542 <condition var1="tw_filename" op="modified" />
543 <actions>
544 <action function="queuezip"></action>
545 <action function="page">flash_confirm</action>
546 </actions>
547 </object>
548
549 <object type="action">
550 <touch key="back" />
551 <action function="page">main</action>
552 </object>
553
554 <object type="action">
555 <touch key="home" />
556 <action function="page">main</action>
557 </object>
558
559 <object type="template" name="footer" />
560 </page>
561
562 <page name="flash_confirm">
563 <object type="template" name="header" />
564
565 <object type="text" color="%text_color%">
566 <font resource="font" />
567 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
568 <text>This operation may install incompatible</text>
569 </object>
570
571 <object type="text" color="%text_color%">
572 <font resource="font" />
573 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
574 <text>software and render your device unusable.</text>
575 </object>
576
577 <object type="text" color="%text_color%">
578 <font resource="font" />
579 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
580 <text>Folder:</text>
581 </object>
582
583 <object type="text" color="%text_color%">
584 <font resource="mediumfont" />
585 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
586 <text>%tw_zip_location%</text>
587 </object>
588
589 <object type="text" color="%text_color%">
590 <font resource="font" />
591 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
592 <text>File to flash:</text>
593 </object>
594
595 <object type="text" color="%text_color%">
596 <font resource="mediumfont" />
597 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
598 <text>%tw_file%</text>
599 </object>
600
601 <object type="text" color="%text_color%">
602 <font resource="font" />
603 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
604 <text>Press back to cancel adding this zip.</text>
605 </object>
606
607 <object type="checkbox">
608 <placement x="%col1_x%" y="%row8_text_y%" />
609 <font resource="font" color="%text_color%" />
610 <text>Zip file signature verification.</text>
611 <data variable="tw_signed_zip_verify" />
612 <image checked="checkbox_true" unchecked="checkbox_false" />
613 </object>
614
615 <object type="checkbox">
616 <condition var1="tw_has_injecttwrp" var2="1" />
617 <placement x="%col1_x%" y="%row10_text_y%" />
618 <font resource="font" color="%text_color%" />
619 <text>Inject TWRP after install.</text>
620 <data variable="tw_inject_after_zip" />
621 <image checked="checkbox_true" unchecked="checkbox_false" />
622 </object>
623
624 <object type="text" color="%text_color%">
625 <font resource="font" />
626 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
627 <text>File %tw_zip_queue_count% of max of 10</text>
628 </object>
629
630 <object type="slider">
631 <placement x="%slider_x%" y="%slider_y%" placement="5" />
632 <resource base="slider" used="slider-used" touch="slider-touch" />
633 <action function="flash">flash_zip</action>
634 </object>
635
636 <object type="text" color="%text_color%">
637 <font resource="font" />
638 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
639 <text>Swipe to Confirm Flash</text>
640 </object>
641
642 <object type="button">
643 <highlight color="%highlight_color%" />
644 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
645 <placement x="%col1_x%" y="%row_queue_y%" />
646 <font resource="font" color="%button_text_color%" />
647 <text>Add More Zips</text>
648 <image resource="main_button" />
649 <action function="page">install</action>
650 </object>
651
652 <object type="button">
653 <highlight color="%highlight_color%" />
654 <placement x="%col2_x%" y="%row_queue_y%" />
655 <font resource="font" color="%button_text_color%" />
656 <text>Clear Zip Queue</text>
657 <image resource="main_button" />
658 <actions>
659 <action function="queueclear"></action>
660 <action function="page">install</action>
661 </actions>
662 </object>
663
664 <object type="action">
665 <touch key="back" />
666 <actions>
667 <action function="cancelzip"></action>
668 <action function="page">install</action>
669 </actions>
670 </object>
671
672 <object type="action">
673 <touch key="home" />
674 <action function="page">main</action>
675 </object>
676
677 <object type="template" name="footer" />
678 </page>
679
680 <page name="flash_zip">
681 <object type="template" name="header" />
682
683 <object type="console">
684 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
685 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
686 <font resource="fixed" />
687 </object>
688
689 <object type="text" color="%text_color%">
690 <font resource="font" />
691 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
692 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
693 </object>
694
695 <object type="text" color="%text_color%">
696 <font resource="mediumfont" />
697 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
698 <text>%tw_filename%</text>
699 </object>
700
701 <object type="template" name="progress_bar" />
702
703 <object type="action">
704 <condition var1="tw_operation_state" var2="1" />
705 <action function="page">flash_done</action>
706 </object>
707 </page>
708
709 <page name="flash_done">
710 <object type="template" name="header" />
711
712 <object type="text" color="%text_color%">
713 <font resource="font" />
714 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
715 <text>Zip Install Complete</text>
716 </object>
717
718 <object type="console">
719 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
720 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
721 <font resource="fixed" />
722 </object>
723
724 <object type="button">
725 <highlight color="%highlight_color%" />
726 <placement x="%col1_x%" y="%row4_y%" />
727 <font resource="font" color="%button_text_color%" />
728 <text>Wipe cache/dalvik</text>
729 <image resource="main_button" />
730 <actions>
731 <action function="set">tw_back=flash_done</action>
732 <action function="set">tw_action=wipe</action>
733 <action function="set">tw_action_param=/cache</action>
734 <action function="set">tw_has_action2=1</action>
735 <action function="set">tw_action2=wipe</action>
736 <action function="set">tw_action2_param=dalvik</action>
737 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
738 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
739 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
740 <action function="set">tw_slider_text=Swipe to Wipe</action>
741 <action function="page">confirm_action</action>
742 </actions>
743 </object>
744
745 <object type="button">
746 <highlight color="%highlight_color%" />
747 <placement x="%col2_x%" y="%row4_y%" />
748 <font resource="font" color="%button_text_color%" />
749 <text>Reboot System</text>
750 <image resource="main_button" />
751 <actions>
752 <action function="set">tw_back=main2</action>
753 <action function="set">tw_action=reboot</action>
754 <action function="set">tw_action_param=system</action>
755 <action function="set">tw_has_action2=0</action>
756 <action function="set">tw_text1=No OS Installed! Are you</action>
757 <action function="set">tw_text2=sure you wish to reboot?</action>
758 <action function="set">tw_text3=</action>
759 <action function="set">tw_text4=</action>
760 <action function="set">tw_action_text1=Rebooting...</action>
761 <action function="set">tw_action_text2=</action>
762 <action function="set">tw_complete_text1=Rebooting...</action>
763 <action function="set">tw_slider_text=Swipe to Reboot</action>
764 <action function="page">rebootcheck</action>
765 </actions>
766 </object>
767
768 <object type="button">
769 <highlight color="%highlight_color%" />
770 <placement x="%col_center_x%" y="%row3_y%" />
771 <font resource="font" color="%button_text_color%" />
772 <text>Home</text>
773 <image resource="main_button" />
774 <actions>
775 <action function="set">tw_clear_destination=main2</action>
776 <action function="page">clear_vars</action>
777 </actions>
778 </object>
779
780 <object type="text" color="%text_fail_color%">
781 <condition var1="tw_operation_status" op="!=" var2="0" />
782 <font resource="font" />
783 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
784 <text>Failed</text>
785 </object>
786
787 <object type="text" color="%text_success_color%">
788 <condition var1="tw_operation_status" var2="0" />
789 <font resource="font" />
790 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
791 <text>Successful</text>
792 </object>
793
794 <object type="action">
795 <touch key="back" />
796 <actions>
797 <action function="set">tw_clear_destination=install</action>
798 <action function="page">clear_vars</action>
799 </actions>
800 </object>
801
802 <object type="action">
803 <touch key="home" />
804 <actions>
805 <action function="set">tw_clear_destination=main2</action>
806 <action function="page">clear_vars</action>
807 </actions>
808 </object>
809 </page>
810
811 <page name="clear_vars">
812 <object type="action">
813 <action function="set">tw_operation_state=0</action>
814 <action function="set">tw_text1=</action>
815 <action function="set">tw_text2=</action>
816 <action function="set">tw_text3=</action>
817 <action function="set">tw_text4=</action>
818 <action function="set">tw_action_text1=</action>
819 <action function="set">tw_action_text2=</action>
820 <action function="set">tw_action_param=</action>
821 <action function="set">tw_has_action2=0</action>
822 <action function="set">tw_action2=</action>
823 <action function="set">tw_action2_param=</action>
824 <action function="set">tw_has_cancel=0</action>
825 <action function="set">tw_cancel_action=</action>
826 <action function="set">tw_cancel_param=</action>
827 <action function="set">tw_show_exclamation=0</action>
828 <action function="set">tw_show_reboot=0</action>
829 <action function="page">%tw_clear_destination%</action>
830 </object>
831 </page>
832
833 <page name="confirm_action">
834 <object type="template" name="header" />
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
839 <text>%tw_text1%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
845 <text>%tw_text2%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
851 <text>%tw_text3%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
857 <text>%tw_text4%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
862 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
863 <text>Press back button to cancel.</text>
864 </object>
865
866 <object type="slider">
867 <placement x="%slider_x%" y="%slider_y%" />
868 <resource base="slider" used="slider-used" touch="slider-touch" />
869 <action function="page">action_page</action>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
875 <text>%tw_slider_text%</text>
876 </object>
877
878 <object type="action">
879 <touch key="back" />
880 <actions>
881 <action function="set">tw_clear_destination=%tw_back%</action>
882 <action function="page">clear_vars</action>
883 </actions>
884 </object>
885
886 <object type="action">
887 <touch key="home" />
888 <action function="page">main</action>
889 </object>
890
891 <object type="template" name="footer" />
892 </page>
893
894 <page name="action_page">
895 <object type="template" name="header" />
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
900 <text>%tw_action_text1%</text>
901 </object>
902
903 <object type="text" color="%text_color%">
904 <font resource="font" />
905 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
906 <text>%tw_action_text2%</text>
907 </object>
908
909 <object type="template" name="action_page_console" />
910
911 <object type="button">
912 <highlight color="%highlight_color%" />
913 <condition var1="tw_has_cancel" var2="1" />
914 <placement x="%col_center_medium_x%" y="%row4_y%" />
915 <font resource="font" color="%button_text_color%" />
916 <text>Cancel</text>
917 <image resource="medium_button" />
918 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
919 </object>
920
921 <object type="template" name="progress_bar" />
922
923 <object type="action">
924 <condition var1="tw_operation_state" var2="1" />
925 <actions>
926 <action function="page">action_complete</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="0" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="1" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 <action function="%tw_action2%">%tw_action2_param%</action>
942 </actions>
943 </object>
944 </page>
945
946 <page name="singleaction_page">
947 <object type="template" name="header" />
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
952 <text>%tw_action_text1%</text>
953 </object>
954
955 <object type="text" color="%text_color%">
956 <font resource="font" />
957 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
958 <text>%tw_action_text2%</text>
959 </object>
960
961 <object type="template" name="action_page_console" />
962
963 <object type="template" name="progress_bar" />
964
965 <object type="action">
966 <condition var1="tw_operation_state" var2="1" />
967 <actions>
968 <action function="set">tw_page_done=1</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="0" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="1" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 <action function="%tw_action2%">%tw_action2_param%</action>
984 </actions>
985 </object>
986 </page>
987
988 <page name="action_complete">
989 <object type="template" name="header" />
990
991 <object type="text" color="%text_color%">
992 <font resource="font" />
993 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
994 <text>%tw_complete_text1%</text>
995 </object>
996
997 <object type="text" color="%text_fail_color%">
998 <condition var1="tw_operation_status" op="!=" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Failed</text>
1002 </object>
1003
1004 <object type="text" color="%text_success_color%">
1005 <condition var1="tw_operation_status" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Successful</text>
1009 </object>
1010
1011 <object type="template" name="action_page_console" />
1012
1013 <object type="button">
1014 <highlight color="%highlight_color%" />
1015 <condition var1="tw_show_reboot" var2="0" />
1016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Back</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_clear_destination=%tw_back%</action>
1022 <action function="page">clear_vars</action>
1023 </actions>
1024 </object>
1025
1026 <object type="button">
1027 <highlight color="%highlight_color%" />
1028 <condition var1="tw_show_reboot" var2="1" />
1029 <placement x="%col_center_x%" y="%row4_y%" />
1030 <font resource="font" color="%button_text_color%" />
1031 <text>Reboot System</text>
1032 <image resource="main_button" />
1033 <actions>
1034 <action function="set">tw_back=main2</action>
1035 <action function="set">tw_action=reboot</action>
1036 <action function="set">tw_action_param=system</action>
1037 <action function="set">tw_has_action2=0</action>
1038 <action function="set">tw_text1=No OS Installed! Are you</action>
1039 <action function="set">tw_text2=sure you wish to reboot?</action>
1040 <action function="set">tw_text3=</action>
1041 <action function="set">tw_text4=</action>
1042 <action function="set">tw_action_text1=Rebooting...</action>
1043 <action function="set">tw_action_text2=</action>
1044 <action function="set">tw_complete_text1=Rebooting...</action>
1045 <action function="set">tw_slider_text=Swipe to Reboot</action>
1046 <action function="page">rebootcheck</action>
1047 </actions>
1048 </object>
1049
1050 <object type="action">
1051 <touch key="home" />
1052 <actions>
1053 <action function="set">tw_clear_destination=main2</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <touch key="back" />
1060 <actions>
1061 <action function="set">tw_clear_destination=%tw_back%</action>
1062 <action function="page">clear_vars</action>
1063 </actions>
1064 </object>
1065 </page>
1066
1067 <page name="filecheck">
1068 <object type="action">
1069 <action function="fileexists">%tw_filecheck%</action>
1070 </object>
1071
1072 <object type="action">
1073 <conditions>
1074 <condition var1="tw_operation_state" var2="1" />
1075 <condition var1="tw_operation_status" var2="0" />
1076 </conditions>
1077 <actions>
1078 <action function="set">tw_fileexists=1</action>
1079 <action function="page">%tw_existpage%</action>
1080 </actions>
1081 </object>
1082
1083 <object type="action">
1084 <conditions>
1085 <condition var1="tw_operation_state" var2="1" />
1086 <condition var1="tw_operation_status" var2="1" />
1087 </conditions>
1088 <actions>
1089 <action function="set">tw_fileexists=0</action>
1090 <action function="page">%tw_notexistpage%</action>
1091 </actions>
1092 </object>
1093 </page>
1094
1095 <page name="rebootcheck">
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1098 <action function="reboot">%tw_action_param%</action>
1099 </object>
1100
1101 <object type="action">
1102 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1103 <action function="page">confirm_action</action>
1104 </object>
1105 </page>
1106
1107 <page name="wipe">
1108 <object type="template" name="header" />
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1113 <text>Factory Reset</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1119 <text>Wipes Data, Cache, and Dalvik</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001123 <conditions>
1124 <condition var1="tw_has_android_secure" var2="1" />
1125 <condition var1="fileexists" var2="/and-sec" />
1126 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001127 <font resource="font" />
1128 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1129 <text>.android_secure</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <condition var1="tw_has_data_media" var2="1" />
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1136 <text>(not including internal storage)</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <condition var1="tw_has_sdext_partition" var2="1" />
1141 <font resource="font" />
1142 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1143 <text>SD-EXT</text>
1144 </object>
1145
1146 <object type="text" color="%text_color%">
1147 <font resource="font" />
1148 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1149 <text>Most of the time this is</text>
1150 </object>
1151
1152 <object type="text" color="%text_color%">
1153 <font resource="font" />
1154 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1155 <text>the only wipe that you need.</text>
1156 </object>
1157
1158 <object type="text" color="%text_color%">
1159 <font resource="font" />
1160 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1161 <text>Press back button to cancel.</text>
1162 </object>
1163
1164 <object type="button">
1165 <highlight color="%highlight_color%" />
1166 <placement x="%col1_x%" y="%wipe_button_y%" />
1167 <font resource="font" color="%button_text_color%" />
1168 <text>Advanced Wipe</text>
1169 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001170 <actions>
1171 <action function="set">partitionlisterror=0</action>
1172 <action function="page">advancedwipe</action>
1173 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 </object>
1175
1176 <object type="button">
1177 <conditions>
1178 <condition var1="tw_has_internal" var2="1" />
1179 <condition var1="tw_has_data_media" var2="1" />
1180 </conditions>
1181 <highlight color="%highlight_color%" />
1182 <placement x="%col2_x%" y="%wipe_button_y%" />
1183 <font resource="font" color="%button_text_color%" />
1184 <text>Format Data</text>
1185 <image resource="main_button" />
1186 <actions>
1187 <action function="page">formatdata</action>
1188 </actions>
1189 </object>
1190
1191 <object type="slider">
1192 <placement x="%slider_x%" y="%slider_y%" />
1193 <resource base="slider" used="slider-used" touch="slider-touch" />
1194 <actions>
1195 <action function="set">tw_back=wipe</action>
1196 <action function="set">tw_action=wipe</action>
1197 <action function="set">tw_action_param=data</action>
1198 <action function="set">tw_action_text1=Factory Reset...</action>
1199 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1200 <action function="page">action_page</action>
1201 </actions>
1202 </object>
1203
1204 <object type="text" color="%text_color%">
1205 <font resource="font" />
1206 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1207 <text>Swipe to Factory Reset</text>
1208 </object>
1209
1210 <object type="action">
1211 <touch key="back" />
1212 <action function="page">main</action>
1213 </object>
1214
1215 <object type="action">
1216 <touch key="home" />
1217 <action function="page">main</action>
1218 </object>
1219
1220 <object type="template" name="footer" />
1221 </page>
1222
1223 <page name="advancedwipe">
1224 <object type="template" name="header" />
1225
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001226 <object type="action">
1227 <action function="set">tw_wipe_list=</action>
1228 </object>
1229
Dees_Troya13d74f2013-03-24 08:54:55 -05001230 <object type="text" color="%text_color%">
1231 <font resource="font" />
1232 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1233 <text>Wipe Menu</text>
1234 </object>
1235
1236 <object type="partitionlist">
1237 <highlight color="%fileselector_highlight_color%" />
1238 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1239 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1240 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1241 <text>Select Partitions to Wipe:</text>
1242 <icon selected="checkbox_true" unselected="checkbox_false" />
1243 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1244 <background color="%listbox_background%" />
1245 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1246 <data name="tw_wipe_list" />
1247 <listtype name="wipe" />
1248 </object>
1249
1250 <object type="slider">
1251 <placement x="%slider_x%" y="%slider_y%" />
1252 <resource base="slider" used="slider-used" touch="slider-touch" />
1253 <actions>
1254 <action function="set">tw_back=advancedwipe</action>
1255 <action function="set">tw_action=wipe</action>
1256 <action function="set">tw_action_param=LIST</action>
1257 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1258 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1259 <action function="set">tw_complete_text1=Wipe Complete</action>
1260 <action function="page">action_page</action>
1261 </actions>
1262 </object>
1263
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001264 <object type="button">
1265 <highlight color="%highlight_color%" />
1266 <fill color="%button_fill_color%" />
1267 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1268 <font resource="font" color="%button_text_color%" />
1269 <text>Repair or Change File System</text>
1270 <actions>
1271 <action function="checkpartitionlist"></action>
1272 <action function="page">checkpartitionlist</action>
1273 </actions>
1274 </object>
1275
1276 <object type="text" color="%text_fail_color%">
1277 <condition var1="partitionlisterror" var2="1" />
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1280 <text>Invalid partition selection</text>
1281 </object>
1282
Dees_Troya13d74f2013-03-24 08:54:55 -05001283 <object type="text" color="%text_color%">
1284 <font resource="font" />
1285 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1286 <text>Swipe to Wipe</text>
1287 </object>
1288
1289 <object type="action">
1290 <touch key="home" />
1291 <action function="page">main</action>
1292 </object>
1293
1294 <object type="action">
1295 <touch key="back" />
1296 <action function="page">wipe</action>
1297 </object>
1298
1299 <object type="template" name="footer" />
1300 </page>
1301
1302 <page name="formatdata">
1303 <object type="template" name="header" />
1304
1305 <object type="text" color="%text_color%">
1306 <font resource="font" />
1307 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1308 <text>Format Data will wipe all of your apps,</text>
1309 </object>
1310
1311 <object type="text" color="%text_color%">
1312 <font resource="font" />
1313 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1314 <text>backups, pictures, videos, media, and</text>
1315 </object>
1316
1317 <object type="text" color="%text_color%">
1318 <font resource="font" />
1319 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1320 <text>removes encryption on internal storage.</text>
1321 </object>
1322
1323 <object type="text" color="%text_color%">
1324 <font resource="font" />
1325 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1326 <text>This cannot be undone. Press back to cancel.</text>
1327 </object>
1328
1329 <object type="text" color="%text_color%">
1330 <font resource="font" />
1331 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1332 <text>Type yes to continue.</text>
1333 </object>
1334
1335 <object type="input">
1336 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1337 <background color="%input_background_color%" />
1338 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1339 <font resource="font" color="%text_color%" />
1340 <text>%tw_confirm_formatdata%</text>
1341 <data name="tw_confirm_formatdata" />
1342 <restrict minlen="3" maxlen="3" allow="yes" />
1343 <action function="page">formatdata_confirm</action>
1344 </object>
1345
1346 <object type="template" name="keyboardtemplate" />
1347
1348 <object type="action">
1349 <touch key="home" />
1350 <action function="page">main</action>
1351 </object>
1352
1353 <object type="action">
1354 <touch key="back" />
1355 <action function="page">wipe</action>
1356 </object>
1357
1358 <object type="template" name="footer" />
1359 </page>
1360
1361 <page name="formatdata_confirm">
1362 <object type="action">
1363 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1364 <actions>
1365 <action function="set">tw_back=formatdata</action>
1366 <action function="set">tw_action=wipe</action>
1367 <action function="set">tw_action_param=DATAMEDIA</action>
1368 <action function="set">tw_action_text1=Formatting Data...</action>
1369 <action function="set">tw_complete_text1=Data Format Complete</action>
1370 <action function="page">action_page</action>
1371 </actions>
1372 </object>
1373
1374 <object type="action">
1375 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1376 <action function="page">formatdata</function>
1377 </object>
1378 </page>
1379
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001380 <page name="checkpartitionlist">
1381 <object type="action">
1382 <condition var1="tw_check_partition_list" op="=" var2="1" />
1383 <actions>
1384 <action function="set">partitionlisterror=0</action>
1385 <action function="getpartitiondetails"></action>
1386 <action function="page">partitionoptions</action>
1387 </actions>
1388 </object>
1389
1390 <object type="action">
1391 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1392 <actions>
1393 <action function="set">partitionlisterror=1</action>
1394 <action function="set">tw_wipe_list=</action>
1395 <action function="page">advancedwipe</action>
1396 </actions>
1397 </object>
1398 </page>
1399
1400 <page name="partitionoptions">
1401 <object type="template" name="header" />
1402
1403 <object type="text" color="%text_color%">
1404 <font resource="font" />
1405 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1406 <text>Partition Options for: %tw_partition_name%</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <font resource="font" />
1411 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1412 <text>Mount Point: %tw_partition_mount_point%</text>
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <font resource="font" />
1417 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1418 <text>Current file system: %tw_partition_file_system%</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1423 <font resource="font" />
1424 <placement x="%col1_x%" y="%row3_text_y%" />
1425 <text>Present: Yes</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <condition var1="tw_partition_is_present" op="=" var2="0" />
1430 <font resource="font" />
1431 <placement x="%col1_x%" y="%row3_text_y%" />
1432 <text>Present: No</text>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <condition var1="tw_partition_removable" op="!=" var2="0" />
1437 <font resource="font" />
1438 <placement x="%col2_x%" y="%row3_text_y%" />
1439 <text>Removable: Yes</text>
1440 </object>
1441
1442 <object type="text" color="%text_color%">
1443 <condition var1="tw_partition_removable" op="=" var2="0" />
1444 <font resource="font" />
1445 <placement x="%col2_x%" y="%row3_text_y%" />
1446 <text>Removable: No</text>
1447 </object>
1448
1449 <object type="text" color="%text_color%">
1450 <font resource="font" />
1451 <placement x="%col1_x%" y="%row4_text_y%" />
1452 <text>Size: %tw_partition_size%MB</text>
1453 </object>
1454
1455 <object type="text" color="%text_color%">
1456 <font resource="font" />
1457 <placement x="%col2_x%" y="%row4_text_y%" />
1458 <text>Used: %tw_partition_used%MB</text>
1459 </object>
1460
1461 <object type="text" color="%text_color%">
1462 <font resource="font" />
1463 <placement x="%col1_x%" y="%row5_text_y%" />
1464 <text>Free: %tw_partition_free%MB</text>
1465 </object>
1466
1467 <object type="text" color="%text_color%">
1468 <font resource="font" />
1469 <placement x="%col2_x%" y="%row5_text_y%" />
1470 <text>Backup Size: %tw_partition_backup_size%MB</text>
1471 </object>
1472
1473 <object type="button">
1474 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1475 <highlight color="%highlight_color%" />
1476 <placement x="%col1_x%" y="%row4_y%" />
1477 <font resource="font" color="%button_text_color%" />
1478 <text>Repair</text>
1479 <image resource="main_button" />
1480 <actions>
1481 <action function="set">tw_back=partitionoptions</action>
1482 <action function="set">tw_action=repair</action>
1483 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1484 <action function="set">tw_has_action2=0</action>
1485 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1486 <action function="set">tw_text2=</action>
1487 <action function="set">tw_action_text1=Repairing...</action>
1488 <action function="set">tw_complete_text1=Repair Complete</action>
1489 <action function="set">tw_slider_text=Swipe to Repair</action>
1490 <action function="page">confirm_action</action>
1491 </actions>
1492 </object>
1493
1494 <object type="button">
1495 <highlight color="%highlight_color%" />
1496 <placement x="%col2_x%" y="%row4_y%" />
1497 <font resource="font" color="%button_text_color%" />
1498 <text>Change File System</text>
1499 <image resource="main_button" />
1500 <action function="page">selectfilesystem</action>
1501 </object>
1502
1503 <object type="action">
1504 <touch key="home" />
1505 <action function="page">main</action>
1506 </object>
1507
1508 <object type="action">
1509 <touch key="back" />
1510 <action function="page">advancedwipe</action>
1511 </object>
1512
1513 <object type="template" name="footer" />
1514 </page>
1515
1516 <page name="selectfilesystem">
1517 <object type="template" name="header" />
1518
1519 <object type="text" color="%text_color%">
1520 <font resource="font" />
1521 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1522 <text>Change file system for: %tw_partition_name%</text>
1523 </object>
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1528 <text>Mount Point: %tw_partition_mount_point%</text>
1529 </object>
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1534 <text>Current file system: %tw_partition_file_system%</text>
1535 </object>
1536
1537 <object type="text" color="%text_color%">
1538 <font resource="font" />
1539 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1540 <text>Some ROMs or kernels may not support some</text>
1541 </object>
1542
1543 <object type="text" color="%text_color%">
1544 <font resource="font" />
1545 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1546 <text>file systems. Proceed with caution!</text>
1547 </object>
1548
1549 <object type="button">
1550 <condition var1="tw_partition_ext" op="=" var2="1" />
1551 <highlight color="%highlight_color%" />
1552 <placement x="%col1_x%" y="%row2_y%" />
1553 <font resource="font" color="%button_text_color%" />
1554 <text>EXT2</text>
1555 <image resource="main_button" />
1556 <actions>
1557 <action function="set">tw_back=selectfilesystem</action>
1558 <action function="set">tw_action=changefilesystem</action>
1559 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1560 <action function="set">tw_action_new_file_system=ext2</action>
1561 <action function="set">tw_has_action2=0</action>
1562 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1563 <action function="set">tw_text2=</action>
1564 <action function="set">tw_action_text1=Formatting...</action>
1565 <action function="set">tw_complete_text1=Format Complete</action>
1566 <action function="set">tw_slider_text=Swipe to Change</action>
1567 <action function="page">confirm_action</action>
1568 </actions>
1569 </object>
1570
1571 <object type="button">
1572 <condition var1="tw_partition_ext" op="=" var2="1" />
1573 <highlight color="%highlight_color%" />
1574 <placement x="%col2_x%" y="%row2_y%" />
1575 <font resource="font" color="%button_text_color%" />
1576 <text>EXT3</text>
1577 <image resource="main_button" />
1578 <actions>
1579 <action function="set">tw_back=selectfilesystem</action>
1580 <action function="set">tw_action=changefilesystem</action>
1581 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1582 <action function="set">tw_action_new_file_system=ext3</action>
1583 <action function="set">tw_has_action2=0</action>
1584 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1585 <action function="set">tw_text2=</action>
1586 <action function="set">tw_action_text1=Formatting...</action>
1587 <action function="set">tw_complete_text1=Format Complete</action>
1588 <action function="set">tw_slider_text=Swipe to Change</action>
1589 <action function="page">confirm_action</action>
1590 </actions>
1591 </object>
1592
1593 <object type="button">
1594 <condition var1="tw_partition_ext" op="=" var2="1" />
1595 <highlight color="%highlight_color%" />
1596 <placement x="%col1_x%" y="%row3_y%" />
1597 <font resource="font" color="%button_text_color%" />
1598 <text>EXT4</text>
1599 <image resource="main_button" />
1600 <actions>
1601 <action function="set">tw_back=selectfilesystem</action>
1602 <action function="set">tw_action=changefilesystem</action>
1603 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1604 <action function="set">tw_action_new_file_system=ext4</action>
1605 <action function="set">tw_has_action2=0</action>
1606 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1607 <action function="set">tw_text2=</action>
1608 <action function="set">tw_action_text1=Formatting...</action>
1609 <action function="set">tw_complete_text1=Format Complete</action>
1610 <action function="set">tw_slider_text=Swipe to Change</action>
1611 <action function="page">confirm_action</action>
1612 </actions>
1613 </object>
1614
1615 <object type="button">
1616 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1617 <highlight color="%highlight_color%" />
1618 <placement x="%col2_x%" y="%row3_y%" />
1619 <font resource="font" color="%button_text_color%" />
1620 <text>F2FS</text>
1621 <image resource="main_button" />
1622 <actions>
1623 <action function="set">tw_back=selectfilesystem</action>
1624 <action function="set">tw_action=changefilesystem</action>
1625 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1626 <action function="set">tw_action_new_file_system=f2fs</action>
1627 <action function="set">tw_has_action2=0</action>
1628 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1629 <action function="set">tw_text2=</action>
1630 <action function="set">tw_action_text1=Formatting...</action>
1631 <action function="set">tw_complete_text1=Format Complete</action>
1632 <action function="set">tw_slider_text=Swipe to Change</action>
1633 <action function="page">confirm_action</action>
1634 </actions>
1635 </object>
1636
1637 <object type="button">
1638 <condition var1="tw_partition_vfat" op="=" var2="1" />
1639 <highlight color="%highlight_color%" />
1640 <placement x="%col1_x%" y="%row4_y%" />
1641 <font resource="font" color="%button_text_color%" />
1642 <text>FAT</text>
1643 <image resource="main_button" />
1644 <actions>
1645 <action function="set">tw_back=selectfilesystem</action>
1646 <action function="set">tw_action=changefilesystem</action>
1647 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1648 <action function="set">tw_action_new_file_system=vfat</action>
1649 <action function="set">tw_has_action2=0</action>
1650 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1651 <action function="set">tw_text2=</action>
1652 <action function="set">tw_action_text1=Formatting...</action>
1653 <action function="set">tw_complete_text1=Format Complete</action>
1654 <action function="set">tw_slider_text=Swipe to Change</action>
1655 <action function="page">confirm_action</action>
1656 </actions>
1657 </object>
1658
1659 <object type="button">
1660 <condition var1="tw_partition_exfat" op="=" var2="1" />
1661 <highlight color="%highlight_color%" />
1662 <placement x="%col2_x%" y="%row4_y%" />
1663 <font resource="font" color="%button_text_color%" />
1664 <text>exFAT</text>
1665 <image resource="main_button" />
1666 <actions>
1667 <action function="set">tw_back=selectfilesystem</action>
1668 <action function="set">tw_action=changefilesystem</action>
1669 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1670 <action function="set">tw_action_new_file_system=exfat</action>
1671 <action function="set">tw_has_action2=0</action>
1672 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1673 <action function="set">tw_text2=</action>
1674 <action function="set">tw_action_text1=Formatting...</action>
1675 <action function="set">tw_complete_text1=Format Complete</action>
1676 <action function="set">tw_slider_text=Swipe to Change</action>
1677 <action function="page">confirm_action</action>
1678 </actions>
1679 </object>
1680
1681 <object type="action">
1682 <touch key="home" />
1683 <action function="page">main</action>
1684 </object>
1685
1686 <object type="action">
1687 <touch key="back" />
1688 <action function="page">partitionoptions</action>
1689 </object>
1690
1691 <object type="template" name="footer" />
1692 </page>
1693
Dees_Troya13d74f2013-03-24 08:54:55 -05001694 <page name="backup">
1695 <object type="template" name="header" />
1696
Dees_Troy83bd4832013-05-04 12:39:56 +00001697 <object type="button">
1698 <highlight color="%highlight_color%" />
1699 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001700 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001701 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001702 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001703 <actions>
1704 <action function="set">tw_fileexists=0</action>
1705 <action function="page">backupname1</action>
1706 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001707 </object>
1708
1709 <object type="partitionlist">
1710 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001711 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001712 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1713 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1714 <text>Select Partitions to Back Up:</text>
1715 <icon selected="checkbox_true" unselected="checkbox_false" />
1716 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1717 <background color="%listbox_background%" />
1718 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1719 <data name="tw_backup_list" />
1720 <listtype name="backup" />
1721 </object>
1722
1723 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001724 <conditions>
1725 <condition var1="tw_include_encrypted_backup" var2="1" />
1726 <condition var1="tw_encrypt_backup" var2="0" />
1727 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001728 <highlight color="%highlight_color%" />
1729 <fill color="%button_fill_color%" />
1730 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1731 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001732 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001733 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001734 <action function="page">backupencryption</action>
1735 </actions>
1736 </object>
1737
1738 <object type="button">
1739 <conditions>
1740 <condition var1="tw_include_encrypted_backup" var2="1" />
1741 <condition var1="tw_encrypt_backup" var2="1" />
1742 </conditions>
1743 <highlight color="%highlight_color%" />
1744 <fill color="%button_fill_color%" />
1745 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1746 <font resource="font" color="%button_text_color%" />
1747 <text>Using Encryption</text>
1748 <actions>
1749 <action function="set">tw_password_not_match=0</action>
1750 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001751 </actions>
1752 </object>
1753
1754 <object type="button">
1755 <highlight color="%highlight_color%" />
1756 <fill color="%button_fill_color%" />
1757 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1758 <font resource="font" color="%button_text_color%" />
1759 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001760 <actions>
1761 <action function="refreshsizes"></action>
1762 <action function="page">backup</action>
1763 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001764 </object>
1765
1766 <object type="button">
1767 <highlight color="%highlight_color%" />
1768 <fill color="%button_fill_color%" />
1769 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1770 <font resource="font" color="%button_text_color%" />
1771 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1772 <actions>
1773 <action function="set">tw_back=backup</action>
1774 <action function="page">selectstorage</action>
1775 </actions>
1776 </object>
1777
1778 <object type="checkbox">
1779 <placement x="%col1_x%" y="%row15_text_y%" />
1780 <font resource="font" color="%text_color%" />
1781 <text>Enable compression.</text>
1782 <data variable="tw_use_compression" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
1784 </object>
1785
1786 <object type="checkbox">
1787 <placement x="%col1_x%" y="%row16_text_y%" />
1788 <font resource="font" color="%text_color%" />
1789 <text>Skip MD5 generation during backup.</text>
1790 <data variable="tw_skip_md5_generate" />
1791 <image checked="checkbox_true" unchecked="checkbox_false" />
1792 </object>
1793
1794 <object type="slider">
1795 <placement x="%slider_x%" y="slider_y" />
1796 <resource base="slider" used="slider-used" touch="slider-touch" />
1797 <action function="page">backup_run</action>
1798 </object>
1799
1800 <object type="text" color="%text_color%">
1801 <font resource="font" />
1802 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1803 <text>Swipe to Back Up</text>
1804 </object>
1805
1806 <object type="action">
1807 <touch key="home" />
1808 <action function="page">main</action>
1809 </object>
1810
1811 <object type="action">
1812 <touch key="back" />
1813 <action function="page">main</action>
1814 </object>
1815
1816 <object type="template" name="footer" />
1817 </page>
1818
1819 <page name="backupname1">
1820 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001821 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1822 <action function="generatebackupname"></function>
Dees_Troya13d74f2013-03-24 08:54:55 -05001823 </object>
1824
1825 <object type="action">
1826 <action function="page">backupname2</function>
1827 </object>
1828 </page>
1829
1830 <page name="backupname2">
1831 <object type="template" name="header" />
1832
1833 <object type="text" color="%text_color%">
1834 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1835 <font resource="font" />
1836 <text>Please Enter a Backup Name</text>
1837 </object>
1838
1839 <object type="input">
1840 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1841 <background color="%input_background_color%" />
1842 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1843 <font resource="font" color="%text_color%" />
1844 <text>%tw_backup_name%</text>
1845 <data name="tw_backup_name" />
1846 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
1847 <actions>
1848 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1849 <action function="set">tw_existpage=backupname2</action>
1850 <action function="set">tw_notexistpage=backup</action>
1851 <action function="page">filecheck</action>
1852 </actions>
1853 </object>
1854
1855 <object type="text" color="%text_fail_color%">
1856 <condition var1="tw_fileexists" var2="1" />
1857 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1858 <font resource="font" />
1859 <text>A backup with that name already exists!</text>
1860 </object>
1861
1862 <object type="button">
1863 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001864 <placement x="%col1_x%" y="%row2_y%" />
1865 <font resource="font" color="%button_text_color%" />
1866 <text>Append Date</text>
1867 <image resource="main_button" />
1868 <action function="appenddatetobackupname"></action>
1869 </object>
1870
1871 <object type="button">
1872 <highlight color="%highlight_color%" />
1873 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001874 <font resource="font" color="%button_text_color%" />
1875 <text>Cancel</text>
1876 <image resource="main_button" />
1877 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001878 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001879 <action function="page">backup</action>
1880 </actions>
1881 </object>
1882
1883 <object type="template" name="keyboardtemplate" />
1884
1885 <object type="action">
1886 <touch key="home" />
1887 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001888 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001889 <action function="page">main</action>
1890 </actions>
1891 </object>
1892
1893 <object type="action">
1894 <touch key="back" />
1895 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001896 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001897 <action function="page">backup</action>
1898 </actions>
1899 </object>
1900
1901 <object type="template" name="footer" />
1902 </page>
1903
Dees_Troy83bd4832013-05-04 12:39:56 +00001904 <page name="backupencryption">
1905 <object type="template" name="header" />
1906
1907 <object type="text" color="%text_color%">
1908 <font resource="font" />
1909 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1910 <text>Encrypt your backup?</text>
1911 </object>
1912
1913 <object type="text" color="%text_color%">
1914 <font resource="font" />
1915 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1916 <text>Please Enter A Password:</text>
1917 </object>
1918
1919 <object type="input">
1920 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1921 <background color="%input_background_color%" />
1922 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1923 <font resource="font" color="%text_color%" />
1924 <text>%tw_backup_encrypt_display%</text>
1925 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1926 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1927 <action function="page">backupencryption2</action>
1928 </object>
1929
1930 <object type="text" color="%text_fail_color%">
1931 <condition var1="tw_password_not_match" var2="1" />
1932 <font resource="font" />
1933 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1934 <text>Passwords Do Not Match</text>
1935 </object>
1936
1937 <object type="button">
1938 <highlight color="%highlight_color%" />
1939 <placement x="%col_center_x%" y="%row2_y%" />
1940 <font resource="font" color="%button_text_color%" />
1941 <text>Cancel</text>
1942 <image resource="main_button" />
1943 <actions>
1944 <action function="set">tw_encrypt_backup=0</action>
1945 <action function="set">tw_backup_password=</action>
1946 <action function="set">tw_backup_password2=</action>
1947 <action function="set">tw_backup_encrypt_display=</action>
1948 <action function="set">tw_backup_encrypt_display2=</action>
1949 <action function="page">backup</action>
1950 </actions>
1951 </object>
1952
1953 <object type="template" name="keyboardtemplate" />
1954
1955 <object type="action">
1956 <touch key="home" />
1957 <action function="page">main</action>
1958 </object>
1959
1960 <object type="action">
1961 <touch key="back" />
1962 <action function="page">backup</action>
1963 </object>
1964
1965 <object type="template" name="footer" />
1966 </page>
1967
1968 <page name="backupencryption2">
1969 <object type="template" name="header" />
1970
1971 <object type="text" color="%text_color%">
1972 <font resource="font" />
1973 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1974 <text>Encrypt your backup?</text>
1975 </object>
1976
1977 <object type="text" color="%text_color%">
1978 <font resource="font" />
1979 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1980 <text>Please Enter Password Again:</text>
1981 </object>
1982
1983 <object type="input">
1984 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1985 <background color="%input_background_color%" />
1986 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1987 <font resource="font" color="%text_color%" />
1988 <text>%tw_backup_encrypt_display2%</text>
1989 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1990 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1991 <actions>
1992 <action function="page">checkbackuppassword</action>
1993 </actions>
1994 </object>
1995
1996 <object type="button">
1997 <highlight color="%highlight_color%" />
1998 <placement x="%col_center_x%" y="%row2_y%" />
1999 <font resource="font" color="%button_text_color%" />
2000 <text>Cancel</text>
2001 <image resource="main_button" />
2002 <actions>
2003 <action function="set">tw_encrypt_backup=0</action>
2004 <action function="set">tw_backup_password=</action>
2005 <action function="set">tw_backup_password2=</action>
2006 <action function="set">tw_backup_encrypt_display=</action>
2007 <action function="set">tw_backup_encrypt_display2=</action>
2008 <action function="page">backup</action>
2009 </actions>
2010 </object>
2011
2012 <object type="template" name="keyboardtemplate" />
2013
2014 <object type="action">
2015 <touch key="home" />
2016 <action function="page">main</action>
2017 </object>
2018
2019 <object type="action">
2020 <touch key="back" />
2021 <action function="page">backup</action>
2022 </object>
2023
2024 <object type="template" name="footer" />
2025 </page>
2026
2027 <page name="checkbackuppassword">
2028 <object type="action">
2029 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2030 <actions>
2031 <action function="set">tw_encrypt_backup=1</action>
2032 <action function="page">backup</action>
2033 </actions>
2034 </object>
2035
2036 <object type="action">
2037 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2038 <actions>
2039 <action function="set">tw_encrypt_backup=0</action>
2040 <action function="set">tw_password_not_match=1</action>
2041 <action function="set">tw_backup_password=</action>
2042 <action function="set">tw_backup_password2=</action>
2043 <action function="set">tw_backup_encrypt_display=</action>
2044 <action function="set">tw_backup_encrypt_display2=</action>
2045 <action function="page">backupencryption</action>
2046 </actions>
2047 </object>
2048 </page>
2049
Dees_Troya13d74f2013-03-24 08:54:55 -05002050 <page name="backup_run">
2051 <object type="template" name="header" />
2052
2053 <object type="text" color="%text_color%">
2054 <font resource="font" />
2055 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2056 <text>%tw_operation% %tw_partition%</text>
2057 </object>
2058
2059 <object type="template" name="action_page_console" />
2060
2061 <object type="template" name="progress_bar" />
2062
2063 <object type="action">
2064 <action function="nandroid">backup</action>
2065 </object>
2066
2067 <object type="action">
2068 <condition var1="tw_operation_state" var2="1" />
2069 <actions>
2070 <action function="set">tw_back=backup</action>
2071 <action function="set">tw_complete_text1=Backup Complete</action>
2072 <action function="set">tw_show_reboot=1</action>
2073 <action function="page">action_complete</action>
2074 </actions>
2075 </object>
2076 </page>
2077
2078 <page name="restore">
2079 <object type="template" name="header" />
2080
2081 <object type="button">
2082 <highlight color="%highlight_color%" />
2083 <fill color="%button_fill_color%" />
2084 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2085 <font resource="font" color="%button_text_color%" />
2086 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2087 <actions>
2088 <action function="set">tw_back=restore</action>
2089 <action function="page">selectstorage</action>
2090 </actions>
2091 </object>
2092
2093 <object type="fileselector">
2094 <highlight color="%fileselector_highlight_color%" />
2095 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
2096 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2097 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2098 <text>Select Package to Restore:</text>
2099 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2100 <sort name="tw_gui_sort_order" />
2101 <icon folder="folder_icon" file="file_icon" />
2102 <background color="%fileselector_background%" />
2103 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2104 <filter folders="1" files="0" nav="0" />
2105 <path name="tw_backups_folder" />
2106 <data name="tw_restore" default="" />
2107 <selection name="tw_restore_name" />
2108 </object>
2109
2110 <object type="template" name="sort_options" />
2111
2112 <object type="action">
2113 <condition var1="tw_restore" op="modified" />
2114 <actions>
2115 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002116 <action function="page">restore_read</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002117 </actions>
2118 </object>
2119
2120 <object type="action">
2121 <touch key="home" />
2122 <action function="page">main</action>
2123 </object>
2124
2125 <object type="action">
2126 <touch key="back" />
2127 <action function="page">main</action>
2128 </object>
2129
2130 <object type="template" name="footer" />
2131 </page>
2132
Dees_Troy83bd4832013-05-04 12:39:56 +00002133 <page name="restore_read">
2134 <object type="action">
2135 <condition var1="tw_restore_encrypted" var2="1" />
2136 <actions>
2137 <action function="set">tw_password_fail=0</action>
2138 <action function="page">restore_decrypt</action>
2139 </actions>
2140 </object>
2141
2142 <object type="action">
2143 <condition var1="tw_restore_encrypted" var2="0" />
2144 <actions>
2145 <action function="page">restore_select</action>
2146 </actions>
2147 </object>
2148 </page>
2149
2150 <page name="restore_decrypt">
2151 <object type="template" name="header" />
2152
2153 <object type="text" color="%text_color%">
2154 <font resource="font" />
2155 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2156 <text>Backup Encrypted</text>
2157 </object>
2158
2159 <object type="text" color="%text_color%">
2160 <font resource="font" />
2161 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2162 <text>Please Enter Your Password:</text>
2163 </object>
2164
2165 <object type="input">
2166 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2167 <background color="%input_background_color%" />
2168 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2169 <font resource="font" color="%text_color%" />
2170 <text>%tw_restore_display%</text>
2171 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2172 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2173 <actions>
2174 <action function="page">try_restore_decrypt</action>
2175 </actions>
2176 </object>
2177
2178 <object type="text" color="%text_fail_color%">
2179 <condition var1="tw_password_fail" var2="1" />
2180 <font resource="font" />
2181 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2182 <text>Password Failed, Please Try Again</text>
2183 </object>
2184
2185 <object type="button">
2186 <highlight color="%highlight_color%" />
2187 <placement x="%col1_x%" y="%row2_y%" />
2188 <font resource="font" color="%button_text_color%" />
2189 <text>Cancel</text>
2190 <image resource="main_button" />
2191 <actions>
2192 <action function="set">tw_page_done=1</action>
2193 <action function="page">restore</action>
2194 </actions>
2195 </object>
2196
2197 <object type="button">
2198 <highlight color="%highlight_color%" />
2199 <placement x="%col2_x%" y="%row2_y%" />
2200 <font resource="font" color="%button_text_color%" />
2201 <text>Delete</text>
2202 <image resource="main_button" />
2203 <actions>
2204 <action function="set">tw_back=restore</action>
2205 <action function="set">tw_action=cmd</action>
2206 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2207 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2208 <action function="set">tw_text2=This cannot be undone!</action>
2209 <action function="set">tw_action_text1=Deleting Backup...</action>
2210 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2211 <action function="set">tw_slider_text=Swipe to Delete</action>
2212 <action function="page">confirm_action</action>
2213 </actions>
2214 </object>
2215
2216 <object type="template" name="keyboardtemplate" />
2217
2218 <object type="action">
2219 <touch key="home" />
2220 <action function="page">main</action>
2221 </object>
2222
2223 <object type="action">
2224 <touch key="back" />
2225 <action function="page">restore</action>
2226 </object>
2227
2228 <object type="template" name="footer" />
2229 </page>
2230
2231 <page name="try_restore_decrypt">
2232 <object type="template" name="header" />
2233
2234 <object type="text" color="%text_color%">
2235 <font resource="font" />
2236 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2237 <text>Trying Decryption with Your Password</text>
2238 </object>
2239
2240 <object type="template" name="action_page_console" />
2241
2242 <object type="template" name="progress_bar" />
2243
2244 <object type="action">
2245 <action function="decrypt_backup"></action>
2246 </object>
2247
2248 <object type="action">
2249 <conditions>
2250 <condition var1="tw_operation_state" var2="1" />
2251 <condition var1="tw_operation_status" op="!=" var2="0" />
2252 </conditions>
2253 <actions>
2254 <action function="set">tw_password_fail=1</action>
2255 <action function="page">restore_decrypt</action>
2256 </actions>
2257 </object>
2258
2259 <object type="action">
2260 <conditions>
2261 <condition var1="tw_operation_state" var2="1" />
2262 <condition var1="tw_operation_status" op="=" var2="0" />
2263 </conditions>
2264 <actions>
2265 <action function="set">tw_page_done=1</action>
2266 <action function="page">restore_select</action>
2267 </actions>
2268 </object>
2269 </page>
2270
Dees_Troya13d74f2013-03-24 08:54:55 -05002271 <page name="restore_select">
2272 <object type="template" name="header" />
2273
2274 <object type="partitionlist">
2275 <highlight color="%fileselector_highlight_color%" />
2276 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2277 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2278 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2279 <text>Restoring: %tw_restore_name%</text>
2280 <icon selected="checkbox_true" unselected="checkbox_false" />
2281 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2282 <background color="%listbox_background%" />
2283 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2284 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2285 <listtype name="restore" />
2286 </object>
2287
2288 <object type="button">
2289 <highlight color="%highlight_color%" />
2290 <fill color="%button_fill_color%" />
2291 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
2292 <font resource="font" color="%button_text_color%" />
2293 <text>Rename Backup</text>
2294 <actions>
2295 <action function="set">tw_backup_rename=</action>
2296 <action function="set">tw_fileexists=0</action>
2297 <action function="page">renamebackup</action>
2298 </actions>
2299 </object>
2300
2301 <object type="button">
2302 <highlight color="%highlight_color%" />
2303 <fill color="%button_fill_color%" />
2304 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
2305 <font resource="font" color="%button_text_color%" />
2306 <text>Delete Backup</text>
2307 <actions>
2308 <action function="set">tw_back=restore</action>
2309 <action function="set">tw_action=cmd</action>
2310 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2311 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2312 <action function="set">tw_text2=This cannot be undone!</action>
2313 <action function="set">tw_action_text1=Deleting Backup...</action>
2314 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2315 <action function="set">tw_slider_text=Swipe to Delete</action>
2316 <action function="page">confirm_action</action>
2317 </actions>
2318 </object>
2319
2320 <object type="checkbox">
2321 <placement x="%col1_x%" y="%row15_text_y%" />
2322 <font resource="font" color="%text_color%" />
2323 <text>Enable MD5 verification of backup files.</text>
2324 <data variable="tw_skip_md5_check" />
2325 <image checked="checkbox_true" unchecked="checkbox_false" />
2326 </object>
2327
2328 <object type="text" color="%text_color%">
2329 <font resource="font" />
2330 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2331 <text>Package Date: %tw_restore_file_date%</text>
2332 </object>
2333
2334 <object type="slider">
2335 <placement x="%slider_x%" y="%slider_y%" />
2336 <resource base="slider" used="slider-used" touch="slider-touch" />
2337 <action function="page">restore_run</action>
2338 </object>
2339
2340 <object type="text" color="%text_color%">
2341 <font resource="font" />
2342 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2343 <text>Swipe to Restore</text>
2344 </object>
2345
2346 <object type="action">
2347 <touch key="home" />
2348 <action function="page">main</action>
2349 </object>
2350
2351 <object type="action">
2352 <touch key="back" />
2353 <action function="page">restore</action>
2354 </object>
2355
2356 <object type="template" name="footer" />
2357 </page>
2358
2359 <page name="renamebackup">
2360 <object type="template" name="header" />
2361
2362 <object type="text" color="%text_color%">
2363 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2364 <font resource="font" />
2365 <text>Please Enter a New Backup Name</text>
2366 </object>
2367
2368 <object type="input">
2369 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2370 <background color="%input_background_color%" />
2371 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2372 <font resource="font" color="%text_color%" />
2373 <text>%tw_backup_rename%</text>
2374 <data name="tw_backup_rename" />
2375 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
2376 <actions>
2377 <action function="set">tw_back=restore</action>
2378 <action function="set">tw_action=cmd</action>
2379 <action function="set">tw_action_param=cd %tw_backups_folder% && mv &quot;%tw_restore_name%&quot; &quot;%tw_backup_rename%&quot;</action>
2380 <action function="set">tw_text1=Rename Backup?</action>
2381 <action function="set">tw_text2=This cannot be undone!</action>
2382 <action function="set">tw_action_text1=Renaming Backup...</action>
2383 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2384 <action function="set">tw_slider_text=Swipe to Rename</action>
2385 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2386 <action function="set">tw_existpage=renamebackup</action>
2387 <action function="set">tw_notexistpage=confirm_action</action>
2388 <action function="page">filecheck</action>
2389 </actions>
2390 </object>
2391
2392 <object type="text" color="%text_fail_color%">
2393 <condition var1="tw_fileexists" var2="1" />
2394 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2395 <font resource="font" />
2396 <text>A backup with that name already exists!</text>
2397 </object>
2398
2399 <object type="button">
2400 <highlight color="%highlight_color%" />
2401 <placement x="%col_center_x%" y="%row2_y%" />
2402 <font resource="font" color="%button_text_color%" />
2403 <text>Cancel</text>
2404 <image resource="main_button" />
2405 <action function="page">restore_select</action>
2406 </object>
2407
2408 <object type="template" name="keyboardtemplate" />
2409
2410 <object type="action">
2411 <touch key="home" />
2412 <action function="page">main</action>
2413 </object>
2414
2415 <object type="action">
2416 <touch key="back" />
2417 <action function="page">restore_select</action>
2418 </object>
2419
2420 <object type="template" name="footer" />
2421 </page>
2422
2423 <page name="restore_run">
2424 <object type="template" name="header" />
2425
2426 <object type="text" color="%text_color%">
2427 <font resource="font" />
2428 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2429 <text>%tw_operation% %tw_partition%</text>
2430 </object>
2431
2432 <object type="template" name="action_page_console" />
2433
2434 <object type="template" name="progress_bar" />
2435
2436 <object type="action">
2437 <condition var1="tw_operation_state" var2="1" />
2438 <actions>
2439 <action function="set">tw_back=restore_select</action>
2440 <action function="set">tw_complete_text1=Restore Complete</action>
2441 <action function="set">tw_show_reboot=1</action>
2442 <action function="page">action_complete</action>
2443 </actions>
2444 </object>
2445
2446 <object type="action">
2447 <action function="nandroid">restore</action>
2448 </object>
2449 </page>
2450
2451 <page name="selectstorage">
2452 <object type="template" name="header" />
2453
2454 <object type="partitionlist">
2455 <highlight color="%fileselector_highlight_color%" />
2456 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2457 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2458 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2459 <text>Select Storage:</text>
2460 <icon selected="radio_true" unselected="radio_false" />
2461 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2462 <background color="%listbox_background%" />
2463 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2464 <data name="tw_storage_path" />
2465 <listtype name="storage" />
2466 </object>
2467
Dees_Troye7e0ae82013-07-05 14:46:07 +00002468 <object type="button">
2469 <highlight color="%highlight_color%" />
2470 <placement x="%col_center_x%" y="%row4_y%" />
2471 <font resource="font" color="%button_text_color%" />
2472 <text>OK</text>
2473 <image resource="main_button" />
2474 <actions>
2475 <action function="set">tw_clear_destination=%tw_back%</action>
2476 <action function="page">clear_vars</action>
2477 </actions>
2478 </object>
2479
Dees_Troya13d74f2013-03-24 08:54:55 -05002480 <object type="action">
2481 <touch key="home" />
2482 <action function="page">main</action>
2483 </object>
2484
2485 <object type="action">
2486 <touch key="back" />
2487 <actions>
2488 <action function="page">%tw_back%</action>
2489 </actions>
2490 </object>
2491
2492 <object type="template" name="footer" />
2493 </page>
2494
2495 <page name="mount">
2496 <object type="template" name="header" />
2497
2498 <object type="partitionlist">
2499 <highlight color="%fileselector_highlight_color%" />
2500 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2501 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2502 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2503 <text>Select Partitions to Mount:</text>
2504 <icon selected="checkbox_true" unselected="checkbox_false" />
2505 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2506 <background color="%listbox_background%" />
2507 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2508 <listtype name="mount" />
2509 </object>
2510
2511 <object type="button">
2512 <highlight color="%highlight_color%" />
2513 <fill color="%button_fill_color%" />
2514 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2515 <font resource="font" color="%button_text_color%" />
2516 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2517 <actions>
2518 <action function="set">tw_back=mount</action>
2519 <action function="page">selectstorage</action>
2520 </actions>
2521 </object>
2522
2523 <object type="button">
2524 <highlight color="%highlight_color%" />
2525 <condition var1="tw_has_usb_storage" var2="1" />
2526 <placement x="%col1_x%" y="row4_y" />
2527 <font resource="font" color="%button_text_color%" />
2528 <text>Mount USB Storage</text>
2529 <image resource="main_button" />
2530 <action function="page">usb_mount</action>
2531 </object>
2532
2533 <object type="button">
2534 <highlight color="%highlight_color%" />
2535 <conditions>
2536 <condition var1="tw_is_encrypted" var2="1" />
2537 <condition var1="tw_is_decrypted" var2="0" />
2538 </conditions>
2539 <placement x="%col2_x%" y="row4_y" />
2540 <font resource="font" color="%button_text_color%" />
2541 <text>Decrypt Data</text>
2542 <image resource="main_button" />
2543 <action function="page">decrypt</action>
2544 </object>
2545
2546 <object type="action">
2547 <touch key="home" />
2548 <action function="page">main</action>
2549 </object>
2550
2551 <object type="action">
2552 <touch key="back" />
2553 <action function="page">main</action>
2554 </object>
2555
2556 <object type="template" name="footer" />
2557 </page>
2558
2559 <page name="usb_mount">
2560 <object type="template" name="header" />
2561
2562 <object type="text" color="%text_color%">
2563 <font resource="font" />
2564 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2565 <text>USB Storage Mounted</text>
2566 </object>
2567
2568 <object type="text" color="%text_color%">
2569 <placement x="%col1_x%" y="%row1_text_y%" />
2570 <font resource="font" />
2571 <text>Be sure to safely remove your device</text>
2572 </object>
2573
2574 <object type="text" color="%text_color%">
2575 <placement x="%col1_x%" y="%row2_text_y%" />
2576 <font resource="font" />
2577 <text>from your computer before unmounting!</text>
2578 </object>
2579
2580 <object type="button">
2581 <highlight color="%highlight_color%" />
2582 <placement x="%col1_x%" y="%row3_y%" />
2583 <font resource="font" color="%button_text_color%" />
2584 <text>Unmount</text>
2585 <image resource="main_button" />
2586 <action function="page">usb_umount</action>
2587 </object>
2588
2589 <object type="action">
2590 <action function="mount">usb</action>
2591 </object>
2592
2593 <object type="template" name="footer" />
2594 </page>
2595
2596 <page name="usb_umount">
2597 <object type="action">
2598 <action function="unmount">usb</action>
2599 </object>
2600
2601 <object type="action">
2602 <action function="page">mount</action>
2603 </object>
2604 </page>
2605
2606 <page name="reboot">
2607 <object type="template" name="header" />
2608
2609 <object type="text" color="%text_color%">
2610 <font resource="font" />
2611 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2612 <text>Reboot Menu</text>
2613 </object>
2614
2615 <object type="button">
2616 <highlight color="%highlight_color%" />
2617 <condition var1="tw_reboot_system" var2="1" />
2618 <placement x="%col1_x%" y="%row1_y%" />
2619 <font resource="font" color="%button_text_color%" />
2620 <text>System</text>
2621 <image resource="main_button" />
2622 <actions>
2623 <action function="set">tw_back=reboot</action>
2624 <action function="set">tw_action=reboot</action>
2625 <action function="set">tw_action_param=system</action>
2626 <action function="set">tw_has_action2=0</action>
2627 <action function="set">tw_text1=No OS Installed! Are you</action>
2628 <action function="set">tw_text2=sure you wish to reboot?</action>
2629 <action function="set">tw_action_text1=Rebooting...</action>
2630 <action function="set">tw_complete_text1=Rebooting...</action>
2631 <action function="set">tw_slider_text=Swipe to Reboot</action>
2632 <action function="page">rebootcheck</action>
2633 </actions>
2634 </object>
2635
2636 <object type="button">
2637 <highlight color="%highlight_color%" />
2638 <condition var1="tw_reboot_poweroff" var2="1" />
2639 <placement x="%col2_x%" y="%row1_y%" />
2640 <font resource="font" color="%button_text_color%" />
2641 <text>Power Off</text>
2642 <image resource="main_button" />
2643 <actions>
2644 <action function="set">tw_back=reboot</action>
2645 <action function="set">tw_action=reboot</action>
2646 <action function="set">tw_action_param=poweroff</action>
2647 <action function="set">tw_has_action2=0</action>
2648 <action function="set">tw_text1=No OS Installed! Are you</action>
2649 <action function="set">tw_text2=sure you wish to power off?</action>
2650 <action function="set">tw_action_text1=Turning Off...</action>
2651 <action function="set">tw_complete_text1=Turning Off...</action>
2652 <action function="set">tw_slider_text=Swipe to Power Off</action>
2653 <action function="page">rebootcheck</action>
2654 </actions>
2655 </object>
2656
2657 <object type="button">
2658 <highlight color="%highlight_color%" />
2659 <condition var1="tw_reboot_recovery" var2="1" />
2660 <placement x="%col1_x%" y="%row2_y%" />
2661 <font resource="font" color="%button_text_color%" />
2662 <text>Recovery</text>
2663 <image resource="main_button" />
2664 <actions>
2665 <action function="set">tw_back=reboot</action>
2666 <action function="set">tw_action=reboot</action>
2667 <action function="set">tw_action_param=recovery</action>
2668 <action function="set">tw_has_action2=0</action>
2669 <action function="set">tw_text1=No OS Installed! Are you</action>
2670 <action function="set">tw_text2=sure you wish to reboot?</action>
2671 <action function="set">tw_action_text1=Rebooting...</action>
2672 <action function="set">tw_complete_text1=Rebooting...</action>
2673 <action function="set">tw_slider_text=Swipe to Reboot</action>
2674 <action function="page">rebootcheck</action>
2675 </actions>
2676 </object>
2677
2678 <object type="button">
2679 <highlight color="%highlight_color%" />
2680 <condition var1="tw_reboot_bootloader" var2="1" />
2681 <placement x="%col2_x%" y="%row2_y%" />
2682 <font resource="font" color="%button_text_color%" />
2683 <text>Bootloader</text>
2684 <image resource="main_button" />
2685 <actions>
2686 <action function="set">tw_back=reboot</action>
2687 <action function="set">tw_action=reboot</action>
2688 <action function="set">tw_action_param=bootloader</action>
2689 <action function="set">tw_has_action2=0</action>
2690 <action function="set">tw_text1=No OS Installed! Are you</action>
2691 <action function="set">tw_text2=sure you wish to reboot?</action>
2692 <action function="set">tw_action_text1=Rebooting...</action>
2693 <action function="set">tw_complete_text1=Rebooting...</action>
2694 <action function="set">tw_slider_text=Swipe to Reboot</action>
2695 <action function="page">rebootcheck</action>
2696 </actions>
2697 </object>
2698
2699 <object type="button">
2700 <highlight color="%highlight_color%" />
2701 <condition var1="tw_download_mode" var2="1" />
2702 <placement x="%col1_x%" y="%row3_y%" />
2703 <font resource="font" color="%button_text_color%" />
2704 <text>Download</text>
2705 <image resource="main_button" />
2706 <actions>
2707 <action function="set">tw_back=reboot</action>
2708 <action function="set">tw_action=reboot</action>
2709 <action function="set">tw_action_param=download</action>
2710 <action function="set">tw_has_action2=0</action>
2711 <action function="set">tw_text1=No OS Installed! Are you</action>
2712 <action function="set">tw_text2=sure you wish to reboot?</action>
2713 <action function="set">tw_action_text1=Rebooting...</action>
2714 <action function="set">tw_complete_text1=Rebooting...</action>
2715 <action function="set">tw_slider_text=Swipe to Reboot</action>
2716 <action function="page">rebootcheck</action>
2717 </actions>
2718 </object>
2719
2720 <object type="action">
2721 <touch key="home" />
2722 <action function="page">main</action>
2723 </object>
2724
2725 <object type="action">
2726 <touch key="back" />
2727 <action function="page">main</action>
2728 </object>
2729
2730 <object type="template" name="footer" />
2731 </page>
2732
2733 <page name="settings">
2734 <object type="template" name="header" />
2735
2736 <object type="text" color="%text_color%">
2737 <font resource="font" />
2738 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2739 <text>Settings</text>
2740 </object>
2741
2742 <object type="checkbox">
2743 <placement x="%col1_x%" y="%row1_text_y%" />
2744 <font resource="font" color="%text_color%" />
2745 <text>Zip file signature verification.</text>
2746 <data variable="tw_signed_zip_verify" />
2747 <image checked="checkbox_true" unchecked="checkbox_false" />
2748 </object>
2749
2750 <object type="checkbox">
2751 <placement x="%col1_x%" y="%row2_text_y%" />
2752 <font resource="font" color="%text_color%" />
2753 <text>Use rm -rf instead of formatting.</text>
2754 <data variable="tw_rm_rf" />
2755 <image checked="checkbox_true" unchecked="checkbox_false" />
2756 </object>
2757
2758 <object type="checkbox">
2759 <placement x="%col1_x%" y="%row3_text_y%" />
2760 <font resource="font" color="%text_color%" />
2761 <text>Skip MD5 generation during backup.</text>
2762 <data variable="tw_skip_md5_generate" />
2763 <image checked="checkbox_true" unchecked="checkbox_false" />
2764 </object>
2765
2766 <object type="checkbox">
2767 <placement x="%col1_x%" y="%row4_text_y%" />
2768 <font resource="font" color="%text_color%" />
2769 <text>Enable MD5 verification of backup files.</text>
2770 <data variable="tw_skip_md5_check" />
2771 <image checked="checkbox_true" unchecked="checkbox_false" />
2772 </object>
2773
2774 <object type="checkbox">
2775 <placement x="%col1_x%" y="%row5_text_y%" />
2776 <font resource="font" color="%text_color%" />
2777 <text>Use Military Time.</text>
2778 <data variable="tw_military_time" />
2779 <image checked="checkbox_true" unchecked="checkbox_false" />
2780 </object>
2781
2782 <object type="checkbox">
2783 <placement x="%col1_x%" y="%row6_text_y%" />
2784 <font resource="font" color="%text_color%" />
2785 <text>Simulate actions for theme testing.</text>
2786 <data variable="tw_simulate_actions" />
2787 <image checked="checkbox_true" unchecked="checkbox_false" />
2788 </object>
2789
2790 <object type="checkbox">
2791 <condition var1="tw_simulate_actions" var2="1" />
2792 <placement x="%col1_x%" y="%row7_text_y%" />
2793 <font resource="font" color="%text_color%" />
2794 <text>Simulate failure for actions.</text>
2795 <data variable="tw_simulate_fail" />
2796 <image checked="checkbox_true" unchecked="checkbox_false" />
2797 </object>
2798
2799 <object type="button">
2800 <highlight color="%highlight_color%" />
2801 <placement x="%col1_x%" y="%row3_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>Time Zone</text>
2804 <image resource="main_button" />
2805 <action function="page">timezone</action>
2806 </object>
2807
2808 <object type="button">
2809 <highlight color="%highlight_color%" />
2810 <placement x="%col2_x%" y="%row3_y%" />
2811 <font resource="font" color="%button_text_color%" />
2812 <text>Screen</text>
2813 <image resource="main_button" />
2814 <action function="page">screen</action>
2815 </object>
2816
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002817 <object type="button">
2818 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002819 <placement x="%col1_x%" y="%row4_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text>Restore Defaults</text>
2822 <image resource="main_button" />
2823 <action function="restoredefaultsettings"></action>
2824 </object>
2825
Dees_Troya13d74f2013-03-24 08:54:55 -05002826 <object type="button">
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00002827 <highlight color="%highlight_color%" />
2828 <placement x="%col2_x%" y="%row4_y%" />
2829 <font resource="font" color="%button_text_color%" />
2830 <text>Vibration Duration</text>
2831 <image resource="main_button" />
2832 <action function="page">Vibrate</action>
2833 </object>
2834
Dees_Troya13d74f2013-03-24 08:54:55 -05002835 <object type="action">
2836 <touch key="home" />
2837 <action function="page">main</action>
2838 </object>
2839
2840 <object type="action">
2841 <touch key="back" />
2842 <action function="page">main</action>
2843 </object>
2844
2845 <object type="template" name="footer" />
2846 </page>
2847
2848 <page name="timezone">
2849 <object type="template" name="header" />
2850
2851 <object type="listbox">
2852 <highlight color="%fileselector_highlight_color%" />
2853 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2854 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2855 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2856 <text>Select Time Zone:</text>
2857 <icon selected="radio_true" unselected="radio_false" />
2858 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2859 <background color="%listbox_background%" />
2860 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2861 <data name="tw_time_zone_guisel" />
2862 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2863 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2864 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2865 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2866 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2867 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2868 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2869 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2870 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2871 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2872 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2873 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2874 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2875 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2876 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2877 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2878 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2879 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2880 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2881 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2882 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2883 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2884 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2885 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2886 </object>
2887
2888 <object type="checkbox">
2889 <placement x="%col1_x%" y="%row_dst_text_y%" />
2890 <font resource="font" color="%text_color%" />
2891 <text>Do you use daylight savings time (DST)?</text>
2892 <data variable="tw_time_zone_guidst" />
2893 <image checked="checkbox_true" unchecked="checkbox_false" />
2894 </object>
2895
2896 <object type="text" color="%text_color%">
2897 <font resource="font" />
2898 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
2899 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2900 </object>
2901
2902 <object type="button">
2903 <highlight color="%highlight_color%" />
2904 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text>None</text>
2907 <image resource="medium_button" />
2908 <action function="set">tw_time_zone_guioffset=0</action>
2909 </object>
2910
2911 <object type="button">
2912 <highlight color="%highlight_color%" />
2913 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>15</text>
2916 <image resource="medium_button" />
2917 <action function="set">tw_time_zone_guioffset=15</action>
2918 </object>
2919
2920 <object type="button">
2921 <highlight color="%highlight_color%" />
2922 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
2923 <font resource="font" color="%button_text_color%" />
2924 <text>30</text>
2925 <image resource="medium_button" />
2926 <action function="set">tw_time_zone_guioffset=30</action>
2927 </object>
2928
2929 <object type="button">
2930 <highlight color="%highlight_color%" />
2931 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
2932 <font resource="font" color="%button_text_color%" />
2933 <text>45</text>
2934 <image resource="medium_button" />
2935 <action function="set">tw_time_zone_guioffset=45</action>
2936 </object>
2937
2938 <object type="button">
2939 <highlight color="%highlight_color%" />
2940 <placement x="%col_center_x%" y="%tz_set_y%" />
2941 <font resource="font" color="%button_text_color%" />
2942 <text>Set Time Zone</text>
2943 <image resource="main_button" />
2944 <action function="setguitimezone"></action>
2945 </object>
2946
2947 <object type="text" color="%text_color%">
2948 <font resource="font" />
2949 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2950 <text>Current Time Zone: %tw_time_zone%</text>
2951 </object>
2952
2953 <object type="action">
2954 <touch key="home" />
2955 <action function="page">main</action>
2956 </object>
2957
2958 <object type="action">
2959 <touch key="back" />
2960 <action function="page">settings</action>
2961 </object>
2962
2963 <object type="template" name="footer" />
2964 </page>
2965
2966 <page name="screen">
2967 <object type="template" name="header" />
2968
2969 <object type="text" color="%text_color%">
2970 <font resource="font" />
2971 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2972 <text>Screen Settings</text>
2973 </object>
2974
Dees_Troya13d74f2013-03-24 08:54:55 -05002975 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002976 <placement x="%col1_x%" y="%row2_text_y%" />
2977 <font resource="font" color="%text_color%" />
2978 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002979 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002980 <text>Enable screen timeout.</text>
2981 <image resource="checkbox_false" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002982 <action function="set">tw_screen_timeout_secs=60</action>
2983 </object>
2984
2985 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002986 <placement x="%col1_x%" y="%row2_text_y%" />
2987 <font resource="font" color="%text_color%" />
2988 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002989 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002990 <text>Enable screen timeout.</text>
2991 <image resource="checkbox_true" />
2992 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05002993 </object>
2994
Vojtech Bocek85932342013-04-01 22:11:33 +02002995 <object type="slidervalue">
2996 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002997 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002998 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2999 <font resource="font" color="%text_color%" />
3000 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3001 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3002 <text>Screen timeout in seconds:</text>
3003 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -05003004 </object>
3005
Vojtech Bocek85932342013-04-01 22:11:33 +02003006 <object type="slidervalue">
Dees_Troya13d74f2013-03-24 08:54:55 -05003007 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003008 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3009 <font resource="font" color="%text_color%" />
3010 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3011 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3012 <text>Brightness: %tw_brightness_pct%%</text>
3013 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troya13d74f2013-03-24 08:54:55 -05003014 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003015 <action function="set">tw_brightness=%tw_brightness_max%</action>
3016 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3017 <action function="compute">tw_brightness/100</action>
3018 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05003019 </actions>
3020 </object>
3021
3022 <object type="action">
3023 <touch key="home" />
3024 <action function="page">main</action>
3025 </object>
3026
3027 <object type="action">
3028 <touch key="back" />
3029 <action function="page">settings</action>
3030 </object>
3031
3032 <object type="template" name="footer" />
3033 </page>
3034
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00003035 <page name="Vibrate">
3036 <object type="template" name="header" />
3037
3038 <object type="text" color="%text_color%">
3039 <font resource="font" />
3040 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3041 <text>Vibration Settings :</text>
3042 </object>
3043
3044 <object type="slidervalue">
3045 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3046 <font resource="font" color="%text_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06003047 <text>Button Vibration:</text>
3048 <data variable="tw_button_vibrate" min="0" max="300" />
3049 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3050 </object>
3051
3052 <object type="slidervalue">
3053 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3054 <font resource="font" color="%text_color%" />
3055 <text>Keyboard Vibration:</text>
3056 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3057 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3058 </object>
3059
3060 <object type="slidervalue">
3061 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3062 <font resource="font" color="%text_color%" />
3063 <text>Action Vibration:</text>
3064 <data variable="tw_action_vibrate" min="0" max="500" />
Samer Diab (S.a.M.e.R_d)71e9b042014-01-07 20:18:47 +00003065 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3066 </object>
3067
3068 <object type="action">
3069 <touch key="home" />
3070 <action function="page">main</action>
3071 </object>
3072
3073 <object type="action">
3074 <touch key="back" />
3075 <action function="page">settings</action>
3076 </object>
3077
3078 <object type="template" name="footer" />
3079 </page>
3080
Dees_Troya13d74f2013-03-24 08:54:55 -05003081 <page name="advanced">
3082 <object type="template" name="header" />
3083
3084 <object type="text" color="%text_color%">
3085 <font resource="font" />
3086 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3087 <text>Advanced</text>
3088 </object>
3089
3090 <object type="button">
3091 <highlight color="%highlight_color%" />
3092 <placement x="%col1_x%" y="%row1_y%" />
3093 <font resource="font" color="%button_text_color%" />
3094 <text>Copy Log to SD</text>
3095 <image resource="main_button" />
3096 <actions>
3097 <action function="set">tw_back=advanced</action>
3098 <action function="set">tw_action=copylog</action>
3099 <action function="set">tw_text1=Copy Log to SD Card?</action>
3100 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3101 <action function="set">tw_complete_text1=Log Copy Complete</action>
3102 <action function="set">tw_slider_text=Swipe to Confirm</action>
3103 <action function="page">confirm_action</action>
3104 </actions>
3105 </object>
3106
3107 <object type="button">
3108 <highlight color="%highlight_color%" />
3109 <placement x="%col2_x%" y="%row1_y%" />
3110 <font resource="font" color="%button_text_color%" />
3111 <text>Fix Permissions</text>
3112 <image resource="main_button" />
3113 <actions>
3114 <action function="set">tw_back=advanced</action>
3115 <action function="set">tw_action=fixpermissions</action>
3116 <action function="set">tw_text1=Fix Permissions?</action>
3117 <action function="set">tw_action_text1=Fixing Permissions...</action>
3118 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3119 <action function="set">tw_slider_text=Swipe to Confirm</action>
3120 <action function="set">tw_show_reboot=1</action>
3121 <action function="page">confirm_action</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
3126 <highlight color="%highlight_color%" />
3127 <condition var1="tw_allow_partition_sdcard" var2="1" />
3128 <placement x="%col1_x%" y="%row2_y%" />
3129 <font resource="font" color="%button_text_color%" />
3130 <text>Partition SD Card</text>
3131 <image resource="main_button" />
3132 <action function="page">partsdcard</action>
3133 </object>
3134
3135 <object type="button">
3136 <highlight color="%highlight_color%" />
3137 <placement x="%col2_x%" y="%row2_y%" />
3138 <font resource="font" color="%button_text_color%" />
3139 <text>File Manager</text>
3140 <image resource="main_button" />
3141 <action function="page">filemanagerlist</action>
3142 </object>
3143
3144 <object type="button">
3145 <highlight color="%highlight_color%" />
3146 <placement x="%col1_x%" y="%row3_y%" />
3147 <font resource="font" color="%button_text_color%" />
3148 <text>Terminal Command</text>
3149 <image resource="main_button" />
3150 <action function="page">terminalfolder</action>
3151 </object>
3152
3153 <object type="button">
3154 <highlight color="%highlight_color%" />
3155 <placement x="%col2_x%" y="%row3_y%" />
3156 <font resource="font" color="%button_text_color%" />
3157 <text>Reload Theme</text>
3158 <image resource="main_button" />
3159 <action function="reload"></action>
3160 </object>
3161
3162 <object type="button">
3163 <highlight color="%highlight_color%" />
3164 <placement x="%col1_x%" y="%row4_y%" />
3165 <font resource="font" color="%button_text_color%" />
3166 <text>ADB Sideload</text>
3167 <image resource="main_button" />
3168 <action function="page">sideload</action>
3169 </object>
3170
3171 <object type="button">
3172 <highlight color="%highlight_color%" />
3173 <condition var1="tw_show_dumlock" var2="1" />
3174 <placement x="%col2_x%" y="%row4_y%" />
3175 <font resource="font" color="%button_text_color%" />
3176 <text>HTC Dumlock</text>
3177 <image resource="main_button" />
3178 <action function="page">htcdumlock</action>
3179 </object>
3180
3181 <object type="button">
3182 <highlight color="%highlight_color%" />
3183 <condition var1="tw_has_injecttwrp" var2="1" />
3184 <placement x="%col2_x%" y="%row4_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>Re-Inject TWRP</text>
3187 <image resource="main_button" />
3188 <actions>
3189 <action function="set">tw_back=advanced</action>
3190 <action function="set">tw_action=reinjecttwrp</action>
3191 <action function="set">tw_text1=Re-Inject TWRP?</action>
3192 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3193 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3194 <action function="set">tw_slider_text=Swipe to Confirm</action>
3195 <action function="page">confirm_action</action>
3196 </actions>
3197 </object>
3198
3199 <object type="action">
3200 <touch key="home" />
3201 <action function="page">main</action>
3202 </object>
3203
3204 <object type="action">
3205 <touch key="back" />
3206 <action function="page">main</action>
3207 </object>
3208
3209 <object type="template" name="footer" />
3210 </page>
3211
3212 <page name="partsdcard">
3213 <object type="template" name="header" />
3214
3215 <object type="text" color="%text_color%">
3216 <font resource="font" />
3217 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3218 <text>Partition SD Card</text>
3219 </object>
3220
3221 <object type="button">
3222 <highlight color="%highlight_color%" />
3223 <placement x="%col1_x%" y="%row1_y%" />
3224 <font resource="font" color="%button_text_color%" />
3225 <text></text>
3226 <image resource="minus_button" />
3227 <action function="addsubtract">tw_sdext_size-128</action>
3228 </object>
3229
3230 <object type="button">
3231 <highlight color="%highlight_color%" />
3232 <placement x="%sd_plus_x%" y="%row1_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text></text>
3235 <image resource="plus_button" />
3236 <action function="addsubtract">tw_sdext_size+128</action>
3237 </object>
3238
3239 <object type="text" color="%text_color%">
3240 <font resource="font" />
3241 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3242 <text>EXT Size: %tw_sdext_size%</text>
3243 </object>
3244
3245 <object type="button">
3246 <highlight color="%highlight_color%" />
3247 <placement x="%col1_x%" y="%sdswap_button_y%" />
3248 <font resource="font" color="%button_text_color%" />
3249 <text></text>
3250 <image resource="minus_button" />
3251 <action function="addsubtract">tw_swap_size-32</action>
3252 </object>
3253
3254 <object type="button">
3255 <highlight color="%highlight_color%" />
3256 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text></text>
3259 <image resource="plus_button" />
3260 <action function="addsubtract">tw_swap_size+32</action>
3261 </object>
3262
3263 <object type="text" color="%text_color%">
3264 <font resource="font" />
3265 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3266 <text>Swap Size: %tw_swap_size%</text>
3267 </object>
3268
3269 <object type="text" color="%text_color%">
3270 <font resource="font" />
3271 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3272 <text>File system: %tw_sdpart_file_system%</text>
3273 </object>
3274
3275 <object type="button">
3276 <highlight color="%highlight_color%" />
3277 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3278 <font resource="font" color="%button_text_color%" />
3279 <text>EXT3</text>
3280 <image resource="main_button" />
3281 <action function="set">tw_sdpart_file_system=ext3</action>
3282 </object>
3283
3284 <object type="button">
3285 <highlight color="%highlight_color%" />
3286 <condition var1="tw_sdext_disable_ext4" var2="0" />
3287 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3288 <font resource="font" color="%button_text_color%" />
3289 <text>EXT4</text>
3290 <image resource="main_button" />
3291 <action function="set">tw_sdpart_file_system=ext4</action>
3292 </object>
3293
3294 <object type="text" color="%text_color%">
3295 <font resource="font" />
3296 <placement x="%col1_x%" y="%row12_text_y%" />
3297 <text>You will lose all files on your SD card!</text>
3298 </object>
3299
3300 <object type="text" color="%text_color%">
3301 <font resource="font" />
3302 <placement x="%col1_x%" y="%row13_text_y%" />
3303 <text>This action cannot be undone!</text>
3304 </object>
3305
3306 <object type="slider">
3307 <placement x="%slider_x%" y="%slider_y%" />
3308 <resource base="slider" used="slider-used" touch="slider-touch" />
3309 <action function="page">partsdcardaction</action>
3310 <actions>
3311 <action function="set">tw_back=partsdcard</action>
3312 <action function="set">tw_action=partitionsd</action>
3313 <action function="set">tw_has_action2=1</action>
3314 <action function="set">tw_action2=set</action>
3315 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3316 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3317 <action function="set">tw_action_text2=This will take a few minutes.</action>
3318 <action function="set">tw_complete_text1=Partitioning Complete</action>
3319 <action function="page">action_page</action>
3320 </actions>
3321 </object>
3322
3323 <object type="text" color="%text_color%">
3324 <font resource="font" />
3325 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3326 <text>Swipe to Partition</text>
3327 </object>
3328
3329 <object type="action">
3330 <touch key="home" />
3331 <action function="page">main</action>
3332 </object>
3333
3334 <object type="action">
3335 <touch key="back" />
3336 <action function="page">advanced</action>
3337 </object>
3338
3339 <object type="template" name="footer" />
3340 </page>
3341
3342 <page name="htcdumlock">
3343 <object type="template" name="header" />
3344
3345 <object type="text" color="%text_color%">
3346 <font resource="font" />
3347 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3348 <text>HTC Dumlock</text>
3349 </object>
3350
3351 <object type="button">
3352 <highlight color="%highlight_color%" />
3353 <condition var1="tw_show_dumlock" var2="1" />
3354 <placement x="%col1_x%" y="%row1_y%" />
3355 <font resource="font" color="%button_text_color%" />
3356 <text>Restore Original Boot</text>
3357 <image resource="main_button" />
3358 <actions>
3359 <action function="set">tw_back=htcdumlock</action>
3360 <action function="set">tw_action=htcdumlockrestoreboot</action>
3361 <action function="set">tw_text1=Restore original boot image?</action>
3362 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3363 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3364 <action function="set">tw_slider_text=Swipe to Confirm</action>
3365 <action function="page">confirm_action</action>
3366 </actions>
3367 </object>
3368
3369 <object type="button">
3370 <highlight color="%highlight_color%" />
3371 <condition var1="tw_show_dumlock" var2="1" />
3372 <placement x="%col2_x%" y="%row1_y%" />
3373 <font resource="font" color="%button_text_color%" />
3374 <text>Reflash Recovery</text>
3375 <image resource="main_button" />
3376 <actions>
3377 <action function="set">tw_back=htcdumlock</action>
3378 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3379 <action function="set">tw_text1=Reflash recovery to boot?</action>
3380 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3381 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3382 <action function="set">tw_slider_text=Swipe to Confirm</action>
3383 <action function="page">confirm_action</action>
3384 </actions>
3385 </object>
3386
3387 <object type="button">
3388 <highlight color="%highlight_color%" />
3389 <condition var1="tw_show_dumlock" var2="1" />
3390 <placement x="%col1_x%" y="%row2_y%" />
3391 <font resource="font" color="%button_text_color%" />
3392 <text>Install HTC Dumlock</text>
3393 <image resource="main_button" />
3394 <actions>
3395 <action function="set">tw_back=htcdumlock</action>
3396 <action function="set">tw_action=installhtcdumlock</action>
3397 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3398 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3399 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3400 <action function="set">tw_slider_text=Swipe to Confirm</action>
3401 <action function="page">confirm_action</action>
3402 </actions>
3403 </object>
3404
3405 <object type="action">
3406 <touch key="home" />
3407 <action function="page">main</action>
3408 </object>
3409
3410 <object type="action">
3411 <touch key="back" />
3412 <action function="page">advanced</action>
3413 </object>
3414
3415 <object type="template" name="footer" />
3416 </page>
3417
3418 <page name="lock">
3419 <background color="#000000A0" />
3420
3421 <object type="image">
3422 <image resource="unlock-icon" />
3423 <placement x="%lock_x%" y="%lock_y%" />
3424 </object>
3425
3426 <object type="slider">
3427 <placement x="%slider_x%" y="%slider_y%" />
3428 <resource base="slider" used="slider-used" touch="slider-touch" />
3429 <action function="overlay"></action>
3430 </object>
3431
3432 <object type="text" color="%text_color%">
3433 <font resource="font" />
3434 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3435 <text>Swipe to Unlock</text>
3436 </object>
3437 </page>
3438
3439 <page name="filemanagerlist">
3440 <object type="template" name="header" />
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3445 <text>File Manager: Select a File or Folder</text>
3446 </object>
3447
3448 <object type="fileselector">
3449 <highlight color="%fileselector_highlight_color%" />
3450 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3451 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3452 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3453 <text>%tw_file_location1%</text>
3454 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3455 <sort name="tw_gui_sort_order" />
3456 <icon folder="folder_icon" file="file_icon" />
3457 <background color="%fileselector_background%" />
3458 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3459 <folders="1" files="1" />
3460 <path name="tw_file_location1" default="/" />
3461 <data name="tw_filename1" />
3462 <selection name="tw_selection1" />
3463 </object>
3464
3465 <object type="template" name="sort_options" />
3466
3467 <object type="action">
3468 <actions>
3469 <action function="set">tw_fm_type=File</action>
3470 <action function="set">tw_fm_isfolder=0</action>
3471 </actions>
3472 </object>
3473
3474 <object type="action">
3475 <touch key="home" />
3476 <action function="page">main</action>
3477 </object>
3478
3479 <object type="action">
3480 <touch key="back" />
3481 <action function="page">advanced</action>
3482 </object>
3483
3484 <object type="action">
3485 <condition var1="tw_filename1" op="modified" />
3486 <actions>
3487 <action function="page">filemanageroptions</action>
3488 </actions>
3489 </object>
3490
3491 <object type="button">
3492 <highlight color="%highlight_color%" />
3493 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3494 <font resource="font" color="%button_text_color%" />
3495 <text>Select</text>
3496 <image resource="medium_button" />
3497 <actions>
3498 <action function="set">tw_filename1=tw_file_location1</action>
3499 <action function="set">tw_fm_isfolder=1</action>
3500 <action function="set">tw_fm_type=Folder</action>
3501 <action function="page">filemanageroptions</action>
3502 </actions>
3503 </object>
3504
3505 <object type="template" name="footer" />
3506 </page>
3507
3508 <page name="filemanageroptions">
3509 <object type="template" name="header" />
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3514 <text>%tw_fm_type% Selected:</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3520 <text>%tw_filename1%</text>
3521 </object>
3522
3523 <object type="button">
3524 <highlight color="%highlight_color%" />
3525 <condition var1="tw_fm_isfolder" var2="0" />
3526 <placement x="%col1_x%" y="%row2_y%" />
3527 <font resource="font" color="%button_text_color%" />
3528 <text>Copy File</text>
3529 <image resource="main_button" />
3530 <actions>
3531 <action function="set">tw_filemanager_command=cp</action>
3532 <action function="set">tw_fm_text1=Copying</action>
3533 <action function="page">choosedestinationfolder</action>
3534 </actions>
3535 </object>
3536
3537 <object type="button">
3538 <highlight color="%highlight_color%" />
3539 <condition var1="tw_fm_isfolder" var2="1" />
3540 <placement x="%col1_x%" y="%row2_y%" />
3541 <font resource="font" color="%button_text_color%" />
3542 <text>Copy Folder</text>
3543 <image resource="main_button" />
3544 <actions>
3545 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3546 <action function="set">tw_fm_text1=Copying</action>
3547 <action function="page">choosedestinationfolder</action>
3548 </actions>
3549 </object>
3550
3551 <object type="button">
3552 <highlight color="%highlight_color%" />
3553 <placement x="%col2_x%" y="%row2_y%" />
3554 <font resource="font" color="%button_text_color%" />
3555 <text>Move</text>
3556 <image resource="main_button" />
3557 <actions>
3558 <action function="set">tw_filemanager_command=mv</action>
3559 <action function="set">tw_fm_text1=Moving</action>
3560 <action function="page">choosedestinationfolder</action>
3561 </actions>
3562 </object>
3563
3564 <object type="button">
3565 <highlight color="%highlight_color%" />
3566 <placement x="%col1_x%" y="%row3_y%" />
3567 <font resource="font" color="%button_text_color%" />
3568 <text>chmod 755</text>
3569 <image resource="main_button" />
3570 <actions>
3571 <action function="set">tw_filemanager_command=chmod 755</action>
3572 <action function="set">tw_fm_text1=chmod 755</action>
3573 <action function="set">tw_fm_text2=</action>
3574 <action function="set">tw_fm_text3=</action>
3575 <action function="set">tw_include_text3=0</action>
3576 <action function="set">tw_back=filemanageroptions</action>
3577 <action function="page">filemanagerconfirm</action>
3578 </actions>
3579 </object>
3580
3581 <object type="button">
3582 <highlight color="%highlight_color%" />
3583 <placement x="%col2_x%" y="%row3_y%" />
3584 <font resource="font" color="%button_text_color%" />
3585 <text>chmod</text>
3586 <image resource="main_button" />
3587 <actions>
3588 <action function="set">tw_filemanager_rename=0000</action>
3589 <action function="set">tw_fm_text2=</action>
3590 <action function="set">tw_fm_text3=</action>
3591 <action function="set">tw_include_text3=0</action>
3592 <action function="set">tw_back=filemanageroptions</action>
3593 <action function="page">filemanagerchmod</action>
3594 </actions>
3595 </object>
3596
3597 <object type="button">
3598 <highlight color="%highlight_color%" />
3599 <placement x="%col1_x%" y="%row4_y%" />
3600 <font resource="font" color="%button_text_color%" />
3601 <text>Delete</text>
3602 <image resource="main_button" />
3603 <actions>
3604 <action function="set">tw_filemanager_command=rm -rf</action>
3605 <action function="set">tw_fm_text1=Deleting</action>
3606 <action function="set">tw_fm_text2=</action>
3607 <action function="set">tw_fm_text3=</action>
3608 <action function="set">tw_include_text3=0</action>
3609 <action function="set">tw_back=filemanageroptions</action>
3610 <action function="page">filemanagerconfirm</action>
3611 </actions>
3612 </object>
3613
3614 <object type="button">
3615 <highlight color="%highlight_color%" />
3616 <condition var1="tw_fm_isfolder" var2="0" />
3617 <placement x="%col2_x%" y="%row4_y%" />
3618 <font resource="font" color="%button_text_color%" />
3619 <text>Rename File</text>
3620 <image resource="main_button" />
3621 <actions>
3622 <action function="set">tw_filemanager_rename=tw_selection1</action>
3623 <action function="set">tw_fm_text1=Renaming</action>
3624 <action function="set">tw_filemanager_command=mv</action>
3625 <action function="page">filemanagerrenamefile</action>
3626 </actions>
3627 </object>
3628
3629 <object type="button">
3630 <highlight color="%highlight_color%" />
3631 <condition var1="tw_fm_isfolder" var2="1" />
3632 <placement x="%col2_x%" y="%row4_y%" />
3633 <font resource="font" color="%button_text_color%" />
3634 <text>Rename Folder</text>
3635 <image resource="main_button" />
3636 <actions>
3637 <action function="set">tw_filemanager_rename=tw_selection1</action>
3638 <action function="set">tw_fm_text1=Renaming</action>
3639 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3640 <action function="page">filemanagerrenamefolder</action>
3641 </actions>
3642 </object>
3643
3644 <object type="action">
3645 <touch key="home" />
3646 <action function="page">main</action>
3647 </object>
3648
3649 <object type="action">
3650 <touch key="back" />
3651 <action function="page">filemanagerlist</action>
3652 </object>
3653
3654 <object type="template" name="footer" />
3655 </page>
3656
3657 <page name="choosedestinationfolder">
3658 <object type="template" name="header" />
3659
3660 <object type="text" color="%text_color%">
3661 <font resource="font" />
3662 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3663 <text>Browse to Destination Folder & Press Select</text>
3664 </object>
3665
3666 <object type="fileselector">
3667 <highlight color="%fileselector_highlight_color%" />
3668 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3669 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
3670 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
3671 <text>%tw_file_location2%</text>
3672 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3673 <sort name="tw_gui_sort_order" />
3674 <icon folder="folder_icon" file="file_icon" />
3675 <background color="%fileselector_background%" />
3676 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
3677 <filter folders="1" files="0" />
3678 <path name="tw_file_location2" default="/" />
3679 <data name="tw_filename2" />
3680 <selection name="tw_selection2" />
3681 </object>
3682
3683 <object type="template" name="sort_options" />
3684
3685 <object type="action">
3686 <touch key="home" />
3687 <action function="page">main</action>
3688 </object>
3689
3690 <object type="action">
3691 <touch key="back" />
3692 <action function="page">filemanageroptions</action>
3693 </object>
3694
3695 <object type="button">
3696 <highlight color="%highlight_color%" />
3697 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3698 <font resource="font" color="%button_text_color%" />
3699 <text>Select</text>
3700 <image resource="medium_button" />
3701 <actions>
3702 <action function="set">tw_fm_text2=to</action>
3703 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3704 <action function="set">tw_include_text3=1</action>
3705 <action function="set">tw_back=filemanageroptions</action>
3706 <action function="page">filemanagerconfirm</action>
3707 </actions>
3708 </object>
3709
3710 <object type="template" name="footer" />
3711 </page>
3712
3713 <page name="filemanagerrenamefile">
3714 <object type="template" name="header" />
3715
3716 <object type="text" color="%text_color%">
3717 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3718 <font resource="font" />
3719 <text>Please Enter a New %tw_fm_type% Name</text>
3720 </object>
3721
3722 <object type="input">
3723 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3724 <background color="%input_background_color%" />
3725 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3726 <font resource="font" color="%text_color%" />
3727 <text>%tw_filemanager_rename%</text>
3728 <data name="tw_filemanager_rename" />
3729 <restrict minlen="1" maxlen="128" />
3730 <actions>
3731 <action function="set">tw_fm_text2=to</action>
3732 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3733 <action function="set">tw_include_text3=1</action>
3734 <action function="set">tw_back=filemanageroptions</action>
3735 <action function="page">filemanagerconfirm</action>
3736 </actions>
3737 </object>
3738
3739 <object type="button">
3740 <highlight color="%highlight_color%" />
3741 <placement x="%col_center_x%" y="%row2_y%" />
3742 <font resource="font" color="%button_text_color%" />
3743 <text>Cancel</text>
3744 <image resource="main_button" />
3745 <action function="page">filemanageroptions</action>
3746 </object>
3747
3748 <object type="template" name="keyboardtemplate" />
3749
3750 <object type="action">
3751 <touch key="home" />
3752 <action function="page">main</action>
3753 </object>
3754
3755 <object type="action">
3756 <touch key="back" />
3757 <action function="page">filemanageroptions</action>
3758 </object>
3759
3760 <object type="template" name="footer" />
3761 </page>
3762
3763 <page name="filemanagerrenamefolder">
3764 <object type="template" name="header" />
3765
3766 <object type="text" color="%text_color%">
3767 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3768 <font resource="font" />
3769 <text>Please Enter a New %tw_fm_type% Name</text>
3770 </object>
3771
3772 <object type="input">
3773 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3774 <background color="%input_background_color%" />
3775 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3776 <font resource="font" color="%text_color%" />
3777 <text>%tw_filemanager_rename%</text>
3778 <data name="tw_filemanager_rename" />
3779 <restrict minlen="1" maxlen="128" />
3780 <actions>
3781 <action function="set">tw_fm_text2=to</action>
3782 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3783 <action function="set">tw_include_text3=1</action>
3784 <action function="set">tw_back=filemanageroptions</action>
3785 <action function="page">filemanagerconfirm</action>
3786 </actions>
3787 </object>
3788
3789 <object type="button">
3790 <highlight color="%highlight_color%" />
3791 <placement x="%col_center_x%" y="%row2_y%" />
3792 <font resource="font" color="%button_text_color%" />
3793 <text>Cancel</text>
3794 <image resource="main_button" />
3795 <action function="page">filemanageroptions</action>
3796 </object>
3797
3798 <object type="template" name="keyboardtemplate" />
3799
3800 <object type="action">
3801 <touch key="home" />
3802 <action function="page">main</action>
3803 </object>
3804
3805 <object type="action">
3806 <touch key="back" />
3807 <action function="page">filemanageroptions</action>
3808 </object>
3809
3810 <object type="template" name="footer" />
3811 </page>
3812
3813 <page name="filemanagerchmod">
3814 <object type="template" name="header" />
3815
3816 <object type="text" color="%text_color%">
3817 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3818 <font resource="font" />
3819 <text>Please Enter New Permissions</text>
3820 </object>
3821
3822 <object type="input">
3823 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3824 <background color="%input_background_color%" />
3825 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3826 <font resource="font" color="%text_color%" />
3827 <text>%tw_filemanager_rename%</text>
3828 <data name="tw_filemanager_rename" />
3829 <restrict minlen="3" maxlen="4" allow="0123456789" />
3830 <actions>
3831 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3832 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3833 <action function="set">tw_back=filemanageroptions</action>
3834 <action function="page">filemanagerconfirm</action>
3835 </actions>
3836 </object>
3837
3838 <object type="button">
3839 <highlight color="%highlight_color%" />
3840 <placement x="%col_center_x%" y="%row2_y%" />
3841 <font resource="font" color="%button_text_color%" />
3842 <text>Cancel</text>
3843 <image resource="main_button" />
3844 <action function="page">filemanageroptions</action>
3845 </object>
3846
3847 <object type="template" name="keyboardtemplate" />
3848
3849 <object type="action">
3850 <touch key="home" />
3851 <action function="page">main</action>
3852 </object>
3853
3854 <object type="action">
3855 <touch key="back" />
3856 <action function="page">filemanageroptions</action>
3857 </object>
3858
3859 <object type="template" name="footer" />
3860 </page>
3861
3862 <page name="filemanagerconfirm">
3863 <object type="template" name="header" />
3864
3865 <object type="text" color="%text_color%">
3866 <font resource="font" />
3867 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3868 <text>%tw_fm_text1%</text>
3869 </object>
3870
3871 <object type="text" color="%text_color%">
3872 <font resource="font" />
3873 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3874 <text>%tw_filename1%</text>
3875 </object>
3876
3877 <object type="text" color="%text_color%">
3878 <font resource="font" />
3879 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3880 <text>%tw_fm_text2%</text>
3881 </object>
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3886 <text>%tw_fm_text3%</text>
3887 </object>
3888
3889 <object type="text" color="%text_color%">
3890 <font resource="font" />
3891 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3892 <text>Press back button to cancel.</text>
3893 </object>
3894
3895 <object type="slider">
3896 <placement x="%slider_x%" y="%slider_y%" />
3897 <resource base="slider" used="slider-used" touch="slider-touch" />
3898 <action function="page">filemanageracction</action>
3899 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003900
Dees_Troya13d74f2013-03-24 08:54:55 -05003901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3904 <text>Swipe to Confirm</text>
3905 </object>
3906
3907 <object type="action">
3908 <touch key="back" />
3909 <action function="page">%tw_back%</action>
3910 </object>
3911
3912 <object type="action">
3913 <touch key="home" />
3914 <action function="page">main</action>
3915 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003916
Dees_Troya13d74f2013-03-24 08:54:55 -05003917 <object type="template" name="footer" />
3918 </page>
3919
3920 <page name="filemanageracction">
3921 <object type="template" name="header" />
3922
3923 <object type="text" color="%text_color%">
3924
3925 <font resource="font" />
3926 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3927 <text>%tw_fm_text1%</text>
3928 </object>
3929
3930 <object type="template" name="action_page_console" />
3931
3932 <object type="template" name="progress_bar" />
3933
3934 <object type="action">
3935 <conditions>
3936 <condition var1="tw_operation_state" var2="1" />
3937 <condition var1="tw_operation_status" var2="0" />
3938 </conditions>
3939 <actions>
3940 <action function="set">tw_back=filemanagerlist</action>
3941 <action function="set">tw_complete_text1=File Operation Complete</action>
3942 <action function="page">action_complete</action>
3943 </actions>
3944 </object>
3945
3946 <object type="action">
3947 <conditions>
3948 <condition var1="tw_operation_state" var2="1" />
3949 <condition var1="tw_operation_status" op="!=" var2="0" />
3950 </conditions>
3951 <actions>
3952 <action function="set">tw_complete_text1=File Operation Complete</action>
3953 <action function="page">action_complete</action>
3954 </actions>
3955 </object>
3956
3957 <object type="action">
3958 <condition var1="tw_include_text3" var2="0" />
3959 <actions>
3960 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3961 </actions>
3962 </object>
3963
3964 <object type="action">
3965 <condition var1="tw_include_text3" var2="1" />
3966 <actions>
3967 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3968 </actions>
3969 </object>
3970 </page>
3971
3972 <page name="decrypt">
3973 <object type="template" name="header" />
3974
3975 <object type="text" color="%text_color%">
3976 <font resource="font" />
3977 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3978 <text>Please Enter Your Password</text>
3979 </object>
3980
3981 <object type="input">
3982 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3983 <background color="%input_background_color%" />
3984 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3985 <font resource="font" color="%text_color%" />
3986 <text>%tw_crypto_display%</text>
3987 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3988 <restrict minlen="1" maxlen="254" />
3989 <actions>
3990 <action function="page">trydecrypt</action>
3991 </actions>
3992 </object>
3993
3994 <object type="text" color="%text_fail_color%">
3995 <condition var1="tw_password_fail" var2="1" />
3996 <font resource="font" />
3997 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3998 <text>Password Failed, Please Try Again</text>
3999 </object>
4000
4001 <object type="button">
4002 <highlight color="%highlight_color%" />
4003 <placement x="%col_center_x%" y="%row2_y%" />
4004 <font resource="font" color="%button_text_color%" />
4005 <text>Cancel</text>
4006 <image resource="main_button" />
4007 <actions>
4008 <action function="set">tw_page_done=1</action>
4009 <action function="page">main</action>
4010 </actions>
4011 </object>
4012
4013 <object type="template" name="keyboardtemplate" />
4014
4015 <object type="template" name="footer" />
4016 </page>
4017
4018 <page name="trydecrypt">
4019 <object type="template" name="header" />
4020
4021 <object type="text" color="%text_color%">
4022 <font resource="font" />
4023 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4024 <text>Trying Decryption with Your Password</text>
4025 </object>
4026
4027 <object type="template" name="action_page_console" />
4028
4029 <object type="template" name="progress_bar" />
4030
4031 <object type="action">
4032 <action function="decrypt"></action>
4033 </object>
4034
4035 <object type="action">
4036 <conditions>
4037 <condition var1="tw_operation_state" var2="1" />
4038 <condition var1="tw_operation_status" op="!=" var2="0" />
4039 </conditions>
4040 <actions>
4041 <action function="set">tw_password_fail=1</action>
4042 <action function="page">decrypt</action>
4043 </actions>
4044 </object>
4045
4046 <object type="action">
4047 <conditions>
4048 <condition var1="tw_operation_state" var2="1" />
4049 <condition var1="tw_operation_status" op="=" var2="0" />
4050 </conditions>
4051 <actions>
4052 <action function="set">tw_page_done=1</action>
4053 <action function="page">main</action>
4054 </actions>
4055 </object>
4056 </page>
4057
4058 <page name="terminalfolder">
4059 <object type="template" name="header" />
4060
4061 <object type="text" color="%text_color%">
4062 <font resource="font" />
4063 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4064 <text>Browse to Starting Folder</text>
4065 </object>
4066
4067 <object type="fileselector">
4068 <highlight color="%fileselector_highlight_color%" />
4069 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4070 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
4071 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
4072 <text>%tw_terminal_location%</text>
4073 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4074 <sort name="tw_gui_sort_order" />
4075 <icon folder="folder_icon" file="file_icon" />
4076 <background color="%fileselector_background%" />
4077 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
4078 <filter folders="1" files="0" />
4079 <path name="tw_terminal_location" default="/" />
4080 <data name="tw_terminal" />
4081 <selection name="tw_terminal_selection" />
4082 </object>
4083
4084 <object type="template" name="sort_options" />
4085
4086 <object type="action">
4087 <touch key="home" />
4088 <action function="page">main</action>
4089 </object>
4090
4091 <object type="action">
4092 <touch key="back" />
4093 <action function="page">advanced</action>
4094 </object>
4095
4096 <object type="button">
4097 <highlight color="%highlight_color%" />
4098 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4099 <font resource="font" color="%button_text_color%" />
4100 <text>Select</text>
4101 <image resource="medium_button" />
4102 <actions>
4103 <action function="page">terminalcommand</action>
4104 </actions>
4105 </object>
4106
4107 <object type="template" name="footer" />
4108 </page>
4109
4110 <page name="terminalcommand">
4111 <object type="template" name="header" />
4112
4113 <object type="console">
4114 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4115 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4116 <font resource="fixed" />
4117 </object>
4118
4119 <object type="text" color="%text_color%">
4120 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4121 <font resource="font" />
4122 <text>Starting Path: %tw_terminal_location%</text>
4123 </object>
4124
4125 <object type="input">
4126 <condition var1="tw_terminal_state" var2="0" />
4127 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4128 <background color="%input_background_color%" />
4129 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4130 <font resource="font" color="%text_color%" />
4131 <text>%tw_terminal_command%</text>
4132 <data name="tw_terminal_command" />
4133 <restrict minlen="1" />
4134 <action function="terminalcommand">%tw_terminal_command%</action>
4135 </object>
4136
4137 <object type="button">
4138 <highlight color="%highlight_color%" />
4139 <condition var1="tw_terminal_state" var2="1" />
4140 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4141 <font resource="font" color="%button_text_color%" />
4142 <text>KILL</text>
4143 <image resource="medium_button" />
4144 <action function="killterminal"></action>
4145 </object>
4146
4147 <object type="template" name="keyboardtemplate" />
4148
4149 <object type="action">
4150 <touch key="home" />
4151 <action function="page">main</action>
4152 </object>
4153
4154 <object type="action">
4155 <touch key="back" />
4156 <action function="page">terminalfolder</action>
4157 </object>
4158 </page>
4159
4160 <page name="sideload">
4161 <object type="template" name="header" />
4162
4163 <object type="text" color="%text_color%">
4164 <font resource="font" />
4165 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4166 <text>ADB Sideload</text>
4167 </object>
4168
4169 <object type="checkbox">
4170 <placement x="%col1_x%" y="%row2_text_y%" />
4171 <font resource="font" color="%text_color%" />
4172 <text>Wipe Dalvik Cache.</text>
4173 <data variable="tw_wipe_dalvik" />
4174 <image checked="checkbox_true" unchecked="checkbox_false" />
4175 </object>
4176
4177 <object type="checkbox">
4178 <placement x="%col1_x%" y="%row3_text_y%" />
4179 <font resource="font" color="%text_color%" />
4180 <text>Wipe Cache.</text>
4181 <data variable="tw_wipe_cache" />
4182 <image checked="checkbox_true" unchecked="checkbox_false" />
4183 </object>
4184
4185 <object type="slider">
4186 <placement x="%slider_x%" y="%slider_y%" />
4187 <resource base="slider" used="slider-used" touch="slider-touch" />
4188 <actions>
4189 <action function="set">tw_back=advanced</action>
4190 <action function="set">tw_action=adbsideload</action>
4191 <action function="set">tw_action_text1=ADB Sideload</action>
4192 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4193 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4194 <action function="set">tw_has_cancel=1</action>
4195 <action function="set">tw_show_reboot=1</action>
4196 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4197 <action function="page">action_page</action>
4198 </actions>
4199 </object>
4200
4201 <object type="text" color="%text_color%">
4202 <font resource="font" />
4203 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4204 <text>Swipe to Start Sideload</text>
4205 </object>
4206
4207 <object type="action">
4208 <touch key="home" />
4209 <action function="page">main</action>
4210 </object>
4211
4212 <object type="action">
4213 <touch key="back" />
4214 <action function="page">advanced</action>
4215 </object>
4216
4217 <object type="template" name="footer" />
4218 </page>
4219
4220 <page name="installsu">
4221 <object type="template" name="header" />
4222
4223 <object type="text" color="%text_color%">
4224 <font resource="font" />
4225 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4226 <text>Install SuperSU?</text>
4227 </object>
4228
4229 <object type="text" color="%text_color%">
4230 <font resource="font" />
4231 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4232 <text>Your device does not appear to be rooted.</text>
4233 </object>
4234
4235 <object type="text" color="%text_color%">
4236 <font resource="font" />
4237 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4238 <text>Install SuperSU now?</text>
4239 </object>
4240
4241 <object type="text" color="%text_color%">
4242 <font resource="font" />
4243 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4244 <text>This will root your device.</text>
4245 </object>
4246
4247 <object type="button">
4248 <highlight color="%highlight_color%" />
4249 <placement x="%col_center_x%" y="%row3_y%" />
4250 <font resource="font" color="%button_text_color%" />
4251 <text>Do Not Install</text>
4252 <image resource="main_button" />
4253 <action function="set">tw_page_done=1</action>
4254 </object>
4255
4256 <object type="slider">
4257 <placement x="%slider_x%" y="%slider_y%" />
4258 <resource base="slider" used="slider-used" touch="slider-touch" />
4259 <actions>
4260 <action function="set">tw_action=installsu</action>
4261 <action function="set">tw_action_text1=Installing SuperSU</action>
4262 <action function="set">tw_action_text2=</action>
4263 <action function="page">singleaction_page</action>
4264 </actions>
4265 </object>
4266
4267 <object type="text" color="%text_color%">
4268 <font resource="font" />
4269 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4270 <text>Swipe to Install</text>
4271 </object>
4272 </page>
Dees_Troya13d74f2013-03-24 08:54:55 -05004273 </pages>
4274</recovery>