blob: 5ee5b4646e012e982f94b9b5053575c020ecb149 [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" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500132 <variable name="warning" value="#F8F8A0" />
133 <variable name="error" value="#FF4040" />
134 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="console_background" value="#303030" />
136 <variable name="console_scroll" value="#303030" />
137 <variable name="console_action_height" value="320" />
138 <variable name="console_install_height" value="440" />
139 <variable name="console_installdone_height" value="300" />
140 <variable name="fileselector_folder_x" value="50" />
141 <variable name="fileselector_folder_width" value="610" />
142 <variable name="fileselector_folderonly_width" value="800" />
143 <variable name="fileselector_file_x" value="700" />
144 <variable name="fileselector_file_width" value="1170" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500145 <variable name="fileselector_install_y" value="205" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="fileselector_install_height" value="800" />
147 <variable name="fileselector_header_background" value="#202020" />
148 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
149 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
150 <variable name="fileselector_header_separatorheight" value="3" />
151 <variable name="fileselector_separatorcolor" value="#505050" />
152 <variable name="fileselector_separatorheight" value="2" />
153 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600154 <variable name="fileselector_highlight_color" value="#505050" />
155 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400156 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100157 <variable name="fastscroll_linecolor" value="#808080" />
158 <variable name="fastscroll_rectcolor" value="#808080" />
159 <variable name="fastscroll_w" value="60" />
160 <variable name="fastscroll_linew" value="3" />
161 <variable name="fastscroll_rectw" value="45" />
162 <variable name="fastscroll_recth" value="75" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400163 <variable name="zipstorage_text_y" value="130" />
164 <variable name="listbox_x" value="560" />
165 <variable name="listbox_y" value="150" />
166 <variable name="listbox_width" value="800" />
167 <variable name="listbox_tz_height" value="400" />
168 <variable name="listbox_background" value="#303030" />
169 <variable name="listbox_spacing" value="18" />
170 <variable name="sd_plus_x" value="408" />
171 <variable name="lock_x" value="660" />
172 <variable name="lock_y" value="300" />
173 <variable name="filemanager_select_x" value="1500" />
174 <variable name="filemanager_select_y" value="980" />
175 <variable name="backup_name_text_y" value="440" />
176 <variable name="backup_name_button_y" value="390" />
177 <variable name="col_right_x" value="1870" />
178 <variable name="cancel_button_y" value="240" />
179 <variable name="terminal_console_y" value="0" />
180 <variable name="terminal_console_height" value="610" />
181 <variable name="terminal_text_y" value="624" />
182 <variable name="terminal_button_y" value="615" />
183 <variable name="terminal_input_width" value="1550" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="button_fill_color" value="#303030" />
185 <variable name="button_fill_full_width" value="960" />
186 <variable name="button_fill_main_width" value="900" />
187 <variable name="button_fill_main_height" value="240" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000188 <variable name="button_fill_half_height" value="80" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500189 <variable name="button_fill_quarter_height" value="60" />
190 <variable name="button_full_center_x" value="480" />
191 <variable name="backup_list_x" value="50" />
192 <variable name="backup_list_y" value="160" />
193 <variable name="backup_list_width" value="900" />
194 <variable name="backup_list_height" value="660" />
195 <variable name="backup_storage_y" value="405" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000196 <variable name="backup_encrypt_y" value="495" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500197 <variable name="restore_list_y" value="190" />
198 <variable name="restore_list_height" value="600" />
199 <variable name="mount_list_height" value="900" />
200 <variable name="mount_storage_row" value="850" />
201 <variable name="wipe_list_height" value="850" />
202 <variable name="wipe_button_y" value="375" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200203 <variable name="slidervalue_x" value="540" />
204 <variable name="slidervalue_w" value="960" />
205 <variable name="slidervalue_line_clr" value="#FFFFFF" />
206 <variable name="slidervalue_slider_clr" value="#33B5E5" />
207 <variable name="slidervalue_lineh" value="3" />
208 <variable name="slidervalue_padding" value="0" />
209 <variable name="slidervalue_sliderw" value="20" />
210 <variable name="slidervalue_sliderh" value="80" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400211 </variables>
212
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100213 <mousecursor>
214 <placement w="15" h="15" />
215 <background color="#FFFF00FF" resource="cursor" />
216 <speed multiplier="2.5" />
217 </mousecursor>
218
Dees_Troy51a0e822012-09-05 15:24:24 -0400219 <templates>
220 <template name="header">
221 <background color="#000000FF" />
222
223 <object type="image">
Dees_Troy51a0e822012-09-05 15:24:24 -0400224 <image resource="base" />
225 <placement x="0" y="0" />
226 </object>
227
Dees_Troy51a0e822012-09-05 15:24:24 -0400228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="250" y="5" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000231 <text>Team Win Recovery Project v%tw_version%</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400232 </object>
233
234 <object type="text" color="%text_color%">
235 <font resource="font" />
236 <placement x="250" y="40" />
237 <conditions>
238 <condition var1="tw_no_battery_percent" var2="0" />
239 <condition var1="tw_battery" op=">" var2="0" />
240 <condition var1="tw_battery" op="<" var2="101" />
241 </conditions>
242 <text>Battery Level: %tw_battery%</text>
243 </object>
244
245 <object type="text" color="%text_color%">
246 <font resource="font" />
247 <placement x="600" y="40" />
248 <text>%tw_time%</text>
249 </object>
250
251 <object type="text" color="%text_color%">
252 <condition var1="tw_simulate_actions" var2="1" />
253 <font resource="font" />
254 <placement x="850" y="40" />
255 <text>SIMULATING ACTIONS</text>
256 </object>
257
258 <object type="button">
259 <placement x="%home_button_x%" y="%home_button_y%" />
260 <font resource="font" color="%button_text_color%" />
261 <text></text>
262 <image resource="home_icon" />
263 <condition var1="tw_busy" var2="0" />
264 <action function="key">home</action>
265 </object>
266
267 <object type="button">
268 <placement x="%back_button_x%" y="%back_button_y%" />
269 <font resource="font" color="%button_text_color%" />
270 <text></text>
271 <image resource="back_icon" />
272 <condition var1="tw_busy" var2="0" />
273 <action function="key">back</action>
274 </object>
275
276 <object type="action">
277 <touch key="power" />
278 <action function="overlay">lock</action>
279 </object>
280 </template>
281
282 <template name="progress_bar">
283 <object type="progressbar">
284 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500285 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400286 <data name="ui_progress" />
287 </object>
288
289 <object type="animation">
290 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
291 <resource name="progress" />
292 <speed fps="15" render="6" />
293 <loop frame="1" />
294 </object>
295 </template>
296
297 <template name="sort_options">
298 <object type="text" color="%text_color%">
299 <font resource="font" />
300 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
301 <text>Sort Ascending:</text>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
306 <font resource="font" color="%button_text_color%" />
307 <text>Name</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=1</action>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Date</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=2</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
322 <font resource="font" color="%button_text_color%" />
323 <text>Size</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=3</action>
326 </object>
327
328 <object type="text" color="%text_color%">
329 <font resource="font" />
330 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
331 <text>Sort Descending:</text>
332 </object>
333
334 <object type="button">
335 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
336 <font resource="font" color="%button_text_color%" />
337 <text>Name</text>
338 <image resource="sort_button" />
339 <action function="set">tw_gui_sort_order=-1</action>
340 </object>
341
342 <object type="button">
343 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
344 <font resource="font" color="%button_text_color%" />
345 <text>Date</text>
346 <image resource="sort_button" />
347 <action function="set">tw_gui_sort_order=-2</action>
348 </object>
349
350 <object type="button">
351 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
352 <font resource="font" color="%button_text_color%" />
353 <text>Size</text>
354 <image resource="sort_button" />
355 <action function="set">tw_gui_sort_order=-3</action>
356 </object>
357 </template>
358
359 <template name="flash_zip_console">
360 <object type="console">
361 <placement x="%console_x%" y="140" w="%console_width%" h="700" />
362 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
363 <font resource="fixed" />
364 </object>
365 </template>
366
367 <template name="action_page_console">
368 <object type="console">
369 <placement x="%console_x%" y="400" w="%console_width%" h="600" />
370 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
371 <font resource="fixed" />
372 </object>
373 </template>
374
375 <template name="footer">
376 <object type="console">
377 <slideout resource="console_button" x="%console_button_x%" y="%console_button_y%" />
378 <placement x="%console_x%" y="150" w="%console_width%" h="1000" />
379 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
380 <font resource="fixed" />
381 </object>
382 </template>
383
384 <template name="keyboardtemplate">
385 <object type="keyboard">
386 <placement x="0" y="684" />
387 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600388 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600389 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400390 <layout1>
391 <keysize height="129" width="159" />
392 <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" />
393 <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" />
394 <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" />
395 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
396 </layout1>
397 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600398 <keysize height="129" width="159" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400399 <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" />
400 <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" />
401 <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" />
402 <row4 key01="600:" key02="720: " key03="/" long03=":" key04="-" long0="_" />
403 </layout2>
404 <layout3>
405 <keysize height="129" width="159" />
406 <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" />
407 <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" />
408 <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" />
409 <row4 key01="282:" key02="/" key03="@" key04="720: " key05="159:c:34" key06="_" />
410 </layout3>
411 <layout4>
412 <keysize height="129" width="159" />
413 <row1 key01="153:" key02="~" key03="`" key04="|" key05="159:" key06="159:" key07="159:" key08="159:" key09="159:" key10="159:" key11="159:" key12="177:c:8" />
414 <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" />
415 <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" />
416 <row4 key01="600:" key02="720: " />
417 </layout4>
418 </object>
419 </template>
420 </templates>
421
422 <pages>
423 <page name="main">
424 <object type="action">
425 <actions>
426 <action function="set">tw_clear_destination=main2</action>
427 <action function="page">clear_vars</action>
428 </actions>
429 </object>
430 </page>
431
432 <page name="main2">
433 <object type="template" name="header" />
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row1_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Install</text>
440 <image resource="main_button" />
441 <actions>
442 <action function="queueclear"></action>
443 <action function="page">install</action>
444 </actions>
445 </object>
446
447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400449 <placement x="%col2_x%" y="%row1_y%" />
450 <font resource="font" color="%button_text_color%" />
451 <text>Backup</text>
452 <image resource="main_button" />
453 <action function="page">backup</action>
454 </object>
455
456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400458 <placement x="%col3_x%" y="%row1_y%" />
459 <font resource="font" color="%button_text_color%" />
460 <text>Restore</text>
461 <image resource="main_button" />
462 <action function="page">restore</action>
463 </object>
464
465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400467 <placement x="%col4_x%" y="%row1_y%" />
468 <font resource="font" color="%button_text_color%" />
469 <text>Wipe</text>
470 <image resource="main_button" />
471 <action function="page">wipe</action>
472 </object>
473
474 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600475 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400476 <placement x="%col1_x%" y="%row2_y%" />
477 <font resource="font" color="%button_text_color%" />
478 <text>Mount</text>
479 <image resource="main_button" />
480 <action function="page">mount</action>
481 </object>
482
483 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600484 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400485 <placement x="%col2_x%" y="%row2_y%" />
486 <font resource="font" color="%button_text_color%" />
487 <text>Settings</text>
488 <image resource="main_button" />
489 <action function="page">settings</action>
490 </object>
491
492 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600493 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 <placement x="%col3_x%" y="%row2_y%" />
495 <font resource="font" color="%button_text_color%" />
496 <text>Advanced</text>
497 <image resource="main_button" />
498 <action function="page">advanced</action>
499 </object>
500
501 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600502 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400503 <placement x="%col4_x%" y="%row2_y%" />
504 <font resource="font" color="%button_text_color%" />
505 <text>Reboot</text>
506 <image resource="main_button" />
507 <action function="page">reboot</action>
508 </object>
509
510 <object type="template" name="footer" />
511 </page>
512
513 <page name="install">
514 <object type="template" name="header" />
515
516 <object type="text" color="%text_color%">
517 <font resource="font" />
518 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
519 <text>Select Zip to Install</text>
520 </object>
521
522 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500523 <highlight color="%highlight_color%" />
524 <fill color="%button_fill_color%" />
525 <placement x="%button_full_center_x%" y="%zipstorage_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
526 <font resource="font" color="%button_text_color%" />
527 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
528 <actions>
529 <action function="set">tw_back=install</action>
530 <action function="page">selectstorage</action>
531 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400532 </object>
533
534 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600535 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400536 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
537 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100538 <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 -0400539 <text>Folders:</text>
540 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
541 <sort name="tw_gui_sort_order" />
542 <icon folder="folder_icon" file="file_icon" />
543 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600544 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400545 <filter folders="1" files="0" />
546 <path name="tw_zip_location" default="/sdcard" />
547 <data name="select" />
548 </object>
549
550 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600551 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400552 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
553 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100554 <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 -0400555 <text>%tw_zip_location%</text>
556 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
557 <sort name="tw_gui_sort_order" />
558 <icon folder="folder_icon" file="file_icon" />
559 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600560 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400561 <filter extn=".zip" folders="0" files="1" />
562 <path name="tw_zip_location" />
563 <data name="tw_filename" />
564 <selection name="tw_file" />
565 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500566
Dees_Troy51a0e822012-09-05 15:24:24 -0400567 <object type="template" name="sort_options" />
568
569 <object type="action">
570 <condition var1="tw_filename" op="modified" />
571 <actions>
572 <action function="queuezip"></action>
573 <action function="page">flash_confirm</action>
574 </actions>
575 </object>
576
577 <object type="action">
578 <touch key="back" />
579 <action function="page">main</action>
580 </object>
581
582 <object type="action">
583 <touch key="home" />
584 <action function="page">main</action>
585 </object>
586
587 <object type="template" name="footer" />
588 </page>
589
590 <page name="flash_confirm">
591 <object type="template" name="header" />
592
593 <object type="text" color="%text_color%">
594 <font resource="font" />
595 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
596 <text>WARNING: This operation may install incompatible software and render your device unusable.</text>
597 </object>
598
599 <object type="text" color="%text_color%">
600 <font resource="font" />
601 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
602 <text>Folder:</text>
603 </object>
604
605 <object type="text" color="%text_color%">
606 <font resource="font" />
607 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
608 <text>%tw_zip_location%</text>
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
613 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
614 <text>File to flash:</text>
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
619 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
620 <text>%tw_file%</text>
621 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500622
Dees_Troy51a0e822012-09-05 15:24:24 -0400623 <object type="text" color="%text_color%">
624 <font resource="font" />
625 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
626 <text>Press back to cancel adding this zip.</text>
627 </object>
628
629 <object type="checkbox">
630 <placement x="%col2_x%" y="%row7_text_y%" />
631 <font resource="font" color="%text_color%" />
632 <text>Zip file signature verification?</text>
633 <data variable="tw_signed_zip_verify" />
634 <image checked="checkbox_true" unchecked="checkbox_false" />
635 </object>
636
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <object type="text" color="%text_color%">
638 <font resource="font" />
639 <placement x="%center_x%" y="%row10_text_y%" placement="5" />
640 <text>File %tw_zip_queue_count% of max of 10</text>
641 </object>
642
643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400645 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
646 <placement x="%col2_x%" y="%row5_medium_y%" />
647 <font resource="font" color="%button_text_color%" />
648 <text>Add More Zips</text>
649 <image resource="mediumwide_button" />
650 <action function="page">install</action>
651 </object>
652
653 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600654 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400655 <placement x="%col3_x%" y="%row5_medium_y%" />
656 <font resource="font" color="%button_text_color%" />
657 <text>Clear Queue</text>
658 <image resource="mediumwide_button" />
659 <actions>
660 <action function="queueclear"></action>
661 <action function="page">install</action>
662 </actions>
663 </object>
664
665 <object type="slider">
666 <placement x="%slider_x%" y="%slider_y%" />
667 <resource base="slider" used="slider-used" touch="slider-touch" />
668 <action function="flash">flash_zip</action>
669 </object>
670
671 <object type="text" color="%text_color%">
672 <font resource="font" />
673 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
674 <text>Swipe to Confirm Flash</text>
675 </object>
676
677 <object type="action">
678 <touch key="back" />
679 <actions>
680 <action function="cancelzip"></action>
681 <action function="page">install</action>
682 </actions>
683 </object>
684
685 <object type="action">
686 <touch key="home" />
687 <action function="page">main</action>
688 </object>
689
690 <object type="template" name="footer" />
691 </page>
692
693 <page name="flash_zip">
694 <object type="template" name="header" />
695
696 <object type="template" name="flash_zip_console" />
697
698 <object type="text" color="%text_color%">
699 <font resource="font" />
700 <placement x="%col1_x%" y="%row16_text_y%" />
701 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
702 </object>
703
704 <object type="text" color="%text_color%">
705 <font resource="font" />
706 <placement x="%col1_x%" y="%row17_text_y%" />
707 <text>%tw_filename%</text>
708 </object>
709
710 <object type="template" name="progress_bar" />
711
712 <object type="action">
713 <condition var1="tw_operation_state" var2="1" />
714 <action function="page">flash_done</action>
715 </object>
716 </page>
717
718 <page name="flash_done">
719 <object type="template" name="header" />
720
721 <object type="template" name="flash_zip_console" />
722
723 <object type="text" color="%text_fail_color%">
724 <condition var1="tw_operation_status" op="!=" var2="0" />
725 <font resource="font" />
726 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
727 <text>Failed</text>
728 </object>
729
730 <object type="text" color="%text_success_color%">
731 <condition var1="tw_operation_status" var2="0" />
732 <font resource="font" />
733 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
734 <text>Successful</text>
735 </object>
736
737 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600738 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <placement x="%col1_x%" y="%slider_y%" />
740 <font resource="font" color="%button_text_color%" />
741 <text>Wipe Cache/Dalvik</text>
742 <image resource="main_button" />
743 <actions>
744 <action function="set">tw_back=flash_done</action>
745 <action function="set">tw_action=wipe</action>
746 <action function="set">tw_action_param=/cache</action>
747 <action function="set">tw_has_action2=1</action>
748 <action function="set">tw_action2=wipe</action>
749 <action function="set">tw_action2_param=dalvik</action>
750 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
751 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
752 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
753 <action function="set">tw_slider_text=Swipe to Wipe</action>
754 <action function="page">confirm_action</action>
755 </actions>
756 </object>
757
758 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600759 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400760 <condition var1="tw_reboot_system" var2="1" />
761 <placement x="%col4_x%" y="%slider_y%" />
762 <font resource="font" color="%button_text_color%" />
763 <text>Reboot System</text>
764 <image resource="main_button" />
765 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400766 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400767 <action function="set">tw_action=reboot</action>
768 <action function="set">tw_action_param=system</action>
769 <action function="set">tw_has_action2=0</action>
770 <action function="set">tw_text1=No OS Installed! Are you</action>
771 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400772 <action function="set">tw_text3=</action>
773 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400774 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400775 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400776 <action function="set">tw_complete_text1=Rebooting...</action>
777 <action function="set">tw_slider_text=Swipe to Reboot</action>
778 <action function="page">rebootcheck</action>
779 </actions>
780 </object>
781
782 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600783 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400784 <placement x="%col_center_x%" y="%slider_y%" />
785 <font resource="font" color="%button_text_color%" />
786 <text>Home</text>
787 <image resource="main_button" />
788 <actions>
789 <action function="set">tw_clear_destination=main2</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </object>
793
794 <object type="action">
795 <touch key="back" />
796 <actions>
797 <action function="set">tw_clear_destination=install</action>
798 <action function="page">clear_vars</action>
799 </actions>
800 </object>
801
802 <object type="action">
803 <touch key="home" />
804 <actions>
805 <action function="set">tw_clear_destination=main2</action>
806 <action function="page">clear_vars</action>
807 </actions>
808 </object>
809 </page>
810
811 <page name="clear_vars">
812 <object type="action">
813 <action function="set">tw_operation_state=0</action>
814 <action function="set">tw_text1=</action>
815 <action function="set">tw_text2=</action>
816 <action function="set">tw_text3=</action>
817 <action function="set">tw_text4=</action>
818 <action function="set">tw_action_text1=</action>
819 <action function="set">tw_action_text2=</action>
820 <action function="set">tw_action_param=</action>
821 <action function="set">tw_has_action2=0</action>
822 <action function="set">tw_action2=</action>
823 <action function="set">tw_action2_param=</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -0400824 <action function="set">tw_has_cancel=0</action>
825 <action function="set">tw_cancel_action=</action>
826 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400827 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400828 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400829 <action function="page">%tw_clear_destination%</action>
830 </object>
831 </page>
832
833 <page name="confirm_action">
834 <object type="template" name="header" />
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
839 <text>%tw_text1%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
844 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
845 <text>%tw_text2%</text>
846 </object>
847
848 <object type="text" color="%text_color%">
849 <font resource="font" />
850 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
851 <text>%tw_text3%</text>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
856 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
857 <text>%tw_text4%</text>
858 </object>
859
860 <object type="text" color="%text_color%">
861 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400862 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400863 <text>Press back button to cancel.</text>
864 </object>
865
866 <object type="slider">
867 <placement x="%slider_x%" y="%slider_y%" />
868 <resource base="slider" used="slider-used" touch="slider-touch" />
869 <action function="page">action_page</action>
870 </object>
871
872 <object type="text" color="%text_color%">
873 <font resource="font" />
874 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
875 <text>%tw_slider_text%</text>
876 </object>
877
878 <object type="action">
879 <touch key="back" />
880 <actions>
881 <action function="set">tw_clear_destination=%tw_back%</action>
882 <action function="page">clear_vars</action>
883 </actions>
884 </object>
885
886 <object type="action">
887 <touch key="home" />
888 <action function="page">main</action>
889 </object>
890
891 <object type="template" name="footer" />
892 </page>
893
894 <page name="action_page">
895 <object type="template" name="header" />
896
897 <object type="text" color="%text_color%">
898 <font resource="font" />
899 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
900 <text>%tw_action_text1%</text>
901 </object>
902
903 <object type="text" color="%text_color%">
904 <font resource="font" />
905 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
906 <text>%tw_action_text2%</text>
907 </object>
908
909 <object type="template" name="action_page_console" />
910
Dees_Troy2691f9d2012-09-24 11:15:49 -0400911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600912 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -0400913 <condition var1="tw_has_cancel" var2="1" />
914 <placement x="%col4_x%" y="%slider_y%" />
915 <font resource="font" color="%button_text_color%" />
916 <text>Cancel</text>
917 <image resource="main_button" />
918 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
919 </object>
920
Dees_Troy51a0e822012-09-05 15:24:24 -0400921 <object type="template" name="progress_bar" />
922
923 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400924 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400925 <actions>
926 <action function="page">action_complete</action>
927 </actions>
928 </object>
929
930 <object type="action">
931 <condition var1="tw_has_action2" var2="0" />
932 <actions>
933 <action function="%tw_action%">%tw_action_param%</action>
934 </actions>
935 </object>
936
937 <object type="action">
938 <condition var1="tw_has_action2" var2="1" />
939 <actions>
940 <action function="%tw_action%">%tw_action_param%</action>
941 <action function="%tw_action2%">%tw_action2_param%</action>
942 </actions>
943 </object>
944 </page>
945
Dees_Troy6ef66352013-02-21 08:26:57 -0600946 <page name="singleaction_page">
947 <object type="template" name="header" />
948
949 <object type="text" color="%text_color%">
950 <font resource="font" />
951 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
952 <text>%tw_action_text1%</text>
953 </object>
954
955 <object type="text" color="%text_color%">
956 <font resource="font" />
957 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
958 <text>%tw_action_text2%</text>
959 </object>
960
961 <object type="template" name="action_page_console" />
962
963 <object type="template" name="progress_bar" />
964
965 <object type="action">
966 <condition var1="tw_operation_state" var2="1" />
967 <actions>
968 <action function="set">tw_page_done=1</action>
969 </actions>
970 </object>
971
972 <object type="action">
973 <condition var1="tw_has_action2" var2="0" />
974 <actions>
975 <action function="%tw_action%">%tw_action_param%</action>
976 </actions>
977 </object>
978
979 <object type="action">
980 <condition var1="tw_has_action2" var2="1" />
981 <actions>
982 <action function="%tw_action%">%tw_action_param%</action>
983 <action function="%tw_action2%">%tw_action2_param%</action>
984 </actions>
985 </object>
986 </page>
987
Dees_Troy51a0e822012-09-05 15:24:24 -0400988 <page name="action_complete">
989 <object type="template" name="header" />
990
991 <object type="text" color="%text_color%">
992 <font resource="font" />
993 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
994 <text>%tw_complete_text1%</text>
995 </object>
996
997 <object type="text" color="%text_fail_color%">
998 <condition var1="tw_operation_status" op="!=" var2="0" />
999 <font resource="font" />
1000 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1001 <text>Failed</text>
1002 </object>
1003
1004 <object type="text" color="%text_success_color%">
1005 <condition var1="tw_operation_status" var2="0" />
1006 <font resource="font" />
1007 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1008 <text>Successful</text>
1009 </object>
1010
1011 <object type="template" name="action_page_console" />
1012
1013 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001014 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001015 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001016 <placement x="%col_center_x%" y="%slider_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Back</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_clear_destination=%tw_back%</action>
1022 <action function="page">clear_vars</action>
1023 </actions>
1024 </object>
1025
Dees_Troya3f81542012-10-08 10:58:53 -04001026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001027 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001028 <condition var1="tw_show_reboot" var2="1" />
1029 <placement x="%col_center_x%" y="%slider_y%" />
1030 <font resource="font" color="%button_text_color%" />
1031 <text>Reboot System</text>
1032 <image resource="main_button" />
1033 <actions>
1034 <action function="set">tw_back=main2</action>
1035 <action function="set">tw_action=reboot</action>
1036 <action function="set">tw_action_param=system</action>
1037 <action function="set">tw_has_action2=0</action>
1038 <action function="set">tw_text1=No OS Installed! Are you</action>
1039 <action function="set">tw_text2=sure you wish to reboot?</action>
1040 <action function="set">tw_text3=</action>
1041 <action function="set">tw_text4=</action>
1042 <action function="set">tw_action_text1=Rebooting...</action>
1043 <action function="set">tw_action_text2=</action>
1044 <action function="set">tw_complete_text1=Rebooting...</action>
1045 <action function="set">tw_slider_text=Swipe to Reboot</action>
1046 <action function="page">rebootcheck</action>
1047 </actions>
1048 </object>
1049
Dees_Troy51a0e822012-09-05 15:24:24 -04001050 <object type="action">
1051 <touch key="home" />
1052 <actions>
1053 <action function="set">tw_clear_destination=main2</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057
1058 <object type="action">
1059 <touch key="back" />
1060 <actions>
1061 <action function="set">tw_clear_destination=%tw_back%</action>
1062 <action function="page">clear_vars</action>
1063 </actions>
1064 </object>
1065 </page>
1066
1067 <page name="filecheck">
1068 <object type="action">
1069 <action function="fileexists">%tw_filecheck%</action>
1070 </object>
1071
1072 <object type="action">
1073 <conditions>
1074 <condition var1="tw_operation_state" var2="1" />
1075 <condition var1="tw_operation_status" var2="0" />
1076 </conditions>
1077 <actions>
1078 <action function="set">tw_fileexists=1</action>
1079 <action function="page">%tw_existpage%</action>
1080 </actions>
1081 </object>
1082
1083 <object type="action">
1084 <conditions>
1085 <condition var1="tw_operation_state" var2="1" />
1086 <condition var1="tw_operation_status" var2="1" />
1087 </conditions>
1088 <actions>
1089 <action function="set">tw_fileexists=0</action>
1090 <action function="page">%tw_notexistpage%</action>
1091 </actions>
1092 </object>
1093 </page>
1094
1095 <page name="rebootcheck">
1096 <object type="action">
1097 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1098 <action function="reboot">%tw_action_param%</action>
1099 </object>
1100
1101 <object type="action">
1102 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1103 <action function="page">confirm_action</action>
1104 </object>
1105 </page>
1106
1107 <page name="reboot">
1108 <object type="template" name="header" />
1109
1110 <object type="text" color="%text_color%">
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1113 <text>Reboot Menu</text>
1114 </object>
1115
1116 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001117 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001118 <condition var1="tw_reboot_system" var2="1" />
1119 <placement x="%col1_x%" y="%row1_y%" />
1120 <font resource="font" color="%button_text_color%" />
1121 <text>System</text>
1122 <image resource="main_button" />
1123 <actions>
1124 <action function="set">tw_back=reboot</action>
1125 <action function="set">tw_action=reboot</action>
1126 <action function="set">tw_action_param=system</action>
1127 <action function="set">tw_has_action2=0</action>
1128 <action function="set">tw_text1=No OS Installed! Are you</action>
1129 <action function="set">tw_text2=sure you wish to reboot?</action>
1130 <action function="set">tw_action_text1=Rebooting...</action>
1131 <action function="set">tw_complete_text1=Rebooting...</action>
1132 <action function="set">tw_slider_text=Swipe to Reboot</action>
1133 <action function="page">rebootcheck</action>
1134 </actions>
1135 </object>
1136
1137 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001138 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <condition var1="tw_reboot_poweroff" var2="1" />
1140 <placement x="%col2_x%" y="%row1_y%" />
1141 <font resource="font" color="%button_text_color%" />
1142 <text>Power Off</text>
1143 <image resource="main_button" />
1144 <actions>
1145 <action function="set">tw_back=reboot</action>
1146 <action function="set">tw_action=reboot</action>
1147 <action function="set">tw_action_param=poweroff</action>
1148 <action function="set">tw_has_action2=0</action>
1149 <action function="set">tw_text1=No OS Installed! Are you</action>
1150 <action function="set">tw_text2=sure you wish to power off?</action>
1151 <action function="set">tw_action_text1=Turning Off...</action>
1152 <action function="set">tw_complete_text1=Turning Off...</action>
1153 <action function="set">tw_slider_text=Swipe to Power Off</action>
1154 <action function="page">rebootcheck</action>
1155 </actions>
1156 </object>
1157
1158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 <condition var1="tw_reboot_recovery" var2="1" />
1161 <placement x="%col1_x%" y="%row2_y%" />
1162 <font resource="font" color="%button_text_color%" />
1163 <text>Recovery</text>
1164 <image resource="main_button" />
1165 <actions>
1166 <action function="set">tw_back=reboot</action>
1167 <action function="set">tw_action=reboot</action>
1168 <action function="set">tw_action_param=recovery</action>
1169 <action function="set">tw_has_action2=0</action>
1170 <action function="set">tw_text1=No OS Installed! Are you</action>
1171 <action function="set">tw_text2=sure you wish to reboot?</action>
1172 <action function="set">tw_action_text1=Rebooting...</action>
1173 <action function="set">tw_complete_text1=Rebooting...</action>
1174 <action function="set">tw_slider_text=Swipe to Reboot</action>
1175 <action function="page">rebootcheck</action>
1176 </actions>
1177 </object>
1178
1179 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001180 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001181 <condition var1="tw_reboot_bootloader" var2="1" />
1182 <placement x="%col2_x%" y="%row2_y%" />
1183 <font resource="font" color="%button_text_color%" />
1184 <text>Bootloader</text>
1185 <image resource="main_button" />
1186 <actions>
1187 <action function="set">tw_back=reboot</action>
1188 <action function="set">tw_action=reboot</action>
1189 <action function="set">tw_action_param=bootloader</action>
1190 <action function="set">tw_has_action2=0</action>
1191 <action function="set">tw_text1=No OS Installed! Are you</action>
1192 <action function="set">tw_text2=sure you wish to reboot?</action>
1193 <action function="set">tw_action_text1=Rebooting...</action>
1194 <action function="set">tw_complete_text1=Rebooting...</action>
1195 <action function="set">tw_slider_text=Swipe to Reboot</action>
1196 <action function="page">rebootcheck</action>
1197 </actions>
1198 </object>
1199
1200 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001201 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001202 <condition var1="tw_download_mode" var2="1" />
1203 <placement x="%col3_x%" y="%row2_y%" />
1204 <font resource="font" color="%button_text_color%" />
1205 <text>Download</text>
1206 <image resource="main_button" />
1207 <actions>
1208 <action function="set">tw_back=reboot</action>
1209 <action function="set">tw_action=reboot</action>
1210 <action function="set">tw_action_param=download</action>
1211 <action function="set">tw_has_action2=0</action>
1212 <action function="set">tw_text1=No OS Installed! Are you</action>
1213 <action function="set">tw_text2=sure you wish to reboot?</action>
1214 <action function="set">tw_action_text1=Rebooting...</action>
1215 <action function="set">tw_complete_text1=Rebooting...</action>
1216 <action function="set">tw_slider_text=Swipe to Reboot</action>
1217 <action function="page">rebootcheck</action>
1218 </actions>
1219 </object>
1220
1221 <object type="action">
1222 <touch key="home" />
1223 <action function="page">main</action>
1224 </object>
1225
1226 <object type="action">
1227 <touch key="back" />
1228 <action function="page">main</action>
1229 </object>
1230
1231 <object type="template" name="footer" />
1232 </page>
1233
Dees_Troya13d74f2013-03-24 08:54:55 -05001234 <page name="selectstorage">
1235 <object type="template" name="header" />
1236
1237 <object type="partitionlist">
1238 <highlight color="%fileselector_highlight_color%" />
1239 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
1240 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1241 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1242 <text>Select Storage:</text>
1243 <icon selected="radio_true" unselected="radio_false" />
1244 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1245 <background color="%listbox_background%" />
1246 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1247 <data name="tw_storage_path" />
1248 <listtype name="storage" />
1249 </object>
1250
Dees_Troye7e0ae82013-07-05 14:46:07 +00001251 <object type="button">
1252 <highlight color="%highlight_color%" />
1253 <placement x="%filemanager_select_x%" y="%row2_y%" />
1254 <font resource="font" color="%button_text_color%" />
1255 <text>OK</text>
1256 <image resource="main_button" />
1257 <actions>
1258 <action function="set">tw_clear_destination=%tw_back%</action>
1259 <action function="page">clear_vars</action>
1260 </actions>
1261 </object>
1262
Dees_Troya13d74f2013-03-24 08:54:55 -05001263 <object type="action">
1264 <touch key="home" />
1265 <action function="page">main</action>
1266 </object>
1267
1268 <object type="action">
1269 <touch key="back" />
1270 <actions>
1271 <action function="page">%tw_back%</action>
1272 </actions>
1273 </object>
1274
1275 <object type="template" name="footer" />
1276 </page>
1277
Dees_Troy51a0e822012-09-05 15:24:24 -04001278 <page name="mount">
1279 <object type="template" name="header" />
1280
1281 <object type="text" color="%text_color%">
1282 <font resource="font" />
1283 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1284 <text>Mount Menu</text>
1285 </object>
1286
Dees_Troya13d74f2013-03-24 08:54:55 -05001287 <object type="partitionlist">
1288 <highlight color="%fileselector_highlight_color%" />
1289 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%mount_list_height%" />
1290 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1291 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1292 <text>Select Partitions to Mount:</text>
1293 <icon selected="checkbox_true" unselected="checkbox_false" />
1294 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1295 <background color="%listbox_background%" />
1296 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1297 <listtype name="mount" />
1298 </object>
1299
1300 <object type="button">
1301 <highlight color="%highlight_color%" />
1302 <conditions>
1303 <condition var1="tw_is_encrypted" var2="1" />
1304 <condition var1="tw_is_decrypted" var2="0" />
1305 </conditions>
1306 <placement x="%col3_x%" y="row1_y" />
1307 <font resource="font" color="%button_text_color%" />
1308 <text>Decrypt Data</text>
1309 <image resource="main_button" />
1310 <action function="page">decrypt</action>
1311 </object>
1312
Dees_Troy51a0e822012-09-05 15:24:24 -04001313 <object type="button">
1314 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001315 <placement x="%col4_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001316 <font resource="font" color="%button_text_color%" />
1317 <text>Mount USB Storage</text>
1318 <image resource="main_button" />
1319 <action function="page">usb_mount</action>
1320 </object>
1321
1322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001323 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001324 <fill color="%button_fill_color%" />
1325 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1326 <font resource="font" color="%button_text_color%" />
1327 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1328 <actions>
1329 <action function="set">tw_back=mount</action>
1330 <action function="page">selectstorage</action>
1331 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 </object>
1333
1334 <object type="action">
1335 <touch key="home" />
1336 <action function="page">main</action>
1337 </object>
1338
1339 <object type="action">
1340 <touch key="back" />
1341 <action function="page">main</action>
1342 </object>
1343
1344 <object type="template" name="footer" />
1345 </page>
1346
1347 <page name="usb_mount">
1348 <object type="template" name="header" />
1349
1350 <object type="text" color="%text_color%">
1351 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1352 <font resource="font" />
1353 <text>USB Storage Mounted -- Be sure to safely remove your device from your computer before unmounting!</text>
1354 </object>
1355
1356 <object type="text" color="%text_color%">
1357 <placement x="%col1_x%" y="%row2_text_y%" />
1358 <font resource="font" />
1359 <text></text>
1360 </object>
1361
1362 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001363 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001364 <placement x="%col_center_x%" y="%row1_y%" />
1365 <font resource="font" color="%button_text_color%" />
1366 <text>Unmount</text>
1367 <image resource="main_button" />
1368 <action function="page">usb_umount</action>
1369 </object>
1370
1371 <object type="action">
1372 <action function="mount">usb</action>
1373 </object>
1374
1375 <object type="template" name="footer" />
1376 </page>
1377
1378 <page name="usb_umount">
1379 <object type="action">
1380 <action function="unmount">usb</action>
1381 </object>
1382
1383 <object type="action">
1384 <action function="page">mount</action>
1385 </object>
1386
1387 <object type="template" name="footer" />
1388 </page>
1389
1390 <page name="wipe">
1391 <object type="template" name="header" />
1392
1393 <object type="text" color="%text_color%">
1394 <font resource="font" />
1395 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001396 <text>Factory Reset: Wipes Data, Cache, and Dalvik</text>
1397 </object>
1398
1399 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001400 <conditions>
1401 <condition var1="tw_has_android_secure" var2="1" />
1402 <condition var1="fileexists" var2="/and-sec" />
1403 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001404 <font resource="font" />
1405 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1406 <text>.android_secure</text>
1407 </object>
1408
1409 <object type="text" color="%text_color%">
1410 <condition var1="tw_has_data_media" var2="1" />
1411 <font resource="font" />
1412 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1413 <text>(not including internal storage)</text>
1414 </object>
1415
1416 <object type="text" color="%text_color%">
1417 <condition var1="tw_has_sdext_partition" var2="1" />
1418 <font resource="font" />
1419 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1420 <text>SD-EXT</text>
1421 </object>
1422
1423 <object type="text" color="%text_color%">
1424 <font resource="font" />
1425 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1426 <text>Most of the time this is the only wipe that you need.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 </object>
1428
1429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001430 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001431 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001433 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001435 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001436 </object>
1437
1438 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <conditions>
1440 <condition var1="tw_has_internal" var2="1" />
1441 <condition var1="tw_has_data_media" var2="1" />
1442 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001443 <highlight color="%highlight_color%" />
1444 <placement x="%col3_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001445 <font resource="font" color="%button_text_color%" />
1446 <text>Format Data</text>
1447 <image resource="main_button" />
1448 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001449 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001450 </actions>
1451 </object>
1452
Dees_Troya13d74f2013-03-24 08:54:55 -05001453 <object type="text" color="%text_color%">
1454 <font resource="font" />
1455 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
1456 <text>Press back button to cancel.</text>
1457 </object>
1458
1459 <object type="slider">
1460 <placement x="%slider_x%" y="%slider_y%" />
1461 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001462 <actions>
1463 <action function="set">tw_back=wipe</action>
1464 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001465 <action function="set">tw_action_param=data</action>
1466 <action function="set">tw_action_text1=Factory Reset...</action>
1467 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1468 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001469 </actions>
1470 </object>
1471
Dees_Troya13d74f2013-03-24 08:54:55 -05001472 <object type="text" color="%text_color%">
1473 <font resource="font" />
1474 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1475 <text>Swipe to Factory Reset</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001476 </object>
1477
1478 <object type="action">
1479 <touch key="home" />
1480 <action function="page">main</action>
1481 </object>
1482
1483 <object type="action">
1484 <touch key="back" />
1485 <action function="page">main</action>
1486 </object>
1487
1488 <object type="template" name="footer" />
1489 </page>
1490
Dees_Troya13d74f2013-03-24 08:54:55 -05001491 <page name="advancedwipe">
1492 <object type="template" name="header" />
1493
1494 <object type="partitionlist">
1495 <highlight color="%fileselector_highlight_color%" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001496 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001497 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1498 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1499 <text>Select Partitions to Wipe:</text>
1500 <icon selected="checkbox_true" unselected="checkbox_false" />
1501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1502 <background color="%listbox_background%" />
1503 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1504 <data name="tw_wipe_list" />
1505 <listtype name="wipe" />
1506 </object>
1507
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001508 <object type="button">
1509 <highlight color="%highlight_color%" />
1510 <fill color="%button_fill_color%" />
1511 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1512 <font resource="font" color="%button_text_color%" />
1513 <text>Repair or Change File System</text>
1514 <actions>
1515 <action function="checkpartitionlist"></action>
1516 <action function="page">checkpartitionlist</action>
1517 </actions>
1518 </object>
1519
1520 <object type="text" color="%text_fail_color%">
1521 <condition var1="partitionlisterror" var2="1" />
1522 <font resource="font" />
1523 <placement x="%col3_x%" y="%backup_storage_y%" />
1524 <text>Invalid partition selection</text>
1525 </object>
1526
Dees_Troya13d74f2013-03-24 08:54:55 -05001527 <object type="slider">
1528 <placement x="%slider_x%" y="%slider_y%" />
1529 <resource base="slider" used="slider-used" touch="slider-touch" />
1530 <actions>
1531 <action function="set">tw_back=advancedwipe</action>
1532 <action function="set">tw_action=wipe</action>
1533 <action function="set">tw_action_param=LIST</action>
1534 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1535 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1536 <action function="set">tw_complete_text1=Wipe Complete</action>
1537 <action function="page">action_page</action>
1538 </actions>
1539 </object>
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1544 <text>Swipe to Wipe</text>
1545 </object>
1546
1547 <object type="action">
1548 <touch key="home" />
1549 <action function="page">main</action>
1550 </object>
1551
1552 <object type="action">
1553 <touch key="back" />
1554 <action function="page">wipe</action>
1555 </object>
1556
1557 <object type="template" name="footer" />
1558 </page>
1559
1560 <page name="formatdata">
1561 <object type="template" name="header" />
1562
1563 <object type="text" color="%text_color%">
1564 <font resource="font" />
1565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1566 <text>Format Data will wipe all of your apps, backups, pictures,</text>
1567 </object>
1568
1569 <object type="text" color="%text_color%">
1570 <font resource="font" />
1571 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1572 <text>videos, media, and removes encryption on internal storage.</text>
1573 </object>
1574
1575 <object type="text" color="%text_color%">
1576 <font resource="font" />
1577 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1578 <text>This cannot be undone. Press back to cancel.</text>
1579 </object>
1580
1581 <object type="text" color="%text_color%">
1582 <font resource="font" />
1583 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1584 <text>Type yes to continue.</text>
1585 </object>
1586
1587 <object type="input">
1588 <placement x="%input_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1589 <background color="%input_background_color%" />
1590 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1591 <font resource="font" color="%text_color%" />
1592 <text>%tw_confirm_formatdata%</text>
1593 <data name="tw_confirm_formatdata" />
1594 <restrict minlen="3" maxlen="3" allow="yes" />
1595 <action function="page">formatdata_confirm</action>
1596 </object>
1597
1598 <object type="template" name="keyboardtemplate" />
1599
1600 <object type="action">
1601 <touch key="home" />
1602 <action function="page">main</action>
1603 </object>
1604
1605 <object type="action">
1606 <touch key="back" />
1607 <action function="page">wipe</action>
1608 </object>
1609
1610 <object type="template" name="footer" />
1611 </page>
1612
1613 <page name="formatdata_confirm">
1614 <object type="action">
1615 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1616 <actions>
1617 <action function="set">tw_back=formatdata</action>
1618 <action function="set">tw_action=wipe</action>
1619 <action function="set">tw_action_param=DATAMEDIA</action>
1620 <action function="set">tw_action_text1=Formatting Data...</action>
1621 <action function="set">tw_complete_text1=Data Format Complete</action>
1622 <action function="page">action_page</action>
1623 </actions>
1624 </object>
1625
1626 <object type="action">
1627 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1628 <action function="page">formatdata</function>
1629 </object>
1630 </page>
1631
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001632 <page name="checkpartitionlist">
1633 <object type="action">
1634 <condition var1="tw_check_partition_list" op="=" var2="1" />
1635 <actions>
1636 <action function="set">partitionlisterror=0</action>
1637 <action function="getpartitiondetails"></action>
1638 <action function="page">partitionoptions</action>
1639 </actions>
1640 </object>
1641
1642 <object type="action">
1643 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1644 <actions>
1645 <action function="set">partitionlisterror=1</action>
1646 <action function="set">tw_wipe_list=</action>
1647 <action function="page">advancedwipe</action>
1648 </actions>
1649 </object>
1650 </page>
1651
1652 <page name="partitionoptions">
1653 <object type="template" name="header" />
1654
1655 <object type="text" color="%text_color%">
1656 <font resource="font" />
1657 <placement x="%col1_x%" y="%row1_text_y%" />
1658 <text>Partition Options for: %tw_partition_name%</text>
1659 </object>
1660
1661 <object type="text" color="%text_color%">
1662 <font resource="font" />
1663 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1664 <text>Mount Point: %tw_partition_mount_point%</text>
1665 </object>
1666
1667 <object type="text" color="%text_color%">
1668 <font resource="font" />
1669 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1670 <text>Current file system: %tw_partition_file_system%</text>
1671 </object>
1672
1673 <object type="text" color="%text_color%">
1674 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1675 <font resource="font" />
1676 <placement x="%col2_x%" y="%row3_text_y%" />
1677 <text>Present: Yes</text>
1678 </object>
1679
1680 <object type="text" color="%text_color%">
1681 <condition var1="tw_partition_is_present" op="=" var2="0" />
1682 <font resource="font" />
1683 <placement x="%col2_x%" y="%row3_text_y%" />
1684 <text>Present: No</text>
1685 </object>
1686
1687 <object type="text" color="%text_color%">
1688 <condition var1="tw_partition_removable" op="!=" var2="0" />
1689 <font resource="font" />
1690 <placement x="%col3_x%" y="%row3_text_y%" />
1691 <text>Removable: Yes</text>
1692 </object>
1693
1694 <object type="text" color="%text_color%">
1695 <condition var1="tw_partition_removable" op="=" var2="0" />
1696 <font resource="font" />
1697 <placement x="%col3_x%" y="%row3_text_y%" />
1698 <text>Removable: No</text>
1699 </object>
1700
1701 <object type="text" color="%text_color%">
1702 <font resource="font" />
1703 <placement x="%col1_x%" y="%row4_text_y%" />
1704 <text>Size: %tw_partition_size%MB</text>
1705 </object>
1706
1707 <object type="text" color="%text_color%">
1708 <font resource="font" />
1709 <placement x="%col2_x%" y="%row4_text_y%" />
1710 <text>Used: %tw_partition_used%MB</text>
1711 </object>
1712
1713 <object type="text" color="%text_color%">
1714 <font resource="font" />
1715 <placement x="%col3_x%" y="%row4_text_y%" />
1716 <text>Free: %tw_partition_free%MB</text>
1717 </object>
1718
1719 <object type="text" color="%text_color%">
1720 <font resource="font" />
1721 <placement x="%col4_x%" y="%row4_text_y%" />
1722 <text>Backup Size: %tw_partition_backup_size%MB</text>
1723 </object>
1724
1725 <object type="button">
1726 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1727 <highlight color="%highlight_color%" />
1728 <placement x="%col2_x%" y="%row2_y%" />
1729 <font resource="font" color="%button_text_color%" />
1730 <text>Repair</text>
1731 <image resource="main_button" />
1732 <actions>
1733 <action function="set">tw_back=partitionoptions</action>
1734 <action function="set">tw_action=repair</action>
1735 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1736 <action function="set">tw_has_action2=0</action>
1737 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1738 <action function="set">tw_text2=</action>
1739 <action function="set">tw_action_text1=Repairing...</action>
1740 <action function="set">tw_complete_text1=Repair Complete</action>
1741 <action function="set">tw_slider_text=Swipe to Repair</action>
1742 <action function="page">confirm_action</action>
1743 </actions>
1744 </object>
1745
1746 <object type="button">
1747 <highlight color="%highlight_color%" />
1748 <placement x="%col3_x%" y="%row2_y%" />
1749 <font resource="font" color="%button_text_color%" />
1750 <text>Change File System</text>
1751 <image resource="main_button" />
1752 <action function="page">selectfilesystem</action>
1753 </object>
1754
1755 <object type="action">
1756 <touch key="home" />
1757 <action function="page">main</action>
1758 </object>
1759
1760 <object type="action">
1761 <touch key="back" />
1762 <action function="page">advancedwipe</action>
1763 </object>
1764
1765 <object type="template" name="footer" />
1766 </page>
1767
1768 <page name="selectfilesystem">
1769 <object type="template" name="header" />
1770
1771 <object type="text" color="%text_color%">
1772 <font resource="font" />
1773 <placement x="%col1_x%" y="%row1_text_y%" />
1774 <text>Change file system for: %tw_partition_name%</text>
1775 </object>
1776
1777 <object type="text" color="%text_color%">
1778 <font resource="font" />
1779 <placement x="%col_right_x%" y="%row1_text_y%" placement="1" />
1780 <text>Mount Point: %tw_partition_mount_point%</text>
1781 </object>
1782
1783 <object type="text" color="%text_color%">
1784 <font resource="font" />
1785 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1786 <text>Current file system: %tw_partition_file_system%</text>
1787 </object>
1788
1789 <object type="text" color="%text_color%">
1790 <font resource="font" />
1791 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1792 <text>Some ROMs or kernels may not support some file systems. Proceed with caution!</text>
1793 </object>
1794
1795 <object type="button">
1796 <condition var1="tw_partition_ext" op="=" var2="1" />
1797 <highlight color="%highlight_color%" />
1798 <placement x="%col1_x%" y="%row1_y%" />
1799 <font resource="font" color="%button_text_color%" />
1800 <text>EXT2</text>
1801 <image resource="main_button" />
1802 <actions>
1803 <action function="set">tw_back=selectfilesystem</action>
1804 <action function="set">tw_action=changefilesystem</action>
1805 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1806 <action function="set">tw_action_new_file_system=ext2</action>
1807 <action function="set">tw_has_action2=0</action>
1808 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1809 <action function="set">tw_text2=</action>
1810 <action function="set">tw_action_text1=Formatting...</action>
1811 <action function="set">tw_complete_text1=Format Complete</action>
1812 <action function="set">tw_slider_text=Swipe to Change</action>
1813 <action function="page">confirm_action</action>
1814 </actions>
1815 </object>
1816
1817 <object type="button">
1818 <condition var1="tw_partition_ext" op="=" var2="1" />
1819 <highlight color="%highlight_color%" />
1820 <placement x="%col2_x%" y="%row1_y%" />
1821 <font resource="font" color="%button_text_color%" />
1822 <text>EXT3</text>
1823 <image resource="main_button" />
1824 <actions>
1825 <action function="set">tw_back=selectfilesystem</action>
1826 <action function="set">tw_action=changefilesystem</action>
1827 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1828 <action function="set">tw_action_new_file_system=ext3</action>
1829 <action function="set">tw_has_action2=0</action>
1830 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1831 <action function="set">tw_text2=</action>
1832 <action function="set">tw_action_text1=Formatting...</action>
1833 <action function="set">tw_complete_text1=Format Complete</action>
1834 <action function="set">tw_slider_text=Swipe to Change</action>
1835 <action function="page">confirm_action</action>
1836 </actions>
1837 </object>
1838
1839 <object type="button">
1840 <condition var1="tw_partition_ext" op="=" var2="1" />
1841 <highlight color="%highlight_color%" />
1842 <placement x="%col3_x%" y="%row1_y%" />
1843 <font resource="font" color="%button_text_color%" />
1844 <text>EXT4</text>
1845 <image resource="main_button" />
1846 <actions>
1847 <action function="set">tw_back=selectfilesystem</action>
1848 <action function="set">tw_action=changefilesystem</action>
1849 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1850 <action function="set">tw_action_new_file_system=ext4</action>
1851 <action function="set">tw_has_action2=0</action>
1852 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1853 <action function="set">tw_text2=</action>
1854 <action function="set">tw_action_text1=Formatting...</action>
1855 <action function="set">tw_complete_text1=Format Complete</action>
1856 <action function="set">tw_slider_text=Swipe to Change</action>
1857 <action function="page">confirm_action</action>
1858 </actions>
1859 </object>
1860
1861 <object type="button">
1862 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1863 <highlight color="%highlight_color%" />
1864 <placement x="%col4_x%" y="%row1_y%" />
1865 <font resource="font" color="%button_text_color%" />
1866 <text>F2FS</text>
1867 <image resource="main_button" />
1868 <actions>
1869 <action function="set">tw_back=selectfilesystem</action>
1870 <action function="set">tw_action=changefilesystem</action>
1871 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1872 <action function="set">tw_action_new_file_system=f2fs</action>
1873 <action function="set">tw_has_action2=0</action>
1874 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1875 <action function="set">tw_text2=</action>
1876 <action function="set">tw_action_text1=Formatting...</action>
1877 <action function="set">tw_complete_text1=Format Complete</action>
1878 <action function="set">tw_slider_text=Swipe to Change</action>
1879 <action function="page">confirm_action</action>
1880 </actions>
1881 </object>
1882
1883 <object type="button">
1884 <condition var1="tw_partition_vfat" op="=" var2="1" />
1885 <highlight color="%highlight_color%" />
1886 <placement x="%col2_x%" y="%row2_y%" />
1887 <font resource="font" color="%button_text_color%" />
1888 <text>FAT</text>
1889 <image resource="main_button" />
1890 <actions>
1891 <action function="set">tw_back=selectfilesystem</action>
1892 <action function="set">tw_action=changefilesystem</action>
1893 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1894 <action function="set">tw_action_new_file_system=vfat</action>
1895 <action function="set">tw_has_action2=0</action>
1896 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1897 <action function="set">tw_text2=</action>
1898 <action function="set">tw_action_text1=Formatting...</action>
1899 <action function="set">tw_complete_text1=Format Complete</action>
1900 <action function="set">tw_slider_text=Swipe to Change</action>
1901 <action function="page">confirm_action</action>
1902 </actions>
1903 </object>
1904
1905 <object type="button">
1906 <condition var1="tw_partition_exfat" op="=" var2="1" />
1907 <highlight color="%highlight_color%" />
1908 <placement x="%col3_x%" y="%row2_y%" />
1909 <font resource="font" color="%button_text_color%" />
1910 <text>exFAT</text>
1911 <image resource="main_button" />
1912 <actions>
1913 <action function="set">tw_back=selectfilesystem</action>
1914 <action function="set">tw_action=changefilesystem</action>
1915 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1916 <action function="set">tw_action_new_file_system=exfat</action>
1917 <action function="set">tw_has_action2=0</action>
1918 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1919 <action function="set">tw_text2=</action>
1920 <action function="set">tw_action_text1=Formatting...</action>
1921 <action function="set">tw_complete_text1=Format Complete</action>
1922 <action function="set">tw_slider_text=Swipe to Change</action>
1923 <action function="page">confirm_action</action>
1924 </actions>
1925 </object>
1926
1927 <object type="action">
1928 <touch key="home" />
1929 <action function="page">main</action>
1930 </object>
1931
1932 <object type="action">
1933 <touch key="back" />
1934 <action function="page">partitionoptions</action>
1935 </object>
1936
1937 <object type="template" name="footer" />
1938 </page>
1939
Dees_Troy51a0e822012-09-05 15:24:24 -04001940 <page name="backup">
1941 <object type="template" name="header" />
1942
1943 <object type="text" color="%text_color%">
1944 <font resource="font" />
1945 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1946 <text>Back Up Device</text>
1947 </object>
1948
Dees_Troya13d74f2013-03-24 08:54:55 -05001949 <object type="partitionlist">
1950 <highlight color="%fileselector_highlight_color%" />
1951 <placement x="%backup_list_x%" y="%backup_list_y%" w="%backup_list_width%" h="%backup_list_height%" />
1952 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1953 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1954 <text>Select Partitions to Back Up:</text>
1955 <icon selected="checkbox_true" unselected="checkbox_false" />
1956 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1957 <background color="%listbox_background%" />
1958 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1959 <data name="tw_backup_list" />
1960 <listtype name="backup" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001961 </object>
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%col_right_x%" y="%row2_text_y%" placement="1" />
1966 <text>Backup Name: %tw_backup_name%</text>
1967 </object>
1968
Dees_Troya13d74f2013-03-24 08:54:55 -05001969 <object type="button">
1970 <highlight color="%highlight_color%" />
1971 <placement x="%col3_x%" y="%row1_y%" />
1972 <font resource="font" color="%button_text_color%" />
1973 <text>Refresh Sizes</text>
1974 <image resource="main_button" />
Matt Mowercd8169c2014-04-02 04:24:08 -05001975 <actions>
1976 <action function="refreshsizes"></action>
1977 <action function="page">backup</action>
1978 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001979 </object>
1980
1981 <object type="button">
1982 <highlight color="%highlight_color%" />
1983 <placement x="%col4_x%" y="%row1_y%" />
1984 <font resource="font" color="%button_text_color%" />
1985 <text>Set Backup Name</text>
1986 <image resource="main_button" />
1987 <actions>
1988 <action function="set">tw_fileexists=0</action>
1989 <action function="page">backupname1</action>
1990 </actions>
1991 </object>
1992
1993 <object type="button">
1994 <highlight color="%highlight_color%" />
1995 <fill color="%button_fill_color%" />
1996 <placement x="%col3_x%" y="%backup_storage_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
1997 <font resource="font" color="%button_text_color%" />
1998 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1999 <actions>
2000 <action function="set">tw_back=backup</action>
2001 <action function="page">selectstorage</action>
2002 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002003 </object>
2004
Dees_Troy83bd4832013-05-04 12:39:56 +00002005 <object type="button">
2006 <conditions>
2007 <condition var1="tw_include_encrypted_backup" var2="1" />
2008 <condition var1="tw_encrypt_backup" var2="0" />
2009 </conditions>
2010 <highlight color="%highlight_color%" />
2011 <fill color="%button_fill_color%" />
2012 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
2013 <font resource="font" color="%button_text_color%" />
2014 <text>No Encryption</text>
2015 <actions>
2016 <action function="page">backupencryption</action>
2017 </actions>
2018 </object>
2019
2020 <object type="button">
2021 <conditions>
2022 <condition var1="tw_include_encrypted_backup" var2="1" />
2023 <condition var1="tw_encrypt_backup" var2="1" />
2024 </conditions>
2025 <highlight color="%highlight_color%" />
2026 <fill color="%button_fill_color%" />
2027 <placement x="%col3_x%" y="%backup_encrypt_y%" w="%button_fill_main_width%" h="%button_fill_half_height%" />
2028 <font resource="font" color="%button_text_color%" />
2029 <text>Using Encryption</text>
2030 <actions>
2031 <action function="page">backupencryption</action>
2032 </actions>
2033 </object>
2034
Dees_Troy51a0e822012-09-05 15:24:24 -04002035 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002036 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 <font resource="font" color="%text_color%" />
2038 <text>Enable Compression (Requires more time)</text>
2039 <data variable="tw_use_compression" />
2040 <image checked="checkbox_true" unchecked="checkbox_false" />
2041 </object>
2042
2043 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002044 <placement x="%col3_x%" y="%nandcheck_row7%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002045 <font resource="font" color="%text_color%" />
2046 <text>Skip MD5 generation on backups</text>
2047 <data variable="tw_skip_md5_generate" />
2048 <image checked="checkbox_true" unchecked="checkbox_false" />
2049 </object>
2050
Dees_Troy51a0e822012-09-05 15:24:24 -04002051 <object type="slider">
2052 <placement x="%slider_x%" y="%slider_y%" />
2053 <resource base="slider" used="slider-used" touch="slider-touch" />
2054 <actions>
2055 <action function="set">tw_operation_state=0</action>
2056 <action function="page">backup_run</action>
2057 </actions>
2058 </object>
2059
2060 <object type="text" color="%text_color%">
2061 <font resource="font" />
2062 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2063 <text>Swipe to Back Up</text>
2064 </object>
2065
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <object type="action">
2067 <touch key="home" />
2068 <action function="page">main</action>
2069 </object>
2070
2071 <object type="action">
2072 <touch key="back" />
2073 <action function="page">main</action>
2074 </object>
2075
2076 <object type="template" name="footer" />
2077 </page>
2078
2079 <page name="backupname1">
2080 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00002081 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
2082 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04002083 </object>
2084
2085 <object type="action">
2086 <action function="page">backupname2</function>
2087 </object>
2088 </page>
2089
2090 <page name="backupname2">
2091 <object type="template" name="header" />
2092
2093 <object type="text" color="%text_color%">
2094 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2095 <font resource="font" />
2096 <text>Please Enter a Backup Name</text>
2097 </object>
2098
2099 <object type="input">
2100 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2101 <background color="%input_background_color%" />
2102 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2103 <font resource="font" color="%text_color%" />
2104 <text>%tw_backup_name%</text>
2105 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002106 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002107 <actions>
2108 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
2109 <action function="set">tw_existpage=backupname2</action>
2110 <action function="set">tw_notexistpage=backup</action>
2111 <action function="page">filecheck</action>
2112 </actions>
2113 </object>
2114
2115 <object type="text" color="%text_fail_color%">
2116 <condition var1="tw_fileexists" var2="1" />
2117 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2118 <font resource="font" />
2119 <text>A backup with that name already exists!</text>
2120 </object>
2121
2122 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002123 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00002124 <placement x="%col2_x%" y="%cancel_button_y%" />
2125 <font resource="font" color="%button_text_color%" />
2126 <text>Append Date</text>
2127 <image resource="main_button" />
2128 <action function="appenddatetobackupname"></action>
2129 </object>
2130
2131 <object type="button">
2132 <highlight color="%highlight_color%" />
2133 <placement x="%col3_x%" y="%cancel_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002134 <font resource="font" color="%button_text_color%" />
2135 <text>Cancel / Clear</text>
2136 <image resource="main_button" />
2137 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00002138 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 <action function="page">backup</action>
2140 </actions>
2141 </object>
2142
2143 <object type="template" name="keyboardtemplate" />
2144
2145 <object type="action">
2146 <touch key="home" />
2147 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00002148 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002149 <action function="page">main</action>
2150 </actions>
2151 </object>
2152
2153 <object type="action">
2154 <touch key="back" />
2155 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00002156 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002157 <action function="page">backup</action>
2158 </actions>
2159 </object>
2160
2161 <object type="template" name="footer" />
2162 </page>
2163
Dees_Troy83bd4832013-05-04 12:39:56 +00002164 <page name="backupencryption">
2165 <object type="template" name="header" />
2166
2167 <object type="text" color="%text_color%">
2168 <font resource="font" />
2169 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2170 <text>Encrypt your backup? Please enter a password:</text>
2171 </object>
2172
2173 <object type="input">
2174 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2175 <background color="%input_background_color%" />
2176 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2177 <font resource="font" color="%text_color%" />
2178 <text>%tw_backup_encrypt_display%</text>
2179 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
2180 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2181 <action function="page">backupencryption2</action>
2182 </object>
2183
2184 <object type="text" color="%text_fail_color%">
2185 <condition var1="tw_password_not_match" var2="1" />
2186 <font resource="font" />
2187 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2188 <text>Passwords Do Not Match</text>
2189 </object>
2190
2191 <object type="button">
2192 <highlight color="%highlight_color%" />
2193 <placement x="%col_center_x%" y="%cancel_button_y%" />
2194 <font resource="font" color="%button_text_color%" />
2195 <text>Cancel</text>
2196 <image resource="main_button" />
2197 <actions>
2198 <action function="set">tw_encrypt_backup=0</action>
2199 <action function="set">tw_backup_password=</action>
2200 <action function="set">tw_backup_password2=</action>
2201 <action function="set">tw_backup_encrypt_display=</action>
2202 <action function="set">tw_backup_encrypt_display2=</action>
2203 <action function="page">backup</action>
2204 </actions>
2205 </object>
2206
2207 <object type="template" name="keyboardtemplate" />
2208
2209 <object type="action">
2210 <touch key="home" />
2211 <action function="page">main</action>
2212 </object>
2213
2214 <object type="action">
2215 <touch key="back" />
2216 <action function="page">backup</action>
2217 </object>
2218
2219 <object type="template" name="footer" />
2220 </page>
2221
2222 <page name="backupencryption2">
2223 <object type="template" name="header" />
2224
2225 <object type="text" color="%text_color%">
2226 <font resource="font" />
2227 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2228 <text>Encrypt your backup? Please Enter Password Again:</text>
2229 </object>
2230
2231 <object type="input">
2232 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2233 <background color="%input_background_color%" />
2234 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2235 <font resource="font" color="%text_color%" />
2236 <text>%tw_backup_encrypt_display2%</text>
2237 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
2238 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2239 <actions>
2240 <action function="page">checkbackuppassword</action>
2241 </actions>
2242 </object>
2243
2244 <object type="button">
2245 <highlight color="%highlight_color%" />
2246 <placement x="%col_center_x%" y="%cancel_button_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>Cancel</text>
2249 <image resource="main_button" />
2250 <actions>
2251 <action function="set">tw_encrypt_backup=0</action>
2252 <action function="set">tw_backup_password=</action>
2253 <action function="set">tw_backup_password2=</action>
2254 <action function="set">tw_backup_encrypt_display=</action>
2255 <action function="set">tw_backup_encrypt_display2=</action>
2256 <action function="page">backup</action>
2257 </actions>
2258 </object>
2259
2260 <object type="template" name="keyboardtemplate" />
2261
2262 <object type="action">
2263 <touch key="home" />
2264 <action function="page">main</action>
2265 </object>
2266
2267 <object type="action">
2268 <touch key="back" />
2269 <action function="page">backup</action>
2270 </object>
2271
2272 <object type="template" name="footer" />
2273 </page>
2274
2275 <page name="checkbackuppassword">
2276 <object type="action">
2277 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2278 <actions>
2279 <action function="set">tw_encrypt_backup=1</action>
2280 <action function="page">backup</action>
2281 </actions>
2282 </object>
2283
2284 <object type="action">
2285 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2286 <actions>
2287 <action function="set">tw_encrypt_backup=0</action>
2288 <action function="set">tw_password_not_match=1</action>
2289 <action function="set">tw_backup_password=</action>
2290 <action function="set">tw_backup_password2=</action>
2291 <action function="set">tw_backup_encrypt_display=</action>
2292 <action function="set">tw_backup_encrypt_display2=</action>
2293 <action function="page">backupencryption</action>
2294 </actions>
2295 </object>
2296 </page>
2297
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 <page name="backup_run">
2299 <object type="template" name="header" />
2300
2301 <object type="text" color="%text_color%">
2302 <font resource="font" />
2303 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2304 <text>%tw_operation% %tw_partition%</text>
2305 </object>
2306
2307 <object type="template" name="action_page_console" />
2308
2309 <object type="template" name="progress_bar" />
2310
2311 <object type="action">
2312 <action function="nandroid">backup</action>
2313 </object>
2314
2315 <object type="action">
2316 <condition var1="tw_operation_state" var2="1" />
2317 <actions>
2318 <action function="set">tw_back=backup</action>
2319 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002320 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002321 <action function="page">action_complete</action>
2322 </actions>
2323 </object>
2324
2325 <object type="template" name="footer" />
2326 </page>
2327
2328 <page name="restore">
2329 <object type="template" name="header" />
2330
2331 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002332 <highlight color="%highlight_color%" />
2333 <fill color="%button_fill_color%" />
2334 <placement x="%col2_x%" y="%zipstorage_text_y%" w="%fileselector_folderonly_width%" h="%button_fill_quarter_height%" />
2335 <font resource="font" color="%button_text_color%" />
2336 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2337 <actions>
2338 <action function="set">tw_back=restore</action>
2339 <action function="page">selectstorage</action>
2340 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002341 </object>
2342
2343 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002344 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002345 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
2346 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002347 <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 -04002348 <text>Select Package to Restore:</text>
2349 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2350 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002351 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002352 <icon folder="folder_icon" file="file_icon" />
2353 <background color="%fileselector_background%" />
2354 <filter folders="1" files="0" nav="0" />
2355 <path name="tw_backups_folder" />
2356 <data name="tw_restore" default="" />
2357 <selection name="tw_restore_name" />
2358 </object>
2359
2360 <object type="template" name="sort_options" />
2361
2362 <object type="action">
2363 <condition var1="tw_restore" op="modified" />
2364 <actions>
2365 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002366 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002367 </actions>
2368 </object>
2369
2370 <object type="action">
2371 <touch key="home" />
2372 <action function="page">main</action>
2373 </object>
2374
2375 <object type="action">
2376 <touch key="back" />
2377 <action function="page">main</action>
2378 </object>
2379
2380 <object type="template" name="footer" />
2381 </page>
2382
Dees_Troy83bd4832013-05-04 12:39:56 +00002383 <page name="restore_read">
2384 <object type="action">
2385 <condition var1="tw_restore_encrypted" var2="1" />
2386 <actions>
2387 <action function="set">tw_password_fail=0</action>
2388 <action function="page">restore_decrypt</action>
2389 </actions>
2390 </object>
2391
2392 <object type="action">
2393 <condition var1="tw_restore_encrypted" var2="0" />
2394 <actions>
2395 <action function="page">restore_select</action>
2396 </actions>
2397 </object>
2398 </page>
2399
2400 <page name="restore_decrypt">
2401 <object type="template" name="header" />
2402
2403 <object type="text" color="%text_color%">
2404 <font resource="font" />
2405 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2406 <text>Backup encrypted. Please enter your password:</text>
2407 </object>
2408
2409 <object type="input">
2410 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2411 <background color="%input_background_color%" />
2412 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2413 <font resource="font" color="%text_color%" />
2414 <text>%tw_restore_display%</text>
2415 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2416 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2417 <actions>
2418 <action function="page">try_restore_decrypt</action>
2419 </actions>
2420 </object>
2421
2422 <object type="text" color="%text_fail_color%">
2423 <condition var1="tw_password_fail" var2="1" />
2424 <font resource="font" />
2425 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2426 <text>Password Failed, Please Try Again</text>
2427 </object>
2428
2429 <object type="button">
2430 <highlight color="%highlight_color%" />
2431 <placement x="%col2_x%" y="%cancel_button_y%" />
2432 <font resource="font" color="%button_text_color%" />
2433 <text>Cancel</text>
2434 <image resource="main_button" />
2435 <actions>
2436 <action function="set">tw_page_done=1</action>
2437 <action function="page">restore</action>
2438 </actions>
2439 </object>
2440
2441 <object type="button">
2442 <highlight color="%highlight_color%" />
2443 <placement x="%col3_x%" y="%cancel_button_y%" />
2444 <font resource="font" color="%button_text_color%" />
2445 <text>Delete</text>
2446 <image resource="main_button" />
2447 <actions>
2448 <action function="set">tw_back=restore</action>
2449 <action function="set">tw_action=cmd</action>
2450 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2451 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2452 <action function="set">tw_text2=This cannot be undone!</action>
2453 <action function="set">tw_action_text1=Deleting Backup...</action>
2454 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2455 <action function="set">tw_slider_text=Swipe to Delete</action>
2456 <action function="page">confirm_action</action>
2457 </actions>
2458 </object>
2459
2460 <object type="template" name="keyboardtemplate" />
2461
2462 <object type="action">
2463 <touch key="home" />
2464 <action function="page">main</action>
2465 </object>
2466
2467 <object type="action">
2468 <touch key="back" />
2469 <action function="page">restore</action>
2470 </object>
2471
2472 <object type="template" name="footer" />
2473 </page>
2474
2475 <page name="try_restore_decrypt">
2476 <object type="template" name="header" />
2477
2478 <object type="text" color="%text_color%">
2479 <font resource="font" />
2480 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2481 <text>Trying Decryption with Your Password</text>
2482 </object>
2483
2484 <object type="template" name="action_page_console" />
2485
2486 <object type="template" name="progress_bar" />
2487
2488 <object type="action">
2489 <action function="decrypt_backup"></action>
2490 </object>
2491
2492 <object type="action">
2493 <conditions>
2494 <condition var1="tw_operation_state" var2="1" />
2495 <condition var1="tw_operation_status" op="!=" var2="0" />
2496 </conditions>
2497 <actions>
2498 <action function="set">tw_password_fail=1</action>
2499 <action function="page">restore_decrypt</action>
2500 </actions>
2501 </object>
2502
2503 <object type="action">
2504 <conditions>
2505 <condition var1="tw_operation_state" var2="1" />
2506 <condition var1="tw_operation_status" op="=" var2="0" />
2507 </conditions>
2508 <actions>
2509 <action function="set">tw_page_done=1</action>
2510 <action function="page">restore_select</action>
2511 </actions>
2512 </object>
2513 </page>
2514
Dees_Troy51a0e822012-09-05 15:24:24 -04002515 <page name="restore_select">
2516 <object type="template" name="header" />
2517
2518 <object type="text" color="%text_color%">
2519 <font resource="font" />
2520 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2521 <text>Package to Restore: %tw_restore_name%</text>
2522 </object>
2523
2524 <object type="text" color="%text_color%">
2525 <font resource="font" />
2526 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2527 <text>Package Date: %tw_restore_file_date%</text>
2528 </object>
2529
Dees_Troya13d74f2013-03-24 08:54:55 -05002530 <object type="partitionlist">
2531 <highlight color="%fileselector_highlight_color%" />
2532 <placement x="%backup_list_x%" y="%restore_list_y%" w="%backup_list_width%" h="%restore_list_height%" />
2533 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2534 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2535 <text>Select Partitions to Restore:</text>
2536 <icon selected="checkbox_true" unselected="checkbox_false" />
2537 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2538 <background color="%listbox_background%" />
2539 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2540 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2541 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002542 </object>
2543
2544 <object type="checkbox">
Dees_Troya13d74f2013-03-24 08:54:55 -05002545 <placement x="%col3_x%" y="%nandcheck_row6%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002546 <font resource="font" color="%text_color%" />
2547 <text>Enable MD5 checking of backup files</text>
2548 <data variable="tw_skip_md5_check" />
2549 <image checked="checkbox_true" unchecked="checkbox_false" />
2550 </object>
2551
2552 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002553 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002554 <placement x="%col4_x%" y="%row1_y%" />
2555 <font resource="font" color="%button_text_color%" />
2556 <text>Rename Backup</text>
2557 <image resource="main_button" />
2558 <actions>
2559 <action function="set">tw_backup_rename=</action>
2560 <action function="set">tw_fileexists=0</action>
2561 <action function="page">renamebackup</action>
2562 </actions>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002567 <placement x="%col3_x%" y="%row1_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <font resource="font" color="%button_text_color%" />
2569 <text>Delete Backup</text>
2570 <image resource="main_button" />
2571 <actions>
2572 <action function="set">tw_back=restore</action>
2573 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002574 <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 -04002575 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2576 <action function="set">tw_text2=This cannot be undone!</action>
2577 <action function="set">tw_action_text1=Deleting Backup...</action>
2578 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2579 <action function="set">tw_slider_text=Swipe to Delete</action>
2580 <action function="page">confirm_action</action>
2581 </actions>
2582 </object>
2583
2584 <object type="slider">
2585 <placement x="%slider_x%" y="%slider_y%" />
2586 <resource base="slider" used="slider-used" touch="slider-touch" />
2587 <action function="page">restore_run</action>
2588 </object>
2589
2590 <object type="text" color="%text_color%">
2591 <font resource="font" />
2592 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2593 <text>Swipe to Restore</text>
2594 </object>
2595
2596 <object type="action">
2597 <touch key="home" />
2598 <action function="page">main</action>
2599 </object>
2600
2601 <object type="action">
2602 <touch key="back" />
2603 <action function="page">restore</action>
2604 </object>
2605
2606 <object type="template" name="footer" />
2607 </page>
2608
2609 <page name="renamebackup">
2610 <object type="template" name="header" />
2611
2612 <object type="text" color="%text_color%">
2613 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2614 <font resource="font" />
2615 <text>Please Enter a New Backup Name</text>
2616 </object>
2617
2618 <object type="input">
2619 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2620 <background color="%input_background_color%" />
2621 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2622 <font resource="font" color="%text_color%" />
2623 <text>%tw_backup_rename%</text>
2624 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002625 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002626 <actions>
2627 <action function="set">tw_back=restore</action>
2628 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002629 <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 -04002630 <action function="set">tw_text1=Rename Backup?</action>
2631 <action function="set">tw_text2=This cannot be undone!</action>
2632 <action function="set">tw_action_text1=Renaming Backup...</action>
2633 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2634 <action function="set">tw_slider_text=Swipe to Rename</action>
2635 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2636 <action function="set">tw_existpage=renamebackup</action>
2637 <action function="set">tw_notexistpage=confirm_action</action>
2638 <action function="page">filecheck</action>
2639 </actions>
2640 </object>
2641
2642 <object type="text" color="%text_fail_color%">
2643 <condition var1="tw_fileexists" var2="1" />
2644 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2645 <font resource="font" />
2646 <text>A backup with that name already exists!</text>
2647 </object>
2648
2649 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002650 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002651 <placement x="%col_center_x%" y="%cancel_button_y%" />
2652 <font resource="font" color="%button_text_color%" />
2653 <text>Cancel</text>
2654 <image resource="main_button" />
2655 <action function="page">restore_select</action>
2656 </object>
2657
2658 <object type="template" name="keyboardtemplate" />
2659
2660 <object type="action">
2661 <touch key="home" />
2662 <action function="page">main</action>
2663 </object>
2664
2665 <object type="action">
2666 <touch key="back" />
2667 <action function="page">restore_select</action>
2668 </object>
2669
2670 <object type="template" name="footer" />
2671 </page>
2672
2673 <page name="restore_run">
2674 <object type="template" name="header" />
2675
2676 <object type="text" color="%text_color%">
2677 <font resource="font" />
2678 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2679 <text>%tw_operation% %tw_partition%</text>
2680 </object>
2681
2682 <object type="template" name="action_page_console" />
2683
2684 <object type="template" name="progress_bar" />
2685
2686 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002687 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002688 <actions>
2689 <action function="set">tw_back=restore_select</action>
2690 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002691 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002692 <action function="page">action_complete</action>
2693 </actions>
2694 </object>
2695
2696 <object type="action">
2697 <action function="nandroid">restore</action>
2698 </object>
2699 </page>
2700
2701 <page name="settings">
2702 <object type="template" name="header" />
2703
2704 <object type="text" color="%text_color%">
2705 <font resource="font" />
2706 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2707 <text>Settings</text>
2708 </object>
2709
2710 <object type="checkbox">
2711 <placement x="%col1_x%" y="%row2_text_y%" />
2712 <font resource="font" color="%text_color%" />
2713 <text>Zip file signature verification?</text>
2714 <data variable="tw_signed_zip_verify" />
2715 <image checked="checkbox_true" unchecked="checkbox_false" />
2716 </object>
2717
2718 <object type="checkbox">
2719 <placement x="%col1_x%" y="%row3_text_y%" />
2720 <font resource="font" color="%text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002721 <text>Use rm -rf instead of formatting?</text>
2722 <data variable="tw_rm_rf" />
2723 <image checked="checkbox_true" unchecked="checkbox_false" />
2724 </object>
2725
2726 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002727 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002728 <font resource="font" color="%text_color%" />
2729 <text>Skip MD5 generation on backups</text>
2730 <data variable="tw_skip_md5_generate" />
2731 <image checked="checkbox_true" unchecked="checkbox_false" />
2732 </object>
2733
2734 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002735 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <font resource="font" color="%text_color%" />
2737 <text>Enable MD5 checking of backup files</text>
2738 <data variable="tw_skip_md5_check" />
2739 <image checked="checkbox_true" unchecked="checkbox_false" />
2740 </object>
2741
2742 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002743 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002745 <text>Use Military Time</text>
2746 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002747 <image checked="checkbox_true" unchecked="checkbox_false" />
2748 </object>
2749
2750 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002751 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <font resource="font" color="%text_color%" />
2753 <text>Simulate most actions for theme testing</text>
2754 <data variable="tw_simulate_actions" />
2755 <image checked="checkbox_true" unchecked="checkbox_false" />
2756 </object>
2757
2758 <object type="checkbox">
2759 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002760 <placement x="%col1_x%" y="%row8_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <font resource="font" color="%text_color%" />
2762 <text>Simulate failure for actions</text>
2763 <data variable="tw_simulate_fail" />
2764 <image checked="checkbox_true" unchecked="checkbox_false" />
2765 </object>
2766
2767 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002768 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002769 <placement x="%col1_x%" y="%row2_y%" />
2770 <font resource="font" color="%button_text_color%" />
2771 <text>Time Zone</text>
2772 <image resource="main_button" />
2773 <action function="page">timezone</action>
2774 </object>
2775
2776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002777 <highlight color="%highlight_color%" />
Ethan Yonker03db3262014-02-05 08:02:06 -06002778 <placement x="%col2_x%" y="%row2_y%" />
2779 <font resource="font" color="%button_text_color%" />
2780 <text>Restore Defaults</text>
2781 <image resource="main_button" />
2782 <action function="restoredefaultsettings"></action>
2783 </object>
2784
2785 <object type="button">
2786 <highlight color="%highlight_color%" />
2787 <placement x="%col3_x%" y="%row2_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Vibration Duration</text>
2790 <image resource="main_button" />
2791 <action function="page">Vibrate</action>
2792 </object>
2793
2794 <object type="button">
2795 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002796 <placement x="%col4_x%" y="%row2_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text>Screen</text>
2799 <image resource="main_button" />
2800 <action function="page">screen</action>
2801 </object>
2802
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <object type="action">
2804 <touch key="home" />
2805 <action function="page">main</action>
2806 </object>
2807
2808 <object type="action">
2809 <touch key="back" />
2810 <action function="page">main</action>
2811 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002812
Dees_Troy51a0e822012-09-05 15:24:24 -04002813 <object type="template" name="footer" />
2814 </page>
2815
2816 <page name="timezone">
2817 <object type="template" name="header" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05002818
Dees_Troy51a0e822012-09-05 15:24:24 -04002819 <object type="text" color="%text_color%">
2820 <font resource="font" />
2821 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2822 <text>Select Time Zone</text>
2823 </object>
2824
2825 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002826 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002827 <placement x="%listbox_x%" y="%listbox_y%" w="%listbox_width%" h="%listbox_tz_height%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002828 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002829 <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 -06002830 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002831 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002832 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002833 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002834 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002835 <data name="tw_time_zone_guisel" />
2836 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2837 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2838 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2839 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2840 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2841 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2842 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2843 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2844 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2845 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2846 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2847 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2848 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2849 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2850 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2851 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2852 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2853 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2854 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2855 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2856 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2857 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2858 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2859 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2860 </object>
2861
2862 <object type="checkbox">
2863 <placement x="%col1_medium_x%" y="%row11_text_y%" />
2864 <font resource="font" color="%text_color%" />
2865 <text>Do you use daylight savings time (DST)?</text>
2866 <data variable="tw_time_zone_guidst" />
2867 <image checked="checkbox_true" unchecked="checkbox_false" />
2868 </object>
2869
2870 <object type="text" color="%text_color%">
2871 <font resource="font" />
2872 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
2873 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2874 </object>
2875
2876 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002877 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002878 <placement x="%col1_medium_x%" y="%row_offsetmedium_y%" />
2879 <font resource="font" color="%button_text_color%" />
2880 <text>0</text>
2881 <image resource="medium_button" />
2882 <action function="set">tw_time_zone_guioffset=0</action>
2883 </object>
2884
2885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002886 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002887 <placement x="%col2_medium_x%" y="%row_offsetmedium_y%" />
2888 <font resource="font" color="%button_text_color%" />
2889 <text>15</text>
2890 <image resource="medium_button" />
2891 <action function="set">tw_time_zone_guioffset=15</action>
2892 </object>
2893
2894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002895 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002896 <placement x="%col3_medium_x%" y="%row_offsetmedium_y%" />
2897 <font resource="font" color="%button_text_color%" />
2898 <text>30</text>
2899 <image resource="medium_button" />
2900 <action function="set">tw_time_zone_guioffset=30</action>
2901 </object>
2902
2903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002904 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002905 <placement x="%col4_medium_x%" y="%row_offsetmedium_y%" />
2906 <font resource="font" color="%button_text_color%" />
2907 <text>45</text>
2908 <image resource="medium_button" />
2909 <action function="set">tw_time_zone_guioffset=45</action>
2910 </object>
2911
2912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002913 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002914 <placement x="%col4_x%" y="%row2_y%" />
2915 <font resource="font" color="%button_text_color%" />
2916 <text>Set Time Zone</text>
2917 <image resource="main_button" />
2918 <action function="setguitimezone"></action>
2919 </object>
2920
2921 <object type="text" color="%text_color%">
2922 <font resource="font" />
2923 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
2924 <text>Current Time Zone: %tw_time_zone%</text>
2925 </object>
2926
2927 <object type="action">
2928 <touch key="home" />
2929 <action function="page">main</action>
2930 </object>
2931
2932 <object type="action">
2933 <touch key="back" />
2934 <action function="page">settings</action>
2935 </object>
2936
2937 <object type="template" name="footer" />
2938 </page>
2939
Dees_Troy2f9117a2013-02-17 19:52:09 -06002940 <page name="screen">
2941 <object type="template" name="header" />
2942
2943 <object type="text" color="%text_color%">
2944 <font resource="font" />
2945 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2946 <text>Screen Settings</text>
2947 </object>
2948
Dees_Troy2f9117a2013-02-17 19:52:09 -06002949 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002950 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2951 <font resource="font" color="%text_color%" />
2952 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002953 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002954 <text>Enable screen timeout.</text>
2955 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002956 <action function="set">tw_screen_timeout_secs=60</action>
2957 </object>
2958
2959 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002960 <placement x="%slidervalue_x%" y="%row3_text_y%" />
2961 <font resource="font" color="%text_color%" />
2962 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002963 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002964 <text>Enable screen timeout.</text>
2965 <image resource="checkbox_true" />
2966 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002967 </object>
2968
Vojtech Bocek85932342013-04-01 22:11:33 +02002969 <object type="slidervalue">
2970 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002971 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002972 <placement x="slidervalue_x" y="%row5_text_y%" w="%slidervalue_w%" />
2973 <font resource="font" color="%text_color%" />
2974 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2975 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2976 <text>Screen timeout in seconds:</text>
2977 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002978 </object>
2979
Vojtech Bocek85932342013-04-01 22:11:33 +02002980 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002981 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002982 <placement x="slidervalue_x" y="%row12_text_y%" w="%slidervalue_w%" />
2983 <font resource="font" color="%text_color%" />
2984 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2985 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2986 <text>Brightness: %tw_brightness_pct%%</text>
2987 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002988 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002989 <action function="set">tw_brightness=%tw_brightness_max%</action>
2990 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2991 <action function="compute">tw_brightness/100</action>
2992 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002993 </actions>
2994 </object>
2995
2996 <object type="action">
2997 <touch key="home" />
2998 <action function="page">main</action>
2999 </object>
3000
3001 <object type="action">
3002 <touch key="back" />
3003 <action function="page">settings</action>
3004 </object>
3005
3006 <object type="template" name="footer" />
3007 </page>
3008
Ethan Yonker03db3262014-02-05 08:02:06 -06003009 <page name="Vibrate">
3010 <object type="template" name="header" />
3011
3012 <object type="text" color="%text_color%">
3013 <font resource="font" />
3014 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3015 <text>Vibration Settings :</text>
3016 </object>
3017
3018 <object type="slidervalue">
3019 <placement x="slidervalue_x" y="%row3_text_y%" w="%slidervalue_w%" />
3020 <font resource="font" color="%text_color%" />
3021 <text>Button Vibration:</text>
3022 <data variable="tw_button_vibrate" min="0" max="300" />
3023 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3024 </object>
3025
3026 <object type="slidervalue">
3027 <placement x="slidervalue_x" y="%row7_text_y%" w="%slidervalue_w%" />
3028 <font resource="font" color="%text_color%" />
3029 <text>Keyboard Vibration:</text>
3030 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3031 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3032 </object>
3033
3034 <object type="slidervalue">
3035 <placement x="slidervalue_x" y="%row11_text_y%" w="%slidervalue_w%" />
3036 <font resource="font" color="%text_color%" />
3037 <text>Action Vibration:</text>
3038 <data variable="tw_action_vibrate" min="0" max="500" />
3039 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3040 </object>
3041
3042 <object type="action">
3043 <touch key="home" />
3044 <action function="page">main</action>
3045 </object>
3046
3047 <object type="action">
3048 <touch key="back" />
3049 <action function="page">settings</action>
3050 </object>
3051
3052 <object type="template" name="footer" />
3053 </page>
3054
Dees_Troy51a0e822012-09-05 15:24:24 -04003055 <page name="advanced">
3056 <object type="template" name="header" />
3057
3058 <object type="text" color="%text_color%">
3059 <font resource="font" />
3060 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3061 <text>Advanced</text>
3062 </object>
3063
3064 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003065 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003066 <placement x="%col1_x%" y="%row1_y%" />
3067 <font resource="font" color="%button_text_color%" />
3068 <text>Copy Log to SD</text>
3069 <image resource="main_button" />
3070 <actions>
3071 <action function="set">tw_back=advanced</action>
3072 <action function="set">tw_action=copylog</action>
3073 <action function="set">tw_text1=Copy Log to SD Card?</action>
3074 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3075 <action function="set">tw_complete_text1=Log Copy Complete</action>
3076 <action function="set">tw_slider_text=Swipe to Confirm</action>
3077 <action function="page">confirm_action</action>
3078 </actions>
3079 </object>
3080
3081 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003082 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003083 <placement x="%col2_x%" y="%row1_y%" />
3084 <font resource="font" color="%button_text_color%" />
3085 <text>Fix Permissions</text>
3086 <image resource="main_button" />
3087 <actions>
3088 <action function="set">tw_back=advanced</action>
3089 <action function="set">tw_action=fixpermissions</action>
3090 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003091 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3093 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003094 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <action function="page">confirm_action</action>
3096 </actions>
3097 </object>
3098
3099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003100 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <placement x="%col3_x%" y="%row1_y%" />
3102 <font resource="font" color="%button_text_color%" />
3103 <text>Terminal Command</text>
3104 <image resource="main_button" />
3105 <action function="page">terminalfolder</action>
3106 </object>
3107
3108 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003109 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04003110 <placement x="%col4_x%" y="%row1_y%" />
3111 <font resource="font" color="%button_text_color%" />
3112 <text>ADB Sideload</text>
3113 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003114 <action function="page">sideload</action>
Dees_Troy2691f9d2012-09-24 11:15:49 -04003115 </object>
3116
3117 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003118 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003119 <condition var1="tw_allow_partition_sdcard" var2="1" />
3120 <placement x="%col1_x%" y="%row2_y%" />
3121 <font resource="font" color="%button_text_color%" />
3122 <text>Partition SD Card</text>
3123 <image resource="main_button" />
3124 <action function="page">partsdcard</action>
3125 </object>
3126
3127 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003128 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003129 <placement x="%col2_x%" y="%row2_y%" />
3130 <font resource="font" color="%button_text_color%" />
3131 <text>File Manager</text>
3132 <image resource="main_button" />
3133 <action function="page">filemanagerlist</action>
3134 </object>
3135
3136 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003137 <highlight color="%highlight_color%" />
Dees_Troy2691f9d2012-09-24 11:15:49 -04003138 <placement x="%col3_x%" y="%row2_y%" />
3139 <font resource="font" color="%button_text_color%" />
3140 <text>Reload Theme</text>
3141 <image resource="main_button" />
3142 <action function="reload"></action>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <condition var1="tw_show_dumlock" var2="1" />
3148 <placement x="%col4_x%" y="%row2_y%" />
3149 <font resource="font" color="%button_text_color%" />
3150 <text>HTC Dumlock</text>
3151 <image resource="main_button" />
3152 <action function="page">htcdumlock</action>
3153 </object>
3154
3155 <object type="action">
3156 <touch key="home" />
3157 <action function="page">main</action>
3158 </object>
3159
3160 <object type="action">
3161 <touch key="back" />
3162 <action function="page">main</action>
3163 </object>
3164
3165 <object type="template" name="footer" />
3166 </page>
3167
3168 <page name="partsdcard">
3169 <object type="template" name="header" />
3170
3171 <object type="text" color="%text_color%">
3172 <font resource="font" />
3173 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3174 <text>Partition SD Card</text>
3175 </object>
3176
3177 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003178 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003179 <placement x="%col1_sdext_x%" y="%row1_sdext_y%" />
3180 <font resource="font" color="%button_text_color%" />
3181 <text></text>
3182 <image resource="minus_button" />
3183 <action function="addsubtract">tw_sdext_size-128</action>
3184 </object>
3185
3186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003188 <placement x="%col2_sdext_x%" y="%row1_sdext_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text></text>
3191 <image resource="plus_button" />
3192 <action function="addsubtract">tw_sdext_size+128</action>
3193 </object>
3194
3195 <object type="text" color="%text_color%">
3196 <font resource="font" />
3197 <placement x="%center_x%" y="%row_extsize_y%" placement="5" />
3198 <text>EXT Size: %tw_sdext_size%</text>
3199 </object>
3200
3201 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003202 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003203 <placement x="%col1_sdext_x%" y="%row2_sdext_y%" />
3204 <font resource="font" color="%button_text_color%" />
3205 <text></text>
3206 <image resource="minus_button" />
3207 <action function="addsubtract">tw_swap_size-32</action>
3208 </object>
3209
3210 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003211 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003212 <placement x="%col2_sdext_x%" y="%row2_sdext_y%" />
3213 <font resource="font" color="%button_text_color%" />
3214 <text></text>
3215 <image resource="plus_button" />
3216 <action function="addsubtract">tw_swap_size+32</action>
3217 </object>
3218
3219 <object type="text" color="%text_color%">
3220 <font resource="font" />
3221 <placement x="%center_x%" y="%row_swapsize_y%" placement="5" />
3222 <text>Swap Size: %tw_swap_size%</text>
3223 </object>
3224
3225 <object type="text" color="%text_color%">
3226 <font resource="font" />
3227 <placement x="%center_x%" y="%row8_text_y%" placement="5" />
3228 <text>File system: %tw_sdpart_file_system%</text>
3229 </object>
3230
3231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%col2_medium_x%" y="%row4_medium_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text>EXT3</text>
3236 <image resource="medium_button" />
3237 <action function="set">tw_sdpart_file_system=ext3</action>
3238 </object>
3239
3240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003242 <condition var1="tw_sdext_disable_ext4" var2="0" />
3243 <placement x="%col3_medium_x%" y="%row4_medium_y%" />
3244 <font resource="font" color="%button_text_color%" />
3245 <text>EXT4</text>
3246 <image resource="medium_button" />
3247 <action function="set">tw_sdpart_file_system=ext4</action>
3248 </object>
3249
3250 <object type="text" color="%text_color%">
3251 <font resource="font" />
3252 <placement x="%center_x%" y="%row12_text_y%" placement="5" />
3253 <text>You will lose all files on your SD card!</text>
3254 </object>
3255
3256 <object type="text" color="%text_color%">
3257 <font resource="font" />
3258 <placement x="%center_x%" y="%row13_text_y%" placement="5" />
3259 <text>This action cannot be undone!</text>
3260 </object>
3261
3262 <object type="slider">
3263 <placement x="%slider_x%" y="%slider_y%" />
3264 <resource base="slider" used="slider-used" touch="slider-touch" />
3265 <actions>
3266 <action function="set">tw_back=partsdcard</action>
3267 <action function="set">tw_action=partitionsd</action>
3268 <action function="set">tw_has_action2=1</action>
3269 <action function="set">tw_action2=set</action>
3270 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3271 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3272 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003273 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003274 <action function="page">action_page</action>
3275 </actions>
3276 </object>
3277
3278 <object type="text" color="%text_color%">
3279 <font resource="font" />
3280 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3281 <text>Swipe to Confirm Partition</text>
3282 </object>
3283
3284 <object type="action">
3285 <touch key="home" />
3286 <action function="page">main</action>
3287 </object>
3288
3289 <object type="action">
3290 <touch key="back" />
3291 <action function="page">advanced</action>
3292 </object>
3293
3294 <object type="template" name="footer" />
3295 </page>
3296
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003297
Dees_Troy51a0e822012-09-05 15:24:24 -04003298 <page name="htcdumlock">
3299 <object type="template" name="header" />
3300
3301 <object type="text" color="%text_color%">
3302 <font resource="font" />
3303 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3304 <text>HTC Dumlock</text>
3305 </object>
3306
3307 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003308 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003309 <condition var1="tw_show_dumlock" var2="1" />
3310 <placement x="%col1_x%" y="%row1_y%" />
3311 <font resource="font" color="%button_text_color%" />
3312 <text>Restore Original Boot</text>
3313 <image resource="main_button" />
3314 <actions>
3315 <action function="set">tw_back=htcdumlock</action>
3316 <action function="set">tw_action=htcdumlockrestoreboot</action>
3317 <action function="set">tw_text1=Restore original boot image?</action>
3318 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3319 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3320 <action function="set">tw_slider_text=Swipe to Confirm</action>
3321 <action function="page">confirm_action</action>
3322 </actions>
3323 </object>
3324
3325 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003326 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003327 <condition var1="tw_show_dumlock" var2="1" />
3328 <placement x="%col2_x%" y="%row1_y%" />
3329 <font resource="font" color="%button_text_color%" />
3330 <text>Reflash Recovery->Boot</text>
3331 <image resource="main_button" />
3332 <actions>
3333 <action function="set">tw_back=htcdumlock</action>
3334 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3335 <action function="set">tw_text1=Reflash recovery to boot?</action>
3336 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3337 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3338 <action function="set">tw_slider_text=Swipe to Confirm</action>
3339 <action function="page">confirm_action</action>
3340 </actions>
3341 </object>
3342
3343 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003344 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003345 <condition var1="tw_show_dumlock" var2="1" />
3346 <placement x="%col1_x%" y="%row2_y%" />
3347 <font resource="font" color="%button_text_color%" />
3348 <text>Install HTC Dumlock</text>
3349 <image resource="main_button" />
3350 <actions>
3351 <action function="set">tw_back=htcdumlock</action>
3352 <action function="set">tw_action=installhtcdumlock</action>
3353 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3354 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3355 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3356 <action function="set">tw_slider_text=Swipe to Confirm</action>
3357 <action function="page">confirm_action</action>
3358 </actions>
3359 </object>
3360
3361 <object type="action">
3362 <touch key="home" />
3363 <action function="page">main</action>
3364 </object>
3365
3366 <object type="action">
3367 <touch key="back" />
3368 <action function="page">advanced</action>
3369 </object>
3370
3371 <object type="template" name="footer" />
3372 </page>
3373
3374 <page name="lock">
3375 <background color="#000000A0" />
3376
3377 <object type="image">
3378 <image resource="unlock-icon" />
3379 <placement x="%lock_x%" y="%lock_y%" />
3380 </object>
3381
3382 <object type="slider">
3383 <placement x="%slider_x%" y="%slider_y%" />
3384 <resource base="slider" used="slider-used" touch="slider-touch" />
3385 <action function="overlay"></action>
3386 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003387
Dees_Troy51a0e822012-09-05 15:24:24 -04003388 <object type="text" color="%text_color%">
3389 <font resource="font" />
3390 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3391 <text>Swipe to Unlock</text>
3392 </object>
3393 </page>
3394
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003395
Dees_Troy51a0e822012-09-05 15:24:24 -04003396 <page name="filemanagerlist">
3397 <object type="template" name="header" />
3398
3399 <object type="text" color="%text_color%">
3400 <font resource="font" />
3401 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3402 <text>File Manager: Select a File or Folder</text>
3403 </object>
3404
3405 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003406 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003407 <placement x="%fileselector_folder_x%" y="%fileselector_install_y%" w="%fileselector_folder_width%" h="%fileselector_install_height%" />
3408 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003409 <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 -04003410 <text>Folders:</text>
3411 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3412 <sort name="tw_gui_sort_order" />
3413 <icon folder="folder_icon" file="file_icon" />
3414 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003415 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003416 <filter folders="1" files="0" />
3417 <path name="tw_file_location1" default="/sdcard" />
3418 <data name="select" />
3419 <selection name="tw_selection1" />
3420 </object>
3421
3422 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003423 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003424 <placement x="%fileselector_file_x%" y="%fileselector_install_y%" w="%fileselector_file_width%" h="%fileselector_install_height%" />
3425 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003426 <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 -04003427 <text>%tw_file_location1%</text>
3428 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3429 <sort name="tw_gui_sort_order" />
3430 <icon folder="folder_icon" file="file_icon" />
3431 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003432 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003433 <filter folders="0" files="1" />
3434 <path name="tw_file_location1" default="/" />
3435 <data name="tw_filename1" />
3436 <selection name="tw_selection1" />
3437 </object>
3438
3439 <object type="template" name="sort_options" />
3440
3441 <object type="action">
3442 <actions>
3443 <action function="set">tw_fm_type=File</action>
3444 <action function="set">tw_fm_isfolder=0</action>
3445 </actions>
3446 </object>
3447
3448 <object type="action">
3449 <touch key="home" />
3450 <action function="page">main</action>
3451 </object>
3452
3453 <object type="action">
3454 <touch key="back" />
3455 <action function="page">advanced</action>
3456 </object>
3457
3458 <object type="action">
3459 <condition var1="tw_filename1" op="modified" />
3460 <actions>
3461 <action function="page">filemanageroptions</action>
3462 </actions>
3463 </object>
3464
3465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003467 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3468 <font resource="font" color="%button_text_color%" />
3469 <text>Select Folder</text>
3470 <image resource="main_button" />
3471 <actions>
3472 <action function="set">tw_filename1=tw_file_location1</action>
3473 <action function="set">tw_fm_isfolder=1</action>
3474 <action function="set">tw_fm_type=Folder</action>
3475 <action function="page">filemanageroptions</action>
3476 </actions>
3477 </object>
3478
3479 <object type="template" name="footer" />
3480 </page>
3481
3482 <page name="filemanageroptions">
3483 <object type="template" name="header" />
3484
3485 <object type="text" color="%text_color%">
3486 <font resource="font" />
3487 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3488 <text>%tw_fm_type% Selected:</text>
3489 </object>
3490
3491 <object type="text" color="%text_color%">
3492 <font resource="font" />
3493 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3494 <text>%tw_filename1%</text>
3495 </object>
3496
3497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003498 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003499 <condition var1="tw_fm_isfolder" var2="0" />
3500 <placement x="%col1_x%" y="%row2_y%" />
3501 <font resource="font" color="%button_text_color%" />
3502 <text>Copy File</text>
3503 <image resource="main_button" />
3504 <actions>
3505 <action function="set">tw_filemanager_command=cp</action>
3506 <action function="set">tw_fm_text1=Copying</action>
3507 <action function="page">choosedestinationfolder</action>
3508 </actions>
3509 </object>
3510
3511 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003512 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003513 <condition var1="tw_fm_isfolder" var2="1" />
3514 <placement x="%col1_x%" y="%row2_y%" />
3515 <font resource="font" color="%button_text_color%" />
3516 <text>Copy Folder</text>
3517 <image resource="main_button" />
3518 <actions>
3519 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3520 <action function="set">tw_fm_text1=Copying</action>
3521 <action function="page">choosedestinationfolder</action>
3522 </actions>
3523 </object>
3524
3525 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003526 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003527 <placement x="%col2_x%" y="%row2_y%" />
3528 <font resource="font" color="%button_text_color%" />
3529 <text>Move</text>
3530 <image resource="main_button" />
3531 <actions>
3532 <action function="set">tw_filemanager_command=mv</action>
3533 <action function="set">tw_fm_text1=Moving</action>
3534 <action function="page">choosedestinationfolder</action>
3535 </actions>
3536 </object>
3537
3538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003539 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003540 <placement x="%col3_x%" y="%row2_y%" />
3541 <font resource="font" color="%button_text_color%" />
3542 <text>chmod 755</text>
3543 <image resource="main_button" />
3544 <actions>
3545 <action function="set">tw_filemanager_command=chmod 755</action>
3546 <action function="set">tw_fm_text1=chmod 755</action>
3547 <action function="set">tw_fm_text2=</action>
3548 <action function="set">tw_fm_text3=</action>
3549 <action function="set">tw_include_text3=0</action>
3550 <action function="set">tw_back=filemanageroptions</action>
3551 <action function="page">filemanagerconfirm</action>
3552 </actions>
3553 </object>
3554
3555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003556 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003557 <placement x="%col4_x%" y="%row2_y%" />
3558 <font resource="font" color="%button_text_color%" />
3559 <text>chmod</text>
3560 <image resource="main_button" />
3561 <actions>
3562 <action function="set">tw_filemanager_rename=0000</action>
3563 <action function="set">tw_fm_text2=</action>
3564 <action function="set">tw_fm_text3=</action>
3565 <action function="set">tw_include_text3=0</action>
3566 <action function="set">tw_back=filemanageroptions</action>
3567 <action function="page">filemanagerchmod</action>
3568 </actions>
3569 </object>
3570
3571 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003572 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003573 <placement x="%col1_x%" y="%row1_y%" />
3574 <font resource="font" color="%button_text_color%" />
3575 <text>Delete</text>
3576 <image resource="main_button" />
3577 <actions>
3578 <action function="set">tw_filemanager_command=rm -rf</action>
3579 <action function="set">tw_fm_text1=Deleting</action>
3580 <action function="set">tw_fm_text2=</action>
3581 <action function="set">tw_fm_text3=</action>
3582 <action function="set">tw_include_text3=0</action>
3583 <action function="set">tw_back=filemanageroptions</action>
3584 <action function="page">filemanagerconfirm</action>
3585 </actions>
3586 </object>
3587
3588 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003589 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003590 <condition var1="tw_fm_isfolder" var2="0" />
3591 <placement x="%col4_x%" y="%row1_y%" />
3592 <font resource="font" color="%button_text_color%" />
3593 <text>Rename File</text>
3594 <image resource="main_button" />
3595 <actions>
3596 <action function="set">tw_filemanager_rename=tw_selection1</action>
3597 <action function="set">tw_fm_text1=Renaming</action>
3598 <action function="set">tw_filemanager_command=mv</action>
3599 <action function="page">filemanagerrenamefile</action>
3600 </actions>
3601 </object>
3602
3603 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003604 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003605 <condition var1="tw_fm_isfolder" var2="1" />
3606 <placement x="%col4_x%" y="%row1_y%" />
3607 <font resource="font" color="%button_text_color%" />
3608 <text>Rename Folder</text>
3609 <image resource="main_button" />
3610 <actions>
3611 <action function="set">tw_filemanager_rename=tw_selection1</action>
3612 <action function="set">tw_fm_text1=Renaming</action>
3613 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3614 <action function="page">filemanagerrenamefolder</action>
3615 </actions>
3616 </object>
3617
3618 <object type="action">
3619 <touch key="home" />
3620 <action function="page">main</action>
3621 </object>
3622
3623 <object type="action">
3624 <touch key="back" />
3625 <action function="page">filemanagerlist</action>
3626 </object>
3627
3628 <object type="template" name="footer" />
3629 </page>
3630
3631 <page name="choosedestinationfolder">
3632 <object type="template" name="header" />
3633
3634 <object type="text" color="%text_color%">
3635 <font resource="font" />
3636 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3637 <text>Browse to Destination Folder & Press Select</text>
3638 </object>
3639
3640 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003641 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
3643 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003644 <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 -04003645 <text>%tw_file_location2%</text>
3646 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3647 <sort name="tw_gui_sort_order" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003648 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <icon folder="folder_icon" file="file_icon" />
3650 <background color="%fileselector_background%" />
3651 <filter folders="1" files="0" />
3652 <path name="tw_file_location2" default="/sdcard" />
3653 <data name="tw_filename2" />
3654 </object>
3655
3656 <object type="template" name="sort_options" />
3657
3658 <object type="action">
3659 <touch key="home" />
3660 <action function="page">main</action>
3661 </object>
3662
3663 <object type="action">
3664 <touch key="back" />
3665 <action function="page">filemanageroptions</action>
3666 </object>
3667
3668 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003669 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003670 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3671 <font resource="font" color="%button_text_color%" />
3672 <text>Select Folder</text>
3673 <image resource="main_button" />
3674 <actions>
3675 <action function="set">tw_fm_text2=to</action>
3676 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3677 <action function="set">tw_include_text3=1</action>
3678 <action function="set">tw_back=filemanageroptions</action>
3679 <action function="page">filemanagerconfirm</action>
3680 </actions>
3681 </object>
3682
3683 <object type="template" name="footer" />
3684 </page>
3685
3686 <page name="filemanagerrenamefile">
3687 <object type="template" name="header" />
3688
3689 <object type="text" color="%text_color%">
3690 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3691 <font resource="font" />
3692 <text>Please Enter a New %tw_fm_type% Name</text>
3693 </object>
3694
3695 <object type="input">
3696 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3697 <background color="%input_background_color%" />
3698 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3699 <font resource="font" color="%text_color%" />
3700 <text>%tw_filemanager_rename%</text>
3701 <data name="tw_filemanager_rename" />
3702 <restrict minlen="1" maxlen="128" />
3703 <actions>
3704 <action function="set">tw_fm_text2=to</action>
3705 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3706 <action function="set">tw_include_text3=1</action>
3707 <action function="set">tw_back=filemanageroptions</action>
3708 <action function="page">filemanagerconfirm</action>
3709 </actions>
3710 </object>
3711
3712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003713 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003714 <placement x="%col_center_x%" y="%cancel_button_y%" />
3715 <font resource="font" color="%button_text_color%" />
3716 <text>Cancel</text>
3717 <image resource="main_button" />
3718 <action function="page">filemanageroptions</action>
3719 </object>
3720
3721 <object type="template" name="keyboardtemplate" />
3722
3723 <object type="action">
3724 <touch key="home" />
3725 <action function="page">main</action>
3726 </object>
3727
3728 <object type="action">
3729 <touch key="back" />
3730 <action function="page">filemanageroptions</action>
3731 </object>
3732
3733 <object type="template" name="footer" />
3734 </page>
3735
3736 <page name="filemanagerrenamefolder">
3737 <object type="template" name="header" />
3738
3739 <object type="text" color="%text_color%">
3740 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3741 <font resource="font" />
3742 <text>Please Enter a New %tw_fm_type% Name</text>
3743 </object>
3744
3745 <object type="input">
3746 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3747 <background color="%input_background_color%" />
3748 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3749 <font resource="font" color="%text_color%" />
3750 <text>%tw_filemanager_rename%</text>
3751 <data name="tw_filemanager_rename" />
3752 <restrict minlen="1" maxlen="128" />
3753 <actions>
3754 <action function="set">tw_fm_text2=to</action>
3755 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3756 <action function="set">tw_include_text3=1</action>
3757 <action function="set">tw_back=filemanageroptions</action>
3758 <action function="page">filemanagerconfirm</action>
3759 </actions>
3760 </object>
3761
3762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003764 <placement x="%col_center_x%" y="%cancel_button_y%" />
3765 <font resource="font" color="%button_text_color%" />
3766 <text>Cancel</text>
3767 <image resource="main_button" />
3768 <action function="page">filemanageroptions</action>
3769 </object>
3770
3771 <object type="template" name="keyboardtemplate" />
3772
3773 <object type="action">
3774 <touch key="home" />
3775 <action function="page">main</action>
3776 </object>
3777
3778 <object type="action">
3779 <touch key="back" />
3780 <action function="page">filemanageroptions</action>
3781 </object>
3782
3783 <object type="template" name="footer" />
3784 </page>
3785
3786 <page name="filemanagerchmod">
3787 <object type="template" name="header" />
3788
3789 <object type="text" color="%text_color%">
3790 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3791 <font resource="font" />
3792 <text>Please Enter New Permissions</text>
3793 </object>
3794
3795 <object type="input">
3796 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3797 <background color="%input_background_color%" />
3798 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3799 <font resource="font" color="%text_color%" />
3800 <text>%tw_filemanager_rename%</text>
3801 <data name="tw_filemanager_rename" />
3802 <restrict minlen="3" maxlen="4" allow="0123456789" />
3803 <actions>
3804 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3805 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3806 <action function="set">tw_back=filemanageroptions</action>
3807 <action function="page">filemanagerconfirm</action>
3808 </actions>
3809 </object>
3810
3811 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003812 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003813 <placement x="%col_center_x%" y="%cancel_button_y%" />
3814 <font resource="font" color="%button_text_color%" />
3815 <text>Cancel</text>
3816 <image resource="main_button" />
3817 <action function="page">filemanageroptions</action>
3818 </object>
3819
3820 <object type="template" name="keyboardtemplate" />
3821
3822 <object type="action">
3823 <touch key="home" />
3824 <action function="page">main</action>
3825 </object>
3826
3827 <object type="action">
3828 <touch key="back" />
3829 <action function="page">filemanageroptions</action>
3830 </object>
3831
3832 <object type="template" name="footer" />
3833 </page>
3834
3835 <page name="filemanagerconfirm">
3836 <object type="template" name="header" />
3837
3838 <object type="text" color="%text_color%">
3839 <font resource="font" />
3840 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3841 <text>%tw_fm_text1%</text>
3842 </object>
3843
3844 <object type="text" color="%text_color%">
3845 <font resource="font" />
3846 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3847 <text>%tw_filename1%</text>
3848 </object>
3849
3850 <object type="text" color="%text_color%">
3851 <font resource="font" />
3852 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3853 <text>%tw_fm_text2%</text>
3854 </object>
3855
3856 <object type="text" color="%text_color%">
3857 <font resource="font" />
3858 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3859 <text>%tw_fm_text3%</text>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3865 <text>Press back button to cancel.</text>
3866 </object>
3867
3868 <object type="slider">
3869 <placement x="%slider_x%" y="%slider_y%" />
3870 <resource base="slider" used="slider-used" touch="slider-touch" />
3871 <action function="page">filemanageracction</action>
3872 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003873
Dees_Troy51a0e822012-09-05 15:24:24 -04003874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3877 <text>Swipe to Confirm</text>
3878 </object>
3879
3880 <object type="action">
3881 <touch key="back" />
3882 <action function="page">%tw_back%</action>
3883 </object>
3884
3885 <object type="action">
3886 <touch key="home" />
3887 <action function="page">main</action>
3888 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003889
Dees_Troy51a0e822012-09-05 15:24:24 -04003890 <object type="template" name="footer" />
3891 </page>
3892
3893 <page name="filemanageracction">
3894 <object type="template" name="header" />
3895
3896 <object type="text" color="%text_color%">
3897 <font resource="font" />
3898 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3899 <text>%tw_fm_text1%</text>
3900 </object>
3901
3902 <object type="template" name="action_page_console" />
3903
3904 <object type="template" name="progress_bar" />
3905
3906 <object type="action">
3907 <conditions>
3908 <condition var1="tw_operation_state" var2="1" />
3909 <condition var1="tw_operation_status" var2="0" />
3910 </conditions>
3911 <actions>
3912 <action function="set">tw_back=filemanagerlist</action>
3913 <action function="set">tw_complete_text1=File Operation Complete</action>
3914 <action function="page">action_complete</action>
3915 </actions>
3916 </object>
3917
3918 <object type="action">
3919 <conditions>
3920 <condition var1="tw_operation_state" var2="1" />
3921 <condition var1="tw_operation_status" op="!=" var2="0" />
3922 </conditions>
3923 <actions>
3924 <action function="set">tw_complete_text1=File Operation Complete</action>
3925 <action function="page">action_complete</action>
3926 </actions>
3927 </object>
3928
3929 <object type="action">
3930 <condition var1="tw_include_text3" var2="0" />
3931 <actions>
3932 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3933 </actions>
3934 </object>
3935
3936 <object type="action">
3937 <condition var1="tw_include_text3" var2="1" />
3938 <actions>
3939 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3940 </actions>
3941 </object>
3942 </page>
3943
3944 <page name="decrypt">
3945 <object type="template" name="header" />
3946
3947 <object type="text" color="%text_color%">
3948 <font resource="font" />
3949 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3950 <text>Please Enter Your Password</text>
3951 </object>
3952
3953 <object type="input">
3954 <placement x="%input_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3955 <background color="%input_background_color%" />
3956 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3957 <font resource="font" color="%text_color%" />
3958 <text>%tw_crypto_display%</text>
3959 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3960 <restrict minlen="1" maxlen="254" />
3961 <actions>
3962 <action function="page">trydecrypt</action>
3963 </actions>
3964 </object>
3965
3966 <object type="text" color="%text_fail_color%">
3967 <condition var1="tw_password_fail" var2="1" />
3968 <font resource="font" />
3969 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3970 <text>Password Failed, Please Try Again</text>
3971 </object>
3972
3973 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003974 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003975 <placement x="%col_center_x%" y="%cancel_button_y%" />
3976 <font resource="font" color="%button_text_color%" />
3977 <text>Cancel</text>
3978 <image resource="main_button" />
3979 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003980 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003981 <action function="page">main</action>
3982 </actions>
3983 </object>
3984
3985 <object type="template" name="keyboardtemplate" />
3986
Dees_Troy51a0e822012-09-05 15:24:24 -04003987 <object type="template" name="footer" />
3988 </page>
3989
3990 <page name="trydecrypt">
3991 <object type="template" name="header" />
3992
3993 <object type="text" color="%text_color%">
3994 <font resource="font" />
3995 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3996 <text>Trying Decryption with Your Password</text>
3997 </object>
3998
3999 <object type="template" name="action_page_console" />
4000
4001 <object type="template" name="progress_bar" />
4002
4003 <object type="action">
4004 <action function="decrypt"></action>
4005 </object>
4006
4007 <object type="action">
4008 <conditions>
4009 <condition var1="tw_operation_state" var2="1" />
4010 <condition var1="tw_operation_status" op="!=" var2="0" />
4011 </conditions>
4012 <actions>
4013 <action function="set">tw_password_fail=1</action>
4014 <action function="page">decrypt</action>
4015 </actions>
4016 </object>
4017
4018 <object type="action">
4019 <conditions>
4020 <condition var1="tw_operation_state" var2="1" />
4021 <condition var1="tw_operation_status" op="=" var2="0" />
4022 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004023 <actions>
4024 <action function="set">tw_page_done=1</action>
4025 <action function="page">main</action>
4026 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004027 </object>
4028 </page>
4029
4030 <page name="terminalfolder">
4031 <object type="template" name="header" />
4032
4033 <object type="text" color="%text_color%">
4034 <font resource="font" />
4035 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4036 <text>Browse to Starting Folder</text>
4037 </object>
4038
4039 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004040 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004041 <placement x="%col2_x%" y="%fileselector_install_y%" w="%fileselector_folderonly_width%" h="%fileselector_install_height%" />
4042 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004043 <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 -04004044 <text>%tw_terminal_location%</text>
4045 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4046 <sort name="tw_gui_sort_order" />
4047 <icon folder="folder_icon" file="file_icon" />
4048 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004049 <font resource="font" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004050 <filter folders="1" files="0" />
4051 <path name="tw_terminal_location" default="/" />
4052 <data name="tw_terminal" />
4053 <selection name="tw_terminal_selection" />
4054 </object>
4055
4056 <object type="template" name="sort_options" />
4057
4058 <object type="action">
4059 <touch key="home" />
4060 <action function="page">main</action>
4061 </object>
4062
4063 <object type="action">
4064 <touch key="back" />
4065 <action function="page">advanced</action>
4066 </object>
4067
4068 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004069 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004070 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4071 <font resource="font" color="%button_text_color%" />
4072 <text>Select Folder</text>
4073 <image resource="main_button" />
4074 <actions>
4075 <action function="page">terminalcommand</action>
4076 </actions>
4077 </object>
4078
4079 <object type="template" name="footer" />
4080 </page>
4081
4082 <page name="terminalcommand">
4083 <background color="#000000FF" />
4084
4085 <object type="console">
4086 <placement x="%console_x%" y="%terminal_console_y%" w="%console_width%" h="%terminal_console_height%" />
4087 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4088 <font resource="fixed" />
4089 </object>
4090
4091 <object type="text" color="%text_color%">
4092 <placement x="%input_x%" y="%terminal_text_y%" placement="0" />
4093 <font resource="font" />
4094 <text>Starting Path: %tw_terminal_location%</text>
4095 </object>
4096
4097 <object type="input">
4098 <condition var1="tw_terminal_state" var2="0" />
4099 <placement x="%input_x%" y="%terminal_text_y%" w="%terminal_input_width%" h="%input_height%" placement="0" />
4100 <background color="%input_background_color%" />
4101 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4102 <font resource="font" color="%text_color%" />
4103 <text>%tw_terminal_command%</text>
4104 <data name="tw_terminal_command" />
4105 <restrict minlen="1" />
4106 <action function="terminalcommand">%tw_terminal_command%</action>
4107 </object>
4108
4109 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004110 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004111 <condition var1="tw_terminal_state" var2="1" />
4112 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4113 <font resource="font" color="%button_text_color%" />
4114 <text>KILL</text>
4115 <image resource="medium_button" />
4116 <action function="killterminal"></action>
4117 </object>
4118
4119 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004120 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004121 <placement x="%home_button_x%" y="%terminal_button_y%" />
4122 <font resource="font" color="%button_text_color%" />
4123 <text></text>
4124 <image resource="home_icon" />
4125 <condition var1="tw_busy" var2="0" />
4126 <action function="key">home</action>
4127 </object>
4128
4129 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004130 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004131 <placement x="%back_button_x%" y="%terminal_button_y%" />
4132 <font resource="font" color="%button_text_color%" />
4133 <text></text>
4134 <image resource="back_icon" />
4135 <condition var1="tw_busy" var2="0" />
4136 <action function="key">back</action>
4137 </object>
4138
4139 <object type="action">
4140 <touch key="power" />
4141 <action function="overlay">lock</action>
4142 </object>
4143
4144 <object type="template" name="keyboardtemplate" />
4145
4146 <object type="action">
4147 <touch key="home" />
4148 <action function="page">main</action>
4149 </object>
4150
4151 <object type="action">
4152 <touch key="back" />
4153 <action function="page">terminalfolder</action>
4154 </object>
4155 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004156
4157 <page name="sideload">
4158 <object type="template" name="header" />
4159
4160 <object type="text" color="%text_color%">
4161 <font resource="font" />
4162 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4163 <text>ADB Sideload</text>
4164 </object>
4165
4166 <object type="checkbox">
4167 <placement x="%col1_x%" y="%row3_text_y%" />
4168 <font resource="font" color="%text_color%" />
4169 <text>Wipe Dalvik Cache.</text>
4170 <data variable="tw_wipe_dalvik" />
4171 <image checked="checkbox_true" unchecked="checkbox_false" />
4172 </object>
4173
4174 <object type="checkbox">
4175 <placement x="%col1_x%" y="%row4_text_y%" />
4176 <font resource="font" color="%text_color%" />
4177 <text>Wipe Cache.</text>
4178 <data variable="tw_wipe_cache" />
4179 <image checked="checkbox_true" unchecked="checkbox_false" />
4180 </object>
4181
4182 <object type="slider">
4183 <placement x="%slider_x%" y="%slider_y%" />
4184 <resource base="slider" used="slider-used" touch="slider-touch" />
4185 <actions>
4186 <action function="set">tw_back=advanced</action>
4187 <action function="set">tw_action=adbsideload</action>
4188 <action function="set">tw_action_text1=ADB Sideload</action>
4189 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4190 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4191 <action function="set">tw_has_cancel=1</action>
4192 <action function="set">tw_show_reboot=1</action>
4193 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4194 <action function="page">action_page</action>
4195 </actions>
4196 </object>
4197
4198 <object type="text" color="%text_color%">
4199 <font resource="font" />
4200 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4201 <text>Swipe to Start Sideload</text>
4202 </object>
4203
4204 <object type="action">
4205 <touch key="home" />
4206 <action function="page">main</action>
4207 </object>
4208
4209 <object type="action">
4210 <touch key="back" />
4211 <action function="page">advanced</action>
4212 </object>
4213
4214 <object type="template" name="footer" />
4215 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004216
4217 <page name="installsu">
4218 <object type="template" name="header" />
4219
4220 <object type="text" color="%text_color%">
4221 <font resource="font" />
4222 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
4223 <text>Install SuperSU?</text>
4224 </object>
4225
4226 <object type="text" color="%text_color%">
4227 <font resource="font" />
4228 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4229 <text>Your device does not appear to be rooted.</text>
4230 </object>
4231
4232 <object type="text" color="%text_color%">
4233 <font resource="font" />
4234 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4235 <text>Install SuperSU now? This will root your device.</text>
4236 </object>
4237
4238 <object type="button">
4239 <highlight color="%highlight_color%" />
4240 <placement x="%col_center_x%" y="%row2_medium_y%" />
4241 <font resource="font" color="%button_text_color%" />
4242 <text>Do Not Install</text>
4243 <image resource="main_button" />
4244 <action function="set">tw_page_done=1</action>
4245 </object>
4246
4247 <object type="slider">
4248 <placement x="%slider_x%" y="%slider_y%" />
4249 <resource base="slider" used="slider-used" touch="slider-touch" />
4250 <actions>
4251 <action function="set">tw_action=installsu</action>
4252 <action function="set">tw_action_text1=Installing SuperSU</action>
4253 <action function="set">tw_action_text2=</action>
4254 <action function="page">singleaction_page</action>
4255 </actions>
4256 </object>
4257
4258 <object type="text" color="%text_color%">
4259 <font resource="font" />
4260 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4261 <text>Swipe to Install</text>
4262 </object>
4263 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004264 </pages>
4265</recovery>