blob: 6baa70293485cb39bb0c15dc2ab633046b100e45 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="800" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
Dees_Troybbb21012012-09-20 15:59:46 -040049 <variable name="col_center_medium_x" value="183" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="240" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="290" />
53 <variable name="row3_y" value="450" />
54 <variable name="row4_y" value="610" />
55 <variable name="row_queue_y" value="510" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="170" />
59 <variable name="row3_text_y" value="200" />
60 <variable name="row4_text_y" value="230" />
61 <variable name="row5_text_y" value="260" />
62 <variable name="row6_text_y" value="290" />
63 <variable name="row7_text_y" value="320" />
64 <variable name="row8_text_y" value="350" />
65 <variable name="row9_text_y" value="380" />
66 <variable name="row10_text_y" value="410" />
67 <variable name="row11_text_y" value="440" />
Dees_Troyb46a6842012-09-25 11:06:46 -040068 <variable name="row12_text_y" value="470" />
69 <variable name="row13_text_y" value="500" />
70 <variable name="row14_text_y" value="530" />
71 <variable name="row15_text_y" value="560" />
72 <variable name="row16_text_y" value="590" />
73 <variable name="row17_text_y" value="620" />
74 <variable name="row18_text_y" value="650" />
Dees_Troy51a0e822012-09-05 15:24:24 -040075 <variable name="zip_status_y" value="585" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="580" />
78 <variable name="tz_current_y" value="730" />
79 <variable name="col_progressbar_x" value="114" />
80 <variable name="row_progressbar_y" value="720" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="125" />
83 <variable name="col3_medium_x" value="240" />
84 <variable name="col4_medium_x" value="355" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="205" />
87 <variable name="row3_medium_y" value="280" />
88 <variable name="row4_medium_y" value="355" />
89 <variable name="row5_medium_y" value="430" />
90 <variable name="row6_medium_y" value="505" />
91 <variable name="row7_medium_y" value="580" />
92 <variable name="slider_x" value="58" />
93 <variable name="slider_y" value="680" />
94 <variable name="slider_text_y" value="721" />
95 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600100 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400101 <variable name="home_button_x" value="10" />
102 <variable name="home_button_y" value="766" />
103 <variable name="back_button_x" value="413" />
104 <variable name="back_button_y" value="766" />
105 <variable name="sort_asc_text_y" value="685" />
106 <variable name="sort_asc_button_y" value="685" />
107 <variable name="sort_desc_text_y" value="725" />
108 <variable name="sort_desc_button_y" value="725" />
109 <variable name="sort_col1_button_x" value="180" />
110 <variable name="sort_col2_button_x" value="240" />
111 <variable name="sort_col3_button_x" value="300" />
112 <variable name="input_width" value="460" />
113 <variable name="input_height" value="40" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="3" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="480" />
119 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500120 <variable name="warning" value="#F8F8A0" />
121 <variable name="error" value="#FF4040" />
122 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400123 <variable name="console_background" value="#303030" />
124 <variable name="console_scroll" value="#303030" />
125 <variable name="console_action_height" value="320" />
126 <variable name="console_install_height" value="440" />
127 <variable name="console_installdone_height" value="300" />
128 <variable name="fileselector_x" value="5" />
129 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500130 <variable name="fileselector_install_height" value="480" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400131 <variable name="fileselector_header_background" value="#202020" />
132 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
133 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
134 <variable name="fileselector_header_separatorheight" value="3" />
135 <variable name="fileselector_separatorcolor" value="#505050" />
136 <variable name="fileselector_separatorheight" value="2" />
137 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600138 <variable name="fileselector_highlight_color" value="#505050" />
139 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400140 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100141 <variable name="fastscroll_linecolor" value="#808080" />
142 <variable name="fastscroll_rectcolor" value="#808080" />
143 <variable name="fastscroll_w" value="40" />
144 <variable name="fastscroll_linew" value="2" />
145 <variable name="fastscroll_rectw" value="27" />
146 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="listbox_x" value="5" />
148 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600149 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400150 <variable name="listbox_background" value="#303030" />
151 <variable name="listbox_spacing" value="18" />
152 <variable name="sd_plus_x" value="280" />
153 <variable name="sdext_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400154 <variable name="sdext_text_y" value="145" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="sdswap_button_y" value="185" />
156 <variable name="sdswap_text_x" value="84" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400157 <variable name="sdswap_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400158 <variable name="sdfilesystem_text_y" value="240" />
159 <variable name="sdfilesystem_button_y" value="280" />
160 <variable name="lock_x" value="40" />
161 <variable name="lock_y" value="200" />
162 <variable name="filemanager_select_x" value="365" />
163 <variable name="filemanager_select_y" value="690" />
164 <variable name="backup_name_y" value="350" />
165 <variable name="terminal_console_height" value="370" />
166 <variable name="terminal_text_y" value="390" />
167 <variable name="terminal_button_y" value="380" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400168 <variable name="row_dst_text_y" value="440" />
169 <variable name="row_offset_text_y" value="480" />
170 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500171 <variable name="button_fill_color" value="#303030" />
172 <variable name="button_fill_full_width" value="455" />
173 <variable name="button_fill_main_width" value="225" />
174 <variable name="button_fill_main_height" value="135" />
175 <variable name="button_fill_half_height" value="67" />
176 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000177 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500178 <variable name="backup_button_row1" value="480" />
179 <variable name="backup_button_row2" value="520" />
180 <variable name="mount_list_height" value="380" />
181 <variable name="mount_storage_row" value="500" />
182 <variable name="storage_list_height" value="400" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500183 <variable name="wipe_list_height" value="460" />
184 <variable name="wipe_button_row1" value="600" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500185 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200186 <variable name="slidervalue_w" value="460" />
187 <variable name="slidervalue_line_clr" value="#FFFFFF" />
188 <variable name="slidervalue_slider_clr" value="#33B5E5" />
189 <variable name="slidervalue_lineh" value="1" />
190 <variable name="slidervalue_padding" value="13" />
191 <variable name="slidervalue_sliderw" value="7" />
192 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400193 </variables>
194
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100195 <mousecursor>
196 <placement w="15" h="15" />
197 <background color="#FFFF00FF" resource="cursor" />
198 <speed multiplier="1.5" />
199 </mousecursor>
200
Dees_Troy51a0e822012-09-05 15:24:24 -0400201 <templates>
202 <template name="header">
203 <background color="%backgroundcolor%" />
204
205 <object type="image">
206 <image resource="top_bar" />
207 <placement x="0" y="0" />
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="100" y="10" />
213 <text>Team Win Recovery Project v%tw_version%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <condition var1="tw_simulate_actions" var2="1" />
218 <font resource="font" />
219 <placement x="100" y="40" />
220 <text>SIMULATING ACTIONS</text>
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="100" y="70" />
226 <text>%tw_time%</text>
227 </object>
228
229 <object type="text" color="%text_color%">
230 <font resource="font" />
231 <placement x="250" y="70" />
232 <conditions>
233 <condition var1="tw_no_battery_percent" var2="0" />
234 <condition var1="tw_battery" op=">" var2="0" />
235 <condition var1="tw_battery" op="<" var2="101" />
236 </conditions>
237 <text>Battery: %tw_battery%</text>
238 </object>
239
240 <object type="button">
241 <placement x="%home_button_x%" y="%home_button_y%" />
242 <font resource="font" color="%button_text_color%" />
243 <text></text>
244 <image resource="home_icon" />
245 <condition var1="tw_busy" var2="0" />
246 <action function="key">home</action>
247 </object>
248
249 <object type="button">
250 <placement x="%back_button_x%" y="%back_button_y%" />
251 <font resource="font" color="%button_text_color%" />
252 <text></text>
253 <image resource="back_icon" />
254 <condition var1="tw_busy" var2="0" />
255 <action function="key">back</action>
256 </object>
257
258 <object type="action">
259 <touch key="power" />
260 <action function="overlay">lock</action>
261 </object>
262 </template>
263
264 <template name="progress_bar">
265 <object type="progressbar">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500267 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400268 <data name="ui_progress" />
269 </object>
270
271 <object type="animation">
272 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
273 <resource name="progress" />
274 <speed fps="15" render="2" />
275 <loop frame="1" />
276 </object>
277 </template>
278
279 <template name="action_page_console">
280 <object type="console">
281 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
282 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
283 <font resource="fixed" />
284 </object>
285 </template>
286
287 <template name="sort_options">
288 <object type="text" color="%text_color%">
289 <font resource="font" />
290 <placement x="%col1_x%" y="%sort_asc_text_y%" />
291 <text>Sort Ascending:</text>
292 </object>
293
294 <object type="button">
295 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000296 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400297 <text>Name</text>
298 <image resource="sort_button" />
299 <action function="set">tw_gui_sort_order=1</action>
300 </object>
301
302 <object type="button">
303 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000304 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400305 <text>Date</text>
306 <image resource="sort_button" />
307 <action function="set">tw_gui_sort_order=2</action>
308 </object>
309
310 <object type="button">
311 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000312 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400313 <text>Size</text>
314 <image resource="sort_button" />
315 <action function="set">tw_gui_sort_order=3</action>
316 </object>
317
318 <object type="text" color="%text_color%">
319 <font resource="font" />
320 <placement x="%col1_x%" y="%sort_desc_text_y%" />
321 <text>Sort Descending:</text>
322 </object>
323
324 <object type="button">
325 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000326 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400327 <text>Name</text>
328 <image resource="sort_button" />
329 <action function="set">tw_gui_sort_order=-1</action>
330 </object>
331
332 <object type="button">
333 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000334 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400335 <text>Date</text>
336 <image resource="sort_button" />
337 <action function="set">tw_gui_sort_order=-2</action>
338 </object>
339
340 <object type="button">
341 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000342 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400343 <text>Size</text>
344 <image resource="sort_button" />
345 <action function="set">tw_gui_sort_order=-3</action>
346 </object>
347 </template>
348
349 <template name="footer">
350 <object type="console">
351 <slideout resource="slideout" x="210" y="760" />
352 <placement x="%console_x%" y="0" w="%console_width%" h="760" />
353 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
354 <font resource="fixed" />
355 </object>
356 </template>
357
358 <template name="keyboardtemplate">
359 <object type="keyboard">
360 <placement x="0" y="450" />
361 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600362 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600363 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400364 <layout1>
365 <keysize height="78" width="48" />
366 <row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
367 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
368 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
369 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
370 </layout1>
371 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600372 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400373 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
374 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
375 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
376 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
377 </layout2>
378 <layout3>
379 <keysize height="78" width="48" />
380 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
381 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
382 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
383 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
384 </layout3>
385 <layout4>
386 <keysize height="78" width="48" />
387 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
388 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
389 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
390 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
391 </layout4>
392 </object>
393 </template>
394 </templates>
395
396 <pages>
397 <page name="main">
398 <object type="action">
399 <actions>
400 <action function="set">tw_clear_destination=main2</action>
401 <action function="page">clear_vars</action>
402 </actions>
403 </object>
404 </page>
405
406 <page name="main2">
407 <object type="template" name="header" />
408
409 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600410 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400411 <placement x="%col1_x%" y="%row1_y%" />
412 <font resource="font" color="%button_text_color%" />
413 <text>Install</text>
414 <image resource="main_button" />
415 <actions>
416 <action function="queueclear"></action>
417 <action function="page">install</action>
418 </actions>
419 </object>
420
421 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600422 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400423 <placement x="%col2_x%" y="%row1_y%" />
424 <font resource="font" color="%button_text_color%" />
425 <text>Wipe</text>
426 <image resource="main_button" />
427 <action function="page">wipe</action>
428 </object>
429
430 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600431 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400432 <placement x="%col1_x%" y="%row2_y%" />
433 <font resource="font" color="%button_text_color%" />
434 <text>Backup</text>
435 <image resource="main_button" />
436 <action function="page">backup</action>
437 </object>
438
439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400441 <placement x="%col2_x%" y="%row2_y%" />
442 <font resource="font" color="%button_text_color%" />
443 <text>Restore</text>
444 <image resource="main_button" />
445 <action function="page">restore</action>
446 </object>
447
448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600449 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400450 <placement x="%col1_x%" y="%row3_y%" />
451 <font resource="font" color="%button_text_color%" />
452 <text>Mount</text>
453 <image resource="main_button" />
454 <action function="page">mount</action>
455 </object>
456
457 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600458 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400459 <placement x="%col2_x%" y="%row3_y%" />
460 <font resource="font" color="%button_text_color%" />
461 <text>Settings</text>
462 <image resource="main_button" />
463 <action function="page">settings</action>
464 </object>
465
466
467 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600468 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400469 <placement x="%col1_x%" y="%row4_y%" />
470 <font resource="font" color="%button_text_color%" />
471 <text>Advanced</text>
472 <image resource="main_button" />
473 <action function="page">advanced</action>
474 </object>
475
476 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600477 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400478 <placement x="%col2_x%" y="%row4_y%" />
479 <font resource="font" color="%button_text_color%" />
480 <text>Reboot</text>
481 <image resource="main_button" />
482 <action function="page">reboot</action>
483 </object>
484
485 <object type="template" name="footer" />
486 </page>
487
488 <page name="install">
489 <object type="template" name="header" />
490
491 <object type="text" color="%text_color%">
492 <font resource="font" />
493 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
494 <text>Select Zip to Install</text>
495 </object>
496
497 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <highlight color="%highlight_color%" />
499 <fill color="%button_fill_color%" />
500 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
501 <font resource="font" color="%button_text_color%" />
502 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
503 <actions>
504 <action function="set">tw_back=install</action>
505 <action function="page">selectstorage</action>
506 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 </object>
508
509 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600510 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500511 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100513 <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 -0400514 <text>%tw_zip_location%</text>
515 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
516 <sort name="tw_gui_sort_order" />
517 <icon folder="folder_icon" file="file_icon" />
518 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600519 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400520 <filter extn=".zip" folders="1" files="1" />
521 <path name="tw_zip_location" default="/sdcard" />
522 <data name="tw_filename" />
523 <selection name="tw_file" />
524 </object>
525
526 <object type="template" name="sort_options" />
527
528 <object type="action">
529 <condition var1="tw_filename" op="modified" />
530 <actions>
531 <action function="queuezip"></action>
532 <action function="page">flash_confirm</action>
533 </actions>
534 </object>
535
536 <object type="action">
537 <touch key="back" />
538 <action function="page">main</action>
539 </object>
540
541 <object type="action">
542 <touch key="home" />
543 <action function="page">main</action>
544 </object>
545
546 <object type="template" name="footer" />
547 </page>
548
549 <page name="flash_confirm">
550 <object type="template" name="header" />
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
555 <text>This operation may install incompatible</text>
556 </object>
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
561 <text>software and render your device unusable.</text>
562 </object>
563
564 <object type="text" color="%text_color%">
565 <font resource="font" />
566 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
567 <text>Folder:</text>
568 </object>
569
570 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400571 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400572 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
573 <text>%tw_zip_location%</text>
574 </object>
575
576 <object type="text" color="%text_color%">
577 <font resource="font" />
578 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
579 <text>File to flash:</text>
580 </object>
581
582 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400583 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
585 <text>%tw_file%</text>
586 </object>
587
588 <object type="text" color="%text_color%">
589 <font resource="font" />
590 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
591 <text>Press back to cancel adding this zip.</text>
592 </object>
593
594 <object type="checkbox">
595 <placement x="%col1_x%" y="%row8_text_y%" />
596 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400597 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400598 <data variable="tw_signed_zip_verify" />
599 <image checked="checkbox_true" unchecked="checkbox_false" />
600 </object>
601
602 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <condition var1="tw_has_injecttwrp" var2="1" />
604 <placement x="%col1_x%" y="%row10_text_y%" />
605 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400606 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <data variable="tw_inject_after_zip" />
608 <image checked="checkbox_true" unchecked="checkbox_false" />
609 </object>
610
611 <object type="text" color="%text_color%">
612 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400613 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400614 <text>File %tw_zip_queue_count% of max of 10</text>
615 </object>
616
617 <object type="slider">
618 <placement x="%slider_x%" y="%slider_y%" placement="5" />
619 <resource base="slider" used="slider-used" touch="slider-touch" />
620 <action function="flash">flash_zip</action>
621 </object>
622
623 <object type="text" color="%text_color%">
624 <font resource="font" />
625 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
626 <text>Swipe to Confirm Flash</text>
627 </object>
628
629 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600630 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400631 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
632 <placement x="%col1_x%" y="%row_queue_y%" />
633 <font resource="font" color="%button_text_color%" />
634 <text>Add More Zips</text>
635 <image resource="main_button" />
636 <action function="page">install</action>
637 </object>
638
639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400641 <placement x="%col2_x%" y="%row_queue_y%" />
642 <font resource="font" color="%button_text_color%" />
643 <text>Clear Zip Queue</text>
644 <image resource="main_button" />
645 <actions>
646 <action function="queueclear"></action>
647 <action function="page">install</action>
648 </actions>
649 </object>
650
651 <object type="action">
652 <touch key="back" />
653 <actions>
654 <action function="cancelzip"></action>
655 <action function="page">install</action>
656 </actions>
657 </object>
658
659 <object type="action">
660 <touch key="home" />
661 <action function="page">main</action>
662 </object>
663
664 <object type="template" name="footer" />
665 </page>
666
667 <page name="flash_zip">
668 <object type="template" name="header" />
669
670 <object type="console">
671 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
672 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
673 <font resource="fixed" />
674 </object>
675
676 <object type="text" color="%text_color%">
677 <font resource="font" />
678 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
679 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
680 </object>
681
682 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400683 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400684 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
685 <text>%tw_filename%</text>
686 </object>
687
688 <object type="template" name="progress_bar" />
689
690 <object type="action">
691 <condition var1="tw_operation_state" var2="1" />
692 <action function="page">flash_done</action>
693 </object>
694 </page>
695
696 <page name="flash_done">
697 <object type="template" name="header" />
698
699 <object type="text" color="%text_color%">
700 <font resource="font" />
701 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
702 <text>Zip Install Complete</text>
703 </object>
704
705 <object type="console">
706 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
707 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
708 <font resource="fixed" />
709 </object>
710
711 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600712 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400713 <placement x="%col1_x%" y="%row4_y%" />
714 <font resource="font" color="%button_text_color%" />
715 <text>Wipe cache/dalvik</text>
716 <image resource="main_button" />
717 <actions>
718 <action function="set">tw_back=flash_done</action>
719 <action function="set">tw_action=wipe</action>
720 <action function="set">tw_action_param=/cache</action>
721 <action function="set">tw_has_action2=1</action>
722 <action function="set">tw_action2=wipe</action>
723 <action function="set">tw_action2_param=dalvik</action>
724 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
725 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
726 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
727 <action function="set">tw_slider_text=Swipe to Wipe</action>
728 <action function="page">confirm_action</action>
729 </actions>
730 </object>
731
732 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600733 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <placement x="%col2_x%" y="%row4_y%" />
735 <font resource="font" color="%button_text_color%" />
736 <text>Reboot System</text>
737 <image resource="main_button" />
738 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400739 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <action function="set">tw_action=reboot</action>
741 <action function="set">tw_action_param=system</action>
742 <action function="set">tw_has_action2=0</action>
743 <action function="set">tw_text1=No OS Installed! Are you</action>
744 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400745 <action function="set">tw_text3=</action>
746 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400747 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400748 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400749 <action function="set">tw_complete_text1=Rebooting...</action>
750 <action function="set">tw_slider_text=Swipe to Reboot</action>
751 <action function="page">rebootcheck</action>
752 </actions>
753 </object>
754
755 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600756 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400757 <placement x="%col_center_x%" y="%row3_y%" />
758 <font resource="font" color="%button_text_color%" />
759 <text>Home</text>
760 <image resource="main_button" />
761 <actions>
762 <action function="set">tw_clear_destination=main2</action>
763 <action function="page">clear_vars</action>
764 </actions>
765 </object>
766
767 <object type="text" color="%text_fail_color%">
768 <condition var1="tw_operation_status" op="!=" var2="0" />
769 <font resource="font" />
770 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
771 <text>Failed</text>
772 </object>
773
774 <object type="text" color="%text_success_color%">
775 <condition var1="tw_operation_status" var2="0" />
776 <font resource="font" />
777 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
778 <text>Successful</text>
779 </object>
780
781 <object type="action">
782 <touch key="back" />
783 <actions>
784 <action function="set">tw_clear_destination=install</action>
785 <action function="page">clear_vars</action>
786 </actions>
787 </object>
788
789 <object type="action">
790 <touch key="home" />
791 <actions>
792 <action function="set">tw_clear_destination=main2</action>
793 <action function="page">clear_vars</action>
794 </actions>
795 </object>
796 </page>
797
798 <page name="clear_vars">
799 <object type="action">
800 <action function="set">tw_operation_state=0</action>
801 <action function="set">tw_text1=</action>
802 <action function="set">tw_text2=</action>
803 <action function="set">tw_text3=</action>
804 <action function="set">tw_text4=</action>
805 <action function="set">tw_action_text1=</action>
806 <action function="set">tw_action_text2=</action>
807 <action function="set">tw_action_param=</action>
808 <action function="set">tw_has_action2=0</action>
809 <action function="set">tw_action2=</action>
810 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400811 <action function="set">tw_has_cancel=0</action>
812 <action function="set">tw_cancel_action=</action>
813 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400814 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400815 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400816 <action function="page">%tw_clear_destination%</action>
817 </object>
818 </page>
819
820 <page name="confirm_action">
821 <object type="template" name="header" />
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
826 <text>%tw_text1%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
832 <text>%tw_text2%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
838 <text>%tw_text3%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
843 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
844 <text>%tw_text4%</text>
845 </object>
846
847 <object type="text" color="%text_color%">
848 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400849 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400850 <text>Press back button to cancel.</text>
851 </object>
852
853 <object type="slider">
854 <placement x="%slider_x%" y="%slider_y%" />
855 <resource base="slider" used="slider-used" touch="slider-touch" />
856 <action function="page">action_page</action>
857 </object>
858
859 <object type="text" color="%text_color%">
860 <font resource="font" />
861 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
862 <text>%tw_slider_text%</text>
863 </object>
864
865 <object type="action">
866 <touch key="back" />
867 <actions>
868 <action function="set">tw_clear_destination=%tw_back%</action>
869 <action function="page">clear_vars</action>
870 </actions>
871 </object>
872
873 <object type="action">
874 <touch key="home" />
875 <action function="page">main</action>
876 </object>
877
878 <object type="template" name="footer" />
879 </page>
880
881 <page name="action_page">
882 <object type="template" name="header" />
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
887 <text>%tw_action_text1%</text>
888 </object>
889
890 <object type="text" color="%text_color%">
891 <font resource="font" />
892 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
893 <text>%tw_action_text2%</text>
894 </object>
895
896 <object type="template" name="action_page_console" />
897
Dees_Troybbb21012012-09-20 15:59:46 -0400898 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600899 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400900 <condition var1="tw_has_cancel" var2="1" />
901 <placement x="%col_center_medium_x%" y="%row4_y%" />
902 <font resource="font" color="%button_text_color%" />
903 <text>Cancel</text>
904 <image resource="medium_button" />
905 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
906 </object>
907
Dees_Troy51a0e822012-09-05 15:24:24 -0400908 <object type="template" name="progress_bar" />
909
910 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400911 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400912 <actions>
913 <action function="page">action_complete</action>
914 </actions>
915 </object>
916
917 <object type="action">
918 <condition var1="tw_has_action2" var2="0" />
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 </actions>
922 </object>
923
924 <object type="action">
925 <condition var1="tw_has_action2" var2="1" />
926 <actions>
927 <action function="%tw_action%">%tw_action_param%</action>
928 <action function="%tw_action2%">%tw_action2_param%</action>
929 </actions>
930 </object>
931 </page>
932
Dees_Troy6ef66352013-02-21 08:26:57 -0600933 <page name="singleaction_page">
934 <object type="template" name="header" />
935
936 <object type="text" color="%text_color%">
937 <font resource="font" />
938 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
939 <text>%tw_action_text1%</text>
940 </object>
941
942 <object type="text" color="%text_color%">
943 <font resource="font" />
944 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
945 <text>%tw_action_text2%</text>
946 </object>
947
948 <object type="template" name="action_page_console" />
949
950 <object type="template" name="progress_bar" />
951
952 <object type="action">
953 <condition var1="tw_operation_state" var2="1" />
954 <actions>
955 <action function="set">tw_page_done=1</action>
956 </actions>
957 </object>
958
959 <object type="action">
960 <condition var1="tw_has_action2" var2="0" />
961 <actions>
962 <action function="%tw_action%">%tw_action_param%</action>
963 </actions>
964 </object>
965
966 <object type="action">
967 <condition var1="tw_has_action2" var2="1" />
968 <actions>
969 <action function="%tw_action%">%tw_action_param%</action>
970 <action function="%tw_action2%">%tw_action2_param%</action>
971 </actions>
972 </object>
973 </page>
974
Dees_Troy51a0e822012-09-05 15:24:24 -0400975 <page name="action_complete">
976 <object type="template" name="header" />
977
978 <object type="text" color="%text_color%">
979 <font resource="font" />
980 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
981 <text>%tw_complete_text1%</text>
982 </object>
983
984 <object type="text" color="%text_fail_color%">
985 <condition var1="tw_operation_status" op="!=" var2="0" />
986 <font resource="font" />
987 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
988 <text>Failed</text>
989 </object>
990
991 <object type="text" color="%text_success_color%">
992 <condition var1="tw_operation_status" var2="0" />
993 <font resource="font" />
994 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
995 <text>Successful</text>
996 </object>
997
998 <object type="template" name="action_page_console" />
999
1000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001001 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001002 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Back</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_clear_destination=%tw_back%</action>
1009 <action function="page">clear_vars</action>
1010 </actions>
1011 </object>
1012
Dees_Troya3f81542012-10-08 10:58:53 -04001013 <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="1" />
1016 <placement x="%col_center_x%" y="%row4_y%" />
1017 <font resource="font" color="%button_text_color%" />
1018 <text>Reboot System</text>
1019 <image resource="main_button" />
1020 <actions>
1021 <action function="set">tw_back=main2</action>
1022 <action function="set">tw_action=reboot</action>
1023 <action function="set">tw_action_param=system</action>
1024 <action function="set">tw_has_action2=0</action>
1025 <action function="set">tw_text1=No OS Installed! Are you</action>
1026 <action function="set">tw_text2=sure you wish to reboot?</action>
1027 <action function="set">tw_text3=</action>
1028 <action function="set">tw_text4=</action>
1029 <action function="set">tw_action_text1=Rebooting...</action>
1030 <action function="set">tw_action_text2=</action>
1031 <action function="set">tw_complete_text1=Rebooting...</action>
1032 <action function="set">tw_slider_text=Swipe to Reboot</action>
1033 <action function="page">rebootcheck</action>
1034 </actions>
1035 </object>
1036
Dees_Troy51a0e822012-09-05 15:24:24 -04001037 <object type="action">
1038 <touch key="home" />
1039 <actions>
1040 <action function="set">tw_clear_destination=main2</action>
1041 <action function="page">clear_vars</action>
1042 </actions>
1043 </object>
1044
1045 <object type="action">
1046 <touch key="back" />
1047 <actions>
1048 <action function="set">tw_clear_destination=%tw_back%</action>
1049 <action function="page">clear_vars</action>
1050 </actions>
1051 </object>
1052 </page>
1053
1054 <page name="filecheck">
1055 <object type="action">
1056 <action function="fileexists">%tw_filecheck%</action>
1057 </object>
1058
1059 <object type="action">
1060 <conditions>
1061 <condition var1="tw_operation_state" var2="1" />
1062 <condition var1="tw_operation_status" var2="0" />
1063 </conditions>
1064 <actions>
1065 <action function="set">tw_fileexists=1</action>
1066 <action function="page">%tw_existpage%</action>
1067 </actions>
1068 </object>
1069
1070 <object type="action">
1071 <conditions>
1072 <condition var1="tw_operation_state" var2="1" />
1073 <condition var1="tw_operation_status" var2="1" />
1074 </conditions>
1075 <actions>
1076 <action function="set">tw_fileexists=0</action>
1077 <action function="page">%tw_notexistpage%</action>
1078 </actions>
1079 </object>
1080 </page>
1081
1082 <page name="rebootcheck">
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1085 <action function="reboot">%tw_action_param%</action>
1086 </object>
1087
1088 <object type="action">
1089 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1090 <action function="page">confirm_action</action>
1091 </object>
1092 </page>
1093
1094 <page name="wipe">
1095 <object type="template" name="header" />
1096
1097 <object type="text" color="%text_color%">
1098 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001099 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001100 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1106 <text>Wipes Data, Cache, and Dalvik</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001110 <conditions>
1111 <condition var1="tw_has_android_secure" var2="1" />
1112 <condition var1="fileexists" var2="/and-sec" />
1113 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001114 <font resource="font" />
1115 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1116 <text>.android_secure</text>
1117 </object>
1118
1119 <object type="text" color="%text_color%">
1120 <condition var1="tw_has_data_media" var2="1" />
1121 <font resource="font" />
1122 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1123 <text>(not including internal storage)</text>
1124 </object>
1125
1126 <object type="text" color="%text_color%">
1127 <condition var1="tw_has_sdext_partition" var2="1" />
1128 <font resource="font" />
1129 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1130 <text>SD-EXT</text>
1131 </object>
1132
1133 <object type="text" color="%text_color%">
1134 <font resource="font" />
1135 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1136 <text>Most of the time this is</text>
1137 </object>
1138
1139 <object type="text" color="%text_color%">
1140 <font resource="font" />
1141 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1142 <text>the only wipe that you need.</text>
1143 </object>
1144
1145 <object type="text" color="%text_color%">
1146 <font resource="font" />
1147 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1148 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 </object>
1150
1151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001152 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001153 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001157 <actions>
1158 <action function="set">partitionlisterror=0</action>
1159 <action function="page">advancedwipe</action>
1160 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 </object>
1162
1163 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 <conditions>
1165 <condition var1="tw_has_internal" var2="1" />
1166 <condition var1="tw_has_data_media" var2="1" />
1167 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <highlight color="%highlight_color%" />
1169 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001170 <font resource="font" color="%button_text_color%" />
1171 <text>Format Data</text>
1172 <image resource="main_button" />
1173 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 </actions>
1176 </object>
1177
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <object type="slider">
1179 <placement x="%slider_x%" y="%slider_y%" />
1180 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001181 <actions>
1182 <action function="set">tw_back=wipe</action>
1183 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001184 <action function="set">tw_action_param=data</action>
1185 <action function="set">tw_action_text1=Factory Reset...</action>
1186 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1187 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001188 </actions>
1189 </object>
1190
Dees_Troya13d74f2013-03-24 08:54:55 -05001191 <object type="text" color="%text_color%">
1192 <font resource="font" />
1193 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1194 <text>Swipe to Factory Reset</text>
1195 </object>
1196
1197 <object type="action">
1198 <touch key="back" />
1199 <action function="page">main</action>
1200 </object>
1201
1202 <object type="action">
1203 <touch key="home" />
1204 <action function="page">main</action>
1205 </object>
1206
1207 <object type="template" name="footer" />
1208 </page>
1209
1210 <page name="advancedwipe">
1211 <object type="template" name="header" />
1212
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001213 <object type="action">
1214 <action function="set">tw_wipe_list=</action>
1215 </object>
1216
Dees_Troya13d74f2013-03-24 08:54:55 -05001217 <object type="text" color="%text_color%">
1218 <font resource="font" />
1219 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1220 <text>Wipe Menu</text>
1221 </object>
1222
1223 <object type="partitionlist">
1224 <highlight color="%fileselector_highlight_color%" />
1225 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1226 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1227 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1228 <text>Select Partitions to Wipe:</text>
1229 <icon selected="checkbox_true" unselected="checkbox_false" />
1230 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1231 <background color="%listbox_background%" />
1232 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1233 <data name="tw_wipe_list" />
1234 <listtype name="wipe" />
1235 </object>
1236
1237 <object type="slider">
1238 <placement x="%slider_x%" y="%slider_y%" />
1239 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001240 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001243 <action function="set">tw_action_param=LIST</action>
1244 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1245 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1246 <action function="set">tw_complete_text1=Wipe Complete</action>
1247 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 </actions>
1249 </object>
1250
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001251 <object type="button">
1252 <highlight color="%highlight_color%" />
1253 <fill color="%button_fill_color%" />
1254 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1255 <font resource="font" color="%button_text_color%" />
1256 <text>Repair or Change File System</text>
1257 <actions>
1258 <action function="checkpartitionlist"></action>
1259 <action function="page">checkpartitionlist</action>
1260 </actions>
1261 </object>
1262
1263 <object type="text" color="%text_fail_color%">
1264 <condition var1="partitionlisterror" var2="1" />
1265 <font resource="font" />
1266 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1267 <text>Invalid partition selection</text>
1268 </object>
1269
Dees_Troya13d74f2013-03-24 08:54:55 -05001270 <object type="text" color="%text_color%">
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1273 <text>Swipe to Wipe</text>
1274 </object>
1275
Dees_Troy51a0e822012-09-05 15:24:24 -04001276 <object type="action">
1277 <touch key="home" />
1278 <action function="page">main</action>
1279 </object>
1280
1281 <object type="action">
1282 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001283 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001284 </object>
1285
1286 <object type="template" name="footer" />
1287 </page>
1288
Dees_Troya13d74f2013-03-24 08:54:55 -05001289 <page name="formatdata">
1290 <object type="template" name="header" />
1291
1292 <object type="text" color="%text_color%">
1293 <font resource="font" />
1294 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1295 <text>Format Data will wipe all of your apps,</text>
1296 </object>
1297
1298 <object type="text" color="%text_color%">
1299 <font resource="font" />
1300 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1301 <text>backups, pictures, videos, media, and</text>
1302 </object>
1303
1304 <object type="text" color="%text_color%">
1305 <font resource="font" />
1306 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1307 <text>removes encryption on internal storage.</text>
1308 </object>
1309
1310 <object type="text" color="%text_color%">
1311 <font resource="font" />
1312 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1313 <text>This cannot be undone. Press back to cancel.</text>
1314 </object>
1315
1316 <object type="text" color="%text_color%">
1317 <font resource="font" />
1318 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1319 <text>Type yes to continue.</text>
1320 </object>
1321
1322 <object type="input">
1323 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1324 <background color="%input_background_color%" />
1325 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1326 <font resource="font" color="%text_color%" />
1327 <text>%tw_confirm_formatdata%</text>
1328 <data name="tw_confirm_formatdata" />
1329 <restrict minlen="3" maxlen="3" allow="yes" />
1330 <action function="page">formatdata_confirm</action>
1331 </object>
1332
1333 <object type="template" name="keyboardtemplate" />
1334
1335 <object type="action">
1336 <touch key="home" />
1337 <action function="page">main</action>
1338 </object>
1339
1340 <object type="action">
1341 <touch key="back" />
1342 <action function="page">wipe</action>
1343 </object>
1344
1345 <object type="template" name="footer" />
1346 </page>
1347
1348 <page name="formatdata_confirm">
1349 <object type="action">
1350 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1351 <actions>
1352 <action function="set">tw_back=formatdata</action>
1353 <action function="set">tw_action=wipe</action>
1354 <action function="set">tw_action_param=DATAMEDIA</action>
1355 <action function="set">tw_action_text1=Formatting Data...</action>
1356 <action function="set">tw_complete_text1=Data Format Complete</action>
1357 <action function="page">action_page</action>
1358 </actions>
1359 </object>
1360
1361 <object type="action">
1362 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1363 <action function="page">formatdata</function>
1364 </object>
1365 </page>
1366
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001367 <page name="checkpartitionlist">
1368 <object type="action">
1369 <condition var1="tw_check_partition_list" op="=" var2="1" />
1370 <actions>
1371 <action function="set">partitionlisterror=0</action>
1372 <action function="getpartitiondetails"></action>
1373 <action function="page">partitionoptions</action>
1374 </actions>
1375 </object>
1376
1377 <object type="action">
1378 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1379 <actions>
1380 <action function="set">partitionlisterror=1</action>
1381 <action function="set">tw_wipe_list=</action>
1382 <action function="page">advancedwipe</action>
1383 </actions>
1384 </object>
1385 </page>
1386
1387 <page name="partitionoptions">
1388 <object type="template" name="header" />
1389
1390 <object type="text" color="%text_color%">
1391 <font resource="font" />
1392 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1393 <text>Partition Options for: %tw_partition_name%</text>
1394 </object>
1395
1396 <object type="text" color="%text_color%">
1397 <font resource="font" />
1398 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1399 <text>Mount Point: %tw_partition_mount_point%</text>
1400 </object>
1401
1402 <object type="text" color="%text_color%">
1403 <font resource="font" />
1404 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1405 <text>Current file system: %tw_partition_file_system%</text>
1406 </object>
1407
1408 <object type="text" color="%text_color%">
1409 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1410 <font resource="font" />
1411 <placement x="%col1_x%" y="%row3_text_y%" />
1412 <text>Present: Yes</text>
1413 </object>
1414
1415 <object type="text" color="%text_color%">
1416 <condition var1="tw_partition_is_present" op="=" var2="0" />
1417 <font resource="font" />
1418 <placement x="%col1_x%" y="%row3_text_y%" />
1419 <text>Present: No</text>
1420 </object>
1421
1422 <object type="text" color="%text_color%">
1423 <condition var1="tw_partition_removable" op="!=" var2="0" />
1424 <font resource="font" />
1425 <placement x="%col2_x%" y="%row3_text_y%" />
1426 <text>Removable: Yes</text>
1427 </object>
1428
1429 <object type="text" color="%text_color%">
1430 <condition var1="tw_partition_removable" op="=" var2="0" />
1431 <font resource="font" />
1432 <placement x="%col2_x%" y="%row3_text_y%" />
1433 <text>Removable: No</text>
1434 </object>
1435
1436 <object type="text" color="%text_color%">
1437 <font resource="font" />
1438 <placement x="%col1_x%" y="%row4_text_y%" />
1439 <text>Size: %tw_partition_size%MB</text>
1440 </object>
1441
1442 <object type="text" color="%text_color%">
1443 <font resource="font" />
1444 <placement x="%col2_x%" y="%row4_text_y%" />
1445 <text>Used: %tw_partition_used%MB</text>
1446 </object>
1447
1448 <object type="text" color="%text_color%">
1449 <font resource="font" />
1450 <placement x="%col1_x%" y="%row5_text_y%" />
1451 <text>Free: %tw_partition_free%MB</text>
1452 </object>
1453
1454 <object type="text" color="%text_color%">
1455 <font resource="font" />
1456 <placement x="%col2_x%" y="%row5_text_y%" />
1457 <text>Backup Size: %tw_partition_backup_size%MB</text>
1458 </object>
1459
1460 <object type="button">
1461 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1462 <highlight color="%highlight_color%" />
1463 <placement x="%col1_x%" y="%row4_y%" />
1464 <font resource="font" color="%button_text_color%" />
1465 <text>Repair</text>
1466 <image resource="main_button" />
1467 <actions>
1468 <action function="set">tw_back=partitionoptions</action>
1469 <action function="set">tw_action=repair</action>
1470 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1471 <action function="set">tw_has_action2=0</action>
1472 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1473 <action function="set">tw_text2=</action>
1474 <action function="set">tw_action_text1=Repairing...</action>
1475 <action function="set">tw_complete_text1=Repair Complete</action>
1476 <action function="set">tw_slider_text=Swipe to Repair</action>
1477 <action function="page">confirm_action</action>
1478 </actions>
1479 </object>
1480
1481 <object type="button">
1482 <highlight color="%highlight_color%" />
1483 <placement x="%col2_x%" y="%row4_y%" />
1484 <font resource="font" color="%button_text_color%" />
1485 <text>Change File System</text>
1486 <image resource="main_button" />
1487 <action function="page">selectfilesystem</action>
1488 </object>
1489
1490 <object type="action">
1491 <touch key="home" />
1492 <action function="page">main</action>
1493 </object>
1494
1495 <object type="action">
1496 <touch key="back" />
1497 <action function="page">advancedwipe</action>
1498 </object>
1499
1500 <object type="template" name="footer" />
1501 </page>
1502
1503 <page name="selectfilesystem">
1504 <object type="template" name="header" />
1505
1506 <object type="text" color="%text_color%">
1507 <font resource="font" />
1508 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1509 <text>Change file system for: %tw_partition_name%</text>
1510 </object>
1511
1512 <object type="text" color="%text_color%">
1513 <font resource="font" />
1514 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1515 <text>Mount Point: %tw_partition_mount_point%</text>
1516 </object>
1517
1518 <object type="text" color="%text_color%">
1519 <font resource="font" />
1520 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1521 <text>Current file system: %tw_partition_file_system%</text>
1522 </object>
1523
1524 <object type="text" color="%text_color%">
1525 <font resource="font" />
1526 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1527 <text>Some ROMs or kernels may not support some</text>
1528 </object>
1529
1530 <object type="text" color="%text_color%">
1531 <font resource="font" />
1532 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1533 <text>file systems. Proceed with caution!</text>
1534 </object>
1535
1536 <object type="button">
1537 <condition var1="tw_partition_ext" op="=" var2="1" />
1538 <highlight color="%highlight_color%" />
1539 <placement x="%col1_x%" y="%row2_y%" />
1540 <font resource="font" color="%button_text_color%" />
1541 <text>EXT2</text>
1542 <image resource="main_button" />
1543 <actions>
1544 <action function="set">tw_back=selectfilesystem</action>
1545 <action function="set">tw_action=changefilesystem</action>
1546 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1547 <action function="set">tw_action_new_file_system=ext2</action>
1548 <action function="set">tw_has_action2=0</action>
1549 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1550 <action function="set">tw_text2=</action>
1551 <action function="set">tw_action_text1=Formatting...</action>
1552 <action function="set">tw_complete_text1=Format Complete</action>
1553 <action function="set">tw_slider_text=Swipe to Change</action>
1554 <action function="page">confirm_action</action>
1555 </actions>
1556 </object>
1557
1558 <object type="button">
1559 <condition var1="tw_partition_ext" op="=" var2="1" />
1560 <highlight color="%highlight_color%" />
1561 <placement x="%col2_x%" y="%row2_y%" />
1562 <font resource="font" color="%button_text_color%" />
1563 <text>EXT3</text>
1564 <image resource="main_button" />
1565 <actions>
1566 <action function="set">tw_back=selectfilesystem</action>
1567 <action function="set">tw_action=changefilesystem</action>
1568 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1569 <action function="set">tw_action_new_file_system=ext3</action>
1570 <action function="set">tw_has_action2=0</action>
1571 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1572 <action function="set">tw_text2=</action>
1573 <action function="set">tw_action_text1=Formatting...</action>
1574 <action function="set">tw_complete_text1=Format Complete</action>
1575 <action function="set">tw_slider_text=Swipe to Change</action>
1576 <action function="page">confirm_action</action>
1577 </actions>
1578 </object>
1579
1580 <object type="button">
1581 <condition var1="tw_partition_ext" op="=" var2="1" />
1582 <highlight color="%highlight_color%" />
1583 <placement x="%col1_x%" y="%row3_y%" />
1584 <font resource="font" color="%button_text_color%" />
1585 <text>EXT4</text>
1586 <image resource="main_button" />
1587 <actions>
1588 <action function="set">tw_back=selectfilesystem</action>
1589 <action function="set">tw_action=changefilesystem</action>
1590 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1591 <action function="set">tw_action_new_file_system=ext4</action>
1592 <action function="set">tw_has_action2=0</action>
1593 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1594 <action function="set">tw_text2=</action>
1595 <action function="set">tw_action_text1=Formatting...</action>
1596 <action function="set">tw_complete_text1=Format Complete</action>
1597 <action function="set">tw_slider_text=Swipe to Change</action>
1598 <action function="page">confirm_action</action>
1599 </actions>
1600 </object>
1601
1602 <object type="button">
1603 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1604 <highlight color="%highlight_color%" />
1605 <placement x="%col2_x%" y="%row3_y%" />
1606 <font resource="font" color="%button_text_color%" />
1607 <text>F2FS</text>
1608 <image resource="main_button" />
1609 <actions>
1610 <action function="set">tw_back=selectfilesystem</action>
1611 <action function="set">tw_action=changefilesystem</action>
1612 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1613 <action function="set">tw_action_new_file_system=f2fs</action>
1614 <action function="set">tw_has_action2=0</action>
1615 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1616 <action function="set">tw_text2=</action>
1617 <action function="set">tw_action_text1=Formatting...</action>
1618 <action function="set">tw_complete_text1=Format Complete</action>
1619 <action function="set">tw_slider_text=Swipe to Change</action>
1620 <action function="page">confirm_action</action>
1621 </actions>
1622 </object>
1623
1624 <object type="button">
1625 <condition var1="tw_partition_vfat" op="=" var2="1" />
1626 <highlight color="%highlight_color%" />
1627 <placement x="%col1_x%" y="%row4_y%" />
1628 <font resource="font" color="%button_text_color%" />
1629 <text>FAT</text>
1630 <image resource="main_button" />
1631 <actions>
1632 <action function="set">tw_back=selectfilesystem</action>
1633 <action function="set">tw_action=changefilesystem</action>
1634 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1635 <action function="set">tw_action_new_file_system=vfat</action>
1636 <action function="set">tw_has_action2=0</action>
1637 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1638 <action function="set">tw_text2=</action>
1639 <action function="set">tw_action_text1=Formatting...</action>
1640 <action function="set">tw_complete_text1=Format Complete</action>
1641 <action function="set">tw_slider_text=Swipe to Change</action>
1642 <action function="page">confirm_action</action>
1643 </actions>
1644 </object>
1645
1646 <object type="button">
1647 <condition var1="tw_partition_exfat" op="=" var2="1" />
1648 <highlight color="%highlight_color%" />
1649 <placement x="%col2_x%" y="%row4_y%" />
1650 <font resource="font" color="%button_text_color%" />
1651 <text>exFAT</text>
1652 <image resource="main_button" />
1653 <actions>
1654 <action function="set">tw_back=selectfilesystem</action>
1655 <action function="set">tw_action=changefilesystem</action>
1656 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1657 <action function="set">tw_action_new_file_system=exfat</action>
1658 <action function="set">tw_has_action2=0</action>
1659 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1660 <action function="set">tw_text2=</action>
1661 <action function="set">tw_action_text1=Formatting...</action>
1662 <action function="set">tw_complete_text1=Format Complete</action>
1663 <action function="set">tw_slider_text=Swipe to Change</action>
1664 <action function="page">confirm_action</action>
1665 </actions>
1666 </object>
1667
1668 <object type="action">
1669 <touch key="home" />
1670 <action function="page">main</action>
1671 </object>
1672
1673 <object type="action">
1674 <touch key="back" />
1675 <action function="page">partitionoptions</action>
1676 </object>
1677
1678 <object type="template" name="footer" />
1679 </page>
1680
Dees_Troy51a0e822012-09-05 15:24:24 -04001681 <page name="backup">
1682 <object type="template" name="header" />
1683
Dees_Troy83bd4832013-05-04 12:39:56 +00001684 <object type="button">
1685 <highlight color="%highlight_color%" />
1686 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001687 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" placement="5" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001688 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001689 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001690 <actions>
1691 <action function="set">tw_fileexists=0</action>
1692 <action function="page">backupname1</action>
1693 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 </object>
1695
Dees_Troya13d74f2013-03-24 08:54:55 -05001696 <object type="partitionlist">
1697 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001698 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001699 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1700 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1701 <text>Select Partitions to Back Up:</text>
1702 <icon selected="checkbox_true" unselected="checkbox_false" />
1703 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1704 <background color="%listbox_background%" />
1705 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1706 <data name="tw_backup_list" />
1707 <listtype name="backup" />
1708 </object>
1709
1710 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001711 <conditions>
1712 <condition var1="tw_include_encrypted_backup" var2="1" />
1713 <condition var1="tw_encrypt_backup" var2="0" />
1714 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001715 <highlight color="%highlight_color%" />
1716 <fill color="%button_fill_color%" />
1717 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1718 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001719 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001720 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001721 <action function="page">backupencryption</action>
1722 </actions>
1723 </object>
1724
1725 <object type="button">
1726 <conditions>
1727 <condition var1="tw_include_encrypted_backup" var2="1" />
1728 <condition var1="tw_encrypt_backup" var2="1" />
1729 </conditions>
1730 <highlight color="%highlight_color%" />
1731 <fill color="%button_fill_color%" />
1732 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1733 <font resource="font" color="%button_text_color%" />
1734 <text>Using Encryption</text>
1735 <actions>
1736 <action function="set">tw_password_not_match=0</action>
1737 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001738 </actions>
1739 </object>
1740
1741 <object type="button">
1742 <highlight color="%highlight_color%" />
1743 <fill color="%button_fill_color%" />
1744 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1745 <font resource="font" color="%button_text_color%" />
1746 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001747 <actions>
1748 <action function="refreshsizes"></action>
1749 <action function="page">backup</action>
1750 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001751 </object>
1752
1753 <object type="button">
1754 <highlight color="%highlight_color%" />
1755 <fill color="%button_fill_color%" />
1756 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1757 <font resource="font" color="%button_text_color%" />
1758 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1759 <actions>
1760 <action function="set">tw_back=backup</action>
1761 <action function="page">selectstorage</action>
1762 </actions>
1763 </object>
1764
1765 <object type="checkbox">
1766 <placement x="%col1_x%" y="%row15_text_y%" />
1767 <font resource="font" color="%text_color%" />
1768 <text>Enable compression.</text>
1769 <data variable="tw_use_compression" />
1770 <image checked="checkbox_true" unchecked="checkbox_false" />
1771 </object>
1772
1773 <object type="checkbox">
1774 <placement x="%col1_x%" y="%row16_text_y%" />
1775 <font resource="font" color="%text_color%" />
1776 <text>Skip MD5 generation during backup.</text>
1777 <data variable="tw_skip_md5_generate" />
1778 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001779 </object>
1780
1781 <object type="slider">
1782 <placement x="%slider_x%" y="slider_y" />
1783 <resource base="slider" used="slider-used" touch="slider-touch" />
1784 <action function="page">backup_run</action>
1785 </object>
1786
1787 <object type="text" color="%text_color%">
1788 <font resource="font" />
1789 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1790 <text>Swipe to Back Up</text>
1791 </object>
1792
Dees_Troy51a0e822012-09-05 15:24:24 -04001793 <object type="action">
1794 <touch key="home" />
1795 <action function="page">main</action>
1796 </object>
1797
1798 <object type="action">
1799 <touch key="back" />
1800 <action function="page">main</action>
1801 </object>
1802
1803 <object type="template" name="footer" />
1804 </page>
1805
1806 <page name="backupname1">
1807 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001808 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1809 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001810 </object>
1811
1812 <object type="action">
1813 <action function="page">backupname2</function>
1814 </object>
1815 </page>
1816
1817 <page name="backupname2">
1818 <object type="template" name="header" />
1819
1820 <object type="text" color="%text_color%">
1821 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1822 <font resource="font" />
1823 <text>Please Enter a Backup Name</text>
1824 </object>
1825
1826 <object type="input">
1827 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1828 <background color="%input_background_color%" />
1829 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1830 <font resource="font" color="%text_color%" />
1831 <text>%tw_backup_name%</text>
1832 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001833 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001834 <actions>
1835 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1836 <action function="set">tw_existpage=backupname2</action>
1837 <action function="set">tw_notexistpage=backup</action>
1838 <action function="page">filecheck</action>
1839 </actions>
1840 </object>
1841
1842 <object type="text" color="%text_fail_color%">
1843 <condition var1="tw_fileexists" var2="1" />
1844 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1845 <font resource="font" />
1846 <text>A backup with that name already exists!</text>
1847 </object>
1848
1849 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001850 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001851 <placement x="%col1_x%" y="%row2_y%" />
1852 <font resource="font" color="%button_text_color%" />
1853 <text>Append Date</text>
1854 <image resource="main_button" />
1855 <action function="appenddatetobackupname"></action>
1856 </object>
1857
1858 <object type="button">
1859 <highlight color="%highlight_color%" />
1860 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001861 <font resource="font" color="%button_text_color%" />
1862 <text>Cancel</text>
1863 <image resource="main_button" />
1864 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001865 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001866 <action function="page">backup</action>
1867 </actions>
1868 </object>
1869
1870 <object type="template" name="keyboardtemplate" />
1871
1872 <object type="action">
1873 <touch key="home" />
1874 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001875 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001876 <action function="page">main</action>
1877 </actions>
1878 </object>
1879
1880 <object type="action">
1881 <touch key="back" />
1882 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001883 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001884 <action function="page">backup</action>
1885 </actions>
1886 </object>
1887
1888 <object type="template" name="footer" />
1889 </page>
1890
Dees_Troy83bd4832013-05-04 12:39:56 +00001891 <page name="backupencryption">
1892 <object type="template" name="header" />
1893
1894 <object type="text" color="%text_color%">
1895 <font resource="font" />
1896 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1897 <text>Encrypt your backup?</text>
1898 </object>
1899
1900 <object type="text" color="%text_color%">
1901 <font resource="font" />
1902 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1903 <text>Please Enter A Password:</text>
1904 </object>
1905
1906 <object type="input">
1907 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1908 <background color="%input_background_color%" />
1909 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1910 <font resource="font" color="%text_color%" />
1911 <text>%tw_backup_encrypt_display%</text>
1912 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1913 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1914 <action function="page">backupencryption2</action>
1915 </object>
1916
1917 <object type="text" color="%text_fail_color%">
1918 <condition var1="tw_password_not_match" var2="1" />
1919 <font resource="font" />
1920 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1921 <text>Passwords Do Not Match</text>
1922 </object>
1923
1924 <object type="button">
1925 <highlight color="%highlight_color%" />
1926 <placement x="%col_center_x%" y="%row2_y%" />
1927 <font resource="font" color="%button_text_color%" />
1928 <text>Cancel</text>
1929 <image resource="main_button" />
1930 <actions>
1931 <action function="set">tw_encrypt_backup=0</action>
1932 <action function="set">tw_backup_password=</action>
1933 <action function="set">tw_backup_password2=</action>
1934 <action function="set">tw_backup_encrypt_display=</action>
1935 <action function="set">tw_backup_encrypt_display2=</action>
1936 <action function="page">backup</action>
1937 </actions>
1938 </object>
1939
1940 <object type="template" name="keyboardtemplate" />
1941
1942 <object type="action">
1943 <touch key="home" />
1944 <action function="page">main</action>
1945 </object>
1946
1947 <object type="action">
1948 <touch key="back" />
1949 <action function="page">backup</action>
1950 </object>
1951
1952 <object type="template" name="footer" />
1953 </page>
1954
1955 <page name="backupencryption2">
1956 <object type="template" name="header" />
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1961 <text>Encrypt your backup?</text>
1962 </object>
1963
1964 <object type="text" color="%text_color%">
1965 <font resource="font" />
1966 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1967 <text>Please Enter Password Again:</text>
1968 </object>
1969
1970 <object type="input">
1971 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1972 <background color="%input_background_color%" />
1973 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1974 <font resource="font" color="%text_color%" />
1975 <text>%tw_backup_encrypt_display2%</text>
1976 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1977 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1978 <actions>
1979 <action function="page">checkbackuppassword</action>
1980 </actions>
1981 </object>
1982
1983 <object type="button">
1984 <highlight color="%highlight_color%" />
1985 <placement x="%col_center_x%" y="%row2_y%" />
1986 <font resource="font" color="%button_text_color%" />
1987 <text>Cancel</text>
1988 <image resource="main_button" />
1989 <actions>
1990 <action function="set">tw_encrypt_backup=0</action>
1991 <action function="set">tw_backup_password=</action>
1992 <action function="set">tw_backup_password2=</action>
1993 <action function="set">tw_backup_encrypt_display=</action>
1994 <action function="set">tw_backup_encrypt_display2=</action>
1995 <action function="page">backup</action>
1996 </actions>
1997 </object>
1998
1999 <object type="template" name="keyboardtemplate" />
2000
2001 <object type="action">
2002 <touch key="home" />
2003 <action function="page">main</action>
2004 </object>
2005
2006 <object type="action">
2007 <touch key="back" />
2008 <action function="page">backup</action>
2009 </object>
2010
2011 <object type="template" name="footer" />
2012 </page>
2013
2014 <page name="checkbackuppassword">
2015 <object type="action">
2016 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2017 <actions>
2018 <action function="set">tw_encrypt_backup=1</action>
2019 <action function="page">backup</action>
2020 </actions>
2021 </object>
2022
2023 <object type="action">
2024 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2025 <actions>
2026 <action function="set">tw_encrypt_backup=0</action>
2027 <action function="set">tw_password_not_match=1</action>
2028 <action function="set">tw_backup_password=</action>
2029 <action function="set">tw_backup_password2=</action>
2030 <action function="set">tw_backup_encrypt_display=</action>
2031 <action function="set">tw_backup_encrypt_display2=</action>
2032 <action function="page">backupencryption</action>
2033 </actions>
2034 </object>
2035 </page>
2036
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 <page name="backup_run">
2038 <object type="template" name="header" />
2039
2040 <object type="text" color="%text_color%">
2041 <font resource="font" />
2042 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2043 <text>%tw_operation% %tw_partition%</text>
2044 </object>
2045
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002046 <object type="text" color="%text_color%">
2047 <font resource="font" />
2048 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2049 <text>%tw_file_progress%</text>
2050 </object>
2051
2052 <object type="text" color="%text_color%">
2053 <font resource="font" />
2054 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2055 <text>%tw_size_progress%</text>
2056 </object>
2057
Dees_Troy51a0e822012-09-05 15:24:24 -04002058 <object type="template" name="action_page_console" />
2059
2060 <object type="template" name="progress_bar" />
2061
2062 <object type="action">
2063 <action function="nandroid">backup</action>
2064 </object>
2065
2066 <object type="action">
2067 <condition var1="tw_operation_state" var2="1" />
2068 <actions>
2069 <action function="set">tw_back=backup</action>
2070 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002071 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002072 <action function="page">action_complete</action>
2073 </actions>
2074 </object>
2075 </page>
2076
2077 <page name="restore">
2078 <object type="template" name="header" />
2079
2080 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002081 <highlight color="%highlight_color%" />
2082 <fill color="%button_fill_color%" />
2083 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2084 <font resource="font" color="%button_text_color%" />
2085 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2086 <actions>
2087 <action function="set">tw_back=restore</action>
2088 <action function="page">selectstorage</action>
2089 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002090 </object>
2091
2092 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002093 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002094 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002095 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002096 <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 -04002097 <text>Select Package to Restore:</text>
2098 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2099 <sort name="tw_gui_sort_order" />
2100 <icon folder="folder_icon" file="file_icon" />
2101 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002102 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002103 <filter folders="1" files="0" nav="0" />
2104 <path name="tw_backups_folder" />
2105 <data name="tw_restore" default="" />
2106 <selection name="tw_restore_name" />
2107 </object>
2108
2109 <object type="template" name="sort_options" />
2110
2111 <object type="action">
2112 <condition var1="tw_restore" op="modified" />
2113 <actions>
2114 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002115 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002116 </actions>
2117 </object>
2118
2119 <object type="action">
2120 <touch key="home" />
2121 <action function="page">main</action>
2122 </object>
2123
2124 <object type="action">
2125 <touch key="back" />
2126 <action function="page">main</action>
2127 </object>
2128
2129 <object type="template" name="footer" />
2130 </page>
2131
Dees_Troy83bd4832013-05-04 12:39:56 +00002132 <page name="restore_read">
2133 <object type="action">
2134 <condition var1="tw_restore_encrypted" var2="1" />
2135 <actions>
2136 <action function="set">tw_password_fail=0</action>
2137 <action function="page">restore_decrypt</action>
2138 </actions>
2139 </object>
2140
2141 <object type="action">
2142 <condition var1="tw_restore_encrypted" var2="0" />
2143 <actions>
2144 <action function="page">restore_select</action>
2145 </actions>
2146 </object>
2147 </page>
2148
2149 <page name="restore_decrypt">
2150 <object type="template" name="header" />
2151
2152 <object type="text" color="%text_color%">
2153 <font resource="font" />
2154 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2155 <text>Backup Encrypted</text>
2156 </object>
2157
2158 <object type="text" color="%text_color%">
2159 <font resource="font" />
2160 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2161 <text>Please Enter Your Password:</text>
2162 </object>
2163
2164 <object type="input">
2165 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2166 <background color="%input_background_color%" />
2167 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2168 <font resource="font" color="%text_color%" />
2169 <text>%tw_restore_display%</text>
2170 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2171 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2172 <actions>
2173 <action function="page">try_restore_decrypt</action>
2174 </actions>
2175 </object>
2176
2177 <object type="text" color="%text_fail_color%">
2178 <condition var1="tw_password_fail" var2="1" />
2179 <font resource="font" />
2180 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2181 <text>Password Failed, Please Try Again</text>
2182 </object>
2183
2184 <object type="button">
2185 <highlight color="%highlight_color%" />
2186 <placement x="%col1_x%" y="%row2_y%" />
2187 <font resource="font" color="%button_text_color%" />
2188 <text>Cancel</text>
2189 <image resource="main_button" />
2190 <actions>
2191 <action function="set">tw_page_done=1</action>
2192 <action function="page">restore</action>
2193 </actions>
2194 </object>
2195
2196 <object type="button">
2197 <highlight color="%highlight_color%" />
2198 <placement x="%col2_x%" y="%row2_y%" />
2199 <font resource="font" color="%button_text_color%" />
2200 <text>Delete</text>
2201 <image resource="main_button" />
2202 <actions>
2203 <action function="set">tw_back=restore</action>
2204 <action function="set">tw_action=cmd</action>
2205 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2206 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2207 <action function="set">tw_text2=This cannot be undone!</action>
2208 <action function="set">tw_action_text1=Deleting Backup...</action>
2209 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2210 <action function="set">tw_slider_text=Swipe to Delete</action>
2211 <action function="page">confirm_action</action>
2212 </actions>
2213 </object>
2214
2215 <object type="template" name="keyboardtemplate" />
2216
2217 <object type="action">
2218 <touch key="home" />
2219 <action function="page">main</action>
2220 </object>
2221
2222 <object type="action">
2223 <touch key="back" />
2224 <action function="page">restore</action>
2225 </object>
2226
2227 <object type="template" name="footer" />
2228 </page>
2229
2230 <page name="try_restore_decrypt">
2231 <object type="template" name="header" />
2232
2233 <object type="text" color="%text_color%">
2234 <font resource="font" />
2235 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2236 <text>Trying Decryption with Your Password</text>
2237 </object>
2238
2239 <object type="template" name="action_page_console" />
2240
2241 <object type="template" name="progress_bar" />
2242
2243 <object type="action">
2244 <action function="decrypt_backup"></action>
2245 </object>
2246
2247 <object type="action">
2248 <conditions>
2249 <condition var1="tw_operation_state" var2="1" />
2250 <condition var1="tw_operation_status" op="!=" var2="0" />
2251 </conditions>
2252 <actions>
2253 <action function="set">tw_password_fail=1</action>
2254 <action function="page">restore_decrypt</action>
2255 </actions>
2256 </object>
2257
2258 <object type="action">
2259 <conditions>
2260 <condition var1="tw_operation_state" var2="1" />
2261 <condition var1="tw_operation_status" op="=" var2="0" />
2262 </conditions>
2263 <actions>
2264 <action function="set">tw_page_done=1</action>
2265 <action function="page">restore_select</action>
2266 </actions>
2267 </object>
2268 </page>
2269
Dees_Troy51a0e822012-09-05 15:24:24 -04002270 <page name="restore_select">
2271 <object type="template" name="header" />
2272
Dees_Troya13d74f2013-03-24 08:54:55 -05002273 <object type="partitionlist">
2274 <highlight color="%fileselector_highlight_color%" />
2275 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2276 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2277 <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 -04002278 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002279 <icon selected="checkbox_true" unselected="checkbox_false" />
2280 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2281 <background color="%listbox_background%" />
2282 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2283 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2284 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002285 </object>
2286
2287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002288 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002289 <fill color="%button_fill_color%" />
2290 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <font resource="font" color="%button_text_color%" />
2292 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002293 <actions>
2294 <action function="set">tw_backup_rename=</action>
2295 <action function="set">tw_fileexists=0</action>
2296 <action function="page">renamebackup</action>
2297 </actions>
2298 </object>
2299
2300 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002301 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002302 <fill color="%button_fill_color%" />
2303 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002304 <font resource="font" color="%button_text_color%" />
2305 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002306 <actions>
2307 <action function="set">tw_back=restore</action>
2308 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002309 <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 -04002310 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2311 <action function="set">tw_text2=This cannot be undone!</action>
2312 <action function="set">tw_action_text1=Deleting Backup...</action>
2313 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2314 <action function="set">tw_slider_text=Swipe to Delete</action>
2315 <action function="page">confirm_action</action>
2316 </actions>
2317 </object>
2318
Dees_Troya13d74f2013-03-24 08:54:55 -05002319 <object type="checkbox">
2320 <placement x="%col1_x%" y="%row15_text_y%" />
2321 <font resource="font" color="%text_color%" />
2322 <text>Enable MD5 verification of backup files.</text>
2323 <data variable="tw_skip_md5_check" />
2324 <image checked="checkbox_true" unchecked="checkbox_false" />
2325 </object>
2326
2327 <object type="text" color="%text_color%">
2328 <font resource="font" />
2329 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2330 <text>Package Date: %tw_restore_file_date%</text>
2331 </object>
2332
Dees_Troy51a0e822012-09-05 15:24:24 -04002333 <object type="slider">
2334 <placement x="%slider_x%" y="%slider_y%" />
2335 <resource base="slider" used="slider-used" touch="slider-touch" />
2336 <action function="page">restore_run</action>
2337 </object>
2338
2339 <object type="text" color="%text_color%">
2340 <font resource="font" />
2341 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2342 <text>Swipe to Restore</text>
2343 </object>
2344
Dees_Troy51a0e822012-09-05 15:24:24 -04002345 <object type="action">
2346 <touch key="home" />
2347 <action function="page">main</action>
2348 </object>
2349
2350 <object type="action">
2351 <touch key="back" />
2352 <action function="page">restore</action>
2353 </object>
2354
2355 <object type="template" name="footer" />
2356 </page>
2357
2358 <page name="renamebackup">
2359 <object type="template" name="header" />
2360
2361 <object type="text" color="%text_color%">
2362 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2363 <font resource="font" />
2364 <text>Please Enter a New Backup Name</text>
2365 </object>
2366
2367 <object type="input">
2368 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2369 <background color="%input_background_color%" />
2370 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2371 <font resource="font" color="%text_color%" />
2372 <text>%tw_backup_rename%</text>
2373 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002374 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002375 <actions>
2376 <action function="set">tw_back=restore</action>
2377 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002378 <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 -04002379 <action function="set">tw_text1=Rename Backup?</action>
2380 <action function="set">tw_text2=This cannot be undone!</action>
2381 <action function="set">tw_action_text1=Renaming Backup...</action>
2382 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2383 <action function="set">tw_slider_text=Swipe to Rename</action>
2384 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2385 <action function="set">tw_existpage=renamebackup</action>
2386 <action function="set">tw_notexistpage=confirm_action</action>
2387 <action function="page">filecheck</action>
2388 </actions>
2389 </object>
2390
2391 <object type="text" color="%text_fail_color%">
2392 <condition var1="tw_fileexists" var2="1" />
2393 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2394 <font resource="font" />
2395 <text>A backup with that name already exists!</text>
2396 </object>
2397
2398 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002399 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <placement x="%col_center_x%" y="%row2_y%" />
2401 <font resource="font" color="%button_text_color%" />
2402 <text>Cancel</text>
2403 <image resource="main_button" />
2404 <action function="page">restore_select</action>
2405 </object>
2406
2407 <object type="template" name="keyboardtemplate" />
2408
2409 <object type="action">
2410 <touch key="home" />
2411 <action function="page">main</action>
2412 </object>
2413
2414 <object type="action">
2415 <touch key="back" />
2416 <action function="page">restore_select</action>
2417 </object>
2418
2419 <object type="template" name="footer" />
2420 </page>
2421
2422 <page name="restore_run">
2423 <object type="template" name="header" />
2424
2425 <object type="text" color="%text_color%">
2426 <font resource="font" />
2427 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2428 <text>%tw_operation% %tw_partition%</text>
2429 </object>
2430
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002431 <object type="text" color="%text_color%">
2432 <font resource="font" />
2433 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2434 <text>%tw_size_progress%</text>
2435 </object>
2436
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <object type="template" name="action_page_console" />
2438
2439 <object type="template" name="progress_bar" />
2440
2441 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002442 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002443 <actions>
2444 <action function="set">tw_back=restore_select</action>
2445 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002446 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002447 <action function="page">action_complete</action>
2448 </actions>
2449 </object>
2450
2451 <object type="action">
2452 <action function="nandroid">restore</action>
2453 </object>
2454 </page>
2455
Dees_Troya13d74f2013-03-24 08:54:55 -05002456 <page name="selectstorage">
2457 <object type="template" name="header" />
2458
2459 <object type="partitionlist">
2460 <highlight color="%fileselector_highlight_color%" />
2461 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2462 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2463 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2464 <text>Select Storage:</text>
2465 <icon selected="radio_true" unselected="radio_false" />
2466 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2467 <background color="%listbox_background%" />
2468 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2469 <data name="tw_storage_path" />
2470 <listtype name="storage" />
2471 </object>
2472
Dees_Troye7e0ae82013-07-05 14:46:07 +00002473 <object type="button">
2474 <highlight color="%highlight_color%" />
2475 <placement x="%col_center_x%" y="%row4_y%" />
2476 <font resource="font" color="%button_text_color%" />
2477 <text>OK</text>
2478 <image resource="main_button" />
2479 <actions>
2480 <action function="set">tw_clear_destination=%tw_back%</action>
2481 <action function="page">clear_vars</action>
2482 </actions>
2483 </object>
2484
Dees_Troya13d74f2013-03-24 08:54:55 -05002485 <object type="action">
2486 <touch key="home" />
2487 <action function="page">main</action>
2488 </object>
2489
2490 <object type="action">
2491 <touch key="back" />
2492 <actions>
2493 <action function="page">%tw_back%</action>
2494 </actions>
2495 </object>
2496
2497 <object type="template" name="footer" />
2498 </page>
2499
Dees_Troy51a0e822012-09-05 15:24:24 -04002500 <page name="mount">
2501 <object type="template" name="header" />
2502
Dees_Troya13d74f2013-03-24 08:54:55 -05002503 <object type="partitionlist">
2504 <highlight color="%fileselector_highlight_color%" />
2505 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2506 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2507 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2508 <text>Select Partitions to Mount:</text>
2509 <icon selected="checkbox_true" unselected="checkbox_false" />
2510 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2511 <background color="%listbox_background%" />
2512 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2513 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002514 </object>
2515
2516 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002517 <highlight color="%highlight_color%" />
2518 <fill color="%button_fill_color%" />
2519 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2520 <font resource="font" color="%button_text_color%" />
2521 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2522 <actions>
2523 <action function="set">tw_back=mount</action>
2524 <action function="page">selectstorage</action>
2525 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 </object>
2527
2528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002529 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002530 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002531 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <font resource="font" color="%button_text_color%" />
2533 <text>Mount USB Storage</text>
2534 <image resource="main_button" />
2535 <action function="page">usb_mount</action>
2536 </object>
2537
Gary Peckffdc6ae2012-11-21 18:02:02 -08002538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002540 <conditions>
2541 <condition var1="tw_is_encrypted" var2="1" />
2542 <condition var1="tw_is_decrypted" var2="0" />
2543 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002544 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002545 <font resource="font" color="%button_text_color%" />
2546 <text>Decrypt Data</text>
2547 <image resource="main_button" />
2548 <action function="page">decrypt</action>
2549 </object>
2550
Dees_Troy51a0e822012-09-05 15:24:24 -04002551 <object type="action">
2552 <touch key="home" />
2553 <action function="page">main</action>
2554 </object>
2555
2556 <object type="action">
2557 <touch key="back" />
2558 <action function="page">main</action>
2559 </object>
2560
2561 <object type="template" name="footer" />
2562 </page>
2563
2564 <page name="usb_mount">
2565 <object type="template" name="header" />
2566
2567 <object type="text" color="%text_color%">
2568 <font resource="font" />
2569 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2570 <text>USB Storage Mounted</text>
2571 </object>
2572
2573 <object type="text" color="%text_color%">
2574 <placement x="%col1_x%" y="%row1_text_y%" />
2575 <font resource="font" />
2576 <text>Be sure to safely remove your device</text>
2577 </object>
2578
2579 <object type="text" color="%text_color%">
2580 <placement x="%col1_x%" y="%row2_text_y%" />
2581 <font resource="font" />
2582 <text>from your computer before unmounting!</text>
2583 </object>
2584
2585 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002586 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002587 <placement x="%col1_x%" y="%row3_y%" />
2588 <font resource="font" color="%button_text_color%" />
2589 <text>Unmount</text>
2590 <image resource="main_button" />
2591 <action function="page">usb_umount</action>
2592 </object>
2593
2594 <object type="action">
2595 <action function="mount">usb</action>
2596 </object>
2597
2598 <object type="template" name="footer" />
2599 </page>
2600
2601 <page name="usb_umount">
2602 <object type="action">
2603 <action function="unmount">usb</action>
2604 </object>
2605
2606 <object type="action">
2607 <action function="page">mount</action>
2608 </object>
2609 </page>
2610
2611 <page name="reboot">
2612 <object type="template" name="header" />
2613
2614 <object type="text" color="%text_color%">
2615 <font resource="font" />
2616 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2617 <text>Reboot Menu</text>
2618 </object>
2619
2620 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002621 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002622 <condition var1="tw_reboot_system" var2="1" />
2623 <placement x="%col1_x%" y="%row1_y%" />
2624 <font resource="font" color="%button_text_color%" />
2625 <text>System</text>
2626 <image resource="main_button" />
2627 <actions>
2628 <action function="set">tw_back=reboot</action>
2629 <action function="set">tw_action=reboot</action>
2630 <action function="set">tw_action_param=system</action>
2631 <action function="set">tw_has_action2=0</action>
2632 <action function="set">tw_text1=No OS Installed! Are you</action>
2633 <action function="set">tw_text2=sure you wish to reboot?</action>
2634 <action function="set">tw_action_text1=Rebooting...</action>
2635 <action function="set">tw_complete_text1=Rebooting...</action>
2636 <action function="set">tw_slider_text=Swipe to Reboot</action>
2637 <action function="page">rebootcheck</action>
2638 </actions>
2639 </object>
2640
2641 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002642 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002643 <condition var1="tw_reboot_poweroff" var2="1" />
2644 <placement x="%col2_x%" y="%row1_y%" />
2645 <font resource="font" color="%button_text_color%" />
2646 <text>Power Off</text>
2647 <image resource="main_button" />
2648 <actions>
2649 <action function="set">tw_back=reboot</action>
2650 <action function="set">tw_action=reboot</action>
2651 <action function="set">tw_action_param=poweroff</action>
2652 <action function="set">tw_has_action2=0</action>
2653 <action function="set">tw_text1=No OS Installed! Are you</action>
2654 <action function="set">tw_text2=sure you wish to power off?</action>
2655 <action function="set">tw_action_text1=Turning Off...</action>
2656 <action function="set">tw_complete_text1=Turning Off...</action>
2657 <action function="set">tw_slider_text=Swipe to Power Off</action>
2658 <action function="page">rebootcheck</action>
2659 </actions>
2660 </object>
2661
2662 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002663 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002664 <condition var1="tw_reboot_recovery" var2="1" />
2665 <placement x="%col1_x%" y="%row2_y%" />
2666 <font resource="font" color="%button_text_color%" />
2667 <text>Recovery</text>
2668 <image resource="main_button" />
2669 <actions>
2670 <action function="set">tw_back=reboot</action>
2671 <action function="set">tw_action=reboot</action>
2672 <action function="set">tw_action_param=recovery</action>
2673 <action function="set">tw_has_action2=0</action>
2674 <action function="set">tw_text1=No OS Installed! Are you</action>
2675 <action function="set">tw_text2=sure you wish to reboot?</action>
2676 <action function="set">tw_action_text1=Rebooting...</action>
2677 <action function="set">tw_complete_text1=Rebooting...</action>
2678 <action function="set">tw_slider_text=Swipe to Reboot</action>
2679 <action function="page">rebootcheck</action>
2680 </actions>
2681 </object>
2682
2683 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002684 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002685 <condition var1="tw_reboot_bootloader" var2="1" />
2686 <placement x="%col2_x%" y="%row2_y%" />
2687 <font resource="font" color="%button_text_color%" />
2688 <text>Bootloader</text>
2689 <image resource="main_button" />
2690 <actions>
2691 <action function="set">tw_back=reboot</action>
2692 <action function="set">tw_action=reboot</action>
2693 <action function="set">tw_action_param=bootloader</action>
2694 <action function="set">tw_has_action2=0</action>
2695 <action function="set">tw_text1=No OS Installed! Are you</action>
2696 <action function="set">tw_text2=sure you wish to reboot?</action>
2697 <action function="set">tw_action_text1=Rebooting...</action>
2698 <action function="set">tw_complete_text1=Rebooting...</action>
2699 <action function="set">tw_slider_text=Swipe to Reboot</action>
2700 <action function="page">rebootcheck</action>
2701 </actions>
2702 </object>
2703
2704 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002705 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002706 <condition var1="tw_download_mode" var2="1" />
2707 <placement x="%col1_x%" y="%row3_y%" />
2708 <font resource="font" color="%button_text_color%" />
2709 <text>Download</text>
2710 <image resource="main_button" />
2711 <actions>
2712 <action function="set">tw_back=reboot</action>
2713 <action function="set">tw_action=reboot</action>
2714 <action function="set">tw_action_param=download</action>
2715 <action function="set">tw_has_action2=0</action>
2716 <action function="set">tw_text1=No OS Installed! Are you</action>
2717 <action function="set">tw_text2=sure you wish to reboot?</action>
2718 <action function="set">tw_action_text1=Rebooting...</action>
2719 <action function="set">tw_complete_text1=Rebooting...</action>
2720 <action function="set">tw_slider_text=Swipe to Reboot</action>
2721 <action function="page">rebootcheck</action>
2722 </actions>
2723 </object>
2724
2725 <object type="action">
2726 <touch key="home" />
2727 <action function="page">main</action>
2728 </object>
2729
2730 <object type="action">
2731 <touch key="back" />
2732 <action function="page">main</action>
2733 </object>
2734
2735 <object type="template" name="footer" />
2736 </page>
2737
2738 <page name="settings">
2739 <object type="template" name="header" />
2740
2741 <object type="text" color="%text_color%">
2742 <font resource="font" />
2743 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2744 <text>Settings</text>
2745 </object>
2746
2747 <object type="checkbox">
2748 <placement x="%col1_x%" y="%row1_text_y%" />
2749 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002750 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <data variable="tw_signed_zip_verify" />
2752 <image checked="checkbox_true" unchecked="checkbox_false" />
2753 </object>
2754
2755 <object type="checkbox">
2756 <placement x="%col1_x%" y="%row2_text_y%" />
2757 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002758 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002759 <data variable="tw_rm_rf" />
2760 <image checked="checkbox_true" unchecked="checkbox_false" />
2761 </object>
2762
2763 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002764 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002766 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002767 <data variable="tw_skip_md5_generate" />
2768 <image checked="checkbox_true" unchecked="checkbox_false" />
2769 </object>
2770
2771 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002772 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002774 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002775 <data variable="tw_skip_md5_check" />
2776 <image checked="checkbox_true" unchecked="checkbox_false" />
2777 </object>
2778
2779 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002780 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002782 <text>Use Military Time.</text>
2783 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002784 <image checked="checkbox_true" unchecked="checkbox_false" />
2785 </object>
2786
2787 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002788 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002790 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <data variable="tw_simulate_actions" />
2792 <image checked="checkbox_true" unchecked="checkbox_false" />
2793 </object>
2794
2795 <object type="checkbox">
2796 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002797 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002798 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002799 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002800 <data variable="tw_simulate_fail" />
2801 <image checked="checkbox_true" unchecked="checkbox_false" />
2802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <placement x="%col1_x%" y="%row3_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text>Time Zone</text>
2809 <image resource="main_button" />
2810 <action function="page">timezone</action>
2811 </object>
2812
2813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002814 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002815 <placement x="%col2_x%" y="%row3_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text>Screen</text>
2818 <image resource="main_button" />
2819 <action function="page">screen</action>
2820 </object>
2821
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002822 <object type="button">
2823 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002824 <placement x="%col1_x%" y="%row4_y%" />
2825 <font resource="font" color="%button_text_color%" />
2826 <text>Restore Defaults</text>
2827 <image resource="main_button" />
2828 <action function="restoredefaultsettings"></action>
2829 </object>
2830
Dees_Troy2f9117a2013-02-17 19:52:09 -06002831 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002832 <highlight color="%highlight_color%" />
2833 <placement x="%col2_x%" y="%row4_y%" />
2834 <font resource="font" color="%button_text_color%" />
2835 <text>Vibration Duration</text>
2836 <image resource="main_button" />
2837 <action function="page">Vibrate</action>
2838 </object>
2839
Dees_Troy51a0e822012-09-05 15:24:24 -04002840 <object type="action">
2841 <touch key="home" />
2842 <action function="page">main</action>
2843 </object>
2844
2845 <object type="action">
2846 <touch key="back" />
2847 <action function="page">main</action>
2848 </object>
2849
2850 <object type="template" name="footer" />
2851 </page>
2852
2853 <page name="timezone">
2854 <object type="template" name="header" />
2855
Dees_Troy51a0e822012-09-05 15:24:24 -04002856 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002857 <highlight color="%fileselector_highlight_color%" />
2858 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2859 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002860 <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 -06002861 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002862 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002863 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002864 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002865 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <data name="tw_time_zone_guisel" />
2867 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2868 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2869 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2870 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2871 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2872 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2873 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2874 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2875 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2876 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2877 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2878 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2879 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2880 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2881 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2882 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2883 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2884 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2885 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2886 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2887 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2888 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2889 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2890 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2891 </object>
2892
2893 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002894 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002895 <font resource="font" color="%text_color%" />
2896 <text>Do you use daylight savings time (DST)?</text>
2897 <data variable="tw_time_zone_guidst" />
2898 <image checked="checkbox_true" unchecked="checkbox_false" />
2899 </object>
2900
2901 <object type="text" color="%text_color%">
2902 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002903 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2905 </object>
2906
2907 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002908 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002909 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002910 <font resource="font" color="%button_text_color%" />
2911 <text>None</text>
2912 <image resource="medium_button" />
2913 <action function="set">tw_time_zone_guioffset=0</action>
2914 </object>
2915
2916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002917 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002918 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002919 <font resource="font" color="%button_text_color%" />
2920 <text>15</text>
2921 <image resource="medium_button" />
2922 <action function="set">tw_time_zone_guioffset=15</action>
2923 </object>
2924
2925 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002926 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002927 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002928 <font resource="font" color="%button_text_color%" />
2929 <text>30</text>
2930 <image resource="medium_button" />
2931 <action function="set">tw_time_zone_guioffset=30</action>
2932 </object>
2933
2934 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002935 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002936 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002937 <font resource="font" color="%button_text_color%" />
2938 <text>45</text>
2939 <image resource="medium_button" />
2940 <action function="set">tw_time_zone_guioffset=45</action>
2941 </object>
2942
2943 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002944 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002945 <placement x="%col_center_x%" y="%tz_set_y%" />
2946 <font resource="font" color="%button_text_color%" />
2947 <text>Set Time Zone</text>
2948 <image resource="main_button" />
2949 <action function="setguitimezone"></action>
2950 </object>
2951
2952 <object type="text" color="%text_color%">
2953 <font resource="font" />
2954 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2955 <text>Current Time Zone: %tw_time_zone%</text>
2956 </object>
2957
2958 <object type="action">
2959 <touch key="home" />
2960 <action function="page">main</action>
2961 </object>
2962
2963 <object type="action">
2964 <touch key="back" />
2965 <action function="page">settings</action>
2966 </object>
2967
2968 <object type="template" name="footer" />
2969 </page>
2970
Dees_Troy2f9117a2013-02-17 19:52:09 -06002971 <page name="screen">
2972 <object type="template" name="header" />
2973
2974 <object type="text" color="%text_color%">
2975 <font resource="font" />
2976 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2977 <text>Screen Settings</text>
2978 </object>
2979
Dees_Troy2f9117a2013-02-17 19:52:09 -06002980 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002981 <placement x="%col1_x%" y="%row2_text_y%" />
2982 <font resource="font" color="%text_color%" />
2983 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002984 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002985 <text>Enable screen timeout.</text>
2986 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002987 <action function="set">tw_screen_timeout_secs=60</action>
2988 </object>
2989
2990 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002991 <placement x="%col1_x%" y="%row2_text_y%" />
2992 <font resource="font" color="%text_color%" />
2993 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002994 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002995 <text>Enable screen timeout.</text>
2996 <image resource="checkbox_true" />
2997 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002998 </object>
2999
Vojtech Bocek85932342013-04-01 22:11:33 +02003000 <object type="slidervalue">
3001 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003002 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003003 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3004 <font resource="font" color="%text_color%" />
3005 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3006 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3007 <text>Screen timeout in seconds:</text>
3008 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003009 </object>
3010
Vojtech Bocek85932342013-04-01 22:11:33 +02003011 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003012 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003013 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3014 <font resource="font" color="%text_color%" />
3015 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3016 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3017 <text>Brightness: %tw_brightness_pct%%</text>
3018 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003019 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003020 <action function="set">tw_brightness=%tw_brightness_max%</action>
3021 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3022 <action function="compute">tw_brightness/100</action>
3023 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003024 </actions>
3025 </object>
3026
3027 <object type="action">
3028 <touch key="home" />
3029 <action function="page">main</action>
3030 </object>
3031
3032 <object type="action">
3033 <touch key="back" />
3034 <action function="page">settings</action>
3035 </object>
3036
3037 <object type="template" name="footer" />
3038 </page>
3039
Ethan Yonker03db3262014-02-05 08:02:06 -06003040 <page name="Vibrate">
3041 <object type="template" name="header" />
3042
3043 <object type="text" color="%text_color%">
3044 <font resource="font" />
3045 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3046 <text>Vibration Settings :</text>
3047 </object>
3048
3049 <object type="slidervalue">
3050 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3051 <font resource="font" color="%text_color%" />
3052 <text>Button Vibration:</text>
3053 <data variable="tw_button_vibrate" min="0" max="300" />
3054 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3055 </object>
3056
3057 <object type="slidervalue">
3058 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3059 <font resource="font" color="%text_color%" />
3060 <text>Keyboard Vibration:</text>
3061 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3062 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3063 </object>
3064
3065 <object type="slidervalue">
3066 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3067 <font resource="font" color="%text_color%" />
3068 <text>Action Vibration:</text>
3069 <data variable="tw_action_vibrate" min="0" max="500" />
3070 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3071 </object>
3072
3073 <object type="action">
3074 <touch key="home" />
3075 <action function="page">main</action>
3076 </object>
3077
3078 <object type="action">
3079 <touch key="back" />
3080 <action function="page">settings</action>
3081 </object>
3082
3083 <object type="template" name="footer" />
3084 </page>
3085
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <page name="advanced">
3087 <object type="template" name="header" />
3088
3089 <object type="text" color="%text_color%">
3090 <font resource="font" />
3091 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3092 <text>Advanced</text>
3093 </object>
3094
3095 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003096 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003097 <placement x="%col1_x%" y="%row1_y%" />
3098 <font resource="font" color="%button_text_color%" />
3099 <text>Copy Log to SD</text>
3100 <image resource="main_button" />
3101 <actions>
3102 <action function="set">tw_back=advanced</action>
3103 <action function="set">tw_action=copylog</action>
3104 <action function="set">tw_text1=Copy Log to SD Card?</action>
3105 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3106 <action function="set">tw_complete_text1=Log Copy Complete</action>
3107 <action function="set">tw_slider_text=Swipe to Confirm</action>
3108 <action function="page">confirm_action</action>
3109 </actions>
3110 </object>
3111
3112 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003113 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003114 <placement x="%col2_x%" y="%row1_y%" />
3115 <font resource="font" color="%button_text_color%" />
3116 <text>Fix Permissions</text>
3117 <image resource="main_button" />
3118 <actions>
3119 <action function="set">tw_back=advanced</action>
3120 <action function="set">tw_action=fixpermissions</action>
3121 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003122 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003123 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3124 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003125 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <action function="page">confirm_action</action>
3127 </actions>
3128 </object>
3129
3130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <condition var1="tw_allow_partition_sdcard" var2="1" />
3133 <placement x="%col1_x%" y="%row2_y%" />
3134 <font resource="font" color="%button_text_color%" />
3135 <text>Partition SD Card</text>
3136 <image resource="main_button" />
3137 <action function="page">partsdcard</action>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <placement x="%col2_x%" y="%row2_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>File Manager</text>
3145 <image resource="main_button" />
3146 <action function="page">filemanagerlist</action>
3147 </object>
3148
3149 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003150 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003151 <placement x="%col1_x%" y="%row3_y%" />
3152 <font resource="font" color="%button_text_color%" />
3153 <text>Terminal Command</text>
3154 <image resource="main_button" />
3155 <action function="page">terminalfolder</action>
3156 </object>
3157
3158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003159 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003160 <placement x="%col2_x%" y="%row3_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Reload Theme</text>
3163 <image resource="main_button" />
3164 <action function="reload"></action>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003169 <placement x="%col1_x%" y="%row4_y%" />
3170 <font resource="font" color="%button_text_color%" />
3171 <text>ADB Sideload</text>
3172 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003173 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04003174 </object>
3175
3176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003178 <condition var1="tw_show_dumlock" var2="1" />
3179 <placement x="%col2_x%" y="%row4_y%" />
3180 <font resource="font" color="%button_text_color%" />
3181 <text>HTC Dumlock</text>
3182 <image resource="main_button" />
3183 <action function="page">htcdumlock</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 <condition var1="tw_has_injecttwrp" var2="1" />
3189 <placement x="%col2_x%" y="%row4_y%" />
3190 <font resource="font" color="%button_text_color%" />
3191 <text>Re-Inject TWRP</text>
3192 <image resource="main_button" />
3193 <actions>
3194 <action function="set">tw_back=advanced</action>
3195 <action function="set">tw_action=reinjecttwrp</action>
3196 <action function="set">tw_text1=Re-Inject TWRP?</action>
3197 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3198 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3199 <action function="set">tw_slider_text=Swipe to Confirm</action>
3200 <action function="page">confirm_action</action>
3201 </actions>
3202 </object>
3203
3204 <object type="action">
3205 <touch key="home" />
3206 <action function="page">main</action>
3207 </object>
3208
3209 <object type="action">
3210 <touch key="back" />
3211 <action function="page">main</action>
3212 </object>
3213
3214 <object type="template" name="footer" />
3215 </page>
3216
3217 <page name="partsdcard">
3218 <object type="template" name="header" />
3219
3220 <object type="text" color="%text_color%">
3221 <font resource="font" />
3222 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3223 <text>Partition SD Card</text>
3224 </object>
3225
3226 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003227 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003228 <placement x="%col1_x%" y="%row1_y%" />
3229 <font resource="font" color="%button_text_color%" />
3230 <text></text>
3231 <image resource="minus_button" />
3232 <action function="addsubtract">tw_sdext_size-128</action>
3233 </object>
3234
3235 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003236 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003237 <placement x="%sd_plus_x%" y="%row1_y%" />
3238 <font resource="font" color="%button_text_color%" />
3239 <text></text>
3240 <image resource="plus_button" />
3241 <action function="addsubtract">tw_sdext_size+128</action>
3242 </object>
3243
3244 <object type="text" color="%text_color%">
3245 <font resource="font" />
3246 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3247 <text>EXT Size: %tw_sdext_size%</text>
3248 </object>
3249
3250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003252 <placement x="%col1_x%" y="%sdswap_button_y%" />
3253 <font resource="font" color="%button_text_color%" />
3254 <text></text>
3255 <image resource="minus_button" />
3256 <action function="addsubtract">tw_swap_size-32</action>
3257 </object>
3258
3259 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003260 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003261 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3262 <font resource="font" color="%button_text_color%" />
3263 <text></text>
3264 <image resource="plus_button" />
3265 <action function="addsubtract">tw_swap_size+32</action>
3266 </object>
3267
3268 <object type="text" color="%text_color%">
3269 <font resource="font" />
3270 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3271 <text>Swap Size: %tw_swap_size%</text>
3272 </object>
3273
3274 <object type="text" color="%text_color%">
3275 <font resource="font" />
3276 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3277 <text>File system: %tw_sdpart_file_system%</text>
3278 </object>
3279
3280 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003281 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003282 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3283 <font resource="font" color="%button_text_color%" />
3284 <text>EXT3</text>
3285 <image resource="main_button" />
3286 <action function="set">tw_sdpart_file_system=ext3</action>
3287 </object>
3288
3289 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003290 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003291 <condition var1="tw_sdext_disable_ext4" var2="0" />
3292 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3293 <font resource="font" color="%button_text_color%" />
3294 <text>EXT4</text>
3295 <image resource="main_button" />
3296 <action function="set">tw_sdpart_file_system=ext4</action>
3297 </object>
3298
3299 <object type="text" color="%text_color%">
3300 <font resource="font" />
3301 <placement x="%col1_x%" y="%row12_text_y%" />
3302 <text>You will lose all files on your SD card!</text>
3303 </object>
3304
3305 <object type="text" color="%text_color%">
3306 <font resource="font" />
3307 <placement x="%col1_x%" y="%row13_text_y%" />
3308 <text>This action cannot be undone!</text>
3309 </object>
3310
3311 <object type="slider">
3312 <placement x="%slider_x%" y="%slider_y%" />
3313 <resource base="slider" used="slider-used" touch="slider-touch" />
3314 <action function="page">partsdcardaction</action>
3315 <actions>
3316 <action function="set">tw_back=partsdcard</action>
3317 <action function="set">tw_action=partitionsd</action>
3318 <action function="set">tw_has_action2=1</action>
3319 <action function="set">tw_action2=set</action>
3320 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3321 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3322 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003323 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <action function="page">action_page</action>
3325 </actions>
3326 </object>
3327
3328 <object type="text" color="%text_color%">
3329 <font resource="font" />
3330 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3331 <text>Swipe to Partition</text>
3332 </object>
3333
3334 <object type="action">
3335 <touch key="home" />
3336 <action function="page">main</action>
3337 </object>
3338
3339 <object type="action">
3340 <touch key="back" />
3341 <action function="page">advanced</action>
3342 </object>
3343
3344 <object type="template" name="footer" />
3345 </page>
3346
3347 <page name="htcdumlock">
3348 <object type="template" name="header" />
3349
3350 <object type="text" color="%text_color%">
3351 <font resource="font" />
3352 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3353 <text>HTC Dumlock</text>
3354 </object>
3355
3356 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003358 <condition var1="tw_show_dumlock" var2="1" />
3359 <placement x="%col1_x%" y="%row1_y%" />
3360 <font resource="font" color="%button_text_color%" />
3361 <text>Restore Original Boot</text>
3362 <image resource="main_button" />
3363 <actions>
3364 <action function="set">tw_back=htcdumlock</action>
3365 <action function="set">tw_action=htcdumlockrestoreboot</action>
3366 <action function="set">tw_text1=Restore original boot image?</action>
3367 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3368 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3369 <action function="set">tw_slider_text=Swipe to Confirm</action>
3370 <action function="page">confirm_action</action>
3371 </actions>
3372 </object>
3373
3374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003376 <condition var1="tw_show_dumlock" var2="1" />
3377 <placement x="%col2_x%" y="%row1_y%" />
3378 <font resource="font" color="%button_text_color%" />
3379 <text>Reflash Recovery</text>
3380 <image resource="main_button" />
3381 <actions>
3382 <action function="set">tw_back=htcdumlock</action>
3383 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3384 <action function="set">tw_text1=Reflash recovery to boot?</action>
3385 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3386 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3387 <action function="set">tw_slider_text=Swipe to Confirm</action>
3388 <action function="page">confirm_action</action>
3389 </actions>
3390 </object>
3391
3392 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003393 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003394 <condition var1="tw_show_dumlock" var2="1" />
3395 <placement x="%col1_x%" y="%row2_y%" />
3396 <font resource="font" color="%button_text_color%" />
3397 <text>Install HTC Dumlock</text>
3398 <image resource="main_button" />
3399 <actions>
3400 <action function="set">tw_back=htcdumlock</action>
3401 <action function="set">tw_action=installhtcdumlock</action>
3402 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3403 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3404 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3405 <action function="set">tw_slider_text=Swipe to Confirm</action>
3406 <action function="page">confirm_action</action>
3407 </actions>
3408 </object>
3409
3410 <object type="action">
3411 <touch key="home" />
3412 <action function="page">main</action>
3413 </object>
3414
3415 <object type="action">
3416 <touch key="back" />
3417 <action function="page">advanced</action>
3418 </object>
3419
3420 <object type="template" name="footer" />
3421 </page>
3422
3423 <page name="lock">
3424 <background color="#000000A0" />
3425
3426 <object type="image">
3427 <image resource="unlock-icon" />
3428 <placement x="%lock_x%" y="%lock_y%" />
3429 </object>
3430
3431 <object type="slider">
3432 <placement x="%slider_x%" y="%slider_y%" />
3433 <resource base="slider" used="slider-used" touch="slider-touch" />
3434 <action function="overlay"></action>
3435 </object>
3436
3437 <object type="text" color="%text_color%">
3438 <font resource="font" />
3439 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3440 <text>Swipe to Unlock</text>
3441 </object>
3442 </page>
3443
3444 <page name="filemanagerlist">
3445 <object type="template" name="header" />
3446
3447 <object type="text" color="%text_color%">
3448 <font resource="font" />
3449 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3450 <text>File Manager: Select a File or Folder</text>
3451 </object>
3452
3453 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003454 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003455 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3456 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003457 <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 -04003458 <text>%tw_file_location1%</text>
3459 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3460 <sort name="tw_gui_sort_order" />
3461 <icon folder="folder_icon" file="file_icon" />
3462 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003463 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003464 <folders="1" files="1" />
3465 <path name="tw_file_location1" default="/" />
3466 <data name="tw_filename1" />
3467 <selection name="tw_selection1" />
3468 </object>
3469
3470 <object type="template" name="sort_options" />
3471
3472 <object type="action">
3473 <actions>
3474 <action function="set">tw_fm_type=File</action>
3475 <action function="set">tw_fm_isfolder=0</action>
3476 </actions>
3477 </object>
3478
3479 <object type="action">
3480 <touch key="home" />
3481 <action function="page">main</action>
3482 </object>
3483
3484 <object type="action">
3485 <touch key="back" />
3486 <action function="page">advanced</action>
3487 </object>
3488
3489 <object type="action">
3490 <condition var1="tw_filename1" op="modified" />
3491 <actions>
3492 <action function="page">filemanageroptions</action>
3493 </actions>
3494 </object>
3495
3496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003497 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003498 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3499 <font resource="font" color="%button_text_color%" />
3500 <text>Select</text>
3501 <image resource="medium_button" />
3502 <actions>
3503 <action function="set">tw_filename1=tw_file_location1</action>
3504 <action function="set">tw_fm_isfolder=1</action>
3505 <action function="set">tw_fm_type=Folder</action>
3506 <action function="page">filemanageroptions</action>
3507 </actions>
3508 </object>
3509
3510 <object type="template" name="footer" />
3511 </page>
3512
3513 <page name="filemanageroptions">
3514 <object type="template" name="header" />
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3519 <text>%tw_fm_type% Selected:</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3525 <text>%tw_filename1%</text>
3526 </object>
3527
3528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003529 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003530 <condition var1="tw_fm_isfolder" var2="0" />
3531 <placement x="%col1_x%" y="%row2_y%" />
3532 <font resource="font" color="%button_text_color%" />
3533 <text>Copy File</text>
3534 <image resource="main_button" />
3535 <actions>
3536 <action function="set">tw_filemanager_command=cp</action>
3537 <action function="set">tw_fm_text1=Copying</action>
3538 <action function="page">choosedestinationfolder</action>
3539 </actions>
3540 </object>
3541
3542 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003543 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003544 <condition var1="tw_fm_isfolder" var2="1" />
3545 <placement x="%col1_x%" y="%row2_y%" />
3546 <font resource="font" color="%button_text_color%" />
3547 <text>Copy Folder</text>
3548 <image resource="main_button" />
3549 <actions>
3550 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3551 <action function="set">tw_fm_text1=Copying</action>
3552 <action function="page">choosedestinationfolder</action>
3553 </actions>
3554 </object>
3555
3556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003557 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003558 <placement x="%col2_x%" y="%row2_y%" />
3559 <font resource="font" color="%button_text_color%" />
3560 <text>Move</text>
3561 <image resource="main_button" />
3562 <actions>
3563 <action function="set">tw_filemanager_command=mv</action>
3564 <action function="set">tw_fm_text1=Moving</action>
3565 <action function="page">choosedestinationfolder</action>
3566 </actions>
3567 </object>
3568
3569 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003570 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003571 <placement x="%col1_x%" y="%row3_y%" />
3572 <font resource="font" color="%button_text_color%" />
3573 <text>chmod 755</text>
3574 <image resource="main_button" />
3575 <actions>
3576 <action function="set">tw_filemanager_command=chmod 755</action>
3577 <action function="set">tw_fm_text1=chmod 755</action>
3578 <action function="set">tw_fm_text2=</action>
3579 <action function="set">tw_fm_text3=</action>
3580 <action function="set">tw_include_text3=0</action>
3581 <action function="set">tw_back=filemanageroptions</action>
3582 <action function="page">filemanagerconfirm</action>
3583 </actions>
3584 </object>
3585
3586 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003587 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003588 <placement x="%col2_x%" y="%row3_y%" />
3589 <font resource="font" color="%button_text_color%" />
3590 <text>chmod</text>
3591 <image resource="main_button" />
3592 <actions>
3593 <action function="set">tw_filemanager_rename=0000</action>
3594 <action function="set">tw_fm_text2=</action>
3595 <action function="set">tw_fm_text3=</action>
3596 <action function="set">tw_include_text3=0</action>
3597 <action function="set">tw_back=filemanageroptions</action>
3598 <action function="page">filemanagerchmod</action>
3599 </actions>
3600 </object>
3601
3602 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003603 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003604 <placement x="%col1_x%" y="%row4_y%" />
3605 <font resource="font" color="%button_text_color%" />
3606 <text>Delete</text>
3607 <image resource="main_button" />
3608 <actions>
3609 <action function="set">tw_filemanager_command=rm -rf</action>
3610 <action function="set">tw_fm_text1=Deleting</action>
3611 <action function="set">tw_fm_text2=</action>
3612 <action function="set">tw_fm_text3=</action>
3613 <action function="set">tw_include_text3=0</action>
3614 <action function="set">tw_back=filemanageroptions</action>
3615 <action function="page">filemanagerconfirm</action>
3616 </actions>
3617 </object>
3618
3619 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003620 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003621 <condition var1="tw_fm_isfolder" var2="0" />
3622 <placement x="%col2_x%" y="%row4_y%" />
3623 <font resource="font" color="%button_text_color%" />
3624 <text>Rename File</text>
3625 <image resource="main_button" />
3626 <actions>
3627 <action function="set">tw_filemanager_rename=tw_selection1</action>
3628 <action function="set">tw_fm_text1=Renaming</action>
3629 <action function="set">tw_filemanager_command=mv</action>
3630 <action function="page">filemanagerrenamefile</action>
3631 </actions>
3632 </object>
3633
3634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <condition var1="tw_fm_isfolder" var2="1" />
3637 <placement x="%col2_x%" y="%row4_y%" />
3638 <font resource="font" color="%button_text_color%" />
3639 <text>Rename Folder</text>
3640 <image resource="main_button" />
3641 <actions>
3642 <action function="set">tw_filemanager_rename=tw_selection1</action>
3643 <action function="set">tw_fm_text1=Renaming</action>
3644 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3645 <action function="page">filemanagerrenamefolder</action>
3646 </actions>
3647 </object>
3648
3649 <object type="action">
3650 <touch key="home" />
3651 <action function="page">main</action>
3652 </object>
3653
3654 <object type="action">
3655 <touch key="back" />
3656 <action function="page">filemanagerlist</action>
3657 </object>
3658
3659 <object type="template" name="footer" />
3660 </page>
3661
3662 <page name="choosedestinationfolder">
3663 <object type="template" name="header" />
3664
3665 <object type="text" color="%text_color%">
3666 <font resource="font" />
3667 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3668 <text>Browse to Destination Folder & Press Select</text>
3669 </object>
3670
3671 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003672 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003673 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3674 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003675 <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 -04003676 <text>%tw_file_location2%</text>
3677 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3678 <sort name="tw_gui_sort_order" />
3679 <icon folder="folder_icon" file="file_icon" />
3680 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003681 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003682 <filter folders="1" files="0" />
3683 <path name="tw_file_location2" default="/" />
3684 <data name="tw_filename2" />
3685 <selection name="tw_selection2" />
3686 </object>
3687
3688 <object type="template" name="sort_options" />
3689
3690 <object type="action">
3691 <touch key="home" />
3692 <action function="page">main</action>
3693 </object>
3694
3695 <object type="action">
3696 <touch key="back" />
3697 <action function="page">filemanageroptions</action>
3698 </object>
3699
3700 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003701 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003702 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3703 <font resource="font" color="%button_text_color%" />
3704 <text>Select</text>
3705 <image resource="medium_button" />
3706 <actions>
3707 <action function="set">tw_fm_text2=to</action>
3708 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3709 <action function="set">tw_include_text3=1</action>
3710 <action function="set">tw_back=filemanageroptions</action>
3711 <action function="page">filemanagerconfirm</action>
3712 </actions>
3713 </object>
3714
3715 <object type="template" name="footer" />
3716 </page>
3717
3718 <page name="filemanagerrenamefile">
3719 <object type="template" name="header" />
3720
3721 <object type="text" color="%text_color%">
3722 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3723 <font resource="font" />
3724 <text>Please Enter a New %tw_fm_type% Name</text>
3725 </object>
3726
3727 <object type="input">
3728 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3729 <background color="%input_background_color%" />
3730 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3731 <font resource="font" color="%text_color%" />
3732 <text>%tw_filemanager_rename%</text>
3733 <data name="tw_filemanager_rename" />
3734 <restrict minlen="1" maxlen="128" />
3735 <actions>
3736 <action function="set">tw_fm_text2=to</action>
3737 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3738 <action function="set">tw_include_text3=1</action>
3739 <action function="set">tw_back=filemanageroptions</action>
3740 <action function="page">filemanagerconfirm</action>
3741 </actions>
3742 </object>
3743
3744 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003745 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003746 <placement x="%col_center_x%" y="%row2_y%" />
3747 <font resource="font" color="%button_text_color%" />
3748 <text>Cancel</text>
3749 <image resource="main_button" />
3750 <action function="page">filemanageroptions</action>
3751 </object>
3752
3753 <object type="template" name="keyboardtemplate" />
3754
3755 <object type="action">
3756 <touch key="home" />
3757 <action function="page">main</action>
3758 </object>
3759
3760 <object type="action">
3761 <touch key="back" />
3762 <action function="page">filemanageroptions</action>
3763 </object>
3764
3765 <object type="template" name="footer" />
3766 </page>
3767
3768 <page name="filemanagerrenamefolder">
3769 <object type="template" name="header" />
3770
3771 <object type="text" color="%text_color%">
3772 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3773 <font resource="font" />
3774 <text>Please Enter a New %tw_fm_type% Name</text>
3775 </object>
3776
3777 <object type="input">
3778 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3779 <background color="%input_background_color%" />
3780 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3781 <font resource="font" color="%text_color%" />
3782 <text>%tw_filemanager_rename%</text>
3783 <data name="tw_filemanager_rename" />
3784 <restrict minlen="1" maxlen="128" />
3785 <actions>
3786 <action function="set">tw_fm_text2=to</action>
3787 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3788 <action function="set">tw_include_text3=1</action>
3789 <action function="set">tw_back=filemanageroptions</action>
3790 <action function="page">filemanagerconfirm</action>
3791 </actions>
3792 </object>
3793
3794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003795 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003796 <placement x="%col_center_x%" y="%row2_y%" />
3797 <font resource="font" color="%button_text_color%" />
3798 <text>Cancel</text>
3799 <image resource="main_button" />
3800 <action function="page">filemanageroptions</action>
3801 </object>
3802
3803 <object type="template" name="keyboardtemplate" />
3804
3805 <object type="action">
3806 <touch key="home" />
3807 <action function="page">main</action>
3808 </object>
3809
3810 <object type="action">
3811 <touch key="back" />
3812 <action function="page">filemanageroptions</action>
3813 </object>
3814
3815 <object type="template" name="footer" />
3816 </page>
3817
3818 <page name="filemanagerchmod">
3819 <object type="template" name="header" />
3820
3821 <object type="text" color="%text_color%">
3822 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3823 <font resource="font" />
3824 <text>Please Enter New Permissions</text>
3825 </object>
3826
3827 <object type="input">
3828 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3829 <background color="%input_background_color%" />
3830 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3831 <font resource="font" color="%text_color%" />
3832 <text>%tw_filemanager_rename%</text>
3833 <data name="tw_filemanager_rename" />
3834 <restrict minlen="3" maxlen="4" allow="0123456789" />
3835 <actions>
3836 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3837 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3838 <action function="set">tw_back=filemanageroptions</action>
3839 <action function="page">filemanagerconfirm</action>
3840 </actions>
3841 </object>
3842
3843 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003844 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003845 <placement x="%col_center_x%" y="%row2_y%" />
3846 <font resource="font" color="%button_text_color%" />
3847 <text>Cancel</text>
3848 <image resource="main_button" />
3849 <action function="page">filemanageroptions</action>
3850 </object>
3851
3852 <object type="template" name="keyboardtemplate" />
3853
3854 <object type="action">
3855 <touch key="home" />
3856 <action function="page">main</action>
3857 </object>
3858
3859 <object type="action">
3860 <touch key="back" />
3861 <action function="page">filemanageroptions</action>
3862 </object>
3863
3864 <object type="template" name="footer" />
3865 </page>
3866
3867 <page name="filemanagerconfirm">
3868 <object type="template" name="header" />
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3873 <text>%tw_fm_text1%</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3879 <text>%tw_filename1%</text>
3880 </object>
3881
3882 <object type="text" color="%text_color%">
3883 <font resource="font" />
3884 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3885 <text>%tw_fm_text2%</text>
3886 </object>
3887
3888 <object type="text" color="%text_color%">
3889 <font resource="font" />
3890 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3891 <text>%tw_fm_text3%</text>
3892 </object>
3893
3894 <object type="text" color="%text_color%">
3895 <font resource="font" />
3896 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3897 <text>Press back button to cancel.</text>
3898 </object>
3899
3900 <object type="slider">
3901 <placement x="%slider_x%" y="%slider_y%" />
3902 <resource base="slider" used="slider-used" touch="slider-touch" />
3903 <action function="page">filemanageracction</action>
3904 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003905
Dees_Troy51a0e822012-09-05 15:24:24 -04003906 <object type="text" color="%text_color%">
3907 <font resource="font" />
3908 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3909 <text>Swipe to Confirm</text>
3910 </object>
3911
3912 <object type="action">
3913 <touch key="back" />
3914 <action function="page">%tw_back%</action>
3915 </object>
3916
3917 <object type="action">
3918 <touch key="home" />
3919 <action function="page">main</action>
3920 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003921
Dees_Troy51a0e822012-09-05 15:24:24 -04003922 <object type="template" name="footer" />
3923 </page>
3924
3925 <page name="filemanageracction">
3926 <object type="template" name="header" />
3927
3928 <object type="text" color="%text_color%">
3929
3930 <font resource="font" />
3931 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3932 <text>%tw_fm_text1%</text>
3933 </object>
3934
3935 <object type="template" name="action_page_console" />
3936
3937 <object type="template" name="progress_bar" />
3938
3939 <object type="action">
3940 <conditions>
3941 <condition var1="tw_operation_state" var2="1" />
3942 <condition var1="tw_operation_status" var2="0" />
3943 </conditions>
3944 <actions>
3945 <action function="set">tw_back=filemanagerlist</action>
3946 <action function="set">tw_complete_text1=File Operation Complete</action>
3947 <action function="page">action_complete</action>
3948 </actions>
3949 </object>
3950
3951 <object type="action">
3952 <conditions>
3953 <condition var1="tw_operation_state" var2="1" />
3954 <condition var1="tw_operation_status" op="!=" var2="0" />
3955 </conditions>
3956 <actions>
3957 <action function="set">tw_complete_text1=File Operation Complete</action>
3958 <action function="page">action_complete</action>
3959 </actions>
3960 </object>
3961
3962 <object type="action">
3963 <condition var1="tw_include_text3" var2="0" />
3964 <actions>
3965 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3966 </actions>
3967 </object>
3968
3969 <object type="action">
3970 <condition var1="tw_include_text3" var2="1" />
3971 <actions>
3972 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3973 </actions>
3974 </object>
3975 </page>
3976
3977 <page name="decrypt">
3978 <object type="template" name="header" />
3979
3980 <object type="text" color="%text_color%">
3981 <font resource="font" />
3982 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3983 <text>Please Enter Your Password</text>
3984 </object>
3985
3986 <object type="input">
3987 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3988 <background color="%input_background_color%" />
3989 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3990 <font resource="font" color="%text_color%" />
3991 <text>%tw_crypto_display%</text>
3992 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3993 <restrict minlen="1" maxlen="254" />
3994 <actions>
3995 <action function="page">trydecrypt</action>
3996 </actions>
3997 </object>
3998
3999 <object type="text" color="%text_fail_color%">
4000 <condition var1="tw_password_fail" var2="1" />
4001 <font resource="font" />
4002 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4003 <text>Password Failed, Please Try Again</text>
4004 </object>
4005
4006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004007 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004008 <placement x="%col_center_x%" y="%row2_y%" />
4009 <font resource="font" color="%button_text_color%" />
4010 <text>Cancel</text>
4011 <image resource="main_button" />
4012 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004013 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004014 <action function="page">main</action>
4015 </actions>
4016 </object>
4017
4018 <object type="template" name="keyboardtemplate" />
4019
Dees_Troy51a0e822012-09-05 15:24:24 -04004020 <object type="template" name="footer" />
4021 </page>
4022
4023 <page name="trydecrypt">
4024 <object type="template" name="header" />
4025
4026 <object type="text" color="%text_color%">
4027 <font resource="font" />
4028 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4029 <text>Trying Decryption with Your Password</text>
4030 </object>
4031
4032 <object type="template" name="action_page_console" />
4033
4034 <object type="template" name="progress_bar" />
4035
4036 <object type="action">
4037 <action function="decrypt"></action>
4038 </object>
4039
4040 <object type="action">
4041 <conditions>
4042 <condition var1="tw_operation_state" var2="1" />
4043 <condition var1="tw_operation_status" op="!=" var2="0" />
4044 </conditions>
4045 <actions>
4046 <action function="set">tw_password_fail=1</action>
4047 <action function="page">decrypt</action>
4048 </actions>
4049 </object>
4050
4051 <object type="action">
4052 <conditions>
4053 <condition var1="tw_operation_state" var2="1" />
4054 <condition var1="tw_operation_status" op="=" var2="0" />
4055 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004056 <actions>
4057 <action function="set">tw_page_done=1</action>
4058 <action function="page">main</action>
4059 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004060 </object>
4061 </page>
4062
4063 <page name="terminalfolder">
4064 <object type="template" name="header" />
4065
4066 <object type="text" color="%text_color%">
4067 <font resource="font" />
4068 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4069 <text>Browse to Starting Folder</text>
4070 </object>
4071
4072 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004073 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004074 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004076 <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 -04004077 <text>%tw_terminal_location%</text>
4078 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4079 <sort name="tw_gui_sort_order" />
4080 <icon folder="folder_icon" file="file_icon" />
4081 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004082 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004083 <filter folders="1" files="0" />
4084 <path name="tw_terminal_location" default="/" />
4085 <data name="tw_terminal" />
4086 <selection name="tw_terminal_selection" />
4087 </object>
4088
4089 <object type="template" name="sort_options" />
4090
4091 <object type="action">
4092 <touch key="home" />
4093 <action function="page">main</action>
4094 </object>
4095
4096 <object type="action">
4097 <touch key="back" />
4098 <action function="page">advanced</action>
4099 </object>
4100
4101 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004102 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004103 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4104 <font resource="font" color="%button_text_color%" />
4105 <text>Select</text>
4106 <image resource="medium_button" />
4107 <actions>
4108 <action function="page">terminalcommand</action>
4109 </actions>
4110 </object>
4111
4112 <object type="template" name="footer" />
4113 </page>
4114
4115 <page name="terminalcommand">
4116 <object type="template" name="header" />
4117
4118 <object type="console">
4119 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4120 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4121 <font resource="fixed" />
4122 </object>
4123
4124 <object type="text" color="%text_color%">
4125 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4126 <font resource="font" />
4127 <text>Starting Path: %tw_terminal_location%</text>
4128 </object>
4129
4130 <object type="input">
4131 <condition var1="tw_terminal_state" var2="0" />
4132 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4133 <background color="%input_background_color%" />
4134 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4135 <font resource="font" color="%text_color%" />
4136 <text>%tw_terminal_command%</text>
4137 <data name="tw_terminal_command" />
4138 <restrict minlen="1" />
4139 <action function="terminalcommand">%tw_terminal_command%</action>
4140 </object>
4141
4142 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004143 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004144 <condition var1="tw_terminal_state" var2="1" />
4145 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4146 <font resource="font" color="%button_text_color%" />
4147 <text>KILL</text>
4148 <image resource="medium_button" />
4149 <action function="killterminal"></action>
4150 </object>
4151
4152 <object type="template" name="keyboardtemplate" />
4153
4154 <object type="action">
4155 <touch key="home" />
4156 <action function="page">main</action>
4157 </object>
4158
4159 <object type="action">
4160 <touch key="back" />
4161 <action function="page">terminalfolder</action>
4162 </object>
4163 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004164
4165 <page name="sideload">
4166 <object type="template" name="header" />
4167
4168 <object type="text" color="%text_color%">
4169 <font resource="font" />
4170 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4171 <text>ADB Sideload</text>
4172 </object>
4173
4174 <object type="checkbox">
4175 <placement x="%col1_x%" y="%row2_text_y%" />
4176 <font resource="font" color="%text_color%" />
4177 <text>Wipe Dalvik Cache.</text>
4178 <data variable="tw_wipe_dalvik" />
4179 <image checked="checkbox_true" unchecked="checkbox_false" />
4180 </object>
4181
4182 <object type="checkbox">
4183 <placement x="%col1_x%" y="%row3_text_y%" />
4184 <font resource="font" color="%text_color%" />
4185 <text>Wipe Cache.</text>
4186 <data variable="tw_wipe_cache" />
4187 <image checked="checkbox_true" unchecked="checkbox_false" />
4188 </object>
4189
4190 <object type="slider">
4191 <placement x="%slider_x%" y="%slider_y%" />
4192 <resource base="slider" used="slider-used" touch="slider-touch" />
4193 <actions>
4194 <action function="set">tw_back=advanced</action>
4195 <action function="set">tw_action=adbsideload</action>
4196 <action function="set">tw_action_text1=ADB Sideload</action>
4197 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4198 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4199 <action function="set">tw_has_cancel=1</action>
4200 <action function="set">tw_show_reboot=1</action>
4201 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4202 <action function="page">action_page</action>
4203 </actions>
4204 </object>
4205
4206 <object type="text" color="%text_color%">
4207 <font resource="font" />
4208 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4209 <text>Swipe to Start Sideload</text>
4210 </object>
4211
4212 <object type="action">
4213 <touch key="home" />
4214 <action function="page">main</action>
4215 </object>
4216
4217 <object type="action">
4218 <touch key="back" />
4219 <action function="page">advanced</action>
4220 </object>
4221
4222 <object type="template" name="footer" />
4223 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004224
4225 <page name="installsu">
4226 <object type="template" name="header" />
4227
4228 <object type="text" color="%text_color%">
4229 <font resource="font" />
4230 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4231 <text>Install SuperSU?</text>
4232 </object>
4233
4234 <object type="text" color="%text_color%">
4235 <font resource="font" />
4236 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4237 <text>Your device does not appear to be rooted.</text>
4238 </object>
4239
4240 <object type="text" color="%text_color%">
4241 <font resource="font" />
4242 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4243 <text>Install SuperSU now?</text>
4244 </object>
4245
4246 <object type="text" color="%text_color%">
4247 <font resource="font" />
4248 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4249 <text>This will root your device.</text>
4250 </object>
4251
4252 <object type="button">
4253 <highlight color="%highlight_color%" />
4254 <placement x="%col_center_x%" y="%row3_y%" />
4255 <font resource="font" color="%button_text_color%" />
4256 <text>Do Not Install</text>
4257 <image resource="main_button" />
4258 <action function="set">tw_page_done=1</action>
4259 </object>
4260
4261 <object type="slider">
4262 <placement x="%slider_x%" y="%slider_y%" />
4263 <resource base="slider" used="slider-used" touch="slider-touch" />
4264 <actions>
4265 <action function="set">tw_action=installsu</action>
4266 <action function="set">tw_action_text1=Installing SuperSU</action>
4267 <action function="set">tw_action_text2=</action>
4268 <action function="page">singleaction_page</action>
4269 </actions>
4270 </object>
4271
4272 <object type="text" color="%text_color%">
4273 <font resource="font" />
4274 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4275 <text>Swipe to Install</text>
4276 </object>
4277 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004278 </pages>
4279</recovery>