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