blob: 5026f40160fae07bb6ddd3303b3be85d6d90f91c [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="854" />
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" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -060099 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="820" />
102 <variable name="back_button_x" value="413" />
103 <variable name="back_button_y" value="820" />
104 <variable name="sort_asc_text_y" value="739" />
105 <variable name="sort_asc_button_y" value="739" />
106 <variable name="sort_desc_text_y" value="779" />
107 <variable name="sort_desc_button_y" value="779" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="240" />
110 <variable name="sort_col3_button_x" value="300" />
111 <variable name="input_width" value="460" />
112 <variable name="input_height" value="40" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="480" />
118 <variable name="console_foreground" value="#A0A0A0" />
Ethan Yonkerbf2cb1c2014-07-02 10:15:54 -0500119 <variable name="warning" value="#F8F8A0" />
120 <variable name="error" value="#FF4040" />
121 <variable name="highlight" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400122 <variable name="console_background" value="#303030" />
123 <variable name="console_scroll" value="#303030" />
124 <variable name="console_action_height" value="320" />
125 <variable name="console_install_height" value="440" />
126 <variable name="console_installdone_height" value="300" />
127 <variable name="fileselector_x" value="5" />
128 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500129 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400130 <variable name="fileselector_header_background" value="#202020" />
131 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
132 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
133 <variable name="fileselector_header_separatorheight" value="3" />
134 <variable name="fileselector_separatorcolor" value="#505050" />
135 <variable name="fileselector_separatorheight" value="2" />
136 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600137 <variable name="fileselector_highlight_color" value="#505050" />
138 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400139 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100140 <variable name="fastscroll_linecolor" value="#808080" />
141 <variable name="fastscroll_rectcolor" value="#808080" />
142 <variable name="fastscroll_w" value="40" />
143 <variable name="fastscroll_linew" value="2" />
144 <variable name="fastscroll_rectw" value="27" />
145 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_x" value="5" />
147 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600148 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400149 <variable name="listbox_background" value="#303030" />
150 <variable name="listbox_spacing" value="18" />
151 <variable name="sd_plus_x" value="280" />
152 <variable name="sdext_text_x" value="84" />
153 <variable name="sdext_text_y" value="150" />
154 <variable name="sdswap_button_y" value="185" />
155 <variable name="sdswap_text_x" value="84" />
156 <variable name="sdswap_text_y" value="195" />
157 <variable name="sdfilesystem_text_y" value="240" />
158 <variable name="sdfilesystem_button_y" value="280" />
159 <variable name="lock_x" value="40" />
160 <variable name="lock_y" value="200" />
161 <variable name="filemanager_select_x" value="365" />
162 <variable name="filemanager_select_y" value="744" />
163 <variable name="backup_name_y" value="350" />
164 <variable name="terminal_console_height" value="424" />
165 <variable name="terminal_text_y" value="444" />
166 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400167 <variable name="row_dst_text_y" value="440" />
168 <variable name="row_offset_text_y" value="480" />
169 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500170 <variable name="button_fill_color" value="#303030" />
171 <variable name="button_fill_full_width" value="455" />
172 <variable name="button_fill_main_width" value="225" />
173 <variable name="button_fill_main_height" value="135" />
174 <variable name="button_fill_half_height" value="67" />
175 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000176 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500177 <variable name="backup_button_row1" value="480" />
178 <variable name="backup_button_row2" value="520" />
179 <variable name="mount_list_height" value="380" />
180 <variable name="mount_storage_row" value="500" />
181 <variable name="storage_list_height" value="400" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -0500182 <variable name="wipe_list_height" value="460" />
183 <variable name="wipe_button_row1" value="600" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500184 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200185 <variable name="slidervalue_w" value="460" />
186 <variable name="slidervalue_line_clr" value="#FFFFFF" />
187 <variable name="slidervalue_slider_clr" value="#33B5E5" />
188 <variable name="slidervalue_lineh" value="1" />
189 <variable name="slidervalue_padding" value="13" />
190 <variable name="slidervalue_sliderw" value="7" />
191 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400192 </variables>
193
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100194 <mousecursor>
195 <placement w="15" h="15" />
196 <background color="#FFFF00FF" resource="cursor" />
197 <speed multiplier="1.5" />
198 </mousecursor>
199
Dees_Troy51a0e822012-09-05 15:24:24 -0400200 <templates>
201 <template name="header">
202 <background color="%backgroundcolor%" />
203
204 <object type="image">
205 <image resource="top_bar" />
206 <placement x="0" y="0" />
207 </object>
208
209 <object type="text" color="%text_color%">
210 <font resource="font" />
211 <placement x="100" y="10" />
212 <text>Team Win Recovery Project v%tw_version%</text>
213 </object>
214
215 <object type="text" color="%text_color%">
216 <condition var1="tw_simulate_actions" var2="1" />
217 <font resource="font" />
218 <placement x="100" y="40" />
219 <text>SIMULATING ACTIONS</text>
220 </object>
221
222 <object type="text" color="%text_color%">
223 <font resource="font" />
224 <placement x="100" y="70" />
225 <text>%tw_time%</text>
226 </object>
227
228 <object type="text" color="%text_color%">
229 <font resource="font" />
230 <placement x="250" y="70" />
231 <conditions>
232 <condition var1="tw_no_battery_percent" var2="0" />
233 <condition var1="tw_battery" op=">" var2="0" />
234 <condition var1="tw_battery" op="<" var2="101" />
235 </conditions>
236 <text>Battery: %tw_battery%</text>
237 </object>
238
239 <object type="button">
240 <placement x="%home_button_x%" y="%home_button_y%" />
241 <font resource="font" color="%button_text_color%" />
242 <text></text>
243 <image resource="home_icon" />
244 <condition var1="tw_busy" var2="0" />
245 <action function="key">home</action>
246 </object>
247
248 <object type="button">
249 <placement x="%back_button_x%" y="%back_button_y%" />
250 <font resource="font" color="%button_text_color%" />
251 <text></text>
252 <image resource="back_icon" />
253 <condition var1="tw_busy" var2="0" />
254 <action function="key">back</action>
255 </object>
256
257 <object type="action">
258 <touch key="power" />
259 <action function="overlay">lock</action>
260 </object>
261 </template>
262
263 <template name="progress_bar">
264 <object type="progressbar">
265 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
Matt Mowerfb1c4ff2014-04-16 13:43:36 -0500266 <resource empty="progress_empty" full="progress_full" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400267 <data name="ui_progress" />
268 </object>
269
270 <object type="animation">
271 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
272 <resource name="progress" />
273 <speed fps="15" render="2" />
274 <loop frame="1" />
275 </object>
276 </template>
277
278 <template name="action_page_console">
279 <object type="console">
280 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
281 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
282 <font resource="fixed" />
283 </object>
284 </template>
285
286 <template name="sort_options">
287 <object type="text" color="%text_color%">
288 <font resource="font" />
289 <placement x="%col1_x%" y="%sort_asc_text_y%" />
290 <text>Sort Ascending:</text>
291 </object>
292
293 <object type="button">
294 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000295 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400296 <text>Name</text>
297 <image resource="sort_button" />
298 <action function="set">tw_gui_sort_order=1</action>
299 </object>
300
301 <object type="button">
302 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000303 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400304 <text>Date</text>
305 <image resource="sort_button" />
306 <action function="set">tw_gui_sort_order=2</action>
307 </object>
308
309 <object type="button">
310 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000311 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400312 <text>Size</text>
313 <image resource="sort_button" />
314 <action function="set">tw_gui_sort_order=3</action>
315 </object>
316
317 <object type="text" color="%text_color%">
318 <font resource="font" />
319 <placement x="%col1_x%" y="%sort_desc_text_y%" />
320 <text>Sort Descending:</text>
321 </object>
322
323 <object type="button">
324 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000325 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400326 <text>Name</text>
327 <image resource="sort_button" />
328 <action function="set">tw_gui_sort_order=-1</action>
329 </object>
330
331 <object type="button">
332 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000333 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400334 <text>Date</text>
335 <image resource="sort_button" />
336 <action function="set">tw_gui_sort_order=-2</action>
337 </object>
338
339 <object type="button">
340 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000341 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400342 <text>Size</text>
343 <image resource="sort_button" />
344 <action function="set">tw_gui_sort_order=-3</action>
345 </object>
346 </template>
347
348 <template name="footer">
349 <object type="console">
350 <slideout resource="slideout" x="210" y="814" />
351 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
352 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
353 <font resource="fixed" />
354 </object>
355 </template>
356
357 <template name="keyboardtemplate">
358 <object type="keyboard">
359 <placement x="0" y="504" />
360 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600361 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600362 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400363 <layout1>
364 <keysize height="78" width="48" />
365 <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" />
366 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
367 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
368 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
369 </layout1>
370 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600371 <keysize height="78" width="48" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400372 <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" />
373 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
374 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
375 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
376 </layout2>
377 <layout3>
378 <keysize height="78" width="48" />
379 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
380 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
381 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
382 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
383 </layout3>
384 <layout4>
385 <keysize height="78" width="48" />
386 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
387 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
388 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
389 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
390 </layout4>
391 </object>
392 </template>
393 </templates>
394
395 <pages>
396 <page name="main">
397 <object type="action">
398 <actions>
399 <action function="set">tw_clear_destination=main2</action>
400 <action function="page">clear_vars</action>
401 </actions>
402 </object>
403 </page>
404
405 <page name="main2">
406 <object type="template" name="header" />
407
408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400410 <placement x="%col1_x%" y="%row1_y%" />
411 <font resource="font" color="%button_text_color%" />
412 <text>Install</text>
413 <image resource="main_button" />
414 <actions>
415 <action function="queueclear"></action>
416 <action function="page">install</action>
417 </actions>
418 </object>
419
420 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600421 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400422 <placement x="%col2_x%" y="%row1_y%" />
423 <font resource="font" color="%button_text_color%" />
424 <text>Wipe</text>
425 <image resource="main_button" />
426 <action function="page">wipe</action>
427 </object>
428
429 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600430 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400431 <placement x="%col1_x%" y="%row2_y%" />
432 <font resource="font" color="%button_text_color%" />
433 <text>Backup</text>
434 <image resource="main_button" />
435 <action function="page">backup</action>
436 </object>
437
438 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600439 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400440 <placement x="%col2_x%" y="%row2_y%" />
441 <font resource="font" color="%button_text_color%" />
442 <text>Restore</text>
443 <image resource="main_button" />
444 <action function="page">restore</action>
445 </object>
446
447 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600448 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400449 <placement x="%col1_x%" y="%row3_y%" />
450 <font resource="font" color="%button_text_color%" />
451 <text>Mount</text>
452 <image resource="main_button" />
453 <action function="page">mount</action>
454 </object>
455
456 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600457 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400458 <placement x="%col2_x%" y="%row3_y%" />
459 <font resource="font" color="%button_text_color%" />
460 <text>Settings</text>
461 <image resource="main_button" />
462 <action function="page">settings</action>
463 </object>
464
465
466 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600467 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400468 <placement x="%col1_x%" y="%row4_y%" />
469 <font resource="font" color="%button_text_color%" />
470 <text>Advanced</text>
471 <image resource="main_button" />
472 <action function="page">advanced</action>
473 </object>
474
475 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600476 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400477 <placement x="%col2_x%" y="%row4_y%" />
478 <font resource="font" color="%button_text_color%" />
479 <text>Reboot</text>
480 <image resource="main_button" />
481 <action function="page">reboot</action>
482 </object>
483
484 <object type="template" name="footer" />
485 </page>
486
487 <page name="install">
488 <object type="template" name="header" />
489
490 <object type="text" color="%text_color%">
491 <font resource="font" />
492 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
493 <text>Select Zip to Install</text>
494 </object>
495
496 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500497 <highlight color="%highlight_color%" />
498 <fill color="%button_fill_color%" />
499 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
500 <font resource="font" color="%button_text_color%" />
501 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
502 <actions>
503 <action function="set">tw_back=install</action>
504 <action function="page">selectstorage</action>
505 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 </object>
507
508 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600509 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500510 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400511 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100512 <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 -0400513 <text>%tw_zip_location%</text>
514 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
515 <sort name="tw_gui_sort_order" />
516 <icon folder="folder_icon" file="file_icon" />
517 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600518 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400519 <filter extn=".zip" folders="1" files="1" />
520 <path name="tw_zip_location" default="/sdcard" />
521 <data name="tw_filename" />
522 <selection name="tw_file" />
523 </object>
524
525 <object type="template" name="sort_options" />
526
527 <object type="action">
528 <condition var1="tw_filename" op="modified" />
529 <actions>
530 <action function="queuezip"></action>
531 <action function="page">flash_confirm</action>
532 </actions>
533 </object>
534
535 <object type="action">
536 <touch key="back" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="action">
541 <touch key="home" />
542 <action function="page">main</action>
543 </object>
544
545 <object type="template" name="footer" />
546 </page>
547
548 <page name="flash_confirm">
549 <object type="template" name="header" />
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
554 <text>This operation may install incompatible</text>
555 </object>
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
560 <text>software and render your device unusable.</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
566 <text>Folder:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
572 <text>%tw_zip_location%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
578 <text>File to flash:</text>
579 </object>
580
581 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400582 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400583 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
584 <text>%tw_file%</text>
585 </object>
586
587 <object type="text" color="%text_color%">
588 <font resource="font" />
589 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
590 <text>Press back to cancel adding this zip.</text>
591 </object>
592
593 <object type="checkbox">
594 <placement x="%col1_x%" y="%row8_text_y%" />
595 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400596 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <data variable="tw_signed_zip_verify" />
598 <image checked="checkbox_true" unchecked="checkbox_false" />
599 </object>
600
601 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <condition var1="tw_has_injecttwrp" var2="1" />
603 <placement x="%col1_x%" y="%row10_text_y%" />
604 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400605 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400606 <data variable="tw_inject_after_zip" />
607 <image checked="checkbox_true" unchecked="checkbox_false" />
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400612 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400613 <text>File %tw_zip_queue_count% of max of 10</text>
614 </object>
615
616 <object type="slider">
617 <placement x="%slider_x%" y="%slider_y%" placement="5" />
618 <resource base="slider" used="slider-used" touch="slider-touch" />
619 <action function="flash">flash_zip</action>
620 </object>
621
622 <object type="text" color="%text_color%">
623 <font resource="font" />
624 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
625 <text>Swipe to Confirm Flash</text>
626 </object>
627
628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400630 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
631 <placement x="%col1_x%" y="%row_queue_y%" />
632 <font resource="font" color="%button_text_color%" />
633 <text>Add More Zips</text>
634 <image resource="main_button" />
635 <action function="page">install</action>
636 </object>
637
638 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600639 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400640 <placement x="%col2_x%" y="%row_queue_y%" />
641 <font resource="font" color="%button_text_color%" />
642 <text>Clear Zip Queue</text>
643 <image resource="main_button" />
644 <actions>
645 <action function="queueclear"></action>
646 <action function="page">install</action>
647 </actions>
648 </object>
649
650 <object type="action">
651 <touch key="back" />
652 <actions>
653 <action function="cancelzip"></action>
654 <action function="page">install</action>
655 </actions>
656 </object>
657
658 <object type="action">
659 <touch key="home" />
660 <action function="page">main</action>
661 </object>
662
663 <object type="template" name="footer" />
664 </page>
665
666 <page name="flash_zip">
667 <object type="template" name="header" />
668
669 <object type="console">
670 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
671 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
672 <font resource="fixed" />
673 </object>
674
675 <object type="text" color="%text_color%">
676 <font resource="font" />
677 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
678 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
679 </object>
680
681 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400682 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400683 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
684 <text>%tw_filename%</text>
685 </object>
686
687 <object type="template" name="progress_bar" />
688
689 <object type="action">
690 <condition var1="tw_operation_state" var2="1" />
691 <action function="page">flash_done</action>
692 </object>
693 </page>
694
695 <page name="flash_done">
696 <object type="template" name="header" />
697
698 <object type="text" color="%text_color%">
699 <font resource="font" />
700 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
701 <text>Zip Install Complete</text>
702 </object>
703
704 <object type="console">
705 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
706 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
707 <font resource="fixed" />
708 </object>
709
710 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600711 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400712 <placement x="%col1_x%" y="%row4_y%" />
713 <font resource="font" color="%button_text_color%" />
714 <text>Wipe cache/dalvik</text>
715 <image resource="main_button" />
716 <actions>
717 <action function="set">tw_back=flash_done</action>
718 <action function="set">tw_action=wipe</action>
719 <action function="set">tw_action_param=/cache</action>
720 <action function="set">tw_has_action2=1</action>
721 <action function="set">tw_action2=wipe</action>
722 <action function="set">tw_action2_param=dalvik</action>
723 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
724 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
725 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
726 <action function="set">tw_slider_text=Swipe to Wipe</action>
727 <action function="page">confirm_action</action>
728 </actions>
729 </object>
730
731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <placement x="%col2_x%" y="%row4_y%" />
734 <font resource="font" color="%button_text_color%" />
735 <text>Reboot System</text>
736 <image resource="main_button" />
737 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400738 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400739 <action function="set">tw_action=reboot</action>
740 <action function="set">tw_action_param=system</action>
741 <action function="set">tw_has_action2=0</action>
742 <action function="set">tw_text1=No OS Installed! Are you</action>
743 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_text3=</action>
745 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400746 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400747 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400748 <action function="set">tw_complete_text1=Rebooting...</action>
749 <action function="set">tw_slider_text=Swipe to Reboot</action>
750 <action function="page">rebootcheck</action>
751 </actions>
752 </object>
753
754 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600755 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400756 <placement x="%col_center_x%" y="%row3_y%" />
757 <font resource="font" color="%button_text_color%" />
758 <text>Home</text>
759 <image resource="main_button" />
760 <actions>
761 <action function="set">tw_clear_destination=main2</action>
762 <action function="page">clear_vars</action>
763 </actions>
764 </object>
765
766 <object type="text" color="%text_fail_color%">
767 <condition var1="tw_operation_status" op="!=" var2="0" />
768 <font resource="font" />
769 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
770 <text>Failed</text>
771 </object>
772
773 <object type="text" color="%text_success_color%">
774 <condition var1="tw_operation_status" var2="0" />
775 <font resource="font" />
776 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
777 <text>Successful</text>
778 </object>
779
780 <object type="action">
781 <touch key="back" />
782 <actions>
783 <action function="set">tw_clear_destination=install</action>
784 <action function="page">clear_vars</action>
785 </actions>
786 </object>
787
788 <object type="action">
789 <touch key="home" />
790 <actions>
791 <action function="set">tw_clear_destination=main2</action>
792 <action function="page">clear_vars</action>
793 </actions>
794 </object>
795 </page>
796
797 <page name="clear_vars">
798 <object type="action">
799 <action function="set">tw_operation_state=0</action>
800 <action function="set">tw_text1=</action>
801 <action function="set">tw_text2=</action>
802 <action function="set">tw_text3=</action>
803 <action function="set">tw_text4=</action>
804 <action function="set">tw_action_text1=</action>
805 <action function="set">tw_action_text2=</action>
806 <action function="set">tw_action_param=</action>
807 <action function="set">tw_has_action2=0</action>
808 <action function="set">tw_action2=</action>
809 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400810 <action function="set">tw_has_cancel=0</action>
811 <action function="set">tw_cancel_action=</action>
812 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400813 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400814 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400815 <action function="page">%tw_clear_destination%</action>
816 </object>
817 </page>
818
819 <page name="confirm_action">
820 <object type="template" name="header" />
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
825 <text>%tw_text1%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
831 <text>%tw_text2%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
836 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
837 <text>%tw_text3%</text>
838 </object>
839
840 <object type="text" color="%text_color%">
841 <font resource="font" />
842 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
843 <text>%tw_text4%</text>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400848 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400849 <text>Press back button to cancel.</text>
850 </object>
851
852 <object type="slider">
853 <placement x="%slider_x%" y="%slider_y%" />
854 <resource base="slider" used="slider-used" touch="slider-touch" />
855 <action function="page">action_page</action>
856 </object>
857
858 <object type="text" color="%text_color%">
859 <font resource="font" />
860 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
861 <text>%tw_slider_text%</text>
862 </object>
863
864 <object type="action">
865 <touch key="back" />
866 <actions>
867 <action function="set">tw_clear_destination=%tw_back%</action>
868 <action function="page">clear_vars</action>
869 </actions>
870 </object>
871
872 <object type="action">
873 <touch key="home" />
874 <action function="page">main</action>
875 </object>
876
877 <object type="template" name="footer" />
878 </page>
879
880 <page name="action_page">
881 <object type="template" name="header" />
882
883 <object type="text" color="%text_color%">
884 <font resource="font" />
885 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
886 <text>%tw_action_text1%</text>
887 </object>
888
889 <object type="text" color="%text_color%">
890 <font resource="font" />
891 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
892 <text>%tw_action_text2%</text>
893 </object>
894
895 <object type="template" name="action_page_console" />
896
Dees_Troyb46a6842012-09-25 11:06:46 -0400897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600898 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400899 <condition var1="tw_has_cancel" var2="1" />
900 <placement x="%col_center_medium_x%" y="%row4_y%" />
901 <font resource="font" color="%button_text_color%" />
902 <text>Cancel</text>
903 <image resource="medium_button" />
904 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
905 </object>
906
Dees_Troy51a0e822012-09-05 15:24:24 -0400907 <object type="template" name="progress_bar" />
908
909 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400910 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400911 <actions>
912 <action function="page">action_complete</action>
913 </actions>
914 </object>
915
916 <object type="action">
917 <condition var1="tw_has_action2" var2="0" />
918 <actions>
919 <action function="%tw_action%">%tw_action_param%</action>
920 </actions>
921 </object>
922
923 <object type="action">
924 <condition var1="tw_has_action2" var2="1" />
925 <actions>
926 <action function="%tw_action%">%tw_action_param%</action>
927 <action function="%tw_action2%">%tw_action2_param%</action>
928 </actions>
929 </object>
930 </page>
931
Dees_Troy6ef66352013-02-21 08:26:57 -0600932 <page name="singleaction_page">
933 <object type="template" name="header" />
934
935 <object type="text" color="%text_color%">
936 <font resource="font" />
937 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
938 <text>%tw_action_text1%</text>
939 </object>
940
941 <object type="text" color="%text_color%">
942 <font resource="font" />
943 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
944 <text>%tw_action_text2%</text>
945 </object>
946
947 <object type="template" name="action_page_console" />
948
949 <object type="template" name="progress_bar" />
950
951 <object type="action">
952 <condition var1="tw_operation_state" var2="1" />
953 <actions>
954 <action function="set">tw_page_done=1</action>
955 </actions>
956 </object>
957
958 <object type="action">
959 <condition var1="tw_has_action2" var2="0" />
960 <actions>
961 <action function="%tw_action%">%tw_action_param%</action>
962 </actions>
963 </object>
964
965 <object type="action">
966 <condition var1="tw_has_action2" var2="1" />
967 <actions>
968 <action function="%tw_action%">%tw_action_param%</action>
969 <action function="%tw_action2%">%tw_action2_param%</action>
970 </actions>
971 </object>
972 </page>
973
Dees_Troy51a0e822012-09-05 15:24:24 -0400974 <page name="action_complete">
975 <object type="template" name="header" />
976
977 <object type="text" color="%text_color%">
978 <font resource="font" />
979 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
980 <text>%tw_complete_text1%</text>
981 </object>
982
983 <object type="text" color="%text_fail_color%">
984 <condition var1="tw_operation_status" op="!=" var2="0" />
985 <font resource="font" />
986 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
987 <text>Failed</text>
988 </object>
989
990 <object type="text" color="%text_success_color%">
991 <condition var1="tw_operation_status" var2="0" />
992 <font resource="font" />
993 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
994 <text>Successful</text>
995 </object>
996
997 <object type="template" name="action_page_console" />
998
999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Back</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_clear_destination=%tw_back%</action>
1008 <action function="page">clear_vars</action>
1009 </actions>
1010 </object>
1011
Dees_Troya3f81542012-10-08 10:58:53 -04001012 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001013 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001014 <condition var1="tw_show_reboot" var2="1" />
1015 <placement x="%col_center_x%" y="%row4_y%" />
1016 <font resource="font" color="%button_text_color%" />
1017 <text>Reboot System</text>
1018 <image resource="main_button" />
1019 <actions>
1020 <action function="set">tw_back=main2</action>
1021 <action function="set">tw_action=reboot</action>
1022 <action function="set">tw_action_param=system</action>
1023 <action function="set">tw_has_action2=0</action>
1024 <action function="set">tw_text1=No OS Installed! Are you</action>
1025 <action function="set">tw_text2=sure you wish to reboot?</action>
1026 <action function="set">tw_text3=</action>
1027 <action function="set">tw_text4=</action>
1028 <action function="set">tw_action_text1=Rebooting...</action>
1029 <action function="set">tw_action_text2=</action>
1030 <action function="set">tw_complete_text1=Rebooting...</action>
1031 <action function="set">tw_slider_text=Swipe to Reboot</action>
1032 <action function="page">rebootcheck</action>
1033 </actions>
1034 </object>
1035
Dees_Troy51a0e822012-09-05 15:24:24 -04001036 <object type="action">
1037 <touch key="home" />
1038 <actions>
1039 <action function="set">tw_clear_destination=main2</action>
1040 <action function="page">clear_vars</action>
1041 </actions>
1042 </object>
1043
1044 <object type="action">
1045 <touch key="back" />
1046 <actions>
1047 <action function="set">tw_clear_destination=%tw_back%</action>
1048 <action function="page">clear_vars</action>
1049 </actions>
1050 </object>
1051 </page>
1052
1053 <page name="filecheck">
1054 <object type="action">
1055 <action function="fileexists">%tw_filecheck%</action>
1056 </object>
1057
1058 <object type="action">
1059 <conditions>
1060 <condition var1="tw_operation_state" var2="1" />
1061 <condition var1="tw_operation_status" var2="0" />
1062 </conditions>
1063 <actions>
1064 <action function="set">tw_fileexists=1</action>
1065 <action function="page">%tw_existpage%</action>
1066 </actions>
1067 </object>
1068
1069 <object type="action">
1070 <conditions>
1071 <condition var1="tw_operation_state" var2="1" />
1072 <condition var1="tw_operation_status" var2="1" />
1073 </conditions>
1074 <actions>
1075 <action function="set">tw_fileexists=0</action>
1076 <action function="page">%tw_notexistpage%</action>
1077 </actions>
1078 </object>
1079 </page>
1080
1081 <page name="rebootcheck">
1082 <object type="action">
1083 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1084 <action function="reboot">%tw_action_param%</action>
1085 </object>
1086
1087 <object type="action">
1088 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1089 <action function="page">confirm_action</action>
1090 </object>
1091 </page>
1092
1093 <page name="wipe">
1094 <object type="template" name="header" />
1095
1096 <object type="text" color="%text_color%">
1097 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001098 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001099 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <font resource="font" />
1104 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1105 <text>Wipes Data, Cache, and Dalvik</text>
1106 </object>
1107
1108 <object type="text" color="%text_color%">
Matt Mowerbf4efa32014-04-14 23:25:26 -05001109 <conditions>
1110 <condition var1="tw_has_android_secure" var2="1" />
1111 <condition var1="fileexists" var2="/and-sec" />
1112 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001113 <font resource="font" />
1114 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1115 <text>.android_secure</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <condition var1="tw_has_data_media" var2="1" />
1120 <font resource="font" />
1121 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1122 <text>(not including internal storage)</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <condition var1="tw_has_sdext_partition" var2="1" />
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1129 <text>SD-EXT</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1135 <text>Most of the time this is</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1141 <text>the only wipe that you need.</text>
1142 </object>
1143
1144 <object type="text" color="%text_color%">
1145 <font resource="font" />
1146 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1147 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 </object>
1149
1150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001151 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001152 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 <image resource="main_button" />
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001156 <actions>
1157 <action function="set">partitionlisterror=0</action>
1158 <action function="page">advancedwipe</action>
1159 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 </object>
1161
1162 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 <conditions>
1164 <condition var1="tw_has_internal" var2="1" />
1165 <condition var1="tw_has_data_media" var2="1" />
1166 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001167 <highlight color="%highlight_color%" />
1168 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001169 <font resource="font" color="%button_text_color%" />
1170 <text>Format Data</text>
1171 <image resource="main_button" />
1172 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001174 </actions>
1175 </object>
1176
Dees_Troya13d74f2013-03-24 08:54:55 -05001177 <object type="slider">
1178 <placement x="%slider_x%" y="%slider_y%" />
1179 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001180 <actions>
1181 <action function="set">tw_back=wipe</action>
1182 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001183 <action function="set">tw_action_param=data</action>
1184 <action function="set">tw_action_text1=Factory Reset...</action>
1185 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1186 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001187 </actions>
1188 </object>
1189
Dees_Troya13d74f2013-03-24 08:54:55 -05001190 <object type="text" color="%text_color%">
1191 <font resource="font" />
1192 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1193 <text>Swipe to Factory Reset</text>
1194 </object>
1195
1196 <object type="action">
1197 <touch key="back" />
1198 <action function="page">main</action>
1199 </object>
1200
1201 <object type="action">
1202 <touch key="home" />
1203 <action function="page">main</action>
1204 </object>
1205
1206 <object type="template" name="footer" />
1207 </page>
1208
1209 <page name="advancedwipe">
1210 <object type="template" name="header" />
1211
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001212 <object type="action">
1213 <action function="set">tw_wipe_list=</action>
1214 </object>
1215
Dees_Troya13d74f2013-03-24 08:54:55 -05001216 <object type="text" color="%text_color%">
1217 <font resource="font" />
1218 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1219 <text>Wipe Menu</text>
1220 </object>
1221
1222 <object type="partitionlist">
1223 <highlight color="%fileselector_highlight_color%" />
1224 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1225 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1226 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1227 <text>Select Partitions to Wipe:</text>
1228 <icon selected="checkbox_true" unselected="checkbox_false" />
1229 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1230 <background color="%listbox_background%" />
1231 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1232 <data name="tw_wipe_list" />
1233 <listtype name="wipe" />
1234 </object>
1235
1236 <object type="slider">
1237 <placement x="%slider_x%" y="%slider_y%" />
1238 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001239 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001242 <action function="set">tw_action_param=LIST</action>
1243 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1244 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1245 <action function="set">tw_complete_text1=Wipe Complete</action>
1246 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001247 </actions>
1248 </object>
1249
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001250 <object type="button">
1251 <highlight color="%highlight_color%" />
1252 <fill color="%button_fill_color%" />
1253 <placement x="%col1_x%" y="%wipe_button_row1%" w="%button_fill_full_width%" h="%button_fill_half_height%" placement="5" />
1254 <font resource="font" color="%button_text_color%" />
1255 <text>Repair or Change File System</text>
1256 <actions>
1257 <action function="checkpartitionlist"></action>
1258 <action function="page">checkpartitionlist</action>
1259 </actions>
1260 </object>
1261
1262 <object type="text" color="%text_fail_color%">
1263 <condition var1="partitionlisterror" var2="1" />
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%wipe_button_row1%" placement="5" />
1266 <text>Invalid partition selection</text>
1267 </object>
1268
Dees_Troya13d74f2013-03-24 08:54:55 -05001269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1272 <text>Swipe to Wipe</text>
1273 </object>
1274
Dees_Troy51a0e822012-09-05 15:24:24 -04001275 <object type="action">
1276 <touch key="home" />
1277 <action function="page">main</action>
1278 </object>
1279
1280 <object type="action">
1281 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001282 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001283 </object>
1284
1285 <object type="template" name="footer" />
1286 </page>
1287
Dees_Troya13d74f2013-03-24 08:54:55 -05001288 <page name="formatdata">
1289 <object type="template" name="header" />
1290
1291 <object type="text" color="%text_color%">
1292 <font resource="font" />
1293 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1294 <text>Format Data will wipe all of your apps,</text>
1295 </object>
1296
1297 <object type="text" color="%text_color%">
1298 <font resource="font" />
1299 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1300 <text>backups, pictures, videos, media, and</text>
1301 </object>
1302
1303 <object type="text" color="%text_color%">
1304 <font resource="font" />
1305 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1306 <text>removes encryption on internal storage.</text>
1307 </object>
1308
1309 <object type="text" color="%text_color%">
1310 <font resource="font" />
1311 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1312 <text>This cannot be undone. Press back to cancel.</text>
1313 </object>
1314
1315 <object type="text" color="%text_color%">
1316 <font resource="font" />
1317 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1318 <text>Type yes to continue.</text>
1319 </object>
1320
1321 <object type="input">
1322 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1323 <background color="%input_background_color%" />
1324 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1325 <font resource="font" color="%text_color%" />
1326 <text>%tw_confirm_formatdata%</text>
1327 <data name="tw_confirm_formatdata" />
1328 <restrict minlen="3" maxlen="3" allow="yes" />
1329 <action function="page">formatdata_confirm</action>
1330 </object>
1331
1332 <object type="template" name="keyboardtemplate" />
1333
1334 <object type="action">
1335 <touch key="home" />
1336 <action function="page">main</action>
1337 </object>
1338
1339 <object type="action">
1340 <touch key="back" />
1341 <action function="page">wipe</action>
1342 </object>
1343
1344 <object type="template" name="footer" />
1345 </page>
1346
1347 <page name="formatdata_confirm">
1348 <object type="action">
1349 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1350 <actions>
1351 <action function="set">tw_back=formatdata</action>
1352 <action function="set">tw_action=wipe</action>
1353 <action function="set">tw_action_param=DATAMEDIA</action>
1354 <action function="set">tw_action_text1=Formatting Data...</action>
1355 <action function="set">tw_complete_text1=Data Format Complete</action>
1356 <action function="page">action_page</action>
1357 </actions>
1358 </object>
1359
1360 <object type="action">
1361 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1362 <action function="page">formatdata</function>
1363 </object>
1364 </page>
1365
Ethan Yonker87c7bac2014-05-25 21:41:08 -05001366 <page name="checkpartitionlist">
1367 <object type="action">
1368 <condition var1="tw_check_partition_list" op="=" var2="1" />
1369 <actions>
1370 <action function="set">partitionlisterror=0</action>
1371 <action function="getpartitiondetails"></action>
1372 <action function="page">partitionoptions</action>
1373 </actions>
1374 </object>
1375
1376 <object type="action">
1377 <condition var1="tw_check_partition_list" op="!=" var2="1" />
1378 <actions>
1379 <action function="set">partitionlisterror=1</action>
1380 <action function="set">tw_wipe_list=</action>
1381 <action function="page">advancedwipe</action>
1382 </actions>
1383 </object>
1384 </page>
1385
1386 <page name="partitionoptions">
1387 <object type="template" name="header" />
1388
1389 <object type="text" color="%text_color%">
1390 <font resource="font" />
1391 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1392 <text>Partition Options for: %tw_partition_name%</text>
1393 </object>
1394
1395 <object type="text" color="%text_color%">
1396 <font resource="font" />
1397 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1398 <text>Mount Point: %tw_partition_mount_point%</text>
1399 </object>
1400
1401 <object type="text" color="%text_color%">
1402 <font resource="font" />
1403 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1404 <text>Current file system: %tw_partition_file_system%</text>
1405 </object>
1406
1407 <object type="text" color="%text_color%">
1408 <condition var1="tw_partition_is_present" op="!=" var2="0" />
1409 <font resource="font" />
1410 <placement x="%col1_x%" y="%row3_text_y%" />
1411 <text>Present: Yes</text>
1412 </object>
1413
1414 <object type="text" color="%text_color%">
1415 <condition var1="tw_partition_is_present" op="=" var2="0" />
1416 <font resource="font" />
1417 <placement x="%col1_x%" y="%row3_text_y%" />
1418 <text>Present: No</text>
1419 </object>
1420
1421 <object type="text" color="%text_color%">
1422 <condition var1="tw_partition_removable" op="!=" var2="0" />
1423 <font resource="font" />
1424 <placement x="%col2_x%" y="%row3_text_y%" />
1425 <text>Removable: Yes</text>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <condition var1="tw_partition_removable" op="=" var2="0" />
1430 <font resource="font" />
1431 <placement x="%col2_x%" y="%row3_text_y%" />
1432 <text>Removable: No</text>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <font resource="font" />
1437 <placement x="%col1_x%" y="%row4_text_y%" />
1438 <text>Size: %tw_partition_size%MB</text>
1439 </object>
1440
1441 <object type="text" color="%text_color%">
1442 <font resource="font" />
1443 <placement x="%col2_x%" y="%row4_text_y%" />
1444 <text>Used: %tw_partition_used%MB</text>
1445 </object>
1446
1447 <object type="text" color="%text_color%">
1448 <font resource="font" />
1449 <placement x="%col1_x%" y="%row5_text_y%" />
1450 <text>Free: %tw_partition_free%MB</text>
1451 </object>
1452
1453 <object type="text" color="%text_color%">
1454 <font resource="font" />
1455 <placement x="%col2_x%" y="%row5_text_y%" />
1456 <text>Backup Size: %tw_partition_backup_size%MB</text>
1457 </object>
1458
1459 <object type="button">
1460 <condition var1="tw_partition_can_repair" op="=" var2="1" />
1461 <highlight color="%highlight_color%" />
1462 <placement x="%col1_x%" y="%row4_y%" />
1463 <font resource="font" color="%button_text_color%" />
1464 <text>Repair</text>
1465 <image resource="main_button" />
1466 <actions>
1467 <action function="set">tw_back=partitionoptions</action>
1468 <action function="set">tw_action=repair</action>
1469 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1470 <action function="set">tw_has_action2=0</action>
1471 <action function="set">tw_text1=Repair %tw_partition_name%?</action>
1472 <action function="set">tw_text2=</action>
1473 <action function="set">tw_action_text1=Repairing...</action>
1474 <action function="set">tw_complete_text1=Repair Complete</action>
1475 <action function="set">tw_slider_text=Swipe to Repair</action>
1476 <action function="page">confirm_action</action>
1477 </actions>
1478 </object>
1479
1480 <object type="button">
1481 <highlight color="%highlight_color%" />
1482 <placement x="%col2_x%" y="%row4_y%" />
1483 <font resource="font" color="%button_text_color%" />
1484 <text>Change File System</text>
1485 <image resource="main_button" />
1486 <action function="page">selectfilesystem</action>
1487 </object>
1488
1489 <object type="action">
1490 <touch key="home" />
1491 <action function="page">main</action>
1492 </object>
1493
1494 <object type="action">
1495 <touch key="back" />
1496 <action function="page">advancedwipe</action>
1497 </object>
1498
1499 <object type="template" name="footer" />
1500 </page>
1501
1502 <page name="selectfilesystem">
1503 <object type="template" name="header" />
1504
1505 <object type="text" color="%text_color%">
1506 <font resource="font" />
1507 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1508 <text>Change file system for: %tw_partition_name%</text>
1509 </object>
1510
1511 <object type="text" color="%text_color%">
1512 <font resource="font" />
1513 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1514 <text>Mount Point: %tw_partition_mount_point%</text>
1515 </object>
1516
1517 <object type="text" color="%text_color%">
1518 <font resource="font" />
1519 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1520 <text>Current file system: %tw_partition_file_system%</text>
1521 </object>
1522
1523 <object type="text" color="%text_color%">
1524 <font resource="font" />
1525 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1526 <text>Some ROMs or kernels may not support some</text>
1527 </object>
1528
1529 <object type="text" color="%text_color%">
1530 <font resource="font" />
1531 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1532 <text>file systems. Proceed with caution!</text>
1533 </object>
1534
1535 <object type="button">
1536 <condition var1="tw_partition_ext" op="=" var2="1" />
1537 <highlight color="%highlight_color%" />
1538 <placement x="%col1_x%" y="%row2_y%" />
1539 <font resource="font" color="%button_text_color%" />
1540 <text>EXT2</text>
1541 <image resource="main_button" />
1542 <actions>
1543 <action function="set">tw_back=selectfilesystem</action>
1544 <action function="set">tw_action=changefilesystem</action>
1545 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1546 <action function="set">tw_action_new_file_system=ext2</action>
1547 <action function="set">tw_has_action2=0</action>
1548 <action function="set">tw_text1=Change %tw_partition_name% to EXT2?</action>
1549 <action function="set">tw_text2=</action>
1550 <action function="set">tw_action_text1=Formatting...</action>
1551 <action function="set">tw_complete_text1=Format Complete</action>
1552 <action function="set">tw_slider_text=Swipe to Change</action>
1553 <action function="page">confirm_action</action>
1554 </actions>
1555 </object>
1556
1557 <object type="button">
1558 <condition var1="tw_partition_ext" op="=" var2="1" />
1559 <highlight color="%highlight_color%" />
1560 <placement x="%col2_x%" y="%row2_y%" />
1561 <font resource="font" color="%button_text_color%" />
1562 <text>EXT3</text>
1563 <image resource="main_button" />
1564 <actions>
1565 <action function="set">tw_back=selectfilesystem</action>
1566 <action function="set">tw_action=changefilesystem</action>
1567 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1568 <action function="set">tw_action_new_file_system=ext3</action>
1569 <action function="set">tw_has_action2=0</action>
1570 <action function="set">tw_text1=Change %tw_partition_name% to EXT3?</action>
1571 <action function="set">tw_text2=</action>
1572 <action function="set">tw_action_text1=Formatting...</action>
1573 <action function="set">tw_complete_text1=Format Complete</action>
1574 <action function="set">tw_slider_text=Swipe to Change</action>
1575 <action function="page">confirm_action</action>
1576 </actions>
1577 </object>
1578
1579 <object type="button">
1580 <condition var1="tw_partition_ext" op="=" var2="1" />
1581 <highlight color="%highlight_color%" />
1582 <placement x="%col1_x%" y="%row3_y%" />
1583 <font resource="font" color="%button_text_color%" />
1584 <text>EXT4</text>
1585 <image resource="main_button" />
1586 <actions>
1587 <action function="set">tw_back=selectfilesystem</action>
1588 <action function="set">tw_action=changefilesystem</action>
1589 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1590 <action function="set">tw_action_new_file_system=ext4</action>
1591 <action function="set">tw_has_action2=0</action>
1592 <action function="set">tw_text1=Change %tw_partition_name% to EXT4?</action>
1593 <action function="set">tw_text2=</action>
1594 <action function="set">tw_action_text1=Formatting...</action>
1595 <action function="set">tw_complete_text1=Format Complete</action>
1596 <action function="set">tw_slider_text=Swipe to Change</action>
1597 <action function="page">confirm_action</action>
1598 </actions>
1599 </object>
1600
1601 <object type="button">
1602 <condition var1="tw_partition_f2fs" op="=" var2="1" />
1603 <highlight color="%highlight_color%" />
1604 <placement x="%col2_x%" y="%row3_y%" />
1605 <font resource="font" color="%button_text_color%" />
1606 <text>F2FS</text>
1607 <image resource="main_button" />
1608 <actions>
1609 <action function="set">tw_back=selectfilesystem</action>
1610 <action function="set">tw_action=changefilesystem</action>
1611 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1612 <action function="set">tw_action_new_file_system=f2fs</action>
1613 <action function="set">tw_has_action2=0</action>
1614 <action function="set">tw_text1=Change %tw_partition_name% to F2FS?</action>
1615 <action function="set">tw_text2=</action>
1616 <action function="set">tw_action_text1=Formatting...</action>
1617 <action function="set">tw_complete_text1=Format Complete</action>
1618 <action function="set">tw_slider_text=Swipe to Change</action>
1619 <action function="page">confirm_action</action>
1620 </actions>
1621 </object>
1622
1623 <object type="button">
1624 <condition var1="tw_partition_vfat" op="=" var2="1" />
1625 <highlight color="%highlight_color%" />
1626 <placement x="%col1_x%" y="%row4_y%" />
1627 <font resource="font" color="%button_text_color%" />
1628 <text>FAT</text>
1629 <image resource="main_button" />
1630 <actions>
1631 <action function="set">tw_back=selectfilesystem</action>
1632 <action function="set">tw_action=changefilesystem</action>
1633 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1634 <action function="set">tw_action_new_file_system=vfat</action>
1635 <action function="set">tw_has_action2=0</action>
1636 <action function="set">tw_text1=Change %tw_partition_name% to FAT?</action>
1637 <action function="set">tw_text2=</action>
1638 <action function="set">tw_action_text1=Formatting...</action>
1639 <action function="set">tw_complete_text1=Format Complete</action>
1640 <action function="set">tw_slider_text=Swipe to Change</action>
1641 <action function="page">confirm_action</action>
1642 </actions>
1643 </object>
1644
1645 <object type="button">
1646 <condition var1="tw_partition_exfat" op="=" var2="1" />
1647 <highlight color="%highlight_color%" />
1648 <placement x="%col2_x%" y="%row4_y%" />
1649 <font resource="font" color="%button_text_color%" />
1650 <text>exFAT</text>
1651 <image resource="main_button" />
1652 <actions>
1653 <action function="set">tw_back=selectfilesystem</action>
1654 <action function="set">tw_action=changefilesystem</action>
1655 <action function="set">tw_action_param=%tw_partition_mount_point%</action>
1656 <action function="set">tw_action_new_file_system=exfat</action>
1657 <action function="set">tw_has_action2=0</action>
1658 <action function="set">tw_text1=Change %tw_partition_name% to exFAT?</action>
1659 <action function="set">tw_text2=</action>
1660 <action function="set">tw_action_text1=Formatting...</action>
1661 <action function="set">tw_complete_text1=Format Complete</action>
1662 <action function="set">tw_slider_text=Swipe to Change</action>
1663 <action function="page">confirm_action</action>
1664 </actions>
1665 </object>
1666
1667 <object type="action">
1668 <touch key="home" />
1669 <action function="page">main</action>
1670 </object>
1671
1672 <object type="action">
1673 <touch key="back" />
1674 <action function="page">partitionoptions</action>
1675 </object>
1676
1677 <object type="template" name="footer" />
1678 </page>
1679
Dees_Troy51a0e822012-09-05 15:24:24 -04001680 <page name="backup">
1681 <object type="template" name="header" />
1682
Dees_Troy83bd4832013-05-04 12:39:56 +00001683 <object type="button">
1684 <highlight color="%highlight_color%" />
1685 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001686 <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 +00001687 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001688 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001689 <actions>
1690 <action function="set">tw_fileexists=0</action>
1691 <action function="page">backupname1</action>
1692 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001693 </object>
1694
Dees_Troya13d74f2013-03-24 08:54:55 -05001695 <object type="partitionlist">
1696 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001697 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001698 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1699 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1700 <text>Select Partitions to Back Up:</text>
1701 <icon selected="checkbox_true" unselected="checkbox_false" />
1702 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1703 <background color="%listbox_background%" />
1704 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1705 <data name="tw_backup_list" />
1706 <listtype name="backup" />
1707 </object>
1708
1709 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001710 <conditions>
1711 <condition var1="tw_include_encrypted_backup" var2="1" />
1712 <condition var1="tw_encrypt_backup" var2="0" />
1713 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001714 <highlight color="%highlight_color%" />
1715 <fill color="%button_fill_color%" />
1716 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1717 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001718 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001719 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001720 <action function="page">backupencryption</action>
1721 </actions>
1722 </object>
1723
1724 <object type="button">
1725 <conditions>
1726 <condition var1="tw_include_encrypted_backup" var2="1" />
1727 <condition var1="tw_encrypt_backup" var2="1" />
1728 </conditions>
1729 <highlight color="%highlight_color%" />
1730 <fill color="%button_fill_color%" />
1731 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1732 <font resource="font" color="%button_text_color%" />
1733 <text>Using Encryption</text>
1734 <actions>
1735 <action function="set">tw_password_not_match=0</action>
1736 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001737 </actions>
1738 </object>
1739
1740 <object type="button">
1741 <highlight color="%highlight_color%" />
1742 <fill color="%button_fill_color%" />
1743 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1744 <font resource="font" color="%button_text_color%" />
1745 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001746 <actions>
1747 <action function="refreshsizes"></action>
1748 <action function="page">backup</action>
1749 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001750 </object>
1751
1752 <object type="button">
1753 <highlight color="%highlight_color%" />
1754 <fill color="%button_fill_color%" />
1755 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1756 <font resource="font" color="%button_text_color%" />
1757 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1758 <actions>
1759 <action function="set">tw_back=backup</action>
1760 <action function="page">selectstorage</action>
1761 </actions>
1762 </object>
1763
1764 <object type="checkbox">
1765 <placement x="%col1_x%" y="%row15_text_y%" />
1766 <font resource="font" color="%text_color%" />
1767 <text>Enable compression.</text>
1768 <data variable="tw_use_compression" />
1769 <image checked="checkbox_true" unchecked="checkbox_false" />
1770 </object>
1771
1772 <object type="checkbox">
1773 <placement x="%col1_x%" y="%row16_text_y%" />
1774 <font resource="font" color="%text_color%" />
1775 <text>Skip MD5 generation during backup.</text>
1776 <data variable="tw_skip_md5_generate" />
1777 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001778 </object>
1779
1780 <object type="slider">
1781 <placement x="%slider_x%" y="slider_y" />
1782 <resource base="slider" used="slider-used" touch="slider-touch" />
1783 <action function="page">backup_run</action>
1784 </object>
1785
1786 <object type="text" color="%text_color%">
1787 <font resource="font" />
1788 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1789 <text>Swipe to Back Up</text>
1790 </object>
1791
Dees_Troy51a0e822012-09-05 15:24:24 -04001792 <object type="action">
1793 <touch key="home" />
1794 <action function="page">main</action>
1795 </object>
1796
1797 <object type="action">
1798 <touch key="back" />
1799 <action function="page">main</action>
1800 </object>
1801
1802 <object type="template" name="footer" />
1803 </page>
1804
1805 <page name="backupname1">
1806 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001807 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1808 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001809 </object>
1810
1811 <object type="action">
1812 <action function="page">backupname2</function>
1813 </object>
1814 </page>
1815
1816 <page name="backupname2">
1817 <object type="template" name="header" />
1818
1819 <object type="text" color="%text_color%">
1820 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1821 <font resource="font" />
1822 <text>Please Enter a Backup Name</text>
1823 </object>
1824
1825 <object type="input">
1826 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1827 <background color="%input_background_color%" />
1828 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1829 <font resource="font" color="%text_color%" />
1830 <text>%tw_backup_name%</text>
1831 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001832 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001833 <actions>
1834 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1835 <action function="set">tw_existpage=backupname2</action>
1836 <action function="set">tw_notexistpage=backup</action>
1837 <action function="page">filecheck</action>
1838 </actions>
1839 </object>
1840
1841 <object type="text" color="%text_fail_color%">
1842 <condition var1="tw_fileexists" var2="1" />
1843 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1844 <font resource="font" />
1845 <text>A backup with that name already exists!</text>
1846 </object>
1847
1848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001849 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001850 <placement x="%col1_x%" y="%row2_y%" />
1851 <font resource="font" color="%button_text_color%" />
1852 <text>Append Date</text>
1853 <image resource="main_button" />
1854 <action function="appenddatetobackupname"></action>
1855 </object>
1856
1857 <object type="button">
1858 <highlight color="%highlight_color%" />
1859 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001860 <font resource="font" color="%button_text_color%" />
1861 <text>Cancel</text>
1862 <image resource="main_button" />
1863 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001864 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001865 <action function="page">backup</action>
1866 </actions>
1867 </object>
1868
1869 <object type="template" name="keyboardtemplate" />
1870
1871 <object type="action">
1872 <touch key="home" />
1873 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001874 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001875 <action function="page">main</action>
1876 </actions>
1877 </object>
1878
1879 <object type="action">
1880 <touch key="back" />
1881 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001882 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001883 <action function="page">backup</action>
1884 </actions>
1885 </object>
1886
1887 <object type="template" name="footer" />
1888 </page>
1889
Dees_Troy83bd4832013-05-04 12:39:56 +00001890 <page name="backupencryption">
1891 <object type="template" name="header" />
1892
1893 <object type="text" color="%text_color%">
1894 <font resource="font" />
1895 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1896 <text>Encrypt your backup?</text>
1897 </object>
1898
1899 <object type="text" color="%text_color%">
1900 <font resource="font" />
1901 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1902 <text>Please Enter A Password:</text>
1903 </object>
1904
1905 <object type="input">
1906 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1907 <background color="%input_background_color%" />
1908 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1909 <font resource="font" color="%text_color%" />
1910 <text>%tw_backup_encrypt_display%</text>
1911 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1912 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1913 <action function="page">backupencryption2</action>
1914 </object>
1915
1916 <object type="text" color="%text_fail_color%">
1917 <condition var1="tw_password_not_match" var2="1" />
1918 <font resource="font" />
1919 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1920 <text>Passwords Do Not Match</text>
1921 </object>
1922
1923 <object type="button">
1924 <highlight color="%highlight_color%" />
1925 <placement x="%col_center_x%" y="%row2_y%" />
1926 <font resource="font" color="%button_text_color%" />
1927 <text>Cancel</text>
1928 <image resource="main_button" />
1929 <actions>
1930 <action function="set">tw_encrypt_backup=0</action>
1931 <action function="set">tw_backup_password=</action>
1932 <action function="set">tw_backup_password2=</action>
1933 <action function="set">tw_backup_encrypt_display=</action>
1934 <action function="set">tw_backup_encrypt_display2=</action>
1935 <action function="page">backup</action>
1936 </actions>
1937 </object>
1938
1939 <object type="template" name="keyboardtemplate" />
1940
1941 <object type="action">
1942 <touch key="home" />
1943 <action function="page">main</action>
1944 </object>
1945
1946 <object type="action">
1947 <touch key="back" />
1948 <action function="page">backup</action>
1949 </object>
1950
1951 <object type="template" name="footer" />
1952 </page>
1953
1954 <page name="backupencryption2">
1955 <object type="template" name="header" />
1956
1957 <object type="text" color="%text_color%">
1958 <font resource="font" />
1959 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1960 <text>Encrypt your backup?</text>
1961 </object>
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1966 <text>Please Enter Password Again:</text>
1967 </object>
1968
1969 <object type="input">
1970 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1971 <background color="%input_background_color%" />
1972 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1973 <font resource="font" color="%text_color%" />
1974 <text>%tw_backup_encrypt_display2%</text>
1975 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1976 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1977 <actions>
1978 <action function="page">checkbackuppassword</action>
1979 </actions>
1980 </object>
1981
1982 <object type="button">
1983 <highlight color="%highlight_color%" />
1984 <placement x="%col_center_x%" y="%row2_y%" />
1985 <font resource="font" color="%button_text_color%" />
1986 <text>Cancel</text>
1987 <image resource="main_button" />
1988 <actions>
1989 <action function="set">tw_encrypt_backup=0</action>
1990 <action function="set">tw_backup_password=</action>
1991 <action function="set">tw_backup_password2=</action>
1992 <action function="set">tw_backup_encrypt_display=</action>
1993 <action function="set">tw_backup_encrypt_display2=</action>
1994 <action function="page">backup</action>
1995 </actions>
1996 </object>
1997
1998 <object type="template" name="keyboardtemplate" />
1999
2000 <object type="action">
2001 <touch key="home" />
2002 <action function="page">main</action>
2003 </object>
2004
2005 <object type="action">
2006 <touch key="back" />
2007 <action function="page">backup</action>
2008 </object>
2009
2010 <object type="template" name="footer" />
2011 </page>
2012
2013 <page name="checkbackuppassword">
2014 <object type="action">
2015 <condition var1="tw_backup_password2" var2="tw_backup_password" />
2016 <actions>
2017 <action function="set">tw_encrypt_backup=1</action>
2018 <action function="page">backup</action>
2019 </actions>
2020 </object>
2021
2022 <object type="action">
2023 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
2024 <actions>
2025 <action function="set">tw_encrypt_backup=0</action>
2026 <action function="set">tw_password_not_match=1</action>
2027 <action function="set">tw_backup_password=</action>
2028 <action function="set">tw_backup_password2=</action>
2029 <action function="set">tw_backup_encrypt_display=</action>
2030 <action function="set">tw_backup_encrypt_display2=</action>
2031 <action function="page">backupencryption</action>
2032 </actions>
2033 </object>
2034 </page>
2035
Dees_Troy51a0e822012-09-05 15:24:24 -04002036 <page name="backup_run">
2037 <object type="template" name="header" />
2038
2039 <object type="text" color="%text_color%">
2040 <font resource="font" />
2041 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2042 <text>%tw_operation% %tw_partition%</text>
2043 </object>
2044
2045 <object type="template" name="action_page_console" />
2046
2047 <object type="template" name="progress_bar" />
2048
2049 <object type="action">
2050 <action function="nandroid">backup</action>
2051 </object>
2052
2053 <object type="action">
2054 <condition var1="tw_operation_state" var2="1" />
2055 <actions>
2056 <action function="set">tw_back=backup</action>
2057 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002058 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002059 <action function="page">action_complete</action>
2060 </actions>
2061 </object>
2062 </page>
2063
2064 <page name="restore">
2065 <object type="template" name="header" />
2066
2067 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002068 <highlight color="%highlight_color%" />
2069 <fill color="%button_fill_color%" />
2070 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2071 <font resource="font" color="%button_text_color%" />
2072 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2073 <actions>
2074 <action function="set">tw_back=restore</action>
2075 <action function="page">selectstorage</action>
2076 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 </object>
2078
2079 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06002080 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002081 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002082 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002083 <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 -04002084 <text>Select Package to Restore:</text>
2085 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2086 <sort name="tw_gui_sort_order" />
2087 <icon folder="folder_icon" file="file_icon" />
2088 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06002089 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002090 <filter folders="1" files="0" nav="0" />
2091 <path name="tw_backups_folder" />
2092 <data name="tw_restore" default="" />
2093 <selection name="tw_restore_name" />
2094 </object>
2095
2096 <object type="template" name="sort_options" />
2097
2098 <object type="action">
2099 <condition var1="tw_restore" op="modified" />
2100 <actions>
2101 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00002102 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002103 </actions>
2104 </object>
2105
2106 <object type="action">
2107 <touch key="home" />
2108 <action function="page">main</action>
2109 </object>
2110
2111 <object type="action">
2112 <touch key="back" />
2113 <action function="page">main</action>
2114 </object>
2115
2116 <object type="template" name="footer" />
2117 </page>
2118
Dees_Troy83bd4832013-05-04 12:39:56 +00002119 <page name="restore_read">
2120 <object type="action">
2121 <condition var1="tw_restore_encrypted" var2="1" />
2122 <actions>
2123 <action function="set">tw_password_fail=0</action>
2124 <action function="page">restore_decrypt</action>
2125 </actions>
2126 </object>
2127
2128 <object type="action">
2129 <condition var1="tw_restore_encrypted" var2="0" />
2130 <actions>
2131 <action function="page">restore_select</action>
2132 </actions>
2133 </object>
2134 </page>
2135
2136 <page name="restore_decrypt">
2137 <object type="template" name="header" />
2138
2139 <object type="text" color="%text_color%">
2140 <font resource="font" />
2141 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2142 <text>Backup Encrypted</text>
2143 </object>
2144
2145 <object type="text" color="%text_color%">
2146 <font resource="font" />
2147 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
2148 <text>Please Enter Your Password:</text>
2149 </object>
2150
2151 <object type="input">
2152 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2153 <background color="%input_background_color%" />
2154 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2155 <font resource="font" color="%text_color%" />
2156 <text>%tw_restore_display%</text>
2157 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
2158 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
2159 <actions>
2160 <action function="page">try_restore_decrypt</action>
2161 </actions>
2162 </object>
2163
2164 <object type="text" color="%text_fail_color%">
2165 <condition var1="tw_password_fail" var2="1" />
2166 <font resource="font" />
2167 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
2168 <text>Password Failed, Please Try Again</text>
2169 </object>
2170
2171 <object type="button">
2172 <highlight color="%highlight_color%" />
2173 <placement x="%col1_x%" y="%row2_y%" />
2174 <font resource="font" color="%button_text_color%" />
2175 <text>Cancel</text>
2176 <image resource="main_button" />
2177 <actions>
2178 <action function="set">tw_page_done=1</action>
2179 <action function="page">restore</action>
2180 </actions>
2181 </object>
2182
2183 <object type="button">
2184 <highlight color="%highlight_color%" />
2185 <placement x="%col2_x%" y="%row2_y%" />
2186 <font resource="font" color="%button_text_color%" />
2187 <text>Delete</text>
2188 <image resource="main_button" />
2189 <actions>
2190 <action function="set">tw_back=restore</action>
2191 <action function="set">tw_action=cmd</action>
2192 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
2193 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2194 <action function="set">tw_text2=This cannot be undone!</action>
2195 <action function="set">tw_action_text1=Deleting Backup...</action>
2196 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2197 <action function="set">tw_slider_text=Swipe to Delete</action>
2198 <action function="page">confirm_action</action>
2199 </actions>
2200 </object>
2201
2202 <object type="template" name="keyboardtemplate" />
2203
2204 <object type="action">
2205 <touch key="home" />
2206 <action function="page">main</action>
2207 </object>
2208
2209 <object type="action">
2210 <touch key="back" />
2211 <action function="page">restore</action>
2212 </object>
2213
2214 <object type="template" name="footer" />
2215 </page>
2216
2217 <page name="try_restore_decrypt">
2218 <object type="template" name="header" />
2219
2220 <object type="text" color="%text_color%">
2221 <font resource="font" />
2222 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2223 <text>Trying Decryption with Your Password</text>
2224 </object>
2225
2226 <object type="template" name="action_page_console" />
2227
2228 <object type="template" name="progress_bar" />
2229
2230 <object type="action">
2231 <action function="decrypt_backup"></action>
2232 </object>
2233
2234 <object type="action">
2235 <conditions>
2236 <condition var1="tw_operation_state" var2="1" />
2237 <condition var1="tw_operation_status" op="!=" var2="0" />
2238 </conditions>
2239 <actions>
2240 <action function="set">tw_password_fail=1</action>
2241 <action function="page">restore_decrypt</action>
2242 </actions>
2243 </object>
2244
2245 <object type="action">
2246 <conditions>
2247 <condition var1="tw_operation_state" var2="1" />
2248 <condition var1="tw_operation_status" op="=" var2="0" />
2249 </conditions>
2250 <actions>
2251 <action function="set">tw_page_done=1</action>
2252 <action function="page">restore_select</action>
2253 </actions>
2254 </object>
2255 </page>
2256
Dees_Troy51a0e822012-09-05 15:24:24 -04002257 <page name="restore_select">
2258 <object type="template" name="header" />
2259
Dees_Troya13d74f2013-03-24 08:54:55 -05002260 <object type="partitionlist">
2261 <highlight color="%fileselector_highlight_color%" />
2262 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
2263 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2264 <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 -04002265 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05002266 <icon selected="checkbox_true" unselected="checkbox_false" />
2267 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2268 <background color="%listbox_background%" />
2269 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2270 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
2271 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002272 </object>
2273
2274 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002275 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002276 <fill color="%button_fill_color%" />
2277 <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 -04002278 <font resource="font" color="%button_text_color%" />
2279 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002280 <actions>
2281 <action function="set">tw_backup_rename=</action>
2282 <action function="set">tw_fileexists=0</action>
2283 <action function="page">renamebackup</action>
2284 </actions>
2285 </object>
2286
2287 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002288 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002289 <fill color="%button_fill_color%" />
2290 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002291 <font resource="font" color="%button_text_color%" />
2292 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002293 <actions>
2294 <action function="set">tw_back=restore</action>
2295 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00002296 <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 -04002297 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
2298 <action function="set">tw_text2=This cannot be undone!</action>
2299 <action function="set">tw_action_text1=Deleting Backup...</action>
2300 <action function="set">tw_complete_text1=Backup Delete Complete</action>
2301 <action function="set">tw_slider_text=Swipe to Delete</action>
2302 <action function="page">confirm_action</action>
2303 </actions>
2304 </object>
2305
Dees_Troya13d74f2013-03-24 08:54:55 -05002306 <object type="checkbox">
2307 <placement x="%col1_x%" y="%row15_text_y%" />
2308 <font resource="font" color="%text_color%" />
2309 <text>Enable MD5 verification of backup files.</text>
2310 <data variable="tw_skip_md5_check" />
2311 <image checked="checkbox_true" unchecked="checkbox_false" />
2312 </object>
2313
2314 <object type="text" color="%text_color%">
2315 <font resource="font" />
2316 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
2317 <text>Package Date: %tw_restore_file_date%</text>
2318 </object>
2319
Dees_Troy51a0e822012-09-05 15:24:24 -04002320 <object type="slider">
2321 <placement x="%slider_x%" y="%slider_y%" />
2322 <resource base="slider" used="slider-used" touch="slider-touch" />
2323 <action function="page">restore_run</action>
2324 </object>
2325
2326 <object type="text" color="%text_color%">
2327 <font resource="font" />
2328 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2329 <text>Swipe to Restore</text>
2330 </object>
2331
Dees_Troy51a0e822012-09-05 15:24:24 -04002332 <object type="action">
2333 <touch key="home" />
2334 <action function="page">main</action>
2335 </object>
2336
2337 <object type="action">
2338 <touch key="back" />
2339 <action function="page">restore</action>
2340 </object>
2341
2342 <object type="template" name="footer" />
2343 </page>
2344
2345 <page name="renamebackup">
2346 <object type="template" name="header" />
2347
2348 <object type="text" color="%text_color%">
2349 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2350 <font resource="font" />
2351 <text>Please Enter a New Backup Name</text>
2352 </object>
2353
2354 <object type="input">
2355 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2356 <background color="%input_background_color%" />
2357 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2358 <font resource="font" color="%text_color%" />
2359 <text>%tw_backup_rename%</text>
2360 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002361 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002362 <actions>
2363 <action function="set">tw_back=restore</action>
2364 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002365 <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 -04002366 <action function="set">tw_text1=Rename Backup?</action>
2367 <action function="set">tw_text2=This cannot be undone!</action>
2368 <action function="set">tw_action_text1=Renaming Backup...</action>
2369 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2370 <action function="set">tw_slider_text=Swipe to Rename</action>
2371 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2372 <action function="set">tw_existpage=renamebackup</action>
2373 <action function="set">tw_notexistpage=confirm_action</action>
2374 <action function="page">filecheck</action>
2375 </actions>
2376 </object>
2377
2378 <object type="text" color="%text_fail_color%">
2379 <condition var1="tw_fileexists" var2="1" />
2380 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2381 <font resource="font" />
2382 <text>A backup with that name already exists!</text>
2383 </object>
2384
2385 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002386 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002387 <placement x="%col_center_x%" y="%row2_y%" />
2388 <font resource="font" color="%button_text_color%" />
2389 <text>Cancel</text>
2390 <image resource="main_button" />
2391 <action function="page">restore_select</action>
2392 </object>
2393
2394 <object type="template" name="keyboardtemplate" />
2395
2396 <object type="action">
2397 <touch key="home" />
2398 <action function="page">main</action>
2399 </object>
2400
2401 <object type="action">
2402 <touch key="back" />
2403 <action function="page">restore_select</action>
2404 </object>
2405
2406 <object type="template" name="footer" />
2407 </page>
2408
2409 <page name="restore_run">
2410 <object type="template" name="header" />
2411
2412 <object type="text" color="%text_color%">
2413 <font resource="font" />
2414 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2415 <text>%tw_operation% %tw_partition%</text>
2416 </object>
2417
2418 <object type="template" name="action_page_console" />
2419
2420 <object type="template" name="progress_bar" />
2421
2422 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002423 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <actions>
2425 <action function="set">tw_back=restore_select</action>
2426 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002427 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002428 <action function="page">action_complete</action>
2429 </actions>
2430 </object>
2431
2432 <object type="action">
2433 <action function="nandroid">restore</action>
2434 </object>
2435 </page>
2436
Dees_Troya13d74f2013-03-24 08:54:55 -05002437 <page name="selectstorage">
2438 <object type="template" name="header" />
2439
2440 <object type="partitionlist">
2441 <highlight color="%fileselector_highlight_color%" />
2442 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2443 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2444 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2445 <text>Select Storage:</text>
2446 <icon selected="radio_true" unselected="radio_false" />
2447 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2448 <background color="%listbox_background%" />
2449 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2450 <data name="tw_storage_path" />
2451 <listtype name="storage" />
2452 </object>
2453
Dees_Troye7e0ae82013-07-05 14:46:07 +00002454 <object type="button">
2455 <highlight color="%highlight_color%" />
2456 <placement x="%col_center_x%" y="%row4_y%" />
2457 <font resource="font" color="%button_text_color%" />
2458 <text>OK</text>
2459 <image resource="main_button" />
2460 <actions>
2461 <action function="set">tw_clear_destination=%tw_back%</action>
2462 <action function="page">clear_vars</action>
2463 </actions>
2464 </object>
2465
Dees_Troya13d74f2013-03-24 08:54:55 -05002466 <object type="action">
2467 <touch key="home" />
2468 <action function="page">main</action>
2469 </object>
2470
2471 <object type="action">
2472 <touch key="back" />
2473 <actions>
2474 <action function="page">%tw_back%</action>
2475 </actions>
2476 </object>
2477
2478 <object type="template" name="footer" />
2479 </page>
2480
Dees_Troy51a0e822012-09-05 15:24:24 -04002481 <page name="mount">
2482 <object type="template" name="header" />
2483
Dees_Troya13d74f2013-03-24 08:54:55 -05002484 <object type="partitionlist">
2485 <highlight color="%fileselector_highlight_color%" />
2486 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2487 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2488 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2489 <text>Select Partitions to Mount:</text>
2490 <icon selected="checkbox_true" unselected="checkbox_false" />
2491 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2492 <background color="%listbox_background%" />
2493 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2494 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 </object>
2496
2497 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002498 <highlight color="%highlight_color%" />
2499 <fill color="%button_fill_color%" />
2500 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2501 <font resource="font" color="%button_text_color%" />
2502 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2503 <actions>
2504 <action function="set">tw_back=mount</action>
2505 <action function="page">selectstorage</action>
2506 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 </object>
2508
2509 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002510 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002511 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002512 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <font resource="font" color="%button_text_color%" />
2514 <text>Mount USB Storage</text>
2515 <image resource="main_button" />
2516 <action function="page">usb_mount</action>
2517 </object>
2518
Gary Peckffdc6ae2012-11-21 18:02:02 -08002519 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002520 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002521 <conditions>
2522 <condition var1="tw_is_encrypted" var2="1" />
2523 <condition var1="tw_is_decrypted" var2="0" />
2524 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002525 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002526 <font resource="font" color="%button_text_color%" />
2527 <text>Decrypt Data</text>
2528 <image resource="main_button" />
2529 <action function="page">decrypt</action>
2530 </object>
2531
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <object type="action">
2533 <touch key="home" />
2534 <action function="page">main</action>
2535 </object>
2536
2537 <object type="action">
2538 <touch key="back" />
2539 <action function="page">main</action>
2540 </object>
2541
2542 <object type="template" name="footer" />
2543 </page>
2544
2545 <page name="usb_mount">
2546 <object type="template" name="header" />
2547
2548 <object type="text" color="%text_color%">
2549 <font resource="font" />
2550 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2551 <text>USB Storage Mounted</text>
2552 </object>
2553
2554 <object type="text" color="%text_color%">
2555 <placement x="%col1_x%" y="%row1_text_y%" />
2556 <font resource="font" />
2557 <text>Be sure to safely remove your device</text>
2558 </object>
2559
2560 <object type="text" color="%text_color%">
2561 <placement x="%col1_x%" y="%row2_text_y%" />
2562 <font resource="font" />
2563 <text>from your computer before unmounting!</text>
2564 </object>
2565
2566 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002567 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002568 <placement x="%col1_x%" y="%row3_y%" />
2569 <font resource="font" color="%button_text_color%" />
2570 <text>Unmount</text>
2571 <image resource="main_button" />
2572 <action function="page">usb_umount</action>
2573 </object>
2574
2575 <object type="action">
2576 <action function="mount">usb</action>
2577 </object>
2578
2579 <object type="template" name="footer" />
2580 </page>
2581
2582 <page name="usb_umount">
2583 <object type="action">
2584 <action function="unmount">usb</action>
2585 </object>
2586
2587 <object type="action">
2588 <action function="page">mount</action>
2589 </object>
2590 </page>
2591
2592 <page name="reboot">
2593 <object type="template" name="header" />
2594
2595 <object type="text" color="%text_color%">
2596 <font resource="font" />
2597 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2598 <text>Reboot Menu</text>
2599 </object>
2600
2601 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002602 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002603 <condition var1="tw_reboot_system" var2="1" />
2604 <placement x="%col1_x%" y="%row1_y%" />
2605 <font resource="font" color="%button_text_color%" />
2606 <text>System</text>
2607 <image resource="main_button" />
2608 <actions>
2609 <action function="set">tw_back=reboot</action>
2610 <action function="set">tw_action=reboot</action>
2611 <action function="set">tw_action_param=system</action>
2612 <action function="set">tw_has_action2=0</action>
2613 <action function="set">tw_text1=No OS Installed! Are you</action>
2614 <action function="set">tw_text2=sure you wish to reboot?</action>
2615 <action function="set">tw_action_text1=Rebooting...</action>
2616 <action function="set">tw_complete_text1=Rebooting...</action>
2617 <action function="set">tw_slider_text=Swipe to Reboot</action>
2618 <action function="page">rebootcheck</action>
2619 </actions>
2620 </object>
2621
2622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002624 <condition var1="tw_reboot_poweroff" var2="1" />
2625 <placement x="%col2_x%" y="%row1_y%" />
2626 <font resource="font" color="%button_text_color%" />
2627 <text>Power Off</text>
2628 <image resource="main_button" />
2629 <actions>
2630 <action function="set">tw_back=reboot</action>
2631 <action function="set">tw_action=reboot</action>
2632 <action function="set">tw_action_param=poweroff</action>
2633 <action function="set">tw_has_action2=0</action>
2634 <action function="set">tw_text1=No OS Installed! Are you</action>
2635 <action function="set">tw_text2=sure you wish to power off?</action>
2636 <action function="set">tw_action_text1=Turning Off...</action>
2637 <action function="set">tw_complete_text1=Turning Off...</action>
2638 <action function="set">tw_slider_text=Swipe to Power Off</action>
2639 <action function="page">rebootcheck</action>
2640 </actions>
2641 </object>
2642
2643 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002644 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002645 <condition var1="tw_reboot_recovery" var2="1" />
2646 <placement x="%col1_x%" y="%row2_y%" />
2647 <font resource="font" color="%button_text_color%" />
2648 <text>Recovery</text>
2649 <image resource="main_button" />
2650 <actions>
2651 <action function="set">tw_back=reboot</action>
2652 <action function="set">tw_action=reboot</action>
2653 <action function="set">tw_action_param=recovery</action>
2654 <action function="set">tw_has_action2=0</action>
2655 <action function="set">tw_text1=No OS Installed! Are you</action>
2656 <action function="set">tw_text2=sure you wish to reboot?</action>
2657 <action function="set">tw_action_text1=Rebooting...</action>
2658 <action function="set">tw_complete_text1=Rebooting...</action>
2659 <action function="set">tw_slider_text=Swipe to Reboot</action>
2660 <action function="page">rebootcheck</action>
2661 </actions>
2662 </object>
2663
2664 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002665 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002666 <condition var1="tw_reboot_bootloader" var2="1" />
2667 <placement x="%col2_x%" y="%row2_y%" />
2668 <font resource="font" color="%button_text_color%" />
2669 <text>Bootloader</text>
2670 <image resource="main_button" />
2671 <actions>
2672 <action function="set">tw_back=reboot</action>
2673 <action function="set">tw_action=reboot</action>
2674 <action function="set">tw_action_param=bootloader</action>
2675 <action function="set">tw_has_action2=0</action>
2676 <action function="set">tw_text1=No OS Installed! Are you</action>
2677 <action function="set">tw_text2=sure you wish to reboot?</action>
2678 <action function="set">tw_action_text1=Rebooting...</action>
2679 <action function="set">tw_complete_text1=Rebooting...</action>
2680 <action function="set">tw_slider_text=Swipe to Reboot</action>
2681 <action function="page">rebootcheck</action>
2682 </actions>
2683 </object>
2684
2685 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002686 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002687 <condition var1="tw_download_mode" var2="1" />
2688 <placement x="%col1_x%" y="%row3_y%" />
2689 <font resource="font" color="%button_text_color%" />
2690 <text>Download</text>
2691 <image resource="main_button" />
2692 <actions>
2693 <action function="set">tw_back=reboot</action>
2694 <action function="set">tw_action=reboot</action>
2695 <action function="set">tw_action_param=download</action>
2696 <action function="set">tw_has_action2=0</action>
2697 <action function="set">tw_text1=No OS Installed! Are you</action>
2698 <action function="set">tw_text2=sure you wish to reboot?</action>
2699 <action function="set">tw_action_text1=Rebooting...</action>
2700 <action function="set">tw_complete_text1=Rebooting...</action>
2701 <action function="set">tw_slider_text=Swipe to Reboot</action>
2702 <action function="page">rebootcheck</action>
2703 </actions>
2704 </object>
2705
2706 <object type="action">
2707 <touch key="home" />
2708 <action function="page">main</action>
2709 </object>
2710
2711 <object type="action">
2712 <touch key="back" />
2713 <action function="page">main</action>
2714 </object>
2715
2716 <object type="template" name="footer" />
2717 </page>
2718
2719 <page name="settings">
2720 <object type="template" name="header" />
2721
2722 <object type="text" color="%text_color%">
2723 <font resource="font" />
2724 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2725 <text>Settings</text>
2726 </object>
2727
2728 <object type="checkbox">
2729 <placement x="%col1_x%" y="%row1_text_y%" />
2730 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002731 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <data variable="tw_signed_zip_verify" />
2733 <image checked="checkbox_true" unchecked="checkbox_false" />
2734 </object>
2735
2736 <object type="checkbox">
2737 <placement x="%col1_x%" y="%row2_text_y%" />
2738 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002739 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002740 <data variable="tw_rm_rf" />
2741 <image checked="checkbox_true" unchecked="checkbox_false" />
2742 </object>
2743
2744 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002745 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002746 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002747 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <data variable="tw_skip_md5_generate" />
2749 <image checked="checkbox_true" unchecked="checkbox_false" />
2750 </object>
2751
2752 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002753 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002755 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <data variable="tw_skip_md5_check" />
2757 <image checked="checkbox_true" unchecked="checkbox_false" />
2758 </object>
2759
2760 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002761 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002763 <text>Use Military Time.</text>
2764 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002765 <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="%row6_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>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <data variable="tw_simulate_actions" />
2773 <image checked="checkbox_true" unchecked="checkbox_false" />
2774 </object>
2775
2776 <object type="checkbox">
2777 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002778 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002780 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <data variable="tw_simulate_fail" />
2782 <image checked="checkbox_true" unchecked="checkbox_false" />
2783 </object>
2784
2785 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002786 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002787 <placement x="%col1_x%" y="%row3_y%" />
2788 <font resource="font" color="%button_text_color%" />
2789 <text>Time Zone</text>
2790 <image resource="main_button" />
2791 <action function="page">timezone</action>
2792 </object>
2793
2794 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002795 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002796 <placement x="%col2_x%" y="%row3_y%" />
2797 <font resource="font" color="%button_text_color%" />
2798 <text>Screen</text>
2799 <image resource="main_button" />
2800 <action function="page">screen</action>
2801 </object>
2802
Ethan Yonker87c7bac2014-05-25 21:41:08 -05002803 <object type="button">
2804 <highlight color="%highlight_color%" />
Kra1o5781e6892014-03-10 00:37:26 +01002805 <placement x="%col1_x%" y="%row4_y%" />
2806 <font resource="font" color="%button_text_color%" />
2807 <text>Restore Defaults</text>
2808 <image resource="main_button" />
2809 <action function="restoredefaultsettings"></action>
2810 </object>
2811
Dees_Troy2f9117a2013-02-17 19:52:09 -06002812 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002813 <highlight color="%highlight_color%" />
2814 <placement x="%col2_x%" y="%row4_y%" />
2815 <font resource="font" color="%button_text_color%" />
2816 <text>Vibration Duration</text>
2817 <image resource="main_button" />
2818 <action function="page">Vibrate</action>
2819 </object>
2820
Dees_Troy51a0e822012-09-05 15:24:24 -04002821 <object type="action">
2822 <touch key="home" />
2823 <action function="page">main</action>
2824 </object>
2825
2826 <object type="action">
2827 <touch key="back" />
2828 <action function="page">main</action>
2829 </object>
2830
2831 <object type="template" name="footer" />
2832 </page>
2833
2834 <page name="timezone">
2835 <object type="template" name="header" />
2836
Dees_Troy51a0e822012-09-05 15:24:24 -04002837 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002838 <highlight color="%fileselector_highlight_color%" />
2839 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2840 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002841 <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 -06002842 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002843 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002844 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002845 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002846 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002847 <data name="tw_time_zone_guisel" />
2848 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2849 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2850 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2851 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2852 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2853 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2854 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2855 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2856 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2857 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2858 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2859 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2860 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2861 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2862 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2863 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2864 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2865 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2866 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2867 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2868 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2869 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2870 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2871 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2872 </object>
2873
2874 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002875 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002876 <font resource="font" color="%text_color%" />
2877 <text>Do you use daylight savings time (DST)?</text>
2878 <data variable="tw_time_zone_guidst" />
2879 <image checked="checkbox_true" unchecked="checkbox_false" />
2880 </object>
2881
2882 <object type="text" color="%text_color%">
2883 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002884 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002885 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2886 </object>
2887
2888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002889 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002890 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002891 <font resource="font" color="%button_text_color%" />
2892 <text>None</text>
2893 <image resource="medium_button" />
2894 <action function="set">tw_time_zone_guioffset=0</action>
2895 </object>
2896
2897 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002898 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002899 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002900 <font resource="font" color="%button_text_color%" />
2901 <text>15</text>
2902 <image resource="medium_button" />
2903 <action function="set">tw_time_zone_guioffset=15</action>
2904 </object>
2905
2906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002907 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002908 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002909 <font resource="font" color="%button_text_color%" />
2910 <text>30</text>
2911 <image resource="medium_button" />
2912 <action function="set">tw_time_zone_guioffset=30</action>
2913 </object>
2914
2915 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002916 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002917 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002918 <font resource="font" color="%button_text_color%" />
2919 <text>45</text>
2920 <image resource="medium_button" />
2921 <action function="set">tw_time_zone_guioffset=45</action>
2922 </object>
2923
2924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002925 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002926 <placement x="%col_center_x%" y="%tz_set_y%" />
2927 <font resource="font" color="%button_text_color%" />
2928 <text>Set Time Zone</text>
2929 <image resource="main_button" />
2930 <action function="setguitimezone"></action>
2931 </object>
2932
2933 <object type="text" color="%text_color%">
2934 <font resource="font" />
2935 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2936 <text>Current Time Zone: %tw_time_zone%</text>
2937 </object>
2938
2939 <object type="action">
2940 <touch key="home" />
2941 <action function="page">main</action>
2942 </object>
2943
2944 <object type="action">
2945 <touch key="back" />
2946 <action function="page">settings</action>
2947 </object>
2948
2949 <object type="template" name="footer" />
2950 </page>
2951
Dees_Troy2f9117a2013-02-17 19:52:09 -06002952 <page name="screen">
2953 <object type="template" name="header" />
2954
2955 <object type="text" color="%text_color%">
2956 <font resource="font" />
2957 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2958 <text>Screen Settings</text>
2959 </object>
2960
Dees_Troy2f9117a2013-02-17 19:52:09 -06002961 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002962 <placement x="%col1_x%" y="%row2_text_y%" />
2963 <font resource="font" color="%text_color%" />
2964 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002965 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002966 <text>Enable screen timeout.</text>
2967 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002968 <action function="set">tw_screen_timeout_secs=60</action>
2969 </object>
2970
2971 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002972 <placement x="%col1_x%" y="%row2_text_y%" />
2973 <font resource="font" color="%text_color%" />
2974 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002975 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002976 <text>Enable screen timeout.</text>
2977 <image resource="checkbox_true" />
2978 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002979 </object>
2980
Vojtech Bocek85932342013-04-01 22:11:33 +02002981 <object type="slidervalue">
2982 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002983 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002984 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2985 <font resource="font" color="%text_color%" />
2986 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2987 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2988 <text>Screen timeout in seconds:</text>
2989 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002990 </object>
2991
Vojtech Bocek85932342013-04-01 22:11:33 +02002992 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002993 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002994 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2995 <font resource="font" color="%text_color%" />
2996 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2997 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2998 <text>Brightness: %tw_brightness_pct%%</text>
2999 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06003000 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02003001 <action function="set">tw_brightness=%tw_brightness_max%</action>
3002 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
3003 <action function="compute">tw_brightness/100</action>
3004 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06003005 </actions>
3006 </object>
3007
3008 <object type="action">
3009 <touch key="home" />
3010 <action function="page">main</action>
3011 </object>
3012
3013 <object type="action">
3014 <touch key="back" />
3015 <action function="page">settings</action>
3016 </object>
3017
3018 <object type="template" name="footer" />
3019 </page>
3020
Ethan Yonker03db3262014-02-05 08:02:06 -06003021 <page name="Vibrate">
3022 <object type="template" name="header" />
3023
3024 <object type="text" color="%text_color%">
3025 <font resource="font" />
3026 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3027 <text>Vibration Settings :</text>
3028 </object>
3029
3030 <object type="slidervalue">
3031 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
3032 <font resource="font" color="%text_color%" />
3033 <text>Button Vibration:</text>
3034 <data variable="tw_button_vibrate" min="0" max="300" />
3035 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3036 </object>
3037
3038 <object type="slidervalue">
3039 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
3040 <font resource="font" color="%text_color%" />
3041 <text>Keyboard Vibration:</text>
3042 <data variable="tw_keyboard_vibrate" min="0" max="300" />
3043 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3044 </object>
3045
3046 <object type="slidervalue">
3047 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
3048 <font resource="font" color="%text_color%" />
3049 <text>Action Vibration:</text>
3050 <data variable="tw_action_vibrate" min="0" max="500" />
3051 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
3052 </object>
3053
3054 <object type="action">
3055 <touch key="home" />
3056 <action function="page">main</action>
3057 </object>
3058
3059 <object type="action">
3060 <touch key="back" />
3061 <action function="page">settings</action>
3062 </object>
3063
3064 <object type="template" name="footer" />
3065 </page>
3066
Dees_Troy51a0e822012-09-05 15:24:24 -04003067 <page name="advanced">
3068 <object type="template" name="header" />
3069
3070 <object type="text" color="%text_color%">
3071 <font resource="font" />
3072 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3073 <text>Advanced</text>
3074 </object>
3075
3076 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003077 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003078 <placement x="%col1_x%" y="%row1_y%" />
3079 <font resource="font" color="%button_text_color%" />
3080 <text>Copy Log to SD</text>
3081 <image resource="main_button" />
3082 <actions>
3083 <action function="set">tw_back=advanced</action>
3084 <action function="set">tw_action=copylog</action>
3085 <action function="set">tw_text1=Copy Log to SD Card?</action>
3086 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
3087 <action function="set">tw_complete_text1=Log Copy Complete</action>
3088 <action function="set">tw_slider_text=Swipe to Confirm</action>
3089 <action function="page">confirm_action</action>
3090 </actions>
3091 </object>
3092
3093 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003094 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003095 <placement x="%col2_x%" y="%row1_y%" />
3096 <font resource="font" color="%button_text_color%" />
3097 <text>Fix Permissions</text>
3098 <image resource="main_button" />
3099 <actions>
3100 <action function="set">tw_back=advanced</action>
3101 <action function="set">tw_action=fixpermissions</action>
3102 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003103 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003104 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
3105 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04003106 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003107 <action function="page">confirm_action</action>
3108 </actions>
3109 </object>
3110
3111 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003112 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003113 <condition var1="tw_allow_partition_sdcard" var2="1" />
3114 <placement x="%col1_x%" y="%row2_y%" />
3115 <font resource="font" color="%button_text_color%" />
3116 <text>Partition SD Card</text>
3117 <image resource="main_button" />
3118 <action function="page">partsdcard</action>
3119 </object>
3120
3121 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003122 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003123 <placement x="%col2_x%" y="%row2_y%" />
3124 <font resource="font" color="%button_text_color%" />
3125 <text>File Manager</text>
3126 <image resource="main_button" />
3127 <action function="page">filemanagerlist</action>
3128 </object>
3129
3130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <placement x="%col1_x%" y="%row3_y%" />
3133 <font resource="font" color="%button_text_color%" />
3134 <text>Terminal Command</text>
3135 <image resource="main_button" />
3136 <action function="page">terminalfolder</action>
3137 </object>
3138
3139 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003140 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003141 <placement x="%col2_x%" y="%row3_y%" />
3142 <font resource="font" color="%button_text_color%" />
3143 <text>Reload Theme</text>
3144 <image resource="main_button" />
3145 <action function="reload"></action>
3146 </object>
3147
3148 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003149 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003150 <placement x="%col1_x%" y="%row4_y%" />
3151 <font resource="font" color="%button_text_color%" />
3152 <text>ADB Sideload</text>
3153 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003154 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04003155 </object>
3156
3157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003158 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003159 <condition var1="tw_show_dumlock" var2="1" />
3160 <placement x="%col2_x%" y="%row4_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>HTC Dumlock</text>
3163 <image resource="main_button" />
3164 <action function="page">htcdumlock</action>
3165 </object>
3166
3167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003168 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003169 <condition var1="tw_has_injecttwrp" var2="1" />
3170 <placement x="%col2_x%" y="%row4_y%" />
3171 <font resource="font" color="%button_text_color%" />
3172 <text>Re-Inject TWRP</text>
3173 <image resource="main_button" />
3174 <actions>
3175 <action function="set">tw_back=advanced</action>
3176 <action function="set">tw_action=reinjecttwrp</action>
3177 <action function="set">tw_text1=Re-Inject TWRP?</action>
3178 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
3179 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
3180 <action function="set">tw_slider_text=Swipe to Confirm</action>
3181 <action function="page">confirm_action</action>
3182 </actions>
3183 </object>
3184
3185 <object type="action">
3186 <touch key="home" />
3187 <action function="page">main</action>
3188 </object>
3189
3190 <object type="action">
3191 <touch key="back" />
3192 <action function="page">main</action>
3193 </object>
3194
3195 <object type="template" name="footer" />
3196 </page>
3197
3198 <page name="partsdcard">
3199 <object type="template" name="header" />
3200
3201 <object type="text" color="%text_color%">
3202 <font resource="font" />
3203 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3204 <text>Partition SD Card</text>
3205 </object>
3206
3207 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003208 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003209 <placement x="%col1_x%" y="%row1_y%" />
3210 <font resource="font" color="%button_text_color%" />
3211 <text></text>
3212 <image resource="minus_button" />
3213 <action function="addsubtract">tw_sdext_size-128</action>
3214 </object>
3215
3216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003218 <placement x="%sd_plus_x%" y="%row1_y%" />
3219 <font resource="font" color="%button_text_color%" />
3220 <text></text>
3221 <image resource="plus_button" />
3222 <action function="addsubtract">tw_sdext_size+128</action>
3223 </object>
3224
3225 <object type="text" color="%text_color%">
3226 <font resource="font" />
3227 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
3228 <text>EXT Size: %tw_sdext_size%</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="%sdswap_button_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text></text>
3236 <image resource="minus_button" />
3237 <action function="addsubtract">tw_swap_size-32</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="%sdswap_button_y%" />
3243 <font resource="font" color="%button_text_color%" />
3244 <text></text>
3245 <image resource="plus_button" />
3246 <action function="addsubtract">tw_swap_size+32</action>
3247 </object>
3248
3249 <object type="text" color="%text_color%">
3250 <font resource="font" />
3251 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
3252 <text>Swap Size: %tw_swap_size%</text>
3253 </object>
3254
3255 <object type="text" color="%text_color%">
3256 <font resource="font" />
3257 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
3258 <text>File system: %tw_sdpart_file_system%</text>
3259 </object>
3260
3261 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003262 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003263 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
3264 <font resource="font" color="%button_text_color%" />
3265 <text>EXT3</text>
3266 <image resource="main_button" />
3267 <action function="set">tw_sdpart_file_system=ext3</action>
3268 </object>
3269
3270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003271 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003272 <condition var1="tw_sdext_disable_ext4" var2="0" />
3273 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
3274 <font resource="font" color="%button_text_color%" />
3275 <text>EXT4</text>
3276 <image resource="main_button" />
3277 <action function="set">tw_sdpart_file_system=ext4</action>
3278 </object>
3279
3280 <object type="text" color="%text_color%">
3281 <font resource="font" />
3282 <placement x="%col1_x%" y="%row12_text_y%" />
3283 <text>You will lose all files on your SD card!</text>
3284 </object>
3285
3286 <object type="text" color="%text_color%">
3287 <font resource="font" />
3288 <placement x="%col1_x%" y="%row13_text_y%" />
3289 <text>This action cannot be undone!</text>
3290 </object>
3291
3292 <object type="slider">
3293 <placement x="%slider_x%" y="%slider_y%" />
3294 <resource base="slider" used="slider-used" touch="slider-touch" />
3295 <action function="page">partsdcardaction</action>
3296 <actions>
3297 <action function="set">tw_back=partsdcard</action>
3298 <action function="set">tw_action=partitionsd</action>
3299 <action function="set">tw_has_action2=1</action>
3300 <action function="set">tw_action2=set</action>
3301 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
3302 <action function="set">tw_action_text1=Partitioning SD Card...</action>
3303 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04003304 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003305 <action function="page">action_page</action>
3306 </actions>
3307 </object>
3308
3309 <object type="text" color="%text_color%">
3310 <font resource="font" />
3311 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3312 <text>Swipe to Partition</text>
3313 </object>
3314
3315 <object type="action">
3316 <touch key="home" />
3317 <action function="page">main</action>
3318 </object>
3319
3320 <object type="action">
3321 <touch key="back" />
3322 <action function="page">advanced</action>
3323 </object>
3324
3325 <object type="template" name="footer" />
3326 </page>
3327
3328 <page name="htcdumlock">
3329 <object type="template" name="header" />
3330
3331 <object type="text" color="%text_color%">
3332 <font resource="font" />
3333 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3334 <text>HTC Dumlock</text>
3335 </object>
3336
3337 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003338 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003339 <condition var1="tw_show_dumlock" var2="1" />
3340 <placement x="%col1_x%" y="%row1_y%" />
3341 <font resource="font" color="%button_text_color%" />
3342 <text>Restore Original Boot</text>
3343 <image resource="main_button" />
3344 <actions>
3345 <action function="set">tw_back=htcdumlock</action>
3346 <action function="set">tw_action=htcdumlockrestoreboot</action>
3347 <action function="set">tw_text1=Restore original boot image?</action>
3348 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3349 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3350 <action function="set">tw_slider_text=Swipe to Confirm</action>
3351 <action function="page">confirm_action</action>
3352 </actions>
3353 </object>
3354
3355 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003356 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003357 <condition var1="tw_show_dumlock" var2="1" />
3358 <placement x="%col2_x%" y="%row1_y%" />
3359 <font resource="font" color="%button_text_color%" />
3360 <text>Reflash Recovery</text>
3361 <image resource="main_button" />
3362 <actions>
3363 <action function="set">tw_back=htcdumlock</action>
3364 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3365 <action function="set">tw_text1=Reflash recovery to boot?</action>
3366 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3367 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3368 <action function="set">tw_slider_text=Swipe to Confirm</action>
3369 <action function="page">confirm_action</action>
3370 </actions>
3371 </object>
3372
3373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003375 <condition var1="tw_show_dumlock" var2="1" />
3376 <placement x="%col1_x%" y="%row2_y%" />
3377 <font resource="font" color="%button_text_color%" />
3378 <text>Install HTC Dumlock</text>
3379 <image resource="main_button" />
3380 <actions>
3381 <action function="set">tw_back=htcdumlock</action>
3382 <action function="set">tw_action=installhtcdumlock</action>
3383 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3384 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3385 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3386 <action function="set">tw_slider_text=Swipe to Confirm</action>
3387 <action function="page">confirm_action</action>
3388 </actions>
3389 </object>
3390
3391 <object type="action">
3392 <touch key="home" />
3393 <action function="page">main</action>
3394 </object>
3395
3396 <object type="action">
3397 <touch key="back" />
3398 <action function="page">advanced</action>
3399 </object>
3400
3401 <object type="template" name="footer" />
3402 </page>
3403
3404 <page name="lock">
3405 <background color="#000000A0" />
3406
3407 <object type="image">
3408 <image resource="unlock-icon" />
3409 <placement x="%lock_x%" y="%lock_y%" />
3410 </object>
3411
3412 <object type="slider">
3413 <placement x="%slider_x%" y="%slider_y%" />
3414 <resource base="slider" used="slider-used" touch="slider-touch" />
3415 <action function="overlay"></action>
3416 </object>
3417
3418 <object type="text" color="%text_color%">
3419 <font resource="font" />
3420 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3421 <text>Swipe to Unlock</text>
3422 </object>
3423 </page>
3424
3425 <page name="filemanagerlist">
3426 <object type="template" name="header" />
3427
3428 <object type="text" color="%text_color%">
3429 <font resource="font" />
3430 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3431 <text>File Manager: Select a File or Folder</text>
3432 </object>
3433
3434 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003435 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003436 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3437 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003438 <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 -04003439 <text>%tw_file_location1%</text>
3440 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3441 <sort name="tw_gui_sort_order" />
3442 <icon folder="folder_icon" file="file_icon" />
3443 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003444 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003445 <folders="1" files="1" />
3446 <path name="tw_file_location1" default="/" />
3447 <data name="tw_filename1" />
3448 <selection name="tw_selection1" />
3449 </object>
3450
3451 <object type="template" name="sort_options" />
3452
3453 <object type="action">
3454 <actions>
3455 <action function="set">tw_fm_type=File</action>
3456 <action function="set">tw_fm_isfolder=0</action>
3457 </actions>
3458 </object>
3459
3460 <object type="action">
3461 <touch key="home" />
3462 <action function="page">main</action>
3463 </object>
3464
3465 <object type="action">
3466 <touch key="back" />
3467 <action function="page">advanced</action>
3468 </object>
3469
3470 <object type="action">
3471 <condition var1="tw_filename1" op="modified" />
3472 <actions>
3473 <action function="page">filemanageroptions</action>
3474 </actions>
3475 </object>
3476
3477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003479 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3480 <font resource="font" color="%button_text_color%" />
3481 <text>Select</text>
3482 <image resource="medium_button" />
3483 <actions>
3484 <action function="set">tw_filename1=tw_file_location1</action>
3485 <action function="set">tw_fm_isfolder=1</action>
3486 <action function="set">tw_fm_type=Folder</action>
3487 <action function="page">filemanageroptions</action>
3488 </actions>
3489 </object>
3490
3491 <object type="template" name="footer" />
3492 </page>
3493
3494 <page name="filemanageroptions">
3495 <object type="template" name="header" />
3496
3497 <object type="text" color="%text_color%">
3498 <font resource="font" />
3499 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3500 <text>%tw_fm_type% Selected:</text>
3501 </object>
3502
3503 <object type="text" color="%text_color%">
3504 <font resource="font" />
3505 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3506 <text>%tw_filename1%</text>
3507 </object>
3508
3509 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003510 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003511 <condition var1="tw_fm_isfolder" var2="0" />
3512 <placement x="%col1_x%" y="%row2_y%" />
3513 <font resource="font" color="%button_text_color%" />
3514 <text>Copy File</text>
3515 <image resource="main_button" />
3516 <actions>
3517 <action function="set">tw_filemanager_command=cp</action>
3518 <action function="set">tw_fm_text1=Copying</action>
3519 <action function="page">choosedestinationfolder</action>
3520 </actions>
3521 </object>
3522
3523 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003524 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003525 <condition var1="tw_fm_isfolder" var2="1" />
3526 <placement x="%col1_x%" y="%row2_y%" />
3527 <font resource="font" color="%button_text_color%" />
3528 <text>Copy Folder</text>
3529 <image resource="main_button" />
3530 <actions>
3531 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3532 <action function="set">tw_fm_text1=Copying</action>
3533 <action function="page">choosedestinationfolder</action>
3534 </actions>
3535 </object>
3536
3537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003538 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003539 <placement x="%col2_x%" y="%row2_y%" />
3540 <font resource="font" color="%button_text_color%" />
3541 <text>Move</text>
3542 <image resource="main_button" />
3543 <actions>
3544 <action function="set">tw_filemanager_command=mv</action>
3545 <action function="set">tw_fm_text1=Moving</action>
3546 <action function="page">choosedestinationfolder</action>
3547 </actions>
3548 </object>
3549
3550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003551 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003552 <placement x="%col1_x%" y="%row3_y%" />
3553 <font resource="font" color="%button_text_color%" />
3554 <text>chmod 755</text>
3555 <image resource="main_button" />
3556 <actions>
3557 <action function="set">tw_filemanager_command=chmod 755</action>
3558 <action function="set">tw_fm_text1=chmod 755</action>
3559 <action function="set">tw_fm_text2=</action>
3560 <action function="set">tw_fm_text3=</action>
3561 <action function="set">tw_include_text3=0</action>
3562 <action function="set">tw_back=filemanageroptions</action>
3563 <action function="page">filemanagerconfirm</action>
3564 </actions>
3565 </object>
3566
3567 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003568 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003569 <placement x="%col2_x%" y="%row3_y%" />
3570 <font resource="font" color="%button_text_color%" />
3571 <text>chmod</text>
3572 <image resource="main_button" />
3573 <actions>
3574 <action function="set">tw_filemanager_rename=0000</action>
3575 <action function="set">tw_fm_text2=</action>
3576 <action function="set">tw_fm_text3=</action>
3577 <action function="set">tw_include_text3=0</action>
3578 <action function="set">tw_back=filemanageroptions</action>
3579 <action function="page">filemanagerchmod</action>
3580 </actions>
3581 </object>
3582
3583 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003584 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003585 <placement x="%col1_x%" y="%row4_y%" />
3586 <font resource="font" color="%button_text_color%" />
3587 <text>Delete</text>
3588 <image resource="main_button" />
3589 <actions>
3590 <action function="set">tw_filemanager_command=rm -rf</action>
3591 <action function="set">tw_fm_text1=Deleting</action>
3592 <action function="set">tw_fm_text2=</action>
3593 <action function="set">tw_fm_text3=</action>
3594 <action function="set">tw_include_text3=0</action>
3595 <action function="set">tw_back=filemanageroptions</action>
3596 <action function="page">filemanagerconfirm</action>
3597 </actions>
3598 </object>
3599
3600 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003601 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003602 <condition var1="tw_fm_isfolder" var2="0" />
3603 <placement x="%col2_x%" y="%row4_y%" />
3604 <font resource="font" color="%button_text_color%" />
3605 <text>Rename File</text>
3606 <image resource="main_button" />
3607 <actions>
3608 <action function="set">tw_filemanager_rename=tw_selection1</action>
3609 <action function="set">tw_fm_text1=Renaming</action>
3610 <action function="set">tw_filemanager_command=mv</action>
3611 <action function="page">filemanagerrenamefile</action>
3612 </actions>
3613 </object>
3614
3615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003617 <condition var1="tw_fm_isfolder" var2="1" />
3618 <placement x="%col2_x%" y="%row4_y%" />
3619 <font resource="font" color="%button_text_color%" />
3620 <text>Rename Folder</text>
3621 <image resource="main_button" />
3622 <actions>
3623 <action function="set">tw_filemanager_rename=tw_selection1</action>
3624 <action function="set">tw_fm_text1=Renaming</action>
3625 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3626 <action function="page">filemanagerrenamefolder</action>
3627 </actions>
3628 </object>
3629
3630 <object type="action">
3631 <touch key="home" />
3632 <action function="page">main</action>
3633 </object>
3634
3635 <object type="action">
3636 <touch key="back" />
3637 <action function="page">filemanagerlist</action>
3638 </object>
3639
3640 <object type="template" name="footer" />
3641 </page>
3642
3643 <page name="choosedestinationfolder">
3644 <object type="template" name="header" />
3645
3646 <object type="text" color="%text_color%">
3647 <font resource="font" />
3648 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3649 <text>Browse to Destination Folder & Press Select</text>
3650 </object>
3651
3652 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003653 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003654 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3655 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003656 <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 -04003657 <text>%tw_file_location2%</text>
3658 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3659 <sort name="tw_gui_sort_order" />
3660 <icon folder="folder_icon" file="file_icon" />
3661 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003662 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003663 <filter folders="1" files="0" />
3664 <path name="tw_file_location2" default="/" />
3665 <data name="tw_filename2" />
3666 <selection name="tw_selection2" />
3667 </object>
3668
3669 <object type="template" name="sort_options" />
3670
3671 <object type="action">
3672 <touch key="home" />
3673 <action function="page">main</action>
3674 </object>
3675
3676 <object type="action">
3677 <touch key="back" />
3678 <action function="page">filemanageroptions</action>
3679 </object>
3680
3681 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003682 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003683 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3684 <font resource="font" color="%button_text_color%" />
3685 <text>Select</text>
3686 <image resource="medium_button" />
3687 <actions>
3688 <action function="set">tw_fm_text2=to</action>
3689 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3690 <action function="set">tw_include_text3=1</action>
3691 <action function="set">tw_back=filemanageroptions</action>
3692 <action function="page">filemanagerconfirm</action>
3693 </actions>
3694 </object>
3695
3696 <object type="template" name="footer" />
3697 </page>
3698
3699 <page name="filemanagerrenamefile">
3700 <object type="template" name="header" />
3701
3702 <object type="text" color="%text_color%">
3703 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3704 <font resource="font" />
3705 <text>Please Enter a New %tw_fm_type% Name</text>
3706 </object>
3707
3708 <object type="input">
3709 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3710 <background color="%input_background_color%" />
3711 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3712 <font resource="font" color="%text_color%" />
3713 <text>%tw_filemanager_rename%</text>
3714 <data name="tw_filemanager_rename" />
3715 <restrict minlen="1" maxlen="128" />
3716 <actions>
3717 <action function="set">tw_fm_text2=to</action>
3718 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3719 <action function="set">tw_include_text3=1</action>
3720 <action function="set">tw_back=filemanageroptions</action>
3721 <action function="page">filemanagerconfirm</action>
3722 </actions>
3723 </object>
3724
3725 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003726 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003727 <placement x="%col_center_x%" y="%row2_y%" />
3728 <font resource="font" color="%button_text_color%" />
3729 <text>Cancel</text>
3730 <image resource="main_button" />
3731 <action function="page">filemanageroptions</action>
3732 </object>
3733
3734 <object type="template" name="keyboardtemplate" />
3735
3736 <object type="action">
3737 <touch key="home" />
3738 <action function="page">main</action>
3739 </object>
3740
3741 <object type="action">
3742 <touch key="back" />
3743 <action function="page">filemanageroptions</action>
3744 </object>
3745
3746 <object type="template" name="footer" />
3747 </page>
3748
3749 <page name="filemanagerrenamefolder">
3750 <object type="template" name="header" />
3751
3752 <object type="text" color="%text_color%">
3753 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3754 <font resource="font" />
3755 <text>Please Enter a New %tw_fm_type% Name</text>
3756 </object>
3757
3758 <object type="input">
3759 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3760 <background color="%input_background_color%" />
3761 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3762 <font resource="font" color="%text_color%" />
3763 <text>%tw_filemanager_rename%</text>
3764 <data name="tw_filemanager_rename" />
3765 <restrict minlen="1" maxlen="128" />
3766 <actions>
3767 <action function="set">tw_fm_text2=to</action>
3768 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3769 <action function="set">tw_include_text3=1</action>
3770 <action function="set">tw_back=filemanageroptions</action>
3771 <action function="page">filemanagerconfirm</action>
3772 </actions>
3773 </object>
3774
3775 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003776 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003777 <placement x="%col_center_x%" y="%row2_y%" />
3778 <font resource="font" color="%button_text_color%" />
3779 <text>Cancel</text>
3780 <image resource="main_button" />
3781 <action function="page">filemanageroptions</action>
3782 </object>
3783
3784 <object type="template" name="keyboardtemplate" />
3785
3786 <object type="action">
3787 <touch key="home" />
3788 <action function="page">main</action>
3789 </object>
3790
3791 <object type="action">
3792 <touch key="back" />
3793 <action function="page">filemanageroptions</action>
3794 </object>
3795
3796 <object type="template" name="footer" />
3797 </page>
3798
3799 <page name="filemanagerchmod">
3800 <object type="template" name="header" />
3801
3802 <object type="text" color="%text_color%">
3803 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3804 <font resource="font" />
3805 <text>Please Enter New Permissions</text>
3806 </object>
3807
3808 <object type="input">
3809 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3810 <background color="%input_background_color%" />
3811 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3812 <font resource="font" color="%text_color%" />
3813 <text>%tw_filemanager_rename%</text>
3814 <data name="tw_filemanager_rename" />
3815 <restrict minlen="3" maxlen="4" allow="0123456789" />
3816 <actions>
3817 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3818 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3819 <action function="set">tw_back=filemanageroptions</action>
3820 <action function="page">filemanagerconfirm</action>
3821 </actions>
3822 </object>
3823
3824 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003825 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003826 <placement x="%col_center_x%" y="%row2_y%" />
3827 <font resource="font" color="%button_text_color%" />
3828 <text>Cancel</text>
3829 <image resource="main_button" />
3830 <action function="page">filemanageroptions</action>
3831 </object>
3832
3833 <object type="template" name="keyboardtemplate" />
3834
3835 <object type="action">
3836 <touch key="home" />
3837 <action function="page">main</action>
3838 </object>
3839
3840 <object type="action">
3841 <touch key="back" />
3842 <action function="page">filemanageroptions</action>
3843 </object>
3844
3845 <object type="template" name="footer" />
3846 </page>
3847
3848 <page name="filemanagerconfirm">
3849 <object type="template" name="header" />
3850
3851 <object type="text" color="%text_color%">
3852 <font resource="font" />
3853 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3854 <text>%tw_fm_text1%</text>
3855 </object>
3856
3857 <object type="text" color="%text_color%">
3858 <font resource="font" />
3859 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3860 <text>%tw_filename1%</text>
3861 </object>
3862
3863 <object type="text" color="%text_color%">
3864 <font resource="font" />
3865 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3866 <text>%tw_fm_text2%</text>
3867 </object>
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3872 <text>%tw_fm_text3%</text>
3873 </object>
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3878 <text>Press back button to cancel.</text>
3879 </object>
3880
3881 <object type="slider">
3882 <placement x="%slider_x%" y="%slider_y%" />
3883 <resource base="slider" used="slider-used" touch="slider-touch" />
3884 <action function="page">filemanageracction</action>
3885 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003886
Dees_Troy51a0e822012-09-05 15:24:24 -04003887 <object type="text" color="%text_color%">
3888 <font resource="font" />
3889 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3890 <text>Swipe to Confirm</text>
3891 </object>
3892
3893 <object type="action">
3894 <touch key="back" />
3895 <action function="page">%tw_back%</action>
3896 </object>
3897
3898 <object type="action">
3899 <touch key="home" />
3900 <action function="page">main</action>
3901 </object>
Matt Mowerfb1c4ff2014-04-16 13:43:36 -05003902
Dees_Troy51a0e822012-09-05 15:24:24 -04003903 <object type="template" name="footer" />
3904 </page>
3905
3906 <page name="filemanageracction">
3907 <object type="template" name="header" />
3908
3909 <object type="text" color="%text_color%">
3910
3911 <font resource="font" />
3912 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3913 <text>%tw_fm_text1%</text>
3914 </object>
3915
3916 <object type="template" name="action_page_console" />
3917
3918 <object type="template" name="progress_bar" />
3919
3920 <object type="action">
3921 <conditions>
3922 <condition var1="tw_operation_state" var2="1" />
3923 <condition var1="tw_operation_status" var2="0" />
3924 </conditions>
3925 <actions>
3926 <action function="set">tw_back=filemanagerlist</action>
3927 <action function="set">tw_complete_text1=File Operation Complete</action>
3928 <action function="page">action_complete</action>
3929 </actions>
3930 </object>
3931
3932 <object type="action">
3933 <conditions>
3934 <condition var1="tw_operation_state" var2="1" />
3935 <condition var1="tw_operation_status" op="!=" var2="0" />
3936 </conditions>
3937 <actions>
3938 <action function="set">tw_complete_text1=File Operation Complete</action>
3939 <action function="page">action_complete</action>
3940 </actions>
3941 </object>
3942
3943 <object type="action">
3944 <condition var1="tw_include_text3" var2="0" />
3945 <actions>
3946 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3947 </actions>
3948 </object>
3949
3950 <object type="action">
3951 <condition var1="tw_include_text3" var2="1" />
3952 <actions>
3953 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3954 </actions>
3955 </object>
3956 </page>
3957
3958 <page name="decrypt">
3959 <object type="template" name="header" />
3960
3961 <object type="text" color="%text_color%">
3962 <font resource="font" />
3963 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3964 <text>Please Enter Your Password</text>
3965 </object>
3966
3967 <object type="input">
3968 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3969 <background color="%input_background_color%" />
3970 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3971 <font resource="font" color="%text_color%" />
3972 <text>%tw_crypto_display%</text>
3973 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3974 <restrict minlen="1" maxlen="254" />
3975 <actions>
3976 <action function="page">trydecrypt</action>
3977 </actions>
3978 </object>
3979
3980 <object type="text" color="%text_fail_color%">
3981 <condition var1="tw_password_fail" var2="1" />
3982 <font resource="font" />
3983 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3984 <text>Password Failed, Please Try Again</text>
3985 </object>
3986
3987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003988 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003989 <placement x="%col_center_x%" y="%row2_y%" />
3990 <font resource="font" color="%button_text_color%" />
3991 <text>Cancel</text>
3992 <image resource="main_button" />
3993 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003994 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003995 <action function="page">main</action>
3996 </actions>
3997 </object>
3998
3999 <object type="template" name="keyboardtemplate" />
4000
Dees_Troy51a0e822012-09-05 15:24:24 -04004001 <object type="template" name="footer" />
4002 </page>
4003
4004 <page name="trydecrypt">
4005 <object type="template" name="header" />
4006
4007 <object type="text" color="%text_color%">
4008 <font resource="font" />
4009 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
4010 <text>Trying Decryption with Your Password</text>
4011 </object>
4012
4013 <object type="template" name="action_page_console" />
4014
4015 <object type="template" name="progress_bar" />
4016
4017 <object type="action">
4018 <action function="decrypt"></action>
4019 </object>
4020
4021 <object type="action">
4022 <conditions>
4023 <condition var1="tw_operation_state" var2="1" />
4024 <condition var1="tw_operation_status" op="!=" var2="0" />
4025 </conditions>
4026 <actions>
4027 <action function="set">tw_password_fail=1</action>
4028 <action function="page">decrypt</action>
4029 </actions>
4030 </object>
4031
4032 <object type="action">
4033 <conditions>
4034 <condition var1="tw_operation_state" var2="1" />
4035 <condition var1="tw_operation_status" op="=" var2="0" />
4036 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00004037 <actions>
4038 <action function="set">tw_page_done=1</action>
4039 <action function="page">main</action>
4040 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04004041 </object>
4042 </page>
4043
4044 <page name="terminalfolder">
4045 <object type="template" name="header" />
4046
4047 <object type="text" color="%text_color%">
4048 <font resource="font" />
4049 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4050 <text>Browse to Starting Folder</text>
4051 </object>
4052
4053 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06004054 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004055 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
4056 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01004057 <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 -04004058 <text>%tw_terminal_location%</text>
4059 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
4060 <sort name="tw_gui_sort_order" />
4061 <icon folder="folder_icon" file="file_icon" />
4062 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06004063 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004064 <filter folders="1" files="0" />
4065 <path name="tw_terminal_location" default="/" />
4066 <data name="tw_terminal" />
4067 <selection name="tw_terminal_selection" />
4068 </object>
4069
4070 <object type="template" name="sort_options" />
4071
4072 <object type="action">
4073 <touch key="home" />
4074 <action function="page">main</action>
4075 </object>
4076
4077 <object type="action">
4078 <touch key="back" />
4079 <action function="page">advanced</action>
4080 </object>
4081
4082 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004083 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004084 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
4085 <font resource="font" color="%button_text_color%" />
4086 <text>Select</text>
4087 <image resource="medium_button" />
4088 <actions>
4089 <action function="page">terminalcommand</action>
4090 </actions>
4091 </object>
4092
4093 <object type="template" name="footer" />
4094 </page>
4095
4096 <page name="terminalcommand">
4097 <object type="template" name="header" />
4098
4099 <object type="console">
4100 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
4101 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
4102 <font resource="fixed" />
4103 </object>
4104
4105 <object type="text" color="%text_color%">
4106 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
4107 <font resource="font" />
4108 <text>Starting Path: %tw_terminal_location%</text>
4109 </object>
4110
4111 <object type="input">
4112 <condition var1="tw_terminal_state" var2="0" />
4113 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
4114 <background color="%input_background_color%" />
4115 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
4116 <font resource="font" color="%text_color%" />
4117 <text>%tw_terminal_command%</text>
4118 <data name="tw_terminal_command" />
4119 <restrict minlen="1" />
4120 <action function="terminalcommand">%tw_terminal_command%</action>
4121 </object>
4122
4123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06004124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04004125 <condition var1="tw_terminal_state" var2="1" />
4126 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
4127 <font resource="font" color="%button_text_color%" />
4128 <text>KILL</text>
4129 <image resource="medium_button" />
4130 <action function="killterminal"></action>
4131 </object>
4132
4133 <object type="template" name="keyboardtemplate" />
4134
4135 <object type="action">
4136 <touch key="home" />
4137 <action function="page">main</action>
4138 </object>
4139
4140 <object type="action">
4141 <touch key="back" />
4142 <action function="page">terminalfolder</action>
4143 </object>
4144 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05004145
4146 <page name="sideload">
4147 <object type="template" name="header" />
4148
4149 <object type="text" color="%text_color%">
4150 <font resource="font" />
4151 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4152 <text>ADB Sideload</text>
4153 </object>
4154
4155 <object type="checkbox">
4156 <placement x="%col1_x%" y="%row2_text_y%" />
4157 <font resource="font" color="%text_color%" />
4158 <text>Wipe Dalvik Cache.</text>
4159 <data variable="tw_wipe_dalvik" />
4160 <image checked="checkbox_true" unchecked="checkbox_false" />
4161 </object>
4162
4163 <object type="checkbox">
4164 <placement x="%col1_x%" y="%row3_text_y%" />
4165 <font resource="font" color="%text_color%" />
4166 <text>Wipe Cache.</text>
4167 <data variable="tw_wipe_cache" />
4168 <image checked="checkbox_true" unchecked="checkbox_false" />
4169 </object>
4170
4171 <object type="slider">
4172 <placement x="%slider_x%" y="%slider_y%" />
4173 <resource base="slider" used="slider-used" touch="slider-touch" />
4174 <actions>
4175 <action function="set">tw_back=advanced</action>
4176 <action function="set">tw_action=adbsideload</action>
4177 <action function="set">tw_action_text1=ADB Sideload</action>
4178 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
4179 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
4180 <action function="set">tw_has_cancel=1</action>
4181 <action function="set">tw_show_reboot=1</action>
4182 <action function="set">tw_cancel_action=adbsideloadcancel</action>
4183 <action function="page">action_page</action>
4184 </actions>
4185 </object>
4186
4187 <object type="text" color="%text_color%">
4188 <font resource="font" />
4189 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4190 <text>Swipe to Start Sideload</text>
4191 </object>
4192
4193 <object type="action">
4194 <touch key="home" />
4195 <action function="page">main</action>
4196 </object>
4197
4198 <object type="action">
4199 <touch key="back" />
4200 <action function="page">advanced</action>
4201 </object>
4202
4203 <object type="template" name="footer" />
4204 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06004205
4206 <page name="installsu">
4207 <object type="template" name="header" />
4208
4209 <object type="text" color="%text_color%">
4210 <font resource="font" />
4211 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
4212 <text>Install SuperSU?</text>
4213 </object>
4214
4215 <object type="text" color="%text_color%">
4216 <font resource="font" />
4217 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
4218 <text>Your device does not appear to be rooted.</text>
4219 </object>
4220
4221 <object type="text" color="%text_color%">
4222 <font resource="font" />
4223 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
4224 <text>Install SuperSU now?</text>
4225 </object>
4226
4227 <object type="text" color="%text_color%">
4228 <font resource="font" />
4229 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
4230 <text>This will root your device.</text>
4231 </object>
4232
4233 <object type="button">
4234 <highlight color="%highlight_color%" />
4235 <placement x="%col_center_x%" y="%row3_y%" />
4236 <font resource="font" color="%button_text_color%" />
4237 <text>Do Not Install</text>
4238 <image resource="main_button" />
4239 <action function="set">tw_page_done=1</action>
4240 </object>
4241
4242 <object type="slider">
4243 <placement x="%slider_x%" y="%slider_y%" />
4244 <resource base="slider" used="slider-used" touch="slider-touch" />
4245 <actions>
4246 <action function="set">tw_action=installsu</action>
4247 <action function="set">tw_action_text1=Installing SuperSU</action>
4248 <action function="set">tw_action_text2=</action>
4249 <action function="page">singleaction_page</action>
4250 </actions>
4251 </object>
4252
4253 <object type="text" color="%text_color%">
4254 <font resource="font" />
4255 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
4256 <text>Swipe to Install</text>
4257 </object>
4258 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04004259 </pages>
4260</recovery>