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