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