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