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