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