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