blob: 53d630feb9df644587e74a7986528e19d5682f24 [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>
Vojtech Bocek03fd6c52014-03-13 18:46:34 +0100262
263 <object type="action">
264 <touch key="power+voldown" />
265 <action function="screenshot" />
266 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -0400267 </template>
268
269 <template name="progress_bar">
270 <object type="progressbar">
271 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500272 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400273 <data name="ui_progress" />
274 </object>
275
276 <object type="animation">
277 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
278 <resource name="progress" />
279 <speed fps="15" render="2" />
280 <loop frame="1" />
281 </object>
282 </template>
283
284 <template name="action_page_console">
285 <object type="console">
286 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
287 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
288 <font resource="fixed" />
289 </object>
290 </template>
291
292 <template name="sort_options">
293 <object type="text" color="%text_color%">
294 <font resource="font" />
295 <placement x="%col1_x%" y="%sort_asc_text_y%" />
296 <text>Sort Ascending:</text>
297 </object>
298
299 <object type="button">
300 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000301 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400302 <text>Name</text>
303 <image resource="sort_button" />
304 <action function="set">tw_gui_sort_order=1</action>
305 </object>
306
307 <object type="button">
308 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000309 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400310 <text>Date</text>
311 <image resource="sort_button" />
312 <action function="set">tw_gui_sort_order=2</action>
313 </object>
314
315 <object type="button">
316 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000317 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400318 <text>Size</text>
319 <image resource="sort_button" />
320 <action function="set">tw_gui_sort_order=3</action>
321 </object>
322
323 <object type="text" color="%text_color%">
324 <font resource="font" />
325 <placement x="%col1_x%" y="%sort_desc_text_y%" />
326 <text>Sort Descending:</text>
327 </object>
328
329 <object type="button">
330 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000331 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400332 <text>Name</text>
333 <image resource="sort_button" />
334 <action function="set">tw_gui_sort_order=-1</action>
335 </object>
336
337 <object type="button">
338 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000339 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400340 <text>Date</text>
341 <image resource="sort_button" />
342 <action function="set">tw_gui_sort_order=-2</action>
343 </object>
344
345 <object type="button">
346 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000347 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400348 <text>Size</text>
349 <image resource="sort_button" />
350 <action function="set">tw_gui_sort_order=-3</action>
351 </object>
352 </template>
353
354 <template name="footer">
355 <object type="console">
356 <slideout resource="slideout" x="210" y="760" />
357 <placement x="%console_x%" y="0" w="%console_width%" h="760" />
358 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
359 <font resource="fixed" />
360 </object>
361 </template>
362
363 <template name="keyboardtemplate">
364 <object type="keyboard">
365 <placement x="0" y="450" />
366 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600367 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600368 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400369 <layout1>
370 <keysize height="78" width="48" />
371 <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" />
372 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
373 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
374 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
375 </layout1>
376 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600377 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400378 <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" />
379 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
380 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
381 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
382 </layout2>
383 <layout3>
384 <keysize height="78" width="48" />
385 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
386 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
387 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
388 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
389 </layout3>
390 <layout4>
391 <keysize height="78" width="48" />
392 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
393 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
394 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
395 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
396 </layout4>
397 </object>
398 </template>
399 </templates>
400
401 <pages>
402 <page name="main">
403 <object type="action">
404 <actions>
405 <action function="set">tw_clear_destination=main2</action>
406 <action function="page">clear_vars</action>
407 </actions>
408 </object>
409 </page>
410
411 <page name="main2">
412 <object type="template" name="header" />
413
414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600415 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400416 <placement x="%col1_x%" y="%row1_y%" />
417 <font resource="font" color="%button_text_color%" />
418 <text>Install</text>
419 <image resource="main_button" />
420 <actions>
421 <action function="queueclear"></action>
422 <action function="page">install</action>
423 </actions>
424 </object>
425
426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400428 <placement x="%col2_x%" y="%row1_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Wipe</text>
431 <image resource="main_button" />
432 <action function="page">wipe</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row2_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Backup</text>
440 <image resource="main_button" />
441 <action function="page">backup</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row2_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Restore</text>
449 <image resource="main_button" />
450 <action function="page">restore</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col1_x%" y="%row3_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Mount</text>
458 <image resource="main_button" />
459 <action function="page">mount</action>
460 </object>
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col2_x%" y="%row3_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Settings</text>
467 <image resource="main_button" />
468 <action function="page">settings</action>
469 </object>
470
471
472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <placement x="%col1_x%" y="%row4_y%" />
475 <font resource="font" color="%button_text_color%" />
476 <text>Advanced</text>
477 <image resource="main_button" />
478 <action function="page">advanced</action>
479 </object>
480
481 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600482 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400483 <placement x="%col2_x%" y="%row4_y%" />
484 <font resource="font" color="%button_text_color%" />
485 <text>Reboot</text>
486 <image resource="main_button" />
487 <action function="page">reboot</action>
488 </object>
489
490 <object type="template" name="footer" />
491 </page>
492
493 <page name="install">
494 <object type="template" name="header" />
495
496 <object type="text" color="%text_color%">
497 <font resource="font" />
498 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
499 <text>Select Zip to Install</text>
500 </object>
501
502 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500503 <highlight color="%highlight_color%" />
504 <fill color="%button_fill_color%" />
505 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
506 <font resource="font" color="%button_text_color%" />
507 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
508 <actions>
509 <action function="set">tw_back=install</action>
510 <action function="page">selectstorage</action>
511 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400512 </object>
513
514 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600515 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500516 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400517 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100518 <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 -0400519 <text>%tw_zip_location%</text>
520 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
521 <sort name="tw_gui_sort_order" />
522 <icon folder="folder_icon" file="file_icon" />
523 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600524 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400525 <filter extn=".zip" folders="1" files="1" />
526 <path name="tw_zip_location" default="/sdcard" />
527 <data name="tw_filename" />
528 <selection name="tw_file" />
529 </object>
530
531 <object type="template" name="sort_options" />
532
533 <object type="action">
534 <condition var1="tw_filename" op="modified" />
535 <actions>
536 <action function="queuezip"></action>
537 <action function="page">flash_confirm</action>
538 </actions>
539 </object>
540
541 <object type="action">
542 <touch key="back" />
543 <action function="page">main</action>
544 </object>
545
546 <object type="action">
547 <touch key="home" />
548 <action function="page">main</action>
549 </object>
550
551 <object type="template" name="footer" />
552 </page>
553
554 <page name="flash_confirm">
555 <object type="template" name="header" />
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
560 <text>This operation may install incompatible</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
566 <text>software and render your device unusable.</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
572 <text>Folder:</text>
573 </object>
574
575 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400576 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400577 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
578 <text>%tw_zip_location%</text>
579 </object>
580
581 <object type="text" color="%text_color%">
582 <font resource="font" />
583 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
584 <text>File to flash:</text>
585 </object>
586
587 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400588 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400589 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
590 <text>%tw_file%</text>
591 </object>
592
593 <object type="text" color="%text_color%">
594 <font resource="font" />
595 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
596 <text>Press back to cancel adding this zip.</text>
597 </object>
598
599 <object type="checkbox">
600 <placement x="%col1_x%" y="%row8_text_y%" />
601 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400602 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <data variable="tw_signed_zip_verify" />
604 <image checked="checkbox_true" unchecked="checkbox_false" />
605 </object>
606
607 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400608 <condition var1="tw_has_injecttwrp" var2="1" />
609 <placement x="%col1_x%" y="%row10_text_y%" />
610 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400611 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400612 <data variable="tw_inject_after_zip" />
613 <image checked="checkbox_true" unchecked="checkbox_false" />
614 </object>
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400618 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400619 <text>File %tw_zip_queue_count% of max of 10</text>
620 </object>
621
622 <object type="slider">
623 <placement x="%slider_x%" y="%slider_y%" placement="5" />
624 <resource base="slider" used="slider-used" touch="slider-touch" />
625 <action function="flash">flash_zip</action>
626 </object>
627
628 <object type="text" color="%text_color%">
629 <font resource="font" />
630 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
631 <text>Swipe to Confirm Flash</text>
632 </object>
633
634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400636 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
637 <placement x="%col1_x%" y="%row_queue_y%" />
638 <font resource="font" color="%button_text_color%" />
639 <text>Add More Zips</text>
640 <image resource="main_button" />
641 <action function="page">install</action>
642 </object>
643
644 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600645 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400646 <placement x="%col2_x%" y="%row_queue_y%" />
647 <font resource="font" color="%button_text_color%" />
648 <text>Clear Zip Queue</text>
649 <image resource="main_button" />
650 <actions>
651 <action function="queueclear"></action>
652 <action function="page">install</action>
653 </actions>
654 </object>
655
656 <object type="action">
657 <touch key="back" />
658 <actions>
659 <action function="cancelzip"></action>
660 <action function="page">install</action>
661 </actions>
662 </object>
663
664 <object type="action">
665 <touch key="home" />
666 <action function="page">main</action>
667 </object>
668
669 <object type="template" name="footer" />
670 </page>
671
672 <page name="flash_zip">
673 <object type="template" name="header" />
674
675 <object type="console">
676 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
677 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
678 <font resource="fixed" />
679 </object>
680
681 <object type="text" color="%text_color%">
682 <font resource="font" />
683 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
684 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
685 </object>
686
687 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400688 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400689 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
690 <text>%tw_filename%</text>
691 </object>
692
693 <object type="template" name="progress_bar" />
694
695 <object type="action">
696 <condition var1="tw_operation_state" var2="1" />
697 <action function="page">flash_done</action>
698 </object>
699 </page>
700
701 <page name="flash_done">
702 <object type="template" name="header" />
703
704 <object type="text" color="%text_color%">
705 <font resource="font" />
706 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
707 <text>Zip Install Complete</text>
708 </object>
709
710 <object type="console">
711 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
712 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
713 <font resource="fixed" />
714 </object>
715
716 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600717 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400718 <placement x="%col1_x%" y="%row4_y%" />
719 <font resource="font" color="%button_text_color%" />
720 <text>Wipe cache/dalvik</text>
721 <image resource="main_button" />
722 <actions>
723 <action function="set">tw_back=flash_done</action>
724 <action function="set">tw_action=wipe</action>
725 <action function="set">tw_action_param=/cache</action>
726 <action function="set">tw_has_action2=1</action>
727 <action function="set">tw_action2=wipe</action>
728 <action function="set">tw_action2_param=dalvik</action>
729 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
730 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
731 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
732 <action function="set">tw_slider_text=Swipe to Wipe</action>
733 <action function="page">confirm_action</action>
734 </actions>
735 </object>
736
737 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600738 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <placement x="%col2_x%" y="%row4_y%" />
740 <font resource="font" color="%button_text_color%" />
741 <text>Reboot System</text>
742 <image resource="main_button" />
743 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <action function="set">tw_action=reboot</action>
746 <action function="set">tw_action_param=system</action>
747 <action function="set">tw_has_action2=0</action>
748 <action function="set">tw_text1=No OS Installed! Are you</action>
749 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400750 <action function="set">tw_text3=</action>
751 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400752 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400753 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400754 <action function="set">tw_complete_text1=Rebooting...</action>
755 <action function="set">tw_slider_text=Swipe to Reboot</action>
756 <action function="page">rebootcheck</action>
757 </actions>
758 </object>
759
760 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600761 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400762 <placement x="%col_center_x%" y="%row3_y%" />
763 <font resource="font" color="%button_text_color%" />
764 <text>Home</text>
765 <image resource="main_button" />
766 <actions>
767 <action function="set">tw_clear_destination=main2</action>
768 <action function="page">clear_vars</action>
769 </actions>
770 </object>
771
772 <object type="text" color="%text_fail_color%">
773 <condition var1="tw_operation_status" op="!=" var2="0" />
774 <font resource="font" />
775 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
776 <text>Failed</text>
777 </object>
778
779 <object type="text" color="%text_success_color%">
780 <condition var1="tw_operation_status" var2="0" />
781 <font resource="font" />
782 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
783 <text>Successful</text>
784 </object>
785
786 <object type="action">
787 <touch key="back" />
788 <actions>
789 <action function="set">tw_clear_destination=install</action>
790 <action function="page">clear_vars</action>
791 </actions>
792 </object>
793
794 <object type="action">
795 <touch key="home" />
796 <actions>
797 <action function="set">tw_clear_destination=main2</action>
798 <action function="page">clear_vars</action>
799 </actions>
800 </object>
801 </page>
802
803 <page name="clear_vars">
804 <object type="action">
805 <action function="set">tw_operation_state=0</action>
806 <action function="set">tw_text1=</action>
807 <action function="set">tw_text2=</action>
808 <action function="set">tw_text3=</action>
809 <action function="set">tw_text4=</action>
810 <action function="set">tw_action_text1=</action>
811 <action function="set">tw_action_text2=</action>
812 <action function="set">tw_action_param=</action>
813 <action function="set">tw_has_action2=0</action>
814 <action function="set">tw_action2=</action>
815 <action function="set">tw_action2_param=</action>
Dees_Troybbb21012012-09-20 15:59:46 -0400816 <action function="set">tw_has_cancel=0</action>
817 <action function="set">tw_cancel_action=</action>
818 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400819 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400820 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400821 <action function="page">%tw_clear_destination%</action>
822 </object>
823 </page>
824
825 <page name="confirm_action">
826 <object type="template" name="header" />
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
831 <text>%tw_text1%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
836 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
837 <text>%tw_text2%</text>
838 </object>
839
840 <object type="text" color="%text_color%">
841 <font resource="font" />
842 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
843 <text>%tw_text3%</text>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
848 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
849 <text>%tw_text4%</text>
850 </object>
851
852 <object type="text" color="%text_color%">
853 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400854 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400855 <text>Press back button to cancel.</text>
856 </object>
857
858 <object type="slider">
859 <placement x="%slider_x%" y="%slider_y%" />
860 <resource base="slider" used="slider-used" touch="slider-touch" />
861 <action function="page">action_page</action>
862 </object>
863
864 <object type="text" color="%text_color%">
865 <font resource="font" />
866 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
867 <text>%tw_slider_text%</text>
868 </object>
869
870 <object type="action">
871 <touch key="back" />
872 <actions>
873 <action function="set">tw_clear_destination=%tw_back%</action>
874 <action function="page">clear_vars</action>
875 </actions>
876 </object>
877
878 <object type="action">
879 <touch key="home" />
880 <action function="page">main</action>
881 </object>
882
883 <object type="template" name="footer" />
884 </page>
885
886 <page name="action_page">
887 <object type="template" name="header" />
888
889 <object type="text" color="%text_color%">
890 <font resource="font" />
891 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
892 <text>%tw_action_text1%</text>
893 </object>
894
895 <object type="text" color="%text_color%">
896 <font resource="font" />
897 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
898 <text>%tw_action_text2%</text>
899 </object>
900
901 <object type="template" name="action_page_console" />
902
Dees_Troybbb21012012-09-20 15:59:46 -0400903 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600904 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -0400905 <condition var1="tw_has_cancel" var2="1" />
906 <placement x="%col_center_medium_x%" y="%row4_y%" />
907 <font resource="font" color="%button_text_color%" />
908 <text>Cancel</text>
909 <image resource="medium_button" />
910 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
911 </object>
912
Dees_Troy51a0e822012-09-05 15:24:24 -0400913 <object type="template" name="progress_bar" />
914
915 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400916 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400917 <actions>
918 <action function="page">action_complete</action>
919 </actions>
920 </object>
921
922 <object type="action">
923 <condition var1="tw_has_action2" var2="0" />
924 <actions>
925 <action function="%tw_action%">%tw_action_param%</action>
926 </actions>
927 </object>
928
929 <object type="action">
930 <condition var1="tw_has_action2" var2="1" />
931 <actions>
932 <action function="%tw_action%">%tw_action_param%</action>
933 <action function="%tw_action2%">%tw_action2_param%</action>
934 </actions>
935 </object>
936 </page>
937
Dees_Troy6ef66352013-02-21 08:26:57 -0600938 <page name="singleaction_page">
939 <object type="template" name="header" />
940
941 <object type="text" color="%text_color%">
942 <font resource="font" />
943 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
944 <text>%tw_action_text1%</text>
945 </object>
946
947 <object type="text" color="%text_color%">
948 <font resource="font" />
949 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
950 <text>%tw_action_text2%</text>
951 </object>
952
953 <object type="template" name="action_page_console" />
954
955 <object type="template" name="progress_bar" />
956
957 <object type="action">
958 <condition var1="tw_operation_state" var2="1" />
959 <actions>
960 <action function="set">tw_page_done=1</action>
961 </actions>
962 </object>
963
964 <object type="action">
965 <condition var1="tw_has_action2" var2="0" />
966 <actions>
967 <action function="%tw_action%">%tw_action_param%</action>
968 </actions>
969 </object>
970
971 <object type="action">
972 <condition var1="tw_has_action2" var2="1" />
973 <actions>
974 <action function="%tw_action%">%tw_action_param%</action>
975 <action function="%tw_action2%">%tw_action2_param%</action>
976 </actions>
977 </object>
978 </page>
979
Dees_Troy51a0e822012-09-05 15:24:24 -0400980 <page name="action_complete">
981 <object type="template" name="header" />
982
983 <object type="text" color="%text_color%">
984 <font resource="font" />
985 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
986 <text>%tw_complete_text1%</text>
987 </object>
988
989 <object type="text" color="%text_fail_color%">
990 <condition var1="tw_operation_status" op="!=" var2="0" />
991 <font resource="font" />
992 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
993 <text>Failed</text>
994 </object>
995
996 <object type="text" color="%text_success_color%">
997 <condition var1="tw_operation_status" var2="0" />
998 <font resource="font" />
999 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1000 <text>Successful</text>
1001 </object>
1002
1003 <object type="template" name="action_page_console" />
1004
1005 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001006 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001007 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001008 <placement x="%col_center_x%" y="%row4_y%" />
1009 <font resource="font" color="%button_text_color%" />
1010 <text>Back</text>
1011 <image resource="main_button" />
1012 <actions>
1013 <action function="set">tw_clear_destination=%tw_back%</action>
1014 <action function="page">clear_vars</action>
1015 </actions>
1016 </object>
1017
Dees_Troya3f81542012-10-08 10:58:53 -04001018 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001019 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001020 <condition var1="tw_show_reboot" var2="1" />
1021 <placement x="%col_center_x%" y="%row4_y%" />
1022 <font resource="font" color="%button_text_color%" />
1023 <text>Reboot System</text>
1024 <image resource="main_button" />
1025 <actions>
1026 <action function="set">tw_back=main2</action>
1027 <action function="set">tw_action=reboot</action>
1028 <action function="set">tw_action_param=system</action>
1029 <action function="set">tw_has_action2=0</action>
1030 <action function="set">tw_text1=No OS Installed! Are you</action>
1031 <action function="set">tw_text2=sure you wish to reboot?</action>
1032 <action function="set">tw_text3=</action>
1033 <action function="set">tw_text4=</action>
1034 <action function="set">tw_action_text1=Rebooting...</action>
1035 <action function="set">tw_action_text2=</action>
1036 <action function="set">tw_complete_text1=Rebooting...</action>
1037 <action function="set">tw_slider_text=Swipe to Reboot</action>
1038 <action function="page">rebootcheck</action>
1039 </actions>
1040 </object>
1041
Dees_Troy51a0e822012-09-05 15:24:24 -04001042 <object type="action">
1043 <touch key="home" />
1044 <actions>
1045 <action function="set">tw_clear_destination=main2</action>
1046 <action function="page">clear_vars</action>
1047 </actions>
1048 </object>
1049
1050 <object type="action">
1051 <touch key="back" />
1052 <actions>
1053 <action function="set">tw_clear_destination=%tw_back%</action>
1054 <action function="page">clear_vars</action>
1055 </actions>
1056 </object>
1057 </page>
1058
1059 <page name="filecheck">
1060 <object type="action">
1061 <action function="fileexists">%tw_filecheck%</action>
1062 </object>
1063
1064 <object type="action">
1065 <conditions>
1066 <condition var1="tw_operation_state" var2="1" />
1067 <condition var1="tw_operation_status" var2="0" />
1068 </conditions>
1069 <actions>
1070 <action function="set">tw_fileexists=1</action>
1071 <action function="page">%tw_existpage%</action>
1072 </actions>
1073 </object>
1074
1075 <object type="action">
1076 <conditions>
1077 <condition var1="tw_operation_state" var2="1" />
1078 <condition var1="tw_operation_status" var2="1" />
1079 </conditions>
1080 <actions>
1081 <action function="set">tw_fileexists=0</action>
1082 <action function="page">%tw_notexistpage%</action>
1083 </actions>
1084 </object>
1085 </page>
1086
1087 <page name="rebootcheck">
1088 <object type="action">
1089 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1090 <action function="reboot">%tw_action_param%</action>
1091 </object>
1092
1093 <object type="action">
1094 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1095 <action function="page">confirm_action</action>
1096 </object>
1097 </page>
1098
1099 <page name="wipe">
1100 <object type="template" name="header" />
1101
1102 <object type="text" color="%text_color%">
1103 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001104 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001105 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001106 </object>
1107
1108 <object type="text" color="%text_color%">
1109 <font resource="font" />
1110 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1111 <text>Wipes Data, Cache, and Dalvik</text>
1112 </object>
1113
1114 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001115 <conditions>
1116 <condition var1="tw_has_android_secure" var2="1" />
1117 <condition var1="fileexists" var2="/and-sec" />
1118 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001119 <font resource="font" />
1120 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1121 <text>.android_secure</text>
1122 </object>
1123
1124 <object type="text" color="%text_color%">
1125 <condition var1="tw_has_data_media" var2="1" />
1126 <font resource="font" />
1127 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1128 <text>(not including internal storage)</text>
1129 </object>
1130
1131 <object type="text" color="%text_color%">
1132 <condition var1="tw_has_sdext_partition" var2="1" />
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1135 <text>SD-EXT</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1141 <text>Most of the time this is</text>
1142 </object>
1143
1144 <object type="text" color="%text_color%">
1145 <font resource="font" />
1146 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1147 <text>the only wipe that you need.</text>
1148 </object>
1149
1150 <object type="text" color="%text_color%">
1151 <font resource="font" />
1152 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1153 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 </object>
1155
1156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001157 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001159 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001160 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001161 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001162 <actions>
1163 <action function="set">partitionlisterror=0</action>
1164 <action function="page">advancedwipe</action>
1165 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001166 </object>
1167
1168 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <conditions>
1170 <condition var1="tw_has_internal" var2="1" />
1171 <condition var1="tw_has_data_media" var2="1" />
1172 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <highlight color="%highlight_color%" />
1174 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001175 <font resource="font" color="%button_text_color%" />
1176 <text>Format Data</text>
1177 <image resource="main_button" />
1178 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001179 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001180 </actions>
1181 </object>
1182
Dees_Troya13d74f2013-03-24 08:54:55 -05001183 <object type="slider">
1184 <placement x="%slider_x%" y="%slider_y%" />
1185 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001186 <actions>
1187 <action function="set">tw_back=wipe</action>
1188 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001189 <action function="set">tw_action_param=data</action>
1190 <action function="set">tw_action_text1=Factory Reset...</action>
1191 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1192 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001193 </actions>
1194 </object>
1195
Dees_Troya13d74f2013-03-24 08:54:55 -05001196 <object type="text" color="%text_color%">
1197 <font resource="font" />
1198 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1199 <text>Swipe to Factory Reset</text>
1200 </object>
1201
1202 <object type="action">
1203 <touch key="back" />
1204 <action function="page">main</action>
1205 </object>
1206
1207 <object type="action">
1208 <touch key="home" />
1209 <action function="page">main</action>
1210 </object>
1211
1212 <object type="template" name="footer" />
1213 </page>
1214
1215 <page name="advancedwipe">
1216 <object type="template" name="header" />
1217
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001218 <object type="action">
1219 <action function="set">tw_wipe_list=</action>
1220 </object>
1221
Dees_Troya13d74f2013-03-24 08:54:55 -05001222 <object type="text" color="%text_color%">
1223 <font resource="font" />
1224 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1225 <text>Wipe Menu</text>
1226 </object>
1227
1228 <object type="partitionlist">
1229 <highlight color="%fileselector_highlight_color%" />
1230 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1231 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1232 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1233 <text>Select Partitions to Wipe:</text>
1234 <icon selected="checkbox_true" unselected="checkbox_false" />
1235 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1236 <background color="%listbox_background%" />
1237 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1238 <data name="tw_wipe_list" />
1239 <listtype name="wipe" />
1240 </object>
1241
1242 <object type="slider">
1243 <placement x="%slider_x%" y="%slider_y%" />
1244 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001245 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001246 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001248 <action function="set">tw_action_param=LIST</action>
1249 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1250 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1251 <action function="set">tw_complete_text1=Wipe Complete</action>
1252 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001253 </actions>
1254 </object>
1255
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001256 <object type="button">
1257 <highlight color="%highlight_color%" />
1258 <fill color="%button_fill_color%" />
1259 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1260 <font resource="font" color="%button_text_color%" />
1261 <text>Repair or Change File System</text>
1262 <actions>
1263 <action function="checkpartitionlist"></action>
1264 <action function="page">checkpartitionlist</action>
1265 </actions>
1266 </object>
1267
1268 <object type="text" color="%text_fail_color%">
1269 <condition var1="partitionlisterror" var2="1" />
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1272 <text>Invalid partition selection</text>
1273 </object>
1274
Dees_Troya13d74f2013-03-24 08:54:55 -05001275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1278 <text>Swipe to Wipe</text>
1279 </object>
1280
Dees_Troy51a0e822012-09-05 15:24:24 -04001281 <object type="action">
1282 <touch key="home" />
1283 <action function="page">main</action>
1284 </object>
1285
1286 <object type="action">
1287 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001288 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001289 </object>
1290
1291 <object type="template" name="footer" />
1292 </page>
1293
Dees_Troya13d74f2013-03-24 08:54:55 -05001294 <page name="formatdata">
1295 <object type="template" name="header" />
1296
1297 <object type="text" color="%text_color%">
1298 <font resource="font" />
1299 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1300 <text>Format Data will wipe all of your apps,</text>
1301 </object>
1302
1303 <object type="text" color="%text_color%">
1304 <font resource="font" />
1305 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1306 <text>backups, pictures, videos, media, and</text>
1307 </object>
1308
1309 <object type="text" color="%text_color%">
1310 <font resource="font" />
1311 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1312 <text>removes encryption on internal storage.</text>
1313 </object>
1314
1315 <object type="text" color="%text_color%">
1316 <font resource="font" />
1317 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1318 <text>This cannot be undone. Press back to cancel.</text>
1319 </object>
1320
1321 <object type="text" color="%text_color%">
1322 <font resource="font" />
1323 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1324 <text>Type yes to continue.</text>
1325 </object>
1326
1327 <object type="input">
1328 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1329 <background color="%input_background_color%" />
1330 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1331 <font resource="font" color="%text_color%" />
1332 <text>%tw_confirm_formatdata%</text>
1333 <data name="tw_confirm_formatdata" />
1334 <restrict minlen="3" maxlen="3" allow="yes" />
1335 <action function="page">formatdata_confirm</action>
1336 </object>
1337
1338 <object type="template" name="keyboardtemplate" />
1339
1340 <object type="action">
1341 <touch key="home" />
1342 <action function="page">main</action>
1343 </object>
1344
1345 <object type="action">
1346 <touch key="back" />
1347 <action function="page">wipe</action>
1348 </object>
1349
1350 <object type="template" name="footer" />
1351 </page>
1352
1353 <page name="formatdata_confirm">
1354 <object type="action">
1355 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1356 <actions>
1357 <action function="set">tw_back=formatdata</action>
1358 <action function="set">tw_action=wipe</action>
1359 <action function="set">tw_action_param=DATAMEDIA</action>
1360 <action function="set">tw_action_text1=Formatting Data...</action>
1361 <action function="set">tw_complete_text1=Data Format Complete</action>
1362 <action function="page">action_page</action>
1363 </actions>
1364 </object>
1365
1366 <object type="action">
1367 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1368 <action function="page">formatdata</function>
1369 </object>
1370 </page>
1371
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001372 <page name="checkpartitionlist">
1373 <object type="action">
1374 <condition var1="tw_check_partition_list" op="=" var2="1" />
1375 <actions>
1376 <action function="set">partitionlisterror=0</action>
1377 <action function="getpartitiondetails"></action>
1378 <action function="page">partitionoptions</action>
1379 </actions>
1380 </object>
1381
1382 <object type="action">
1383 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1384 <actions>
1385 <action function="set">partitionlisterror=1</action>
1386 <action function="set">tw_wipe_list=</action>
1387 <action function="page">advancedwipe</action>
1388 </actions>
1389 </object>
1390 </page>
1391
1392 <page name="partitionoptions">
1393 <object type="template" name="header" />
1394
1395 <object type="text" color="%text_color%">
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1398 <text>Partition Options for: %tw_partition_name%</text>
1399 </object>
1400
1401 <object type="text" color="%text_color%">
1402 <font resource="font" />
1403 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1404 <text>Mount Point: %tw_partition_mount_point%</text>
1405 </object>
1406
1407 <object type="text" color="%text_color%">
1408 <font resource="font" />
1409 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1410 <text>Current file system: %tw_partition_file_system%</text>
1411 </object>
1412
1413 <object type="text" color="%text_color%">
1414 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1415 <font resource="font" />
1416 <placement x="%col1_x%" y="%row3_text_y%" />
1417 <text>Present: Yes</text>
1418 </object>
1419
1420 <object type="text" color="%text_color%">
1421 <condition var1="tw_partition_is_present" op="=" var2="0" />
1422 <font resource="font" />
1423 <placement x="%col1_x%" y="%row3_text_y%" />
1424 <text>Present: No</text>
1425 </object>
1426
1427 <object type="text" color="%text_color%">
1428 <condition var1="tw_partition_removable" op="!=" var2="0" />
1429 <font resource="font" />
1430 <placement x="%col2_x%" y="%row3_text_y%" />
1431 <text>Removable: Yes</text>
1432 </object>
1433
1434 <object type="text" color="%text_color%">
1435 <condition var1="tw_partition_removable" op="=" var2="0" />
1436 <font resource="font" />
1437 <placement x="%col2_x%" y="%row3_text_y%" />
1438 <text>Removable: No</text>
1439 </object>
1440
1441 <object type="text" color="%text_color%">
1442 <font resource="font" />
1443 <placement x="%col1_x%" y="%row4_text_y%" />
1444 <text>Size: %tw_partition_size%MB</text>
1445 </object>
1446
1447 <object type="text" color="%text_color%">
1448 <font resource="font" />
1449 <placement x="%col2_x%" y="%row4_text_y%" />
1450 <text>Used: %tw_partition_used%MB</text>
1451 </object>
1452
1453 <object type="text" color="%text_color%">
1454 <font resource="font" />
1455 <placement x="%col1_x%" y="%row5_text_y%" />
1456 <text>Free: %tw_partition_free%MB</text>
1457 </object>
1458
1459 <object type="text" color="%text_color%">
1460 <font resource="font" />
1461 <placement x="%col2_x%" y="%row5_text_y%" />
1462 <text>Backup Size: %tw_partition_backup_size%MB</text>
1463 </object>
1464
1465 <object type="button">
1466 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1467 <highlight color="%highlight_color%" />
1468 <placement x="%col1_x%" y="%row4_y%" />
1469 <font resource="font" color="%button_text_color%" />
1470 <text>Repair</text>
1471 <image resource="main_button" />
1472 <actions>
1473 <action function="set">tw_back=partitionoptions</action>
1474 <action function="set">tw_action=repair</action>
1475 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1476 <action function="set">tw_has_action2=0</action>
1477 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1478 <action function="set">tw_text2=</action>
1479 <action function="set">tw_action_text1=Repairing...</action>
1480 <action function="set">tw_complete_text1=Repair Complete</action>
1481 <action function="set">tw_slider_text=Swipe to Repair</action>
1482 <action function="page">confirm_action</action>
1483 </actions>
1484 </object>
1485
1486 <object type="button">
1487 <highlight color="%highlight_color%" />
1488 <placement x="%col2_x%" y="%row4_y%" />
1489 <font resource="font" color="%button_text_color%" />
1490 <text>Change File System</text>
1491 <image resource="main_button" />
1492 <action function="page">selectfilesystem</action>
1493 </object>
1494
1495 <object type="action">
1496 <touch key="home" />
1497 <action function="page">main</action>
1498 </object>
1499
1500 <object type="action">
1501 <touch key="back" />
1502 <action function="page">advancedwipe</action>
1503 </object>
1504
1505 <object type="template" name="footer" />
1506 </page>
1507
1508 <page name="selectfilesystem">
1509 <object type="template" name="header" />
1510
1511 <object type="text" color="%text_color%">
1512 <font resource="font" />
1513 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1514 <text>Change file system for: %tw_partition_name%</text>
1515 </object>
1516
1517 <object type="text" color="%text_color%">
1518 <font resource="font" />
1519 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1520 <text>Mount Point: %tw_partition_mount_point%</text>
1521 </object>
1522
1523 <object type="text" color="%text_color%">
1524 <font resource="font" />
1525 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1526 <text>Current file system: %tw_partition_file_system%</text>
1527 </object>
1528
1529 <object type="text" color="%text_color%">
1530 <font resource="font" />
1531 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1532 <text>Some ROMs or kernels may not support some</text>
1533 </object>
1534
1535 <object type="text" color="%text_color%">
1536 <font resource="font" />
1537 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1538 <text>file systems. Proceed with caution!</text>
1539 </object>
1540
1541 <object type="button">
1542 <condition var1="tw_partition_ext" op="=" var2="1" />
1543 <highlight color="%highlight_color%" />
1544 <placement x="%col1_x%" y="%row2_y%" />
1545 <font resource="font" color="%button_text_color%" />
1546 <text>EXT2</text>
1547 <image resource="main_button" />
1548 <actions>
1549 <action function="set">tw_back=selectfilesystem</action>
1550 <action function="set">tw_action=changefilesystem</action>
1551 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1552 <action function="set">tw_action_new_file_system=ext2</action>
1553 <action function="set">tw_has_action2=0</action>
1554 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1555 <action function="set">tw_text2=</action>
1556 <action function="set">tw_action_text1=Formatting...</action>
1557 <action function="set">tw_complete_text1=Format Complete</action>
1558 <action function="set">tw_slider_text=Swipe to Change</action>
1559 <action function="page">confirm_action</action>
1560 </actions>
1561 </object>
1562
1563 <object type="button">
1564 <condition var1="tw_partition_ext" op="=" var2="1" />
1565 <highlight color="%highlight_color%" />
1566 <placement x="%col2_x%" y="%row2_y%" />
1567 <font resource="font" color="%button_text_color%" />
1568 <text>EXT3</text>
1569 <image resource="main_button" />
1570 <actions>
1571 <action function="set">tw_back=selectfilesystem</action>
1572 <action function="set">tw_action=changefilesystem</action>
1573 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1574 <action function="set">tw_action_new_file_system=ext3</action>
1575 <action function="set">tw_has_action2=0</action>
1576 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1577 <action function="set">tw_text2=</action>
1578 <action function="set">tw_action_text1=Formatting...</action>
1579 <action function="set">tw_complete_text1=Format Complete</action>
1580 <action function="set">tw_slider_text=Swipe to Change</action>
1581 <action function="page">confirm_action</action>
1582 </actions>
1583 </object>
1584
1585 <object type="button">
1586 <condition var1="tw_partition_ext" op="=" var2="1" />
1587 <highlight color="%highlight_color%" />
1588 <placement x="%col1_x%" y="%row3_y%" />
1589 <font resource="font" color="%button_text_color%" />
1590 <text>EXT4</text>
1591 <image resource="main_button" />
1592 <actions>
1593 <action function="set">tw_back=selectfilesystem</action>
1594 <action function="set">tw_action=changefilesystem</action>
1595 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1596 <action function="set">tw_action_new_file_system=ext4</action>
1597 <action function="set">tw_has_action2=0</action>
1598 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1599 <action function="set">tw_text2=</action>
1600 <action function="set">tw_action_text1=Formatting...</action>
1601 <action function="set">tw_complete_text1=Format Complete</action>
1602 <action function="set">tw_slider_text=Swipe to Change</action>
1603 <action function="page">confirm_action</action>
1604 </actions>
1605 </object>
1606
1607 <object type="button">
1608 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1609 <highlight color="%highlight_color%" />
1610 <placement x="%col2_x%" y="%row3_y%" />
1611 <font resource="font" color="%button_text_color%" />
1612 <text>F2FS</text>
1613 <image resource="main_button" />
1614 <actions>
1615 <action function="set">tw_back=selectfilesystem</action>
1616 <action function="set">tw_action=changefilesystem</action>
1617 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1618 <action function="set">tw_action_new_file_system=f2fs</action>
1619 <action function="set">tw_has_action2=0</action>
1620 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1621 <action function="set">tw_text2=</action>
1622 <action function="set">tw_action_text1=Formatting...</action>
1623 <action function="set">tw_complete_text1=Format Complete</action>
1624 <action function="set">tw_slider_text=Swipe to Change</action>
1625 <action function="page">confirm_action</action>
1626 </actions>
1627 </object>
1628
1629 <object type="button">
1630 <condition var1="tw_partition_vfat" op="=" var2="1" />
1631 <highlight color="%highlight_color%" />
1632 <placement x="%col1_x%" y="%row4_y%" />
1633 <font resource="font" color="%button_text_color%" />
1634 <text>FAT</text>
1635 <image resource="main_button" />
1636 <actions>
1637 <action function="set">tw_back=selectfilesystem</action>
1638 <action function="set">tw_action=changefilesystem</action>
1639 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1640 <action function="set">tw_action_new_file_system=vfat</action>
1641 <action function="set">tw_has_action2=0</action>
1642 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1643 <action function="set">tw_text2=</action>
1644 <action function="set">tw_action_text1=Formatting...</action>
1645 <action function="set">tw_complete_text1=Format Complete</action>
1646 <action function="set">tw_slider_text=Swipe to Change</action>
1647 <action function="page">confirm_action</action>
1648 </actions>
1649 </object>
1650
1651 <object type="button">
1652 <condition var1="tw_partition_exfat" op="=" var2="1" />
1653 <highlight color="%highlight_color%" />
1654 <placement x="%col2_x%" y="%row4_y%" />
1655 <font resource="font" color="%button_text_color%" />
1656 <text>exFAT</text>
1657 <image resource="main_button" />
1658 <actions>
1659 <action function="set">tw_back=selectfilesystem</action>
1660 <action function="set">tw_action=changefilesystem</action>
1661 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1662 <action function="set">tw_action_new_file_system=exfat</action>
1663 <action function="set">tw_has_action2=0</action>
1664 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1665 <action function="set">tw_text2=</action>
1666 <action function="set">tw_action_text1=Formatting...</action>
1667 <action function="set">tw_complete_text1=Format Complete</action>
1668 <action function="set">tw_slider_text=Swipe to Change</action>
1669 <action function="page">confirm_action</action>
1670 </actions>
1671 </object>
1672
1673 <object type="action">
1674 <touch key="home" />
1675 <action function="page">main</action>
1676 </object>
1677
1678 <object type="action">
1679 <touch key="back" />
1680 <action function="page">partitionoptions</action>
1681 </object>
1682
1683 <object type="template" name="footer" />
1684 </page>
1685
Dees_Troy51a0e822012-09-05 15:24:24 -04001686 <page name="backup">
1687 <object type="template" name="header" />
1688
Dees_Troy83bd4832013-05-04 12:39:56 +00001689 <object type="button">
1690 <highlight color="%highlight_color%" />
1691 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001692 <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 +00001693 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001694 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001695 <actions>
1696 <action function="set">tw_fileexists=0</action>
1697 <action function="page">backupname1</action>
1698 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001699 </object>
1700
Dees_Troya13d74f2013-03-24 08:54:55 -05001701 <object type="partitionlist">
1702 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001703 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001704 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1705 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1706 <text>Select Partitions to Back Up:</text>
1707 <icon selected="checkbox_true" unselected="checkbox_false" />
1708 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1709 <background color="%listbox_background%" />
1710 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1711 <data name="tw_backup_list" />
1712 <listtype name="backup" />
1713 </object>
1714
1715 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001716 <conditions>
1717 <condition var1="tw_include_encrypted_backup" var2="1" />
1718 <condition var1="tw_encrypt_backup" var2="0" />
1719 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001720 <highlight color="%highlight_color%" />
1721 <fill color="%button_fill_color%" />
1722 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1723 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001724 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001725 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001726 <action function="page">backupencryption</action>
1727 </actions>
1728 </object>
1729
1730 <object type="button">
1731 <conditions>
1732 <condition var1="tw_include_encrypted_backup" var2="1" />
1733 <condition var1="tw_encrypt_backup" var2="1" />
1734 </conditions>
1735 <highlight color="%highlight_color%" />
1736 <fill color="%button_fill_color%" />
1737 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1738 <font resource="font" color="%button_text_color%" />
1739 <text>Using Encryption</text>
1740 <actions>
1741 <action function="set">tw_password_not_match=0</action>
1742 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001743 </actions>
1744 </object>
1745
1746 <object type="button">
1747 <highlight color="%highlight_color%" />
1748 <fill color="%button_fill_color%" />
1749 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1750 <font resource="font" color="%button_text_color%" />
1751 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001752 <actions>
1753 <action function="refreshsizes"></action>
1754 <action function="page">backup</action>
1755 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001756 </object>
1757
1758 <object type="button">
1759 <highlight color="%highlight_color%" />
1760 <fill color="%button_fill_color%" />
1761 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1762 <font resource="font" color="%button_text_color%" />
1763 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1764 <actions>
1765 <action function="set">tw_back=backup</action>
1766 <action function="page">selectstorage</action>
1767 </actions>
1768 </object>
1769
1770 <object type="checkbox">
1771 <placement x="%col1_x%" y="%row15_text_y%" />
1772 <font resource="font" color="%text_color%" />
1773 <text>Enable compression.</text>
1774 <data variable="tw_use_compression" />
1775 <image checked="checkbox_true" unchecked="checkbox_false" />
1776 </object>
1777
1778 <object type="checkbox">
1779 <placement x="%col1_x%" y="%row16_text_y%" />
1780 <font resource="font" color="%text_color%" />
1781 <text>Skip MD5 generation during backup.</text>
1782 <data variable="tw_skip_md5_generate" />
1783 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001784 </object>
1785
1786 <object type="slider">
1787 <placement x="%slider_x%" y="slider_y" />
1788 <resource base="slider" used="slider-used" touch="slider-touch" />
1789 <action function="page">backup_run</action>
1790 </object>
1791
1792 <object type="text" color="%text_color%">
1793 <font resource="font" />
1794 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1795 <text>Swipe to Back Up</text>
1796 </object>
1797
Dees_Troy51a0e822012-09-05 15:24:24 -04001798 <object type="action">
1799 <touch key="home" />
1800 <action function="page">main</action>
1801 </object>
1802
1803 <object type="action">
1804 <touch key="back" />
1805 <action function="page">main</action>
1806 </object>
1807
1808 <object type="template" name="footer" />
1809 </page>
1810
1811 <page name="backupname1">
1812 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001813 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1814 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001815 </object>
1816
1817 <object type="action">
1818 <action function="page">backupname2</function>
1819 </object>
1820 </page>
1821
1822 <page name="backupname2">
1823 <object type="template" name="header" />
1824
1825 <object type="text" color="%text_color%">
1826 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1827 <font resource="font" />
1828 <text>Please Enter a Backup Name</text>
1829 </object>
1830
1831 <object type="input">
1832 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1833 <background color="%input_background_color%" />
1834 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1835 <font resource="font" color="%text_color%" />
1836 <text>%tw_backup_name%</text>
1837 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001838 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001839 <actions>
1840 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1841 <action function="set">tw_existpage=backupname2</action>
1842 <action function="set">tw_notexistpage=backup</action>
1843 <action function="page">filecheck</action>
1844 </actions>
1845 </object>
1846
1847 <object type="text" color="%text_fail_color%">
1848 <condition var1="tw_fileexists" var2="1" />
1849 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1850 <font resource="font" />
1851 <text>A backup with that name already exists!</text>
1852 </object>
1853
1854 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001855 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001856 <placement x="%col1_x%" y="%row2_y%" />
1857 <font resource="font" color="%button_text_color%" />
1858 <text>Append Date</text>
1859 <image resource="main_button" />
1860 <action function="appenddatetobackupname"></action>
1861 </object>
1862
1863 <object type="button">
1864 <highlight color="%highlight_color%" />
1865 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001866 <font resource="font" color="%button_text_color%" />
1867 <text>Cancel</text>
1868 <image resource="main_button" />
1869 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001870 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001871 <action function="page">backup</action>
1872 </actions>
1873 </object>
1874
1875 <object type="template" name="keyboardtemplate" />
1876
1877 <object type="action">
1878 <touch key="home" />
1879 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001880 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001881 <action function="page">main</action>
1882 </actions>
1883 </object>
1884
1885 <object type="action">
1886 <touch key="back" />
1887 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001888 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001889 <action function="page">backup</action>
1890 </actions>
1891 </object>
1892
1893 <object type="template" name="footer" />
1894 </page>
1895
Dees_Troy83bd4832013-05-04 12:39:56 +00001896 <page name="backupencryption">
1897 <object type="template" name="header" />
1898
1899 <object type="text" color="%text_color%">
1900 <font resource="font" />
1901 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1902 <text>Encrypt your backup?</text>
1903 </object>
1904
1905 <object type="text" color="%text_color%">
1906 <font resource="font" />
1907 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1908 <text>Please Enter A Password:</text>
1909 </object>
1910
1911 <object type="input">
1912 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1913 <background color="%input_background_color%" />
1914 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1915 <font resource="font" color="%text_color%" />
1916 <text>%tw_backup_encrypt_display%</text>
1917 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1918 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1919 <action function="page">backupencryption2</action>
1920 </object>
1921
1922 <object type="text" color="%text_fail_color%">
1923 <condition var1="tw_password_not_match" var2="1" />
1924 <font resource="font" />
1925 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1926 <text>Passwords Do Not Match</text>
1927 </object>
1928
1929 <object type="button">
1930 <highlight color="%highlight_color%" />
1931 <placement x="%col_center_x%" y="%row2_y%" />
1932 <font resource="font" color="%button_text_color%" />
1933 <text>Cancel</text>
1934 <image resource="main_button" />
1935 <actions>
1936 <action function="set">tw_encrypt_backup=0</action>
1937 <action function="set">tw_backup_password=</action>
1938 <action function="set">tw_backup_password2=</action>
1939 <action function="set">tw_backup_encrypt_display=</action>
1940 <action function="set">tw_backup_encrypt_display2=</action>
1941 <action function="page">backup</action>
1942 </actions>
1943 </object>
1944
1945 <object type="template" name="keyboardtemplate" />
1946
1947 <object type="action">
1948 <touch key="home" />
1949 <action function="page">main</action>
1950 </object>
1951
1952 <object type="action">
1953 <touch key="back" />
1954 <action function="page">backup</action>
1955 </object>
1956
1957 <object type="template" name="footer" />
1958 </page>
1959
1960 <page name="backupencryption2">
1961 <object type="template" name="header" />
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1966 <text>Encrypt your backup?</text>
1967 </object>
1968
1969 <object type="text" color="%text_color%">
1970 <font resource="font" />
1971 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1972 <text>Please Enter Password Again:</text>
1973 </object>
1974
1975 <object type="input">
1976 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1977 <background color="%input_background_color%" />
1978 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1979 <font resource="font" color="%text_color%" />
1980 <text>%tw_backup_encrypt_display2%</text>
1981 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1982 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1983 <actions>
1984 <action function="page">checkbackuppassword</action>
1985 </actions>
1986 </object>
1987
1988 <object type="button">
1989 <highlight color="%highlight_color%" />
1990 <placement x="%col_center_x%" y="%row2_y%" />
1991 <font resource="font" color="%button_text_color%" />
1992 <text>Cancel</text>
1993 <image resource="main_button" />
1994 <actions>
1995 <action function="set">tw_encrypt_backup=0</action>
1996 <action function="set">tw_backup_password=</action>
1997 <action function="set">tw_backup_password2=</action>
1998 <action function="set">tw_backup_encrypt_display=</action>
1999 <action function="set">tw_backup_encrypt_display2=</action>
2000 <action function="page">backup</action>
2001 </actions>
2002 </object>
2003
2004 <object type="template" name="keyboardtemplate" />
2005
2006 <object type="action">
2007 <touch key="home" />
2008 <action function="page">main</action>
2009 </object>
2010
2011 <object type="action">
2012 <touch key="back" />
2013 <action function="page">backup</action>
2014 </object>
2015
2016 <object type="template" name="footer" />
2017 </page>
2018
2019 <page name="checkbackuppassword">
2020 <object type="action">
2021 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2022 <actions>
2023 <action function="set">tw_encrypt_backup=1</action>
2024 <action function="page">backup</action>
2025 </actions>
2026 </object>
2027
2028 <object type="action">
2029 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2030 <actions>
2031 <action function="set">tw_encrypt_backup=0</action>
2032 <action function="set">tw_password_not_match=1</action>
2033 <action function="set">tw_backup_password=</action>
2034 <action function="set">tw_backup_password2=</action>
2035 <action function="set">tw_backup_encrypt_display=</action>
2036 <action function="set">tw_backup_encrypt_display2=</action>
2037 <action function="page">backupencryption</action>
2038 </actions>
2039 </object>
2040 </page>
2041
Dees_Troy51a0e822012-09-05 15:24:24 -04002042 <page name="backup_run">
2043 <object type="template" name="header" />
2044
2045 <object type="text" color="%text_color%">
2046 <font resource="font" />
2047 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2048 <text>%tw_operation% %tw_partition%</text>
2049 </object>
2050
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002051 <object type="text" color="%text_color%">
2052 <font resource="font" />
2053 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2054 <text>%tw_file_progress%</text>
2055 </object>
2056
2057 <object type="text" color="%text_color%">
2058 <font resource="font" />
2059 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
2060 <text>%tw_size_progress%</text>
2061 </object>
2062
Dees_Troy51a0e822012-09-05 15:24:24 -04002063 <object type="template" name="action_page_console" />
2064
2065 <object type="template" name="progress_bar" />
2066
2067 <object type="action">
2068 <action function="nandroid">backup</action>
2069 </object>
2070
2071 <object type="action">
2072 <condition var1="tw_operation_state" var2="1" />
2073 <actions>
2074 <action function="set">tw_back=backup</action>
2075 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002076 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 <action function="page">action_complete</action>
2078 </actions>
2079 </object>
2080 </page>
2081
2082 <page name="restore">
2083 <object type="template" name="header" />
2084
2085 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002086 <highlight color="%highlight_color%" />
2087 <fill color="%button_fill_color%" />
2088 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2089 <font resource="font" color="%button_text_color%" />
2090 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2091 <actions>
2092 <action function="set">tw_back=restore</action>
2093 <action function="page">selectstorage</action>
2094 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002095 </object>
2096
2097 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002098 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002099 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002100 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002101 <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 -04002102 <text>Select Package to Restore:</text>
2103 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2104 <sort name="tw_gui_sort_order" />
2105 <icon folder="folder_icon" file="file_icon" />
2106 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002107 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002108 <filter folders="1" files="0" nav="0" />
2109 <path name="tw_backups_folder" />
2110 <data name="tw_restore" default="" />
2111 <selection name="tw_restore_name" />
2112 </object>
2113
2114 <object type="template" name="sort_options" />
2115
2116 <object type="action">
2117 <condition var1="tw_restore" op="modified" />
2118 <actions>
2119 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002120 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002121 </actions>
2122 </object>
2123
2124 <object type="action">
2125 <touch key="home" />
2126 <action function="page">main</action>
2127 </object>
2128
2129 <object type="action">
2130 <touch key="back" />
2131 <action function="page">main</action>
2132 </object>
2133
2134 <object type="template" name="footer" />
2135 </page>
2136
Dees_Troy83bd4832013-05-04 12:39:56 +00002137 <page name="restore_read">
2138 <object type="action">
2139 <condition var1="tw_restore_encrypted" var2="1" />
2140 <actions>
2141 <action function="set">tw_password_fail=0</action>
2142 <action function="page">restore_decrypt</action>
2143 </actions>
2144 </object>
2145
2146 <object type="action">
2147 <condition var1="tw_restore_encrypted" var2="0" />
2148 <actions>
2149 <action function="page">restore_select</action>
2150 </actions>
2151 </object>
2152 </page>
2153
2154 <page name="restore_decrypt">
2155 <object type="template" name="header" />
2156
2157 <object type="text" color="%text_color%">
2158 <font resource="font" />
2159 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2160 <text>Backup Encrypted</text>
2161 </object>
2162
2163 <object type="text" color="%text_color%">
2164 <font resource="font" />
2165 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2166 <text>Please Enter Your Password:</text>
2167 </object>
2168
2169 <object type="input">
2170 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2171 <background color="%input_background_color%" />
2172 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2173 <font resource="font" color="%text_color%" />
2174 <text>%tw_restore_display%</text>
2175 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2176 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2177 <actions>
2178 <action function="page">try_restore_decrypt</action>
2179 </actions>
2180 </object>
2181
2182 <object type="text" color="%text_fail_color%">
2183 <condition var1="tw_password_fail" var2="1" />
2184 <font resource="font" />
2185 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2186 <text>Password Failed, Please Try Again</text>
2187 </object>
2188
2189 <object type="button">
2190 <highlight color="%highlight_color%" />
2191 <placement x="%col1_x%" y="%row2_y%" />
2192 <font resource="font" color="%button_text_color%" />
2193 <text>Cancel</text>
2194 <image resource="main_button" />
2195 <actions>
2196 <action function="set">tw_page_done=1</action>
2197 <action function="page">restore</action>
2198 </actions>
2199 </object>
2200
2201 <object type="button">
2202 <highlight color="%highlight_color%" />
2203 <placement x="%col2_x%" y="%row2_y%" />
2204 <font resource="font" color="%button_text_color%" />
2205 <text>Delete</text>
2206 <image resource="main_button" />
2207 <actions>
2208 <action function="set">tw_back=restore</action>
2209 <action function="set">tw_action=cmd</action>
2210 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2211 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2212 <action function="set">tw_text2=This cannot be undone!</action>
2213 <action function="set">tw_action_text1=Deleting Backup...</action>
2214 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2215 <action function="set">tw_slider_text=Swipe to Delete</action>
2216 <action function="page">confirm_action</action>
2217 </actions>
2218 </object>
2219
2220 <object type="template" name="keyboardtemplate" />
2221
2222 <object type="action">
2223 <touch key="home" />
2224 <action function="page">main</action>
2225 </object>
2226
2227 <object type="action">
2228 <touch key="back" />
2229 <action function="page">restore</action>
2230 </object>
2231
2232 <object type="template" name="footer" />
2233 </page>
2234
2235 <page name="try_restore_decrypt">
2236 <object type="template" name="header" />
2237
2238 <object type="text" color="%text_color%">
2239 <font resource="font" />
2240 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2241 <text>Trying Decryption with Your Password</text>
2242 </object>
2243
2244 <object type="template" name="action_page_console" />
2245
2246 <object type="template" name="progress_bar" />
2247
2248 <object type="action">
2249 <action function="decrypt_backup"></action>
2250 </object>
2251
2252 <object type="action">
2253 <conditions>
2254 <condition var1="tw_operation_state" var2="1" />
2255 <condition var1="tw_operation_status" op="!=" var2="0" />
2256 </conditions>
2257 <actions>
2258 <action function="set">tw_password_fail=1</action>
2259 <action function="page">restore_decrypt</action>
2260 </actions>
2261 </object>
2262
2263 <object type="action">
2264 <conditions>
2265 <condition var1="tw_operation_state" var2="1" />
2266 <condition var1="tw_operation_status" op="=" var2="0" />
2267 </conditions>
2268 <actions>
2269 <action function="set">tw_page_done=1</action>
2270 <action function="page">restore_select</action>
2271 </actions>
2272 </object>
2273 </page>
2274
Dees_Troy51a0e822012-09-05 15:24:24 -04002275 <page name="restore_select">
2276 <object type="template" name="header" />
2277
Dees_Troya13d74f2013-03-24 08:54:55 -05002278 <object type="partitionlist">
2279 <highlight color="%fileselector_highlight_color%" />
2280 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2281 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2282 <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 -04002283 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002284 <icon selected="checkbox_true" unselected="checkbox_false" />
2285 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2286 <background color="%listbox_background%" />
2287 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2288 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2289 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002290 </object>
2291
2292 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002293 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002294 <fill color="%button_fill_color%" />
2295 <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 -04002296 <font resource="font" color="%button_text_color%" />
2297 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 <actions>
2299 <action function="set">tw_backup_rename=</action>
2300 <action function="set">tw_fileexists=0</action>
2301 <action function="page">renamebackup</action>
2302 </actions>
2303 </object>
2304
2305 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002306 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002307 <fill color="%button_fill_color%" />
2308 <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 -04002309 <font resource="font" color="%button_text_color%" />
2310 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002311 <actions>
2312 <action function="set">tw_back=restore</action>
2313 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002314 <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 -04002315 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2316 <action function="set">tw_text2=This cannot be undone!</action>
2317 <action function="set">tw_action_text1=Deleting Backup...</action>
2318 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2319 <action function="set">tw_slider_text=Swipe to Delete</action>
2320 <action function="page">confirm_action</action>
2321 </actions>
2322 </object>
2323
Dees_Troya13d74f2013-03-24 08:54:55 -05002324 <object type="checkbox">
2325 <placement x="%col1_x%" y="%row15_text_y%" />
2326 <font resource="font" color="%text_color%" />
2327 <text>Enable MD5 verification of backup files.</text>
2328 <data variable="tw_skip_md5_check" />
2329 <image checked="checkbox_true" unchecked="checkbox_false" />
2330 </object>
2331
2332 <object type="text" color="%text_color%">
2333 <font resource="font" />
2334 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2335 <text>Package Date: %tw_restore_file_date%</text>
2336 </object>
2337
Dees_Troy51a0e822012-09-05 15:24:24 -04002338 <object type="slider">
2339 <placement x="%slider_x%" y="%slider_y%" />
2340 <resource base="slider" used="slider-used" touch="slider-touch" />
2341 <action function="page">restore_run</action>
2342 </object>
2343
2344 <object type="text" color="%text_color%">
2345 <font resource="font" />
2346 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2347 <text>Swipe to Restore</text>
2348 </object>
2349
Dees_Troy51a0e822012-09-05 15:24:24 -04002350 <object type="action">
2351 <touch key="home" />
2352 <action function="page">main</action>
2353 </object>
2354
2355 <object type="action">
2356 <touch key="back" />
2357 <action function="page">restore</action>
2358 </object>
2359
2360 <object type="template" name="footer" />
2361 </page>
2362
2363 <page name="renamebackup">
2364 <object type="template" name="header" />
2365
2366 <object type="text" color="%text_color%">
2367 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2368 <font resource="font" />
2369 <text>Please Enter a New Backup Name</text>
2370 </object>
2371
2372 <object type="input">
2373 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2374 <background color="%input_background_color%" />
2375 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2376 <font resource="font" color="%text_color%" />
2377 <text>%tw_backup_rename%</text>
2378 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002379 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <actions>
2381 <action function="set">tw_back=restore</action>
2382 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002383 <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 -04002384 <action function="set">tw_text1=Rename Backup?</action>
2385 <action function="set">tw_text2=This cannot be undone!</action>
2386 <action function="set">tw_action_text1=Renaming Backup...</action>
2387 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2388 <action function="set">tw_slider_text=Swipe to Rename</action>
2389 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2390 <action function="set">tw_existpage=renamebackup</action>
2391 <action function="set">tw_notexistpage=confirm_action</action>
2392 <action function="page">filecheck</action>
2393 </actions>
2394 </object>
2395
2396 <object type="text" color="%text_fail_color%">
2397 <condition var1="tw_fileexists" var2="1" />
2398 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2399 <font resource="font" />
2400 <text>A backup with that name already exists!</text>
2401 </object>
2402
2403 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002404 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <placement x="%col_center_x%" y="%row2_y%" />
2406 <font resource="font" color="%button_text_color%" />
2407 <text>Cancel</text>
2408 <image resource="main_button" />
2409 <action function="page">restore_select</action>
2410 </object>
2411
2412 <object type="template" name="keyboardtemplate" />
2413
2414 <object type="action">
2415 <touch key="home" />
2416 <action function="page">main</action>
2417 </object>
2418
2419 <object type="action">
2420 <touch key="back" />
2421 <action function="page">restore_select</action>
2422 </object>
2423
2424 <object type="template" name="footer" />
2425 </page>
2426
2427 <page name="restore_run">
2428 <object type="template" name="header" />
2429
2430 <object type="text" color="%text_color%">
2431 <font resource="font" />
2432 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2433 <text>%tw_operation% %tw_partition%</text>
2434 </object>
2435
Ethan Yonker1b7a31b2014-07-03 15:09:22 -05002436 <object type="text" color="%text_color%">
2437 <font resource="font" />
2438 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2439 <text>%tw_size_progress%</text>
2440 </object>
2441
Dees_Troy51a0e822012-09-05 15:24:24 -04002442 <object type="template" name="action_page_console" />
2443
2444 <object type="template" name="progress_bar" />
2445
2446 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002447 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002448 <actions>
2449 <action function="set">tw_back=restore_select</action>
2450 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002451 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002452 <action function="page">action_complete</action>
2453 </actions>
2454 </object>
2455
2456 <object type="action">
2457 <action function="nandroid">restore</action>
2458 </object>
2459 </page>
2460
Dees_Troya13d74f2013-03-24 08:54:55 -05002461 <page name="selectstorage">
2462 <object type="template" name="header" />
2463
2464 <object type="partitionlist">
2465 <highlight color="%fileselector_highlight_color%" />
2466 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2467 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2468 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2469 <text>Select Storage:</text>
2470 <icon selected="radio_true" unselected="radio_false" />
2471 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2472 <background color="%listbox_background%" />
2473 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2474 <data name="tw_storage_path" />
2475 <listtype name="storage" />
2476 </object>
2477
Dees_Troye7e0ae82013-07-05 14:46:07 +00002478 <object type="button">
2479 <highlight color="%highlight_color%" />
2480 <placement x="%col_center_x%" y="%row4_y%" />
2481 <font resource="font" color="%button_text_color%" />
2482 <text>OK</text>
2483 <image resource="main_button" />
2484 <actions>
2485 <action function="set">tw_clear_destination=%tw_back%</action>
2486 <action function="page">clear_vars</action>
2487 </actions>
2488 </object>
2489
Dees_Troya13d74f2013-03-24 08:54:55 -05002490 <object type="action">
2491 <touch key="home" />
2492 <action function="page">main</action>
2493 </object>
2494
2495 <object type="action">
2496 <touch key="back" />
2497 <actions>
2498 <action function="page">%tw_back%</action>
2499 </actions>
2500 </object>
2501
2502 <object type="template" name="footer" />
2503 </page>
2504
Dees_Troy51a0e822012-09-05 15:24:24 -04002505 <page name="mount">
2506 <object type="template" name="header" />
2507
Dees_Troya13d74f2013-03-24 08:54:55 -05002508 <object type="partitionlist">
2509 <highlight color="%fileselector_highlight_color%" />
2510 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2511 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2512 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2513 <text>Select Partitions to Mount:</text>
2514 <icon selected="checkbox_true" unselected="checkbox_false" />
2515 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2516 <background color="%listbox_background%" />
2517 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2518 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002519 </object>
2520
2521 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002522 <highlight color="%highlight_color%" />
2523 <fill color="%button_fill_color%" />
2524 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2525 <font resource="font" color="%button_text_color%" />
2526 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2527 <actions>
2528 <action function="set">tw_back=mount</action>
2529 <action function="page">selectstorage</action>
2530 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 </object>
2532
2533 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002534 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002535 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002536 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002537 <font resource="font" color="%button_text_color%" />
2538 <text>Mount USB Storage</text>
2539 <image resource="main_button" />
2540 <action function="page">usb_mount</action>
2541 </object>
2542
Gary Peckffdc6ae2012-11-21 18:02:02 -08002543 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002544 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002545 <conditions>
2546 <condition var1="tw_is_encrypted" var2="1" />
2547 <condition var1="tw_is_decrypted" var2="0" />
2548 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002549 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002550 <font resource="font" color="%button_text_color%" />
2551 <text>Decrypt Data</text>
2552 <image resource="main_button" />
2553 <action function="page">decrypt</action>
2554 </object>
2555
Dees_Troy51a0e822012-09-05 15:24:24 -04002556 <object type="action">
2557 <touch key="home" />
2558 <action function="page">main</action>
2559 </object>
2560
2561 <object type="action">
2562 <touch key="back" />
2563 <action function="page">main</action>
2564 </object>
2565
2566 <object type="template" name="footer" />
2567 </page>
2568
2569 <page name="usb_mount">
2570 <object type="template" name="header" />
2571
2572 <object type="text" color="%text_color%">
2573 <font resource="font" />
2574 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2575 <text>USB Storage Mounted</text>
2576 </object>
2577
2578 <object type="text" color="%text_color%">
2579 <placement x="%col1_x%" y="%row1_text_y%" />
2580 <font resource="font" />
2581 <text>Be sure to safely remove your device</text>
2582 </object>
2583
2584 <object type="text" color="%text_color%">
2585 <placement x="%col1_x%" y="%row2_text_y%" />
2586 <font resource="font" />
2587 <text>from your computer before unmounting!</text>
2588 </object>
2589
2590 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002591 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002592 <placement x="%col1_x%" y="%row3_y%" />
2593 <font resource="font" color="%button_text_color%" />
2594 <text>Unmount</text>
2595 <image resource="main_button" />
2596 <action function="page">usb_umount</action>
2597 </object>
2598
2599 <object type="action">
2600 <action function="mount">usb</action>
2601 </object>
2602
2603 <object type="template" name="footer" />
2604 </page>
2605
2606 <page name="usb_umount">
2607 <object type="action">
2608 <action function="unmount">usb</action>
2609 </object>
2610
2611 <object type="action">
2612 <action function="page">mount</action>
2613 </object>
2614 </page>
2615
2616 <page name="reboot">
2617 <object type="template" name="header" />
2618
2619 <object type="text" color="%text_color%">
2620 <font resource="font" />
2621 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2622 <text>Reboot Menu</text>
2623 </object>
2624
2625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002627 <condition var1="tw_reboot_system" var2="1" />
2628 <placement x="%col1_x%" y="%row1_y%" />
2629 <font resource="font" color="%button_text_color%" />
2630 <text>System</text>
2631 <image resource="main_button" />
2632 <actions>
2633 <action function="set">tw_back=reboot</action>
2634 <action function="set">tw_action=reboot</action>
2635 <action function="set">tw_action_param=system</action>
2636 <action function="set">tw_has_action2=0</action>
2637 <action function="set">tw_text1=No OS Installed! Are you</action>
2638 <action function="set">tw_text2=sure you wish to reboot?</action>
2639 <action function="set">tw_action_text1=Rebooting...</action>
2640 <action function="set">tw_complete_text1=Rebooting...</action>
2641 <action function="set">tw_slider_text=Swipe to Reboot</action>
2642 <action function="page">rebootcheck</action>
2643 </actions>
2644 </object>
2645
2646 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002647 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002648 <condition var1="tw_reboot_poweroff" var2="1" />
2649 <placement x="%col2_x%" y="%row1_y%" />
2650 <font resource="font" color="%button_text_color%" />
2651 <text>Power Off</text>
2652 <image resource="main_button" />
2653 <actions>
2654 <action function="set">tw_back=reboot</action>
2655 <action function="set">tw_action=reboot</action>
2656 <action function="set">tw_action_param=poweroff</action>
2657 <action function="set">tw_has_action2=0</action>
2658 <action function="set">tw_text1=No OS Installed! Are you</action>
2659 <action function="set">tw_text2=sure you wish to power off?</action>
2660 <action function="set">tw_action_text1=Turning Off...</action>
2661 <action function="set">tw_complete_text1=Turning Off...</action>
2662 <action function="set">tw_slider_text=Swipe to Power Off</action>
2663 <action function="page">rebootcheck</action>
2664 </actions>
2665 </object>
2666
2667 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002668 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002669 <condition var1="tw_reboot_recovery" var2="1" />
2670 <placement x="%col1_x%" y="%row2_y%" />
2671 <font resource="font" color="%button_text_color%" />
2672 <text>Recovery</text>
2673 <image resource="main_button" />
2674 <actions>
2675 <action function="set">tw_back=reboot</action>
2676 <action function="set">tw_action=reboot</action>
2677 <action function="set">tw_action_param=recovery</action>
2678 <action function="set">tw_has_action2=0</action>
2679 <action function="set">tw_text1=No OS Installed! Are you</action>
2680 <action function="set">tw_text2=sure you wish to reboot?</action>
2681 <action function="set">tw_action_text1=Rebooting...</action>
2682 <action function="set">tw_complete_text1=Rebooting...</action>
2683 <action function="set">tw_slider_text=Swipe to Reboot</action>
2684 <action function="page">rebootcheck</action>
2685 </actions>
2686 </object>
2687
2688 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002689 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002690 <condition var1="tw_reboot_bootloader" var2="1" />
2691 <placement x="%col2_x%" y="%row2_y%" />
2692 <font resource="font" color="%button_text_color%" />
2693 <text>Bootloader</text>
2694 <image resource="main_button" />
2695 <actions>
2696 <action function="set">tw_back=reboot</action>
2697 <action function="set">tw_action=reboot</action>
2698 <action function="set">tw_action_param=bootloader</action>
2699 <action function="set">tw_has_action2=0</action>
2700 <action function="set">tw_text1=No OS Installed! Are you</action>
2701 <action function="set">tw_text2=sure you wish to reboot?</action>
2702 <action function="set">tw_action_text1=Rebooting...</action>
2703 <action function="set">tw_complete_text1=Rebooting...</action>
2704 <action function="set">tw_slider_text=Swipe to Reboot</action>
2705 <action function="page">rebootcheck</action>
2706 </actions>
2707 </object>
2708
2709 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002710 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002711 <condition var1="tw_download_mode" var2="1" />
2712 <placement x="%col1_x%" y="%row3_y%" />
2713 <font resource="font" color="%button_text_color%" />
2714 <text>Download</text>
2715 <image resource="main_button" />
2716 <actions>
2717 <action function="set">tw_back=reboot</action>
2718 <action function="set">tw_action=reboot</action>
2719 <action function="set">tw_action_param=download</action>
2720 <action function="set">tw_has_action2=0</action>
2721 <action function="set">tw_text1=No OS Installed! Are you</action>
2722 <action function="set">tw_text2=sure you wish to reboot?</action>
2723 <action function="set">tw_action_text1=Rebooting...</action>
2724 <action function="set">tw_complete_text1=Rebooting...</action>
2725 <action function="set">tw_slider_text=Swipe to Reboot</action>
2726 <action function="page">rebootcheck</action>
2727 </actions>
2728 </object>
2729
2730 <object type="action">
2731 <touch key="home" />
2732 <action function="page">main</action>
2733 </object>
2734
2735 <object type="action">
2736 <touch key="back" />
2737 <action function="page">main</action>
2738 </object>
2739
2740 <object type="template" name="footer" />
2741 </page>
2742
2743 <page name="settings">
2744 <object type="template" name="header" />
2745
2746 <object type="text" color="%text_color%">
2747 <font resource="font" />
2748 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2749 <text>Settings</text>
2750 </object>
2751
2752 <object type="checkbox">
2753 <placement x="%col1_x%" y="%row1_text_y%" />
2754 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002755 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <data variable="tw_signed_zip_verify" />
2757 <image checked="checkbox_true" unchecked="checkbox_false" />
2758 </object>
2759
2760 <object type="checkbox">
2761 <placement x="%col1_x%" y="%row2_text_y%" />
2762 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002763 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <data variable="tw_rm_rf" />
2765 <image checked="checkbox_true" unchecked="checkbox_false" />
2766 </object>
2767
2768 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002769 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002771 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <data variable="tw_skip_md5_generate" />
2773 <image checked="checkbox_true" unchecked="checkbox_false" />
2774 </object>
2775
2776 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002777 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002778 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002779 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <data variable="tw_skip_md5_check" />
2781 <image checked="checkbox_true" unchecked="checkbox_false" />
2782 </object>
2783
2784 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002785 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002786 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002787 <text>Use Military Time.</text>
2788 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002789 <image checked="checkbox_true" unchecked="checkbox_false" />
2790 </object>
2791
2792 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002793 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002795 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002796 <data variable="tw_simulate_actions" />
2797 <image checked="checkbox_true" unchecked="checkbox_false" />
2798 </object>
2799
2800 <object type="checkbox">
2801 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002802 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002803 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002804 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002805 <data variable="tw_simulate_fail" />
2806 <image checked="checkbox_true" unchecked="checkbox_false" />
2807 </object>
2808
2809 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002810 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002811 <placement x="%col1_x%" y="%row3_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>Time Zone</text>
2814 <image resource="main_button" />
2815 <action function="page">timezone</action>
2816 </object>
2817
2818 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002819 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002820 <placement x="%col2_x%" y="%row3_y%" />
2821 <font resource="font" color="%button_text_color%" />
2822 <text>Screen</text>
2823 <image resource="main_button" />
2824 <action function="page">screen</action>
2825 </object>
2826
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002827 <object type="button">
2828 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002829 <placement x="%col1_x%" y="%row4_y%" />
2830 <font resource="font" color="%button_text_color%" />
2831 <text>Restore Defaults</text>
2832 <image resource="main_button" />
2833 <action function="restoredefaultsettings"></action>
2834 </object>
2835
Dees_Troy2f9117a2013-02-17 19:52:09 -06002836 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002837 <highlight color="%highlight_color%" />
2838 <placement x="%col2_x%" y="%row4_y%" />
2839 <font resource="font" color="%button_text_color%" />
2840 <text>Vibration Duration</text>
2841 <image resource="main_button" />
2842 <action function="page">Vibrate</action>
2843 </object>
2844
Dees_Troy51a0e822012-09-05 15:24:24 -04002845 <object type="action">
2846 <touch key="home" />
2847 <action function="page">main</action>
2848 </object>
2849
2850 <object type="action">
2851 <touch key="back" />
2852 <action function="page">main</action>
2853 </object>
2854
2855 <object type="template" name="footer" />
2856 </page>
2857
2858 <page name="timezone">
2859 <object type="template" name="header" />
2860
Dees_Troy51a0e822012-09-05 15:24:24 -04002861 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002862 <highlight color="%fileselector_highlight_color%" />
2863 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2864 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002865 <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 -06002866 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002868 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002869 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002870 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002871 <data name="tw_time_zone_guisel" />
2872 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2873 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2874 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2875 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2876 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2877 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2878 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2879 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2880 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2881 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2882 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2883 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2884 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2885 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2886 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2887 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2888 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2889 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2890 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2891 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2892 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2893 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2894 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2895 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2896 </object>
2897
2898 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002899 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <font resource="font" color="%text_color%" />
2901 <text>Do you use daylight savings time (DST)?</text>
2902 <data variable="tw_time_zone_guidst" />
2903 <image checked="checkbox_true" unchecked="checkbox_false" />
2904 </object>
2905
2906 <object type="text" color="%text_color%">
2907 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002908 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2910 </object>
2911
2912 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002913 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002914 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <font resource="font" color="%button_text_color%" />
2916 <text>None</text>
2917 <image resource="medium_button" />
2918 <action function="set">tw_time_zone_guioffset=0</action>
2919 </object>
2920
2921 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002922 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002923 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002924 <font resource="font" color="%button_text_color%" />
2925 <text>15</text>
2926 <image resource="medium_button" />
2927 <action function="set">tw_time_zone_guioffset=15</action>
2928 </object>
2929
2930 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002931 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002932 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002933 <font resource="font" color="%button_text_color%" />
2934 <text>30</text>
2935 <image resource="medium_button" />
2936 <action function="set">tw_time_zone_guioffset=30</action>
2937 </object>
2938
2939 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002940 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002941 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002942 <font resource="font" color="%button_text_color%" />
2943 <text>45</text>
2944 <image resource="medium_button" />
2945 <action function="set">tw_time_zone_guioffset=45</action>
2946 </object>
2947
2948 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002949 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002950 <placement x="%col_center_x%" y="%tz_set_y%" />
2951 <font resource="font" color="%button_text_color%" />
2952 <text>Set Time Zone</text>
2953 <image resource="main_button" />
2954 <action function="setguitimezone"></action>
2955 </object>
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2960 <text>Current Time Zone: %tw_time_zone%</text>
2961 </object>
2962
2963 <object type="action">
2964 <touch key="home" />
2965 <action function="page">main</action>
2966 </object>
2967
2968 <object type="action">
2969 <touch key="back" />
2970 <action function="page">settings</action>
2971 </object>
2972
2973 <object type="template" name="footer" />
2974 </page>
2975
Dees_Troy2f9117a2013-02-17 19:52:09 -06002976 <page name="screen">
2977 <object type="template" name="header" />
2978
2979 <object type="text" color="%text_color%">
2980 <font resource="font" />
2981 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2982 <text>Screen Settings</text>
2983 </object>
2984
Dees_Troy2f9117a2013-02-17 19:52:09 -06002985 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002986 <placement x="%col1_x%" y="%row2_text_y%" />
2987 <font resource="font" color="%text_color%" />
2988 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002989 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002990 <text>Enable screen timeout.</text>
2991 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002992 <action function="set">tw_screen_timeout_secs=60</action>
2993 </object>
2994
2995 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002996 <placement x="%col1_x%" y="%row2_text_y%" />
2997 <font resource="font" color="%text_color%" />
2998 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002999 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003000 <text>Enable screen timeout.</text>
3001 <image resource="checkbox_true" />
3002 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003003 </object>
3004
Vojtech Bocek85932342013-04-01 22:11:33 +02003005 <object type="slidervalue">
3006 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07003007 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003008 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3009 <font resource="font" color="%text_color%" />
3010 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3011 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3012 <text>Screen timeout in seconds:</text>
3013 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003014 </object>
3015
Vojtech Bocek85932342013-04-01 22:11:33 +02003016 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06003017 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02003018 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3019 <font resource="font" color="%text_color%" />
3020 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3021 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
3022 <text>Brightness: %tw_brightness_pct%%</text>
3023 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003024 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003025 <action function="set">tw_brightness=%tw_brightness_max%</action>
3026 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3027 <action function="compute">tw_brightness/100</action>
3028 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003029 </actions>
3030 </object>
3031
3032 <object type="action">
3033 <touch key="home" />
3034 <action function="page">main</action>
3035 </object>
3036
3037 <object type="action">
3038 <touch key="back" />
3039 <action function="page">settings</action>
3040 </object>
3041
3042 <object type="template" name="footer" />
3043 </page>
3044
Ethan Yonker03db3262014-02-05 08:02:06 -06003045 <page name="Vibrate">
3046 <object type="template" name="header" />
3047
3048 <object type="text" color="%text_color%">
3049 <font resource="font" />
3050 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3051 <text>Vibration Settings :</text>
3052 </object>
3053
3054 <object type="slidervalue">
3055 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3056 <font resource="font" color="%text_color%" />
3057 <text>Button Vibration:</text>
3058 <data variable="tw_button_vibrate" min="0" max="300" />
3059 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3060 </object>
3061
3062 <object type="slidervalue">
3063 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3064 <font resource="font" color="%text_color%" />
3065 <text>Keyboard Vibration:</text>
3066 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3067 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3068 </object>
3069
3070 <object type="slidervalue">
3071 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3072 <font resource="font" color="%text_color%" />
3073 <text>Action Vibration:</text>
3074 <data variable="tw_action_vibrate" min="0" max="500" />
3075 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3076 </object>
3077
3078 <object type="action">
3079 <touch key="home" />
3080 <action function="page">main</action>
3081 </object>
3082
3083 <object type="action">
3084 <touch key="back" />
3085 <action function="page">settings</action>
3086 </object>
3087
3088 <object type="template" name="footer" />
3089 </page>
3090
Dees_Troy51a0e822012-09-05 15:24:24 -04003091 <page name="advanced">
3092 <object type="template" name="header" />
3093
3094 <object type="text" color="%text_color%">
3095 <font resource="font" />
3096 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3097 <text>Advanced</text>
3098 </object>
3099
3100 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003101 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003102 <placement x="%col1_x%" y="%row1_y%" />
3103 <font resource="font" color="%button_text_color%" />
3104 <text>Copy Log to SD</text>
3105 <image resource="main_button" />
3106 <actions>
3107 <action function="set">tw_back=advanced</action>
3108 <action function="set">tw_action=copylog</action>
3109 <action function="set">tw_text1=Copy Log to SD Card?</action>
3110 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3111 <action function="set">tw_complete_text1=Log Copy Complete</action>
3112 <action function="set">tw_slider_text=Swipe to Confirm</action>
3113 <action function="page">confirm_action</action>
3114 </actions>
3115 </object>
3116
3117 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003118 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003119 <placement x="%col2_x%" y="%row1_y%" />
3120 <font resource="font" color="%button_text_color%" />
3121 <text>Fix Permissions</text>
3122 <image resource="main_button" />
3123 <actions>
3124 <action function="set">tw_back=advanced</action>
3125 <action function="set">tw_action=fixpermissions</action>
3126 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003128 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3129 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003130 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003131 <action function="page">confirm_action</action>
3132 </actions>
3133 </object>
3134
3135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003136 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003137 <condition var1="tw_allow_partition_sdcard" var2="1" />
3138 <placement x="%col1_x%" y="%row2_y%" />
3139 <font resource="font" color="%button_text_color%" />
3140 <text>Partition SD Card</text>
3141 <image resource="main_button" />
3142 <action function="page">partsdcard</action>
3143 </object>
3144
3145 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003146 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003147 <placement x="%col2_x%" y="%row2_y%" />
3148 <font resource="font" color="%button_text_color%" />
3149 <text>File Manager</text>
3150 <image resource="main_button" />
3151 <action function="page">filemanagerlist</action>
3152 </object>
3153
3154 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003155 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003156 <placement x="%col1_x%" y="%row3_y%" />
3157 <font resource="font" color="%button_text_color%" />
3158 <text>Terminal Command</text>
3159 <image resource="main_button" />
3160 <action function="page">terminalfolder</action>
3161 </object>
3162
3163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003164 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003165 <placement x="%col2_x%" y="%row3_y%" />
3166 <font resource="font" color="%button_text_color%" />
3167 <text>Reload Theme</text>
3168 <image resource="main_button" />
3169 <action function="reload"></action>
3170 </object>
3171
3172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003173 <highlight color="%highlight_color%" />
Dees_Troybbb21012012-09-20 15:59:46 -04003174 <placement x="%col1_x%" y="%row4_y%" />
3175 <font resource="font" color="%button_text_color%" />
3176 <text>ADB Sideload</text>
3177 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003178 <action function="page">sideload</action>
Dees_Troybbb21012012-09-20 15:59:46 -04003179 </object>
3180
3181 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003182 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003183 <condition var1="tw_show_dumlock" var2="1" />
3184 <placement x="%col2_x%" y="%row4_y%" />
3185 <font resource="font" color="%button_text_color%" />
3186 <text>HTC Dumlock</text>
3187 <image resource="main_button" />
3188 <action function="page">htcdumlock</action>
3189 </object>
3190
3191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003192 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003193 <condition var1="tw_has_injecttwrp" var2="1" />
3194 <placement x="%col2_x%" y="%row4_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>Re-Inject TWRP</text>
3197 <image resource="main_button" />
3198 <actions>
3199 <action function="set">tw_back=advanced</action>
3200 <action function="set">tw_action=reinjecttwrp</action>
3201 <action function="set">tw_text1=Re-Inject TWRP?</action>
3202 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3203 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3204 <action function="set">tw_slider_text=Swipe to Confirm</action>
3205 <action function="page">confirm_action</action>
3206 </actions>
3207 </object>
3208
3209 <object type="action">
3210 <touch key="home" />
3211 <action function="page">main</action>
3212 </object>
3213
3214 <object type="action">
3215 <touch key="back" />
3216 <action function="page">main</action>
3217 </object>
3218
3219 <object type="template" name="footer" />
3220 </page>
3221
3222 <page name="partsdcard">
3223 <object type="template" name="header" />
3224
3225 <object type="text" color="%text_color%">
3226 <font resource="font" />
3227 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3228 <text>Partition SD Card</text>
3229 </object>
3230
3231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%col1_x%" y="%row1_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text></text>
3236 <image resource="minus_button" />
3237 <action function="addsubtract">tw_sdext_size-128</action>
3238 </object>
3239
3240 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003241 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003242 <placement x="%sd_plus_x%" y="%row1_y%" />
3243 <font resource="font" color="%button_text_color%" />
3244 <text></text>
3245 <image resource="plus_button" />
3246 <action function="addsubtract">tw_sdext_size+128</action>
3247 </object>
3248
3249 <object type="text" color="%text_color%">
3250 <font resource="font" />
3251 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3252 <text>EXT Size: %tw_sdext_size%</text>
3253 </object>
3254
3255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003257 <placement x="%col1_x%" y="%sdswap_button_y%" />
3258 <font resource="font" color="%button_text_color%" />
3259 <text></text>
3260 <image resource="minus_button" />
3261 <action function="addsubtract">tw_swap_size-32</action>
3262 </object>
3263
3264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003266 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text></text>
3269 <image resource="plus_button" />
3270 <action function="addsubtract">tw_swap_size+32</action>
3271 </object>
3272
3273 <object type="text" color="%text_color%">
3274 <font resource="font" />
3275 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3276 <text>Swap Size: %tw_swap_size%</text>
3277 </object>
3278
3279 <object type="text" color="%text_color%">
3280 <font resource="font" />
3281 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3282 <text>File system: %tw_sdpart_file_system%</text>
3283 </object>
3284
3285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003287 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3288 <font resource="font" color="%button_text_color%" />
3289 <text>EXT3</text>
3290 <image resource="main_button" />
3291 <action function="set">tw_sdpart_file_system=ext3</action>
3292 </object>
3293
3294 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003295 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003296 <condition var1="tw_sdext_disable_ext4" var2="0" />
3297 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3298 <font resource="font" color="%button_text_color%" />
3299 <text>EXT4</text>
3300 <image resource="main_button" />
3301 <action function="set">tw_sdpart_file_system=ext4</action>
3302 </object>
3303
3304 <object type="text" color="%text_color%">
3305 <font resource="font" />
3306 <placement x="%col1_x%" y="%row12_text_y%" />
3307 <text>You will lose all files on your SD card!</text>
3308 </object>
3309
3310 <object type="text" color="%text_color%">
3311 <font resource="font" />
3312 <placement x="%col1_x%" y="%row13_text_y%" />
3313 <text>This action cannot be undone!</text>
3314 </object>
3315
3316 <object type="slider">
3317 <placement x="%slider_x%" y="%slider_y%" />
3318 <resource base="slider" used="slider-used" touch="slider-touch" />
3319 <action function="page">partsdcardaction</action>
3320 <actions>
3321 <action function="set">tw_back=partsdcard</action>
3322 <action function="set">tw_action=partitionsd</action>
3323 <action function="set">tw_has_action2=1</action>
3324 <action function="set">tw_action2=set</action>
3325 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3326 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3327 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003328 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003329 <action function="page">action_page</action>
3330 </actions>
3331 </object>
3332
3333 <object type="text" color="%text_color%">
3334 <font resource="font" />
3335 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3336 <text>Swipe to Partition</text>
3337 </object>
3338
3339 <object type="action">
3340 <touch key="home" />
3341 <action function="page">main</action>
3342 </object>
3343
3344 <object type="action">
3345 <touch key="back" />
3346 <action function="page">advanced</action>
3347 </object>
3348
3349 <object type="template" name="footer" />
3350 </page>
3351
3352 <page name="htcdumlock">
3353 <object type="template" name="header" />
3354
3355 <object type="text" color="%text_color%">
3356 <font resource="font" />
3357 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3358 <text>HTC Dumlock</text>
3359 </object>
3360
3361 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003362 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003363 <condition var1="tw_show_dumlock" var2="1" />
3364 <placement x="%col1_x%" y="%row1_y%" />
3365 <font resource="font" color="%button_text_color%" />
3366 <text>Restore Original Boot</text>
3367 <image resource="main_button" />
3368 <actions>
3369 <action function="set">tw_back=htcdumlock</action>
3370 <action function="set">tw_action=htcdumlockrestoreboot</action>
3371 <action function="set">tw_text1=Restore original boot image?</action>
3372 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3373 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3374 <action function="set">tw_slider_text=Swipe to Confirm</action>
3375 <action function="page">confirm_action</action>
3376 </actions>
3377 </object>
3378
3379 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003380 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003381 <condition var1="tw_show_dumlock" var2="1" />
3382 <placement x="%col2_x%" y="%row1_y%" />
3383 <font resource="font" color="%button_text_color%" />
3384 <text>Reflash Recovery</text>
3385 <image resource="main_button" />
3386 <actions>
3387 <action function="set">tw_back=htcdumlock</action>
3388 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3389 <action function="set">tw_text1=Reflash recovery to boot?</action>
3390 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3391 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3392 <action function="set">tw_slider_text=Swipe to Confirm</action>
3393 <action function="page">confirm_action</action>
3394 </actions>
3395 </object>
3396
3397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003399 <condition var1="tw_show_dumlock" var2="1" />
3400 <placement x="%col1_x%" y="%row2_y%" />
3401 <font resource="font" color="%button_text_color%" />
3402 <text>Install HTC Dumlock</text>
3403 <image resource="main_button" />
3404 <actions>
3405 <action function="set">tw_back=htcdumlock</action>
3406 <action function="set">tw_action=installhtcdumlock</action>
3407 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3408 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3409 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3410 <action function="set">tw_slider_text=Swipe to Confirm</action>
3411 <action function="page">confirm_action</action>
3412 </actions>
3413 </object>
3414
3415 <object type="action">
3416 <touch key="home" />
3417 <action function="page">main</action>
3418 </object>
3419
3420 <object type="action">
3421 <touch key="back" />
3422 <action function="page">advanced</action>
3423 </object>
3424
3425 <object type="template" name="footer" />
3426 </page>
3427
3428 <page name="lock">
3429 <background color="#000000A0" />
3430
3431 <object type="image">
3432 <image resource="unlock-icon" />
3433 <placement x="%lock_x%" y="%lock_y%" />
3434 </object>
3435
3436 <object type="slider">
3437 <placement x="%slider_x%" y="%slider_y%" />
3438 <resource base="slider" used="slider-used" touch="slider-touch" />
3439 <action function="overlay"></action>
3440 </object>
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3445 <text>Swipe to Unlock</text>
3446 </object>
3447 </page>
3448
3449 <page name="filemanagerlist">
3450 <object type="template" name="header" />
3451
3452 <object type="text" color="%text_color%">
3453 <font resource="font" />
3454 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3455 <text>File Manager: Select a File or Folder</text>
3456 </object>
3457
3458 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003459 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003460 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3461 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003462 <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 -04003463 <text>%tw_file_location1%</text>
3464 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3465 <sort name="tw_gui_sort_order" />
3466 <icon folder="folder_icon" file="file_icon" />
3467 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003468 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003469 <folders="1" files="1" />
3470 <path name="tw_file_location1" default="/" />
3471 <data name="tw_filename1" />
3472 <selection name="tw_selection1" />
3473 </object>
3474
3475 <object type="template" name="sort_options" />
3476
3477 <object type="action">
3478 <actions>
3479 <action function="set">tw_fm_type=File</action>
3480 <action function="set">tw_fm_isfolder=0</action>
3481 </actions>
3482 </object>
3483
3484 <object type="action">
3485 <touch key="home" />
3486 <action function="page">main</action>
3487 </object>
3488
3489 <object type="action">
3490 <touch key="back" />
3491 <action function="page">advanced</action>
3492 </object>
3493
3494 <object type="action">
3495 <condition var1="tw_filename1" op="modified" />
3496 <actions>
3497 <action function="page">filemanageroptions</action>
3498 </actions>
3499 </object>
3500
3501 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003502 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003503 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3504 <font resource="font" color="%button_text_color%" />
3505 <text>Select</text>
3506 <image resource="medium_button" />
3507 <actions>
3508 <action function="set">tw_filename1=tw_file_location1</action>
3509 <action function="set">tw_fm_isfolder=1</action>
3510 <action function="set">tw_fm_type=Folder</action>
3511 <action function="page">filemanageroptions</action>
3512 </actions>
3513 </object>
3514
3515 <object type="template" name="footer" />
3516 </page>
3517
3518 <page name="filemanageroptions">
3519 <object type="template" name="header" />
3520
3521 <object type="text" color="%text_color%">
3522 <font resource="font" />
3523 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3524 <text>%tw_fm_type% Selected:</text>
3525 </object>
3526
3527 <object type="text" color="%text_color%">
3528 <font resource="font" />
3529 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3530 <text>%tw_filename1%</text>
3531 </object>
3532
3533 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003534 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003535 <condition var1="tw_fm_isfolder" var2="0" />
3536 <placement x="%col1_x%" y="%row2_y%" />
3537 <font resource="font" color="%button_text_color%" />
3538 <text>Copy File</text>
3539 <image resource="main_button" />
3540 <actions>
3541 <action function="set">tw_filemanager_command=cp</action>
3542 <action function="set">tw_fm_text1=Copying</action>
3543 <action function="page">choosedestinationfolder</action>
3544 </actions>
3545 </object>
3546
3547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003548 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003549 <condition var1="tw_fm_isfolder" var2="1" />
3550 <placement x="%col1_x%" y="%row2_y%" />
3551 <font resource="font" color="%button_text_color%" />
3552 <text>Copy Folder</text>
3553 <image resource="main_button" />
3554 <actions>
3555 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3556 <action function="set">tw_fm_text1=Copying</action>
3557 <action function="page">choosedestinationfolder</action>
3558 </actions>
3559 </object>
3560
3561 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003562 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003563 <placement x="%col2_x%" y="%row2_y%" />
3564 <font resource="font" color="%button_text_color%" />
3565 <text>Move</text>
3566 <image resource="main_button" />
3567 <actions>
3568 <action function="set">tw_filemanager_command=mv</action>
3569 <action function="set">tw_fm_text1=Moving</action>
3570 <action function="page">choosedestinationfolder</action>
3571 </actions>
3572 </object>
3573
3574 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003575 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003576 <placement x="%col1_x%" y="%row3_y%" />
3577 <font resource="font" color="%button_text_color%" />
3578 <text>chmod 755</text>
3579 <image resource="main_button" />
3580 <actions>
3581 <action function="set">tw_filemanager_command=chmod 755</action>
3582 <action function="set">tw_fm_text1=chmod 755</action>
3583 <action function="set">tw_fm_text2=</action>
3584 <action function="set">tw_fm_text3=</action>
3585 <action function="set">tw_include_text3=0</action>
3586 <action function="set">tw_back=filemanageroptions</action>
3587 <action function="page">filemanagerconfirm</action>
3588 </actions>
3589 </object>
3590
3591 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003592 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003593 <placement x="%col2_x%" y="%row3_y%" />
3594 <font resource="font" color="%button_text_color%" />
3595 <text>chmod</text>
3596 <image resource="main_button" />
3597 <actions>
3598 <action function="set">tw_filemanager_rename=0000</action>
3599 <action function="set">tw_fm_text2=</action>
3600 <action function="set">tw_fm_text3=</action>
3601 <action function="set">tw_include_text3=0</action>
3602 <action function="set">tw_back=filemanageroptions</action>
3603 <action function="page">filemanagerchmod</action>
3604 </actions>
3605 </object>
3606
3607 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003608 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003609 <placement x="%col1_x%" y="%row4_y%" />
3610 <font resource="font" color="%button_text_color%" />
3611 <text>Delete</text>
3612 <image resource="main_button" />
3613 <actions>
3614 <action function="set">tw_filemanager_command=rm -rf</action>
3615 <action function="set">tw_fm_text1=Deleting</action>
3616 <action function="set">tw_fm_text2=</action>
3617 <action function="set">tw_fm_text3=</action>
3618 <action function="set">tw_include_text3=0</action>
3619 <action function="set">tw_back=filemanageroptions</action>
3620 <action function="page">filemanagerconfirm</action>
3621 </actions>
3622 </object>
3623
3624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003626 <condition var1="tw_fm_isfolder" var2="0" />
3627 <placement x="%col2_x%" y="%row4_y%" />
3628 <font resource="font" color="%button_text_color%" />
3629 <text>Rename File</text>
3630 <image resource="main_button" />
3631 <actions>
3632 <action function="set">tw_filemanager_rename=tw_selection1</action>
3633 <action function="set">tw_fm_text1=Renaming</action>
3634 <action function="set">tw_filemanager_command=mv</action>
3635 <action function="page">filemanagerrenamefile</action>
3636 </actions>
3637 </object>
3638
3639 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003640 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003641 <condition var1="tw_fm_isfolder" var2="1" />
3642 <placement x="%col2_x%" y="%row4_y%" />
3643 <font resource="font" color="%button_text_color%" />
3644 <text>Rename Folder</text>
3645 <image resource="main_button" />
3646 <actions>
3647 <action function="set">tw_filemanager_rename=tw_selection1</action>
3648 <action function="set">tw_fm_text1=Renaming</action>
3649 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3650 <action function="page">filemanagerrenamefolder</action>
3651 </actions>
3652 </object>
3653
3654 <object type="action">
3655 <touch key="home" />
3656 <action function="page">main</action>
3657 </object>
3658
3659 <object type="action">
3660 <touch key="back" />
3661 <action function="page">filemanagerlist</action>
3662 </object>
3663
3664 <object type="template" name="footer" />
3665 </page>
3666
3667 <page name="choosedestinationfolder">
3668 <object type="template" name="header" />
3669
3670 <object type="text" color="%text_color%">
3671 <font resource="font" />
3672 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3673 <text>Browse to Destination Folder & Press Select</text>
3674 </object>
3675
3676 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003677 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003678 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3679 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003680 <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 -04003681 <text>%tw_file_location2%</text>
3682 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3683 <sort name="tw_gui_sort_order" />
3684 <icon folder="folder_icon" file="file_icon" />
3685 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003686 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003687 <filter folders="1" files="0" />
3688 <path name="tw_file_location2" default="/" />
3689 <data name="tw_filename2" />
3690 <selection name="tw_selection2" />
3691 </object>
3692
3693 <object type="template" name="sort_options" />
3694
3695 <object type="action">
3696 <touch key="home" />
3697 <action function="page">main</action>
3698 </object>
3699
3700 <object type="action">
3701 <touch key="back" />
3702 <action function="page">filemanageroptions</action>
3703 </object>
3704
3705 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003706 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003707 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3708 <font resource="font" color="%button_text_color%" />
3709 <text>Select</text>
3710 <image resource="medium_button" />
3711 <actions>
3712 <action function="set">tw_fm_text2=to</action>
3713 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3714 <action function="set">tw_include_text3=1</action>
3715 <action function="set">tw_back=filemanageroptions</action>
3716 <action function="page">filemanagerconfirm</action>
3717 </actions>
3718 </object>
3719
3720 <object type="template" name="footer" />
3721 </page>
3722
3723 <page name="filemanagerrenamefile">
3724 <object type="template" name="header" />
3725
3726 <object type="text" color="%text_color%">
3727 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3728 <font resource="font" />
3729 <text>Please Enter a New %tw_fm_type% Name</text>
3730 </object>
3731
3732 <object type="input">
3733 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3734 <background color="%input_background_color%" />
3735 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3736 <font resource="font" color="%text_color%" />
3737 <text>%tw_filemanager_rename%</text>
3738 <data name="tw_filemanager_rename" />
3739 <restrict minlen="1" maxlen="128" />
3740 <actions>
3741 <action function="set">tw_fm_text2=to</action>
3742 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3743 <action function="set">tw_include_text3=1</action>
3744 <action function="set">tw_back=filemanageroptions</action>
3745 <action function="page">filemanagerconfirm</action>
3746 </actions>
3747 </object>
3748
3749 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003750 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003751 <placement x="%col_center_x%" y="%row2_y%" />
3752 <font resource="font" color="%button_text_color%" />
3753 <text>Cancel</text>
3754 <image resource="main_button" />
3755 <action function="page">filemanageroptions</action>
3756 </object>
3757
3758 <object type="template" name="keyboardtemplate" />
3759
3760 <object type="action">
3761 <touch key="home" />
3762 <action function="page">main</action>
3763 </object>
3764
3765 <object type="action">
3766 <touch key="back" />
3767 <action function="page">filemanageroptions</action>
3768 </object>
3769
3770 <object type="template" name="footer" />
3771 </page>
3772
3773 <page name="filemanagerrenamefolder">
3774 <object type="template" name="header" />
3775
3776 <object type="text" color="%text_color%">
3777 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3778 <font resource="font" />
3779 <text>Please Enter a New %tw_fm_type% Name</text>
3780 </object>
3781
3782 <object type="input">
3783 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3784 <background color="%input_background_color%" />
3785 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3786 <font resource="font" color="%text_color%" />
3787 <text>%tw_filemanager_rename%</text>
3788 <data name="tw_filemanager_rename" />
3789 <restrict minlen="1" maxlen="128" />
3790 <actions>
3791 <action function="set">tw_fm_text2=to</action>
3792 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3793 <action function="set">tw_include_text3=1</action>
3794 <action function="set">tw_back=filemanageroptions</action>
3795 <action function="page">filemanagerconfirm</action>
3796 </actions>
3797 </object>
3798
3799 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003800 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003801 <placement x="%col_center_x%" y="%row2_y%" />
3802 <font resource="font" color="%button_text_color%" />
3803 <text>Cancel</text>
3804 <image resource="main_button" />
3805 <action function="page">filemanageroptions</action>
3806 </object>
3807
3808 <object type="template" name="keyboardtemplate" />
3809
3810 <object type="action">
3811 <touch key="home" />
3812 <action function="page">main</action>
3813 </object>
3814
3815 <object type="action">
3816 <touch key="back" />
3817 <action function="page">filemanageroptions</action>
3818 </object>
3819
3820 <object type="template" name="footer" />
3821 </page>
3822
3823 <page name="filemanagerchmod">
3824 <object type="template" name="header" />
3825
3826 <object type="text" color="%text_color%">
3827 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3828 <font resource="font" />
3829 <text>Please Enter New Permissions</text>
3830 </object>
3831
3832 <object type="input">
3833 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3834 <background color="%input_background_color%" />
3835 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3836 <font resource="font" color="%text_color%" />
3837 <text>%tw_filemanager_rename%</text>
3838 <data name="tw_filemanager_rename" />
3839 <restrict minlen="3" maxlen="4" allow="0123456789" />
3840 <actions>
3841 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3842 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3843 <action function="set">tw_back=filemanageroptions</action>
3844 <action function="page">filemanagerconfirm</action>
3845 </actions>
3846 </object>
3847
3848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003850 <placement x="%col_center_x%" y="%row2_y%" />
3851 <font resource="font" color="%button_text_color%" />
3852 <text>Cancel</text>
3853 <image resource="main_button" />
3854 <action function="page">filemanageroptions</action>
3855 </object>
3856
3857 <object type="template" name="keyboardtemplate" />
3858
3859 <object type="action">
3860 <touch key="home" />
3861 <action function="page">main</action>
3862 </object>
3863
3864 <object type="action">
3865 <touch key="back" />
3866 <action function="page">filemanageroptions</action>
3867 </object>
3868
3869 <object type="template" name="footer" />
3870 </page>
3871
3872 <page name="filemanagerconfirm">
3873 <object type="template" name="header" />
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3878 <text>%tw_fm_text1%</text>
3879 </object>
3880
3881 <object type="text" color="%text_color%">
3882 <font resource="font" />
3883 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3884 <text>%tw_filename1%</text>
3885 </object>
3886
3887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3890 <text>%tw_fm_text2%</text>
3891 </object>
3892
3893 <object type="text" color="%text_color%">
3894 <font resource="font" />
3895 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3896 <text>%tw_fm_text3%</text>
3897 </object>
3898
3899 <object type="text" color="%text_color%">
3900 <font resource="font" />
3901 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3902 <text>Press back button to cancel.</text>
3903 </object>
3904
3905 <object type="slider">
3906 <placement x="%slider_x%" y="%slider_y%" />
3907 <resource base="slider" used="slider-used" touch="slider-touch" />
3908 <action function="page">filemanageracction</action>
3909 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003910
Dees_Troy51a0e822012-09-05 15:24:24 -04003911 <object type="text" color="%text_color%">
3912 <font resource="font" />
3913 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3914 <text>Swipe to Confirm</text>
3915 </object>
3916
3917 <object type="action">
3918 <touch key="back" />
3919 <action function="page">%tw_back%</action>
3920 </object>
3921
3922 <object type="action">
3923 <touch key="home" />
3924 <action function="page">main</action>
3925 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003926
Dees_Troy51a0e822012-09-05 15:24:24 -04003927 <object type="template" name="footer" />
3928 </page>
3929
3930 <page name="filemanageracction">
3931 <object type="template" name="header" />
3932
3933 <object type="text" color="%text_color%">
3934
3935 <font resource="font" />
3936 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3937 <text>%tw_fm_text1%</text>
3938 </object>
3939
3940 <object type="template" name="action_page_console" />
3941
3942 <object type="template" name="progress_bar" />
3943
3944 <object type="action">
3945 <conditions>
3946 <condition var1="tw_operation_state" var2="1" />
3947 <condition var1="tw_operation_status" var2="0" />
3948 </conditions>
3949 <actions>
3950 <action function="set">tw_back=filemanagerlist</action>
3951 <action function="set">tw_complete_text1=File Operation Complete</action>
3952 <action function="page">action_complete</action>
3953 </actions>
3954 </object>
3955
3956 <object type="action">
3957 <conditions>
3958 <condition var1="tw_operation_state" var2="1" />
3959 <condition var1="tw_operation_status" op="!=" var2="0" />
3960 </conditions>
3961 <actions>
3962 <action function="set">tw_complete_text1=File Operation Complete</action>
3963 <action function="page">action_complete</action>
3964 </actions>
3965 </object>
3966
3967 <object type="action">
3968 <condition var1="tw_include_text3" var2="0" />
3969 <actions>
3970 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3971 </actions>
3972 </object>
3973
3974 <object type="action">
3975 <condition var1="tw_include_text3" var2="1" />
3976 <actions>
3977 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3978 </actions>
3979 </object>
3980 </page>
3981
3982 <page name="decrypt">
3983 <object type="template" name="header" />
3984
3985 <object type="text" color="%text_color%">
3986 <font resource="font" />
3987 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3988 <text>Please Enter Your Password</text>
3989 </object>
3990
3991 <object type="input">
3992 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3993 <background color="%input_background_color%" />
3994 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3995 <font resource="font" color="%text_color%" />
3996 <text>%tw_crypto_display%</text>
3997 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3998 <restrict minlen="1" maxlen="254" />
3999 <actions>
4000 <action function="page">trydecrypt</action>
4001 </actions>
4002 </object>
4003
4004 <object type="text" color="%text_fail_color%">
4005 <condition var1="tw_password_fail" var2="1" />
4006 <font resource="font" />
4007 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
4008 <text>Password Failed, Please Try Again</text>
4009 </object>
4010
4011 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004012 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004013 <placement x="%col_center_x%" y="%row2_y%" />
4014 <font resource="font" color="%button_text_color%" />
4015 <text>Cancel</text>
4016 <image resource="main_button" />
4017 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004018 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04004019 <action function="page">main</action>
4020 </actions>
4021 </object>
4022
4023 <object type="template" name="keyboardtemplate" />
4024
Dees_Troy51a0e822012-09-05 15:24:24 -04004025 <object type="template" name="footer" />
4026 </page>
4027
4028 <page name="trydecrypt">
4029 <object type="template" name="header" />
4030
4031 <object type="text" color="%text_color%">
4032 <font resource="font" />
4033 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4034 <text>Trying Decryption with Your Password</text>
4035 </object>
4036
4037 <object type="template" name="action_page_console" />
4038
4039 <object type="template" name="progress_bar" />
4040
4041 <object type="action">
4042 <action function="decrypt"></action>
4043 </object>
4044
4045 <object type="action">
4046 <conditions>
4047 <condition var1="tw_operation_state" var2="1" />
4048 <condition var1="tw_operation_status" op="!=" var2="0" />
4049 </conditions>
4050 <actions>
4051 <action function="set">tw_password_fail=1</action>
4052 <action function="page">decrypt</action>
4053 </actions>
4054 </object>
4055
4056 <object type="action">
4057 <conditions>
4058 <condition var1="tw_operation_state" var2="1" />
4059 <condition var1="tw_operation_status" op="=" var2="0" />
4060 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004061 <actions>
4062 <action function="set">tw_page_done=1</action>
4063 <action function="page">main</action>
4064 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004065 </object>
4066 </page>
4067
4068 <page name="terminalfolder">
4069 <object type="template" name="header" />
4070
4071 <object type="text" color="%text_color%">
4072 <font resource="font" />
4073 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4074 <text>Browse to Starting Folder</text>
4075 </object>
4076
4077 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004078 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004079 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4080 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004081 <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 -04004082 <text>%tw_terminal_location%</text>
4083 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4084 <sort name="tw_gui_sort_order" />
4085 <icon folder="folder_icon" file="file_icon" />
4086 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004087 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004088 <filter folders="1" files="0" />
4089 <path name="tw_terminal_location" default="/" />
4090 <data name="tw_terminal" />
4091 <selection name="tw_terminal_selection" />
4092 </object>
4093
4094 <object type="template" name="sort_options" />
4095
4096 <object type="action">
4097 <touch key="home" />
4098 <action function="page">main</action>
4099 </object>
4100
4101 <object type="action">
4102 <touch key="back" />
4103 <action function="page">advanced</action>
4104 </object>
4105
4106 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004107 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004108 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4109 <font resource="font" color="%button_text_color%" />
4110 <text>Select</text>
4111 <image resource="medium_button" />
4112 <actions>
4113 <action function="page">terminalcommand</action>
4114 </actions>
4115 </object>
4116
4117 <object type="template" name="footer" />
4118 </page>
4119
4120 <page name="terminalcommand">
4121 <object type="template" name="header" />
4122
4123 <object type="console">
4124 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4125 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4126 <font resource="fixed" />
4127 </object>
4128
4129 <object type="text" color="%text_color%">
4130 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4131 <font resource="font" />
4132 <text>Starting Path: %tw_terminal_location%</text>
4133 </object>
4134
4135 <object type="input">
4136 <condition var1="tw_terminal_state" var2="0" />
4137 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4138 <background color="%input_background_color%" />
4139 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4140 <font resource="font" color="%text_color%" />
4141 <text>%tw_terminal_command%</text>
4142 <data name="tw_terminal_command" />
4143 <restrict minlen="1" />
4144 <action function="terminalcommand">%tw_terminal_command%</action>
4145 </object>
4146
4147 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004148 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004149 <condition var1="tw_terminal_state" var2="1" />
4150 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4151 <font resource="font" color="%button_text_color%" />
4152 <text>KILL</text>
4153 <image resource="medium_button" />
4154 <action function="killterminal"></action>
4155 </object>
4156
4157 <object type="template" name="keyboardtemplate" />
4158
4159 <object type="action">
4160 <touch key="home" />
4161 <action function="page">main</action>
4162 </object>
4163
4164 <object type="action">
4165 <touch key="back" />
4166 <action function="page">terminalfolder</action>
4167 </object>
4168 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004169
4170 <page name="sideload">
4171 <object type="template" name="header" />
4172
4173 <object type="text" color="%text_color%">
4174 <font resource="font" />
4175 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4176 <text>ADB Sideload</text>
4177 </object>
4178
4179 <object type="checkbox">
4180 <placement x="%col1_x%" y="%row2_text_y%" />
4181 <font resource="font" color="%text_color%" />
4182 <text>Wipe Dalvik Cache.</text>
4183 <data variable="tw_wipe_dalvik" />
4184 <image checked="checkbox_true" unchecked="checkbox_false" />
4185 </object>
4186
4187 <object type="checkbox">
4188 <placement x="%col1_x%" y="%row3_text_y%" />
4189 <font resource="font" color="%text_color%" />
4190 <text>Wipe Cache.</text>
4191 <data variable="tw_wipe_cache" />
4192 <image checked="checkbox_true" unchecked="checkbox_false" />
4193 </object>
4194
4195 <object type="slider">
4196 <placement x="%slider_x%" y="%slider_y%" />
4197 <resource base="slider" used="slider-used" touch="slider-touch" />
4198 <actions>
4199 <action function="set">tw_back=advanced</action>
4200 <action function="set">tw_action=adbsideload</action>
4201 <action function="set">tw_action_text1=ADB Sideload</action>
4202 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4203 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4204 <action function="set">tw_has_cancel=1</action>
4205 <action function="set">tw_show_reboot=1</action>
4206 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4207 <action function="page">action_page</action>
4208 </actions>
4209 </object>
4210
4211 <object type="text" color="%text_color%">
4212 <font resource="font" />
4213 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4214 <text>Swipe to Start Sideload</text>
4215 </object>
4216
4217 <object type="action">
4218 <touch key="home" />
4219 <action function="page">main</action>
4220 </object>
4221
4222 <object type="action">
4223 <touch key="back" />
4224 <action function="page">advanced</action>
4225 </object>
4226
4227 <object type="template" name="footer" />
4228 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004229
4230 <page name="installsu">
4231 <object type="template" name="header" />
4232
4233 <object type="text" color="%text_color%">
4234 <font resource="font" />
4235 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4236 <text>Install SuperSU?</text>
4237 </object>
4238
4239 <object type="text" color="%text_color%">
4240 <font resource="font" />
4241 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4242 <text>Your device does not appear to be rooted.</text>
4243 </object>
4244
4245 <object type="text" color="%text_color%">
4246 <font resource="font" />
4247 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4248 <text>Install SuperSU now?</text>
4249 </object>
4250
4251 <object type="text" color="%text_color%">
4252 <font resource="font" />
4253 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4254 <text>This will root your device.</text>
4255 </object>
4256
4257 <object type="button">
4258 <highlight color="%highlight_color%" />
4259 <placement x="%col_center_x%" y="%row3_y%" />
4260 <font resource="font" color="%button_text_color%" />
4261 <text>Do Not Install</text>
4262 <image resource="main_button" />
4263 <action function="set">tw_page_done=1</action>
4264 </object>
4265
4266 <object type="slider">
4267 <placement x="%slider_x%" y="%slider_y%" />
4268 <resource base="slider" used="slider-used" touch="slider-touch" />
4269 <actions>
4270 <action function="set">tw_action=installsu</action>
4271 <action function="set">tw_action_text1=Installing SuperSU</action>
4272 <action function="set">tw_action_text2=</action>
4273 <action function="page">singleaction_page</action>
4274 </actions>
4275 </object>
4276
4277 <object type="text" color="%text_color%">
4278 <font resource="font" />
4279 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4280 <text>Swipe to Install</text>
4281 </object>
4282 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004283 </pages>
4284</recovery>