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