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