blob: 31006e6fa58cae868122414320adbf3c128db1aa [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="800" height="1280" />
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-Condensed-30" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Condensed-30" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Condensed-30" />
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_Troya13d74f2013-03-24 08:54:55 -050046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="415" />
Dees_Troy51a0e822012-09-05 15:24:24 -040048 <variable name="col_center_x" value="213" />
Dees_Troyb46a6842012-09-25 11:06:46 -040049 <variable name="col_center_medium_x" value="306" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="400" />
51 <variable name="row1_y" value="185" />
52 <variable name="row2_y" value="425" />
53 <variable name="row3_y" value="665" />
54 <variable name="row4_y" value="905" />
Dees_Troy51a0e822012-09-05 15:24:24 -040055 <variable name="row_queue_y" value="710" />
56 <variable name="row1_header_y" value="131" />
57 <variable name="row1_text_y" value="170" />
58 <variable name="row2_text_y" value="220" />
59 <variable name="row3_text_y" value="270" />
60 <variable name="row4_text_y" value="320" />
61 <variable name="row5_text_y" value="370" />
62 <variable name="row6_text_y" value="420" />
63 <variable name="row7_text_y" value="470" />
64 <variable name="row8_text_y" value="520" />
65 <variable name="row9_text_y" value="570" />
66 <variable name="row10_text_y" value="620" />
67 <variable name="row11_text_y" value="670" />
Dees_Troycfb63ae2012-09-19 14:30:17 -040068 <variable name="row12_text_y" value="720" />
Dees_Troy51a0e822012-09-05 15:24:24 -040069 <variable name="row13_text_y" value="770" />
70 <variable name="row14_text_y" value="820" />
71 <variable name="row15_text_y" value="870" />
72 <variable name="row16_text_y" value="920" />
73 <variable name="row17_text_y" value="970" />
74 <variable name="row18_text_y" value="1020" />
75 <variable name="zip_status_y" value="640" />
76 <variable name="tz_selected_y" value="160" />
77 <variable name="tz_set_y" value="955" />
Dees_Troyb46a6842012-09-25 11:06:46 -040078 <variable name="tz_current_y" value="1185" />
Dees_Troy51a0e822012-09-05 15:24:24 -040079 <variable name="col_progressbar_x" value="264" />
80 <variable name="row_progressbar_y" value="1100" />
Dees_Troyb46a6842012-09-25 11:06:46 -040081 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="208" />
83 <variable name="col3_medium_x" value="406" />
84 <variable name="col4_medium_x" value="604" />
Dees_Troy51a0e822012-09-05 15:24:24 -040085 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="840" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="98" />
93 <variable name="slider_y" value="1030" />
Dees_Troyb46a6842012-09-25 11:06:46 -040094 <variable name="slider_text_y" value="1096" />
Dees_Troy51a0e822012-09-05 15:24:24 -040095 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="50" />
101 <variable name="home_button_y" value="1226" />
102 <variable name="back_button_x" value="666" />
103 <variable name="back_button_y" value="1226" />
104 <variable name="sort_text_x" value="85" />
105 <variable name="sort_asc_text_y" value="1090" />
106 <variable name="sort_asc_button_y" value="1080" />
107 <variable name="sort_desc_text_y" value="1150" />
108 <variable name="sort_desc_button_y" value="1140" />
109 <variable name="sort_col1_button_x" value="330" />
110 <variable name="sort_col2_button_x" value="430" />
111 <variable name="sort_col3_button_x" value="530" />
112 <variable name="input_width" value="750" />
113 <variable name="input_height" value="50" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="3" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="800" />
119 <variable name="console_foreground" value="#A0A0A0" />
120 <variable name="console_background" value="#303030" />
121 <variable name="console_scroll" value="#303030" />
122 <variable name="console_action_height" value="470" />
123 <variable name="console_install_height" value="600" />
124 <variable name="console_installdone_height" value="440" />
125 <variable name="fileselector_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500126 <variable name="fileselector_width" value="790" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400127 <variable name="fileselector_install_height" value="750" />
128 <variable name="fileselector_header_background" value="#202020" />
129 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
130 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
131 <variable name="fileselector_header_separatorheight" value="3" />
132 <variable name="fileselector_separatorcolor" value="#505050" />
133 <variable name="fileselector_separatorheight" value="2" />
134 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600135 <variable name="fileselector_highlight_color" value="#505050" />
136 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400137 <variable name="fileselector_spacing" value="36"/>
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100138 <variable name="fastscroll_linecolor" value="#808080" />
139 <variable name="fastscroll_rectcolor" value="#808080" />
140 <variable name="fastscroll_w" value="60" />
141 <variable name="fastscroll_linew" value="2" />
142 <variable name="fastscroll_rectw" value="40" />
143 <variable name="fastscroll_recth" value="70" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_x" value="5" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500145 <variable name="listbox_width" value="790" />
Dees_Troyeead9852013-02-15 14:31:06 -0600146 <variable name="listbox_tz_height" value="580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="listbox_background" value="#303030" />
148 <variable name="listbox_spacing" value="16" />
149 <variable name="sd_plus_x" value="350" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400150 <variable name="sdext_text_x" value="115" />
151 <variable name="sdext_text_y" value="190" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400152 <variable name="sdswap_button_y" value="260" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400153 <variable name="sdswap_text_x" value="115" />
154 <variable name="sdswap_text_y" value="265" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400155 <variable name="sdfilesystem_text_y" value="340" />
156 <variable name="sdfilesystem_button_y" value="380" />
157 <variable name="lock_x" value="200" />
158 <variable name="lock_y" value="400" />
159 <variable name="filemanager_select_x" value="320" />
160 <variable name="filemanager_select_y" value="950" />
161 <variable name="backup_name_y" value="550" />
162 <variable name="terminal_console_height" value="600" />
163 <variable name="terminal_text_y" value="650" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400164 <variable name="terminal_button_y" value="620" />
165 <variable name="row_dst_text_y" value="720" />
166 <variable name="row_offset_text_y" value="800" />
167 <variable name="row_offset_medium_y" value="840" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500168 <variable name="button_fill_color" value="#303030" />
169 <variable name="button_fill_full_width" value="780" />
170 <variable name="button_fill_main_width" value="375" />
171 <variable name="button_fill_main_height" value="240" />
172 <variable name="button_fill_half_height" value="120" />
173 <variable name="button_fill_quarter_height" value="54" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000174 <variable name="backup_list_height" value="520" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500175 <variable name="backup_button_row1" value="745" />
176 <variable name="backup_button_row2" value="810" />
177 <variable name="mount_list_height" value="690" />
178 <variable name="mount_storage_row" value="830" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000179 <variable name="storage_list_height" value="775" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="wipe_list_height" value="870" />
181 <variable name="wipe_button_y" value="650" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200182 <variable name="slidervalue_w" value="780" />
183 <variable name="slidervalue_line_clr" value="#FFFFFF" />
184 <variable name="slidervalue_slider_clr" value="#33B5E5" />
185 <variable name="slidervalue_lineh" value="2" />
186 <variable name="slidervalue_padding" value="20" />
187 <variable name="slidervalue_sliderw" value="10" />
188 <variable name="slidervalue_sliderh" value="60" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400189 </variables>
190
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100191 <mousecursor>
192 <placement w="15" h="15" />
193 <background color="#FFFF00FF" resource="cursor" />
194 <speed multiplier="2.5" />
195 </mousecursor>
196
Dees_Troy51a0e822012-09-05 15:24:24 -0400197 <templates>
198 <template name="header">
199 <background color="#000000FF" />
200
201 <object type="image">
202 <image resource="top_bar" />
203 <placement x="0" y="0" />
204 </object>
205
206 <object type="text" color="%text_color%">
207 <font resource="font" />
208 <placement x="120" y="10" />
209 <text>Team Win Recovery Project v%tw_version%</text>
210 </object>
211
212 <object type="text" color="%text_color%">
213 <condition var1="tw_simulate_actions" var2="1" />
214 <font resource="font" />
215 <placement x="120" y="45" />
216 <text>SIMULATING ACTIONS</text>
217 </object>
218
219 <object type="text" color="%text_color%">
220 <font resource="font" />
221 <placement x="120" y="76" />
222 <text>%tw_time%</text>
223 </object>
224
225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="270" y="76" />
228 <conditions>
229 <condition var1="tw_no_battery_percent" var2="0" />
230 <condition var1="tw_battery" op=">" var2="0" />
231 <condition var1="tw_battery" op="<" var2="101" />
232 </conditions>
233 <text>Battery: %tw_battery%</text>
234 </object>
235
236 <object type="button">
237 <placement x="%home_button_x%" y="%home_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="home_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">home</action>
243 </object>
244
245 <object type="button">
246 <placement x="%back_button_x%" y="%back_button_y%" />
247 <font resource="font" color="%button_text_color%" />
248 <text></text>
249 <image resource="back_icon" />
250 <condition var1="tw_busy" var2="0" />
251 <action function="key">back</action>
252 </object>
253
254 <object type="action">
255 <touch key="power" />
256 <action function="overlay">lock</action>
257 </object>
258 </template>
259
260 <template name="progress_bar">
261 <object type="progressbar">
262 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
263 <resource empty="progress_empty" full="progress_full" />
264 <data name="ui_progress" />
265 </object>
266
267 <object type="animation">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource name="progress" />
270 <speed fps="15" render="2" />
271 <loop frame="1" />
272 </object>
273 </template>
274
275 <template name="sort_options">
276 <object type="text" color="%text_color%">
277 <font resource="font" />
278 <placement x="%sort_text_x%" y="%sort_asc_text_y%" />
279 <text>Sort Ascending:</text>
280 </object>
281
282 <object type="button">
283 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
284 <font resource="font" color="%button_text_color%" />
285 <text>Name</text>
286 <image resource="sort_button" />
287 <action function="set">tw_gui_sort_order=1</action>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
292 <font resource="font" color="%button_text_color%" />
293 <text>Date</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=2</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
300 <font resource="font" color="%button_text_color%" />
301 <text>Size</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=3</action>
304 </object>
305
306 <object type="text" color="%text_color%">
307 <font resource="font" />
308 <placement x="%sort_text_x%" y="%sort_desc_text_y%" />
309 <text>Sort Descending:</text>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
314 <font resource="font" color="%button_text_color%" />
315 <text>Name</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=-1</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
322 <font resource="font" color="%button_text_color%" />
323 <text>Date</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-2</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
330 <font resource="font" color="%button_text_color%" />
331 <text>Size</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-3</action>
334 </object>
335 </template>
336
337 <template name="action_page_console">
338 <object type="console">
339 <placement x="0" y="%row3_text_y%" w="800" h="600" />
340 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
341 <font resource="fixed" />
342 </object>
343 </template>
344
345 <template name="footer">
346 <object type="console">
347 <slideout resource="slideout" x="355" y="1220" />
348 <placement x="%console_x%" y="0" w="%console_width%" h="1220" />
349 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
350 <font resource="fixed" />
351 </object>
352 </template>
353
354 <template name="keyboardtemplate">
355 <object type="keyboard">
356 <placement x="0" y="740" />
357 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600358 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400359 <layout1>
360 <keysize height="115" width="80" />
361 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600362 <row2 key01="117:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="123:l" />
363 <row3 key01="117:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="123:c:8" />
Dees_Troyddede4c2012-12-18 21:37:26 +0000364 <row4 key01="117:layout3" key02="80:" key03="400: " key04="80:." key05="123:a:action" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400365 </layout1>
366 <layout2>
367 <keysize height="116" width="80" />
368 <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" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600369 <row2 key01="117:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="123:L" />
370 <row3 key01="117:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400371 <row4 key01="117:layout3" key02="80:," key03="400: " key04="80:." key05="123:action" />
372 </layout2>
373 <layout3>
374 <keysize height="115" width="80" />
375 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
376 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600377 <row3 key01="117:layout4" key02="!" key03="80:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400378 <row4 key01="117:layout1" key02="80:," key03="400: " key04="80:." key05="123:action" />
379 </layout3>
380 <layout4>
381 <keysize height="116" width="80" />
382 <row1 key01="~" key02="`" key03="|" key04="80:" key05="80:" key06="80:" key07="80:" key08="80:" key09="{" key10="}" />
383 <row2 key01="80:" key02="80:" key03="80:" key04="80:" key05="80:" key06="^" key07="_" key08="=" key09="[" key10="]" />
Dees_Troyf5f395b2013-02-15 14:45:53 -0600384 <row3 key01="117:layout3" key02="80:" key03="80:" key04="80:" key05="80:" key06="\" key07="<" key08=">" key09="123:c:8" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400385 <row4 key01="117:layout1" key02="80:" key03="400: " key04="80:" key05="123:action" />
386 </layout4>
387 </object>
388 </template>
389 </templates>
390
391 <pages>
392 <page name="main">
393 <object type="action">
394 <actions>
395 <action function="set">tw_clear_destination=main2</action>
396 <action function="page">clear_vars</action>
397 </actions>
398 </object>
399 </page>
400
401 <page name="main2">
402 <object type="template" name="header" />
403
404 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600405 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400406 <placement x="%col1_x%" y="%row1_y%" />
407 <font resource="font" color="%button_text_color%" />
408 <text>Install</text>
409 <image resource="main_button" />
410 <actions>
411 <action function="queueclear"></action>
412 <action function="page">install</action>
413 </actions>
414 </object>
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col2_x%" y="%row1_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Wipe</text>
421 <image resource="main_button" />
422 <action function="page">wipe</action>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col1_x%" y="%row2_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Backup</text>
430 <image resource="main_button" />
431 <action function="page">backup</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col2_x%" y="%row2_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Restore</text>
439 <image resource="main_button" />
440 <action function="page">restore</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col1_x%" y="%row3_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Mount</text>
448 <image resource="main_button" />
449 <action function="page">mount</action>
450 </object>
451
452 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600453 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400454 <placement x="%col2_x%" y="%row3_y%" />
455 <font resource="font" color="%button_text_color%" />
456 <text>Settings</text>
457 <image resource="main_button" />
458 <action function="page">settings</action>
459 </object>
460
Dees_Troyb46a6842012-09-25 11:06:46 -0400461
Dees_Troy51a0e822012-09-05 15:24:24 -0400462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col1_x%" y="%row4_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Advanced</text>
467 <image resource="main_button" />
468 <action function="page">advanced</action>
469 </object>
470
471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400473 <placement x="%col2_x%" y="%row4_y%" />
474 <font resource="font" color="%button_text_color%" />
475 <text>Reboot</text>
476 <image resource="main_button" />
477 <action function="page">reboot</action>
478 </object>
479
480 <object type="template" name="footer" />
481 </page>
482
483 <page name="install">
484 <object type="template" name="header" />
485
486 <object type="text" color="%text_color%">
487 <font resource="font" />
488 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
489 <text>Select Zip to Install</text>
490 </object>
491
492 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500493 <highlight color="%highlight_color%" />
494 <fill color="%button_fill_color%" />
495 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
496 <font resource="font" color="%button_text_color%" />
497 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
498 <actions>
499 <action function="set">tw_back=install</action>
500 <action function="page">selectstorage</action>
501 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400502 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -0400503
Dees_Troy51a0e822012-09-05 15:24:24 -0400504 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600505 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500506 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100508 <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 -0400509 <text>%tw_zip_location%</text>
510 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
511 <sort name="tw_gui_sort_order" />
512 <icon folder="folder_icon" file="file_icon" />
513 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600514 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400515 <filter extn=".zip" folders="1" files="1" />
516 <path name="tw_zip_location" default="/sdcard" />
517 <data name="tw_filename" />
518 <selection name="tw_file" />
519 </object>
520
521 <object type="template" name="sort_options" />
522
523 <object type="action">
524 <condition var1="tw_filename" op="modified" />
525 <actions>
526 <action function="queuezip"></action>
527 <action function="page">flash_confirm</action>
528 </actions>
529 </object>
530
531 <object type="action">
532 <touch key="back" />
533 <action function="page">main</action>
534 </object>
535
536 <object type="action">
537 <touch key="home" />
538 <action function="page">main</action>
539 </object>
540
541 <object type="template" name="footer" />
542 </page>
543
544 <page name="flash_confirm">
545 <object type="template" name="header" />
546
547 <object type="text" color="%text_color%">
548 <font resource="font" />
549 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
550 <text>This operation may install incompatible</text>
551 </object>
552
553 <object type="text" color="%text_color%">
554 <font resource="font" />
555 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
556 <text>software and render your device unusable.</text>
557 </object>
558
559 <object type="text" color="%text_color%">
560 <font resource="font" />
561 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
562 <text>Folder:</text>
563 </object>
564
565 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400566 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400567 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
568 <text>%tw_zip_location%</text>
569 </object>
570
571 <object type="text" color="%text_color%">
572 <font resource="font" />
573 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
574 <text>File to flash:</text>
575 </object>
576
577 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400578 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400579 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
580 <text>%tw_file%</text>
581 </object>
582
583 <object type="text" color="%text_color%">
584 <font resource="font" />
585 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
586 <text>Press back to cancel adding this zip.</text>
587 </object>
588
589 <object type="checkbox">
590 <placement x="%col1_x%" y="%row8_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_signed_zip_verify" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400598 <condition var1="tw_has_injecttwrp" var2="1" />
599 <placement x="%col1_x%" y="%row10_text_y%" />
600 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400601 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400602 <data variable="tw_inject_after_zip" />
603 <image checked="checkbox_true" unchecked="checkbox_false" />
604 </object>
605
606 <object type="text" color="%text_color%">
607 <font resource="font" />
608 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
609 <text>File %tw_zip_queue_count% of max of 10</text>
610 </object>
611
612 <object type="slider">
613 <placement x="%slider_x%" y="%slider_y%" placement="5" />
614 <resource base="slider" used="slider-used" touch="slider-touch" />
615 <action function="flash">flash_zip</action>
616 </object>
617
618 <object type="text" color="%text_color%">
619 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400620 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400621 <text>Swipe to Confirm Flash</text>
622 </object>
623
624 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600625 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400626 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
627 <placement x="%col1_x%" y="%row_queue_y%" />
628 <font resource="font" color="%button_text_color%" />
629 <text>Add More Zips</text>
630 <image resource="main_button" />
631 <action function="page">install</action>
632 </object>
633
634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400636 <placement x="%col2_x%" y="%row_queue_y%" />
637 <font resource="font" color="%button_text_color%" />
638 <text>Clear Zip Queue</text>
639 <image resource="main_button" />
640 <actions>
641 <action function="queueclear"></action>
642 <action function="page">install</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <touch key="back" />
648 <actions>
649 <action function="cancelzip"></action>
650 <action function="page">install</action>
651 </actions>
652 </object>
653
654 <object type="action">
655 <touch key="home" />
656 <action function="page">main</action>
657 </object>
658
659 <object type="template" name="footer" />
660 </page>
661
662 <page name="flash_zip">
663 <object type="template" name="header" />
664
665 <object type="console">
666 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
667 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
668 <font resource="fixed" />
669 </object>
670
671 <object type="text" color="%text_color%">
672 <font resource="font" />
673 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
674 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
675 </object>
676
677 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400678 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400679 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
680 <text>%tw_filename%</text>
681 </object>
682
683 <object type="template" name="progress_bar" />
684
685 <object type="action">
686 <condition var1="tw_operation_state" var2="1" />
687 <action function="page">flash_done</action>
688 </object>
689 </page>
690
691 <page name="flash_done">
692 <object type="template" name="header" />
693
694 <object type="text" color="%text_color%">
695 <font resource="font" />
696 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
697 <text>Zip Install Complete</text>
698 </object>
699
700 <object type="console">
701 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
702 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
703 <font resource="fixed" />
704 </object>
705
706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400708 <placement x="%col1_x%" y="%row4_y%" />
709 <font resource="font" color="%button_text_color%" />
710 <text>Wipe cache/dalvik</text>
711 <image resource="main_button" />
712 <actions>
713 <action function="set">tw_back=flash_done</action>
714 <action function="set">tw_action=wipe</action>
715 <action function="set">tw_action_param=/cache</action>
716 <action function="set">tw_has_action2=1</action>
717 <action function="set">tw_action2=wipe</action>
718 <action function="set">tw_action2_param=dalvik</action>
719 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
720 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
721 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
722 <action function="set">tw_slider_text=Swipe to Wipe</action>
723 <action function="page">confirm_action</action>
724 </actions>
725 </object>
726
727 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600728 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400729 <placement x="%col2_x%" y="%row4_y%" />
730 <font resource="font" color="%button_text_color%" />
731 <text>Reboot System</text>
732 <image resource="main_button" />
733 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400734 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_action=reboot</action>
736 <action function="set">tw_action_param=system</action>
737 <action function="set">tw_has_action2=0</action>
738 <action function="set">tw_text1=No OS Installed! Are you</action>
739 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400740 <action function="set">tw_text3=</action>
741 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400742 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400743 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <action function="set">tw_complete_text1=Rebooting...</action>
745 <action function="set">tw_slider_text=Swipe to Reboot</action>
746 <action function="page">rebootcheck</action>
747 </actions>
748 </object>
749
750 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600751 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400752 <placement x="%col_center_x%" y="%row3_y%" />
753 <font resource="font" color="%button_text_color%" />
754 <text>Home</text>
755 <image resource="main_button" />
756 <actions>
757 <action function="set">tw_clear_destination=main2</action>
758 <action function="page">clear_vars</action>
759 </actions>
760 </object>
761
762 <object type="text" color="%text_fail_color%">
763 <condition var1="tw_operation_status" op="!=" var2="0" />
764 <font resource="font" />
765 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
766 <text>Failed</text>
767 </object>
768
769 <object type="text" color="%text_success_color%">
770 <condition var1="tw_operation_status" var2="0" />
771 <font resource="font" />
772 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
773 <text>Successful</text>
774 </object>
775
776 <object type="action">
777 <touch key="back" />
778 <actions>
779 <action function="set">tw_clear_destination=install</action>
780 <action function="page">clear_vars</action>
781 </actions>
782 </object>
783
784 <object type="action">
785 <touch key="home" />
786 <actions>
787 <action function="set">tw_clear_destination=main2</action>
788 <action function="page">clear_vars</action>
789 </actions>
790 </object>
791 </page>
792
793 <page name="clear_vars">
794 <object type="action">
795 <action function="set">tw_operation_state=0</action>
796 <action function="set">tw_text1=</action>
797 <action function="set">tw_text2=</action>
798 <action function="set">tw_text3=</action>
799 <action function="set">tw_text4=</action>
800 <action function="set">tw_action_text1=</action>
801 <action function="set">tw_action_text2=</action>
802 <action function="set">tw_action_param=</action>
803 <action function="set">tw_has_action2=0</action>
804 <action function="set">tw_action2=</action>
805 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400806 <action function="set">tw_has_cancel=0</action>
807 <action function="set">tw_cancel_action=</action>
808 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400809 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400810 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400811 <action function="page">%tw_clear_destination%</action>
812 </object>
813 </page>
814
815 <page name="confirm_action">
816 <object type="template" name="header" />
817
818 <object type="text" color="%text_color%">
819 <font resource="font" />
820 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
821 <text>%tw_text1%</text>
822 </object>
823
824 <object type="text" color="%text_color%">
825 <font resource="font" />
826 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
827 <text>%tw_text2%</text>
828 </object>
829
830 <object type="text" color="%text_color%">
831 <font resource="font" />
832 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
833 <text>%tw_text3%</text>
834 </object>
835
836 <object type="text" color="%text_color%">
837 <font resource="font" />
838 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
839 <text>%tw_text4%</text>
840 </object>
841
842 <object type="text" color="%text_color%">
843 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400844 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400845 <text>Press back button to cancel.</text>
846 </object>
847
848 <object type="slider">
849 <placement x="%slider_x%" y="%slider_y%" />
850 <resource base="slider" used="slider-used" touch="slider-touch" />
851 <action function="page">action_page</action>
852 </object>
853
854 <object type="text" color="%text_color%">
855 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400856 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400857 <text>%tw_slider_text%</text>
858 </object>
859
860 <object type="action">
861 <touch key="back" />
862 <actions>
863 <action function="set">tw_clear_destination=%tw_back%</action>
864 <action function="page">clear_vars</action>
865 </actions>
866 </object>
867
868 <object type="action">
869 <touch key="home" />
870 <action function="page">main</action>
871 </object>
872
873 <object type="template" name="footer" />
874 </page>
875
876 <page name="action_page">
877 <object type="template" name="header" />
878
879 <object type="text" color="%text_color%">
880 <font resource="font" />
881 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
882 <text>%tw_action_text1%</text>
883 </object>
884
885 <object type="text" color="%text_color%">
886 <font resource="font" />
887 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
888 <text>%tw_action_text2%</text>
889 </object>
890
891 <object type="template" name="action_page_console" />
892
Dees_Troycfb63ae2012-09-19 14:30:17 -0400893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600894 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400895 <condition var1="tw_has_cancel" var2="1" />
896 <placement x="%col_center_medium_x%" y="%row4_y%" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400897 <font resource="font" color="%button_text_color%" />
898 <text>Cancel</text>
Dees_Troyb46a6842012-09-25 11:06:46 -0400899 <image resource="medium_button" />
900 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
Dees_Troycfb63ae2012-09-19 14:30:17 -0400901 </object>
902
Dees_Troycfb63ae2012-09-19 14:30:17 -0400903 <object type="template" name="progress_bar" />
904
905 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400906 <condition var1="tw_operation_state" var2="1" />
Dees_Troycfb63ae2012-09-19 14:30:17 -0400907 <actions>
908 <action function="page">action_complete</action>
909 </actions>
910 </object>
911
912 <object type="action">
913 <condition var1="tw_has_action2" var2="0" />
914 <actions>
915 <action function="%tw_action%">%tw_action_param%</action>
916 </actions>
917 </object>
918
919 <object type="action">
920 <condition var1="tw_has_action2" var2="1" />
921 <actions>
922 <action function="%tw_action%">%tw_action_param%</action>
923 <action function="%tw_action2%">%tw_action2_param%</action>
924 </actions>
925 </object>
926 </page>
927
Dees_Troy6ef66352013-02-21 08:26:57 -0600928 <page name="singleaction_page">
929 <object type="template" name="header" />
930
931 <object type="text" color="%text_color%">
932 <font resource="font" />
933 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
934 <text>%tw_action_text1%</text>
935 </object>
936
937 <object type="text" color="%text_color%">
938 <font resource="font" />
939 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
940 <text>%tw_action_text2%</text>
941 </object>
942
943 <object type="template" name="action_page_console" />
944
945 <object type="template" name="progress_bar" />
946
947 <object type="action">
948 <condition var1="tw_operation_state" var2="1" />
949 <actions>
950 <action function="set">tw_page_done=1</action>
951 </actions>
952 </object>
953
954 <object type="action">
955 <condition var1="tw_has_action2" var2="0" />
956 <actions>
957 <action function="%tw_action%">%tw_action_param%</action>
958 </actions>
959 </object>
960
961 <object type="action">
962 <condition var1="tw_has_action2" var2="1" />
963 <actions>
964 <action function="%tw_action%">%tw_action_param%</action>
965 <action function="%tw_action2%">%tw_action2_param%</action>
966 </actions>
967 </object>
968 </page>
969
Dees_Troy51a0e822012-09-05 15:24:24 -0400970 <page name="action_complete">
971 <object type="template" name="header" />
972
973 <object type="text" color="%text_color%">
974 <font resource="font" />
975 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
976 <text>%tw_complete_text1%</text>
977 </object>
978
979 <object type="text" color="%text_fail_color%">
980 <condition var1="tw_operation_status" op="!=" var2="0" />
981 <font resource="font" />
982 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
983 <text>Failed</text>
984 </object>
985
986 <object type="text" color="%text_success_color%">
987 <condition var1="tw_operation_status" var2="0" />
988 <font resource="font" />
989 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
990 <text>Successful</text>
991 </object>
992
993 <object type="template" name="action_page_console" />
994
995 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600996 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400997 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400998 <placement x="%col_center_x%" y="%row4_y%" />
999 <font resource="font" color="%button_text_color%" />
1000 <text>Back</text>
1001 <image resource="main_button" />
1002 <actions>
1003 <action function="set">tw_clear_destination=%tw_back%</action>
1004 <action function="page">clear_vars</action>
1005 </actions>
1006 </object>
1007
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001009 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001010 <condition var1="tw_show_reboot" var2="1" />
1011 <placement x="%col_center_x%" y="%row4_y%" />
1012 <font resource="font" color="%button_text_color%" />
1013 <text>Reboot System</text>
1014 <image resource="main_button" />
1015 <actions>
1016 <action function="set">tw_back=main2</action>
1017 <action function="set">tw_action=reboot</action>
1018 <action function="set">tw_action_param=system</action>
1019 <action function="set">tw_has_action2=0</action>
1020 <action function="set">tw_text1=No OS Installed! Are you</action>
1021 <action function="set">tw_text2=sure you wish to reboot?</action>
1022 <action function="set">tw_text3=</action>
1023 <action function="set">tw_text4=</action>
1024 <action function="set">tw_action_text1=Rebooting...</action>
1025 <action function="set">tw_action_text2=</action>
1026 <action function="set">tw_complete_text1=Rebooting...</action>
1027 <action function="set">tw_slider_text=Swipe to Reboot</action>
1028 <action function="page">rebootcheck</action>
1029 </actions>
1030 </object>
1031
Dees_Troy51a0e822012-09-05 15:24:24 -04001032 <object type="action">
1033 <touch key="home" />
1034 <actions>
1035 <action function="set">tw_clear_destination=main2</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039
1040 <object type="action">
1041 <touch key="back" />
1042 <actions>
1043 <action function="set">tw_clear_destination=%tw_back%</action>
1044 <action function="page">clear_vars</action>
1045 </actions>
1046 </object>
1047 </page>
1048
1049 <page name="filecheck">
1050 <object type="action">
1051 <action function="fileexists">%tw_filecheck%</action>
1052 </object>
1053
1054 <object type="action">
1055 <conditions>
1056 <condition var1="tw_operation_state" var2="1" />
1057 <condition var1="tw_operation_status" var2="0" />
1058 </conditions>
1059 <actions>
1060 <action function="set">tw_fileexists=1</action>
1061 <action function="page">%tw_existpage%</action>
1062 </actions>
1063 </object>
1064
1065 <object type="action">
1066 <conditions>
1067 <condition var1="tw_operation_state" var2="1" />
1068 <condition var1="tw_operation_status" var2="1" />
1069 </conditions>
1070 <actions>
1071 <action function="set">tw_fileexists=0</action>
1072 <action function="page">%tw_notexistpage%</action>
1073 </actions>
1074 </object>
1075 </page>
1076
1077 <page name="rebootcheck">
1078 <object type="action">
1079 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1080 <action function="reboot">%tw_action_param%</action>
1081 </object>
1082
1083 <object type="action">
1084 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1085 <action function="page">confirm_action</action>
1086 </object>
1087 </page>
1088
1089 <page name="wipe">
1090 <object type="template" name="header" />
1091
1092 <object type="text" color="%text_color%">
1093 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001094 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001095 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001096 </object>
1097
1098 <object type="text" color="%text_color%">
1099 <font resource="font" />
1100 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1101 <text>Wipes Data, Cache, and Dalvik</text>
1102 </object>
1103
1104 <object type="text" color="%text_color%">
1105 <condition var1="tw_has_data_media" var2="0" />
1106 <font resource="font" />
1107 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1108 <text>.android_secure</text>
1109 </object>
1110
1111 <object type="text" color="%text_color%">
1112 <condition var1="tw_has_data_media" var2="1" />
1113 <font resource="font" />
1114 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1115 <text>(not including internal storage)</text>
1116 </object>
1117
1118 <object type="text" color="%text_color%">
1119 <condition var1="tw_has_sdext_partition" var2="1" />
1120 <font resource="font" />
1121 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1122 <text>SD-EXT</text>
1123 </object>
1124
1125 <object type="text" color="%text_color%">
1126 <font resource="font" />
1127 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1128 <text>Most of the time this is</text>
1129 </object>
1130
1131 <object type="text" color="%text_color%">
1132 <font resource="font" />
1133 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1134 <text>the only wipe that you need.</text>
1135 </object>
1136
1137 <object type="text" color="%text_color%">
1138 <font resource="font" />
1139 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1140 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 </object>
1142
1143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001144 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001145 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001147 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 </object>
1151
1152 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001153 <conditions>
1154 <condition var1="tw_has_internal" var2="1" />
1155 <condition var1="tw_has_data_media" var2="1" />
1156 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001157 <highlight color="%highlight_color%" />
1158 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001159 <font resource="font" color="%button_text_color%" />
1160 <text>Format Data</text>
1161 <image resource="main_button" />
1162 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001163 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001164 </actions>
1165 </object>
1166
Dees_Troya13d74f2013-03-24 08:54:55 -05001167 <object type="slider">
1168 <placement x="%slider_x%" y="%slider_y%" />
1169 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001170 <actions>
1171 <action function="set">tw_back=wipe</action>
1172 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001173 <action function="set">tw_action_param=data</action>
1174 <action function="set">tw_action_text1=Factory Reset...</action>
1175 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1176 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001177 </actions>
1178 </object>
1179
Dees_Troya13d74f2013-03-24 08:54:55 -05001180 <object type="text" color="%text_color%">
1181 <font resource="font" />
1182 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1183 <text>Swipe to Factory Reset</text>
1184 </object>
1185
1186 <object type="action">
1187 <touch key="back" />
1188 <action function="page">main</action>
1189 </object>
1190
1191 <object type="action">
1192 <touch key="home" />
1193 <action function="page">main</action>
1194 </object>
1195
1196 <object type="template" name="footer" />
1197 </page>
1198
1199 <page name="advancedwipe">
1200 <object type="template" name="header" />
1201
1202 <object type="text" color="%text_color%">
1203 <font resource="font" />
1204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1205 <text>Wipe Menu</text>
1206 </object>
1207
1208 <object type="partitionlist">
1209 <highlight color="%fileselector_highlight_color%" />
1210 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1211 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1212 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1213 <text>Select Partitions to Wipe:</text>
1214 <icon selected="checkbox_true" unselected="checkbox_false" />
1215 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1216 <background color="%listbox_background%" />
1217 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1218 <data name="tw_wipe_list" />
1219 <listtype name="wipe" />
1220 </object>
1221
1222 <object type="slider">
1223 <placement x="%slider_x%" y="%slider_y%" />
1224 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001226 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001227 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <action function="set">tw_action_param=LIST</action>
1229 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1230 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1231 <action function="set">tw_complete_text1=Wipe Complete</action>
1232 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001233 </actions>
1234 </object>
1235
Dees_Troya13d74f2013-03-24 08:54:55 -05001236 <object type="text" color="%text_color%">
1237 <font resource="font" />
1238 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1239 <text>Swipe to Wipe</text>
1240 </object>
1241
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 <object type="action">
1243 <touch key="home" />
1244 <action function="page">main</action>
1245 </object>
1246
1247 <object type="action">
1248 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001249 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001250 </object>
1251
1252 <object type="template" name="footer" />
1253 </page>
1254
Dees_Troya13d74f2013-03-24 08:54:55 -05001255 <page name="formatdata">
1256 <object type="template" name="header" />
1257
1258 <object type="text" color="%text_color%">
1259 <font resource="font" />
1260 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1261 <text>Format Data will wipe all of your apps,</text>
1262 </object>
1263
1264 <object type="text" color="%text_color%">
1265 <font resource="font" />
1266 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1267 <text>backups, pictures, videos, media, and</text>
1268 </object>
1269
1270 <object type="text" color="%text_color%">
1271 <font resource="font" />
1272 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1273 <text>removes encryption on internal storage.</text>
1274 </object>
1275
1276 <object type="text" color="%text_color%">
1277 <font resource="font" />
1278 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1279 <text>This cannot be undone. Press back to cancel.</text>
1280 </object>
1281
1282 <object type="text" color="%text_color%">
1283 <font resource="font" />
1284 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1285 <text>Type yes to continue.</text>
1286 </object>
1287
1288 <object type="input">
1289 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1290 <background color="%input_background_color%" />
1291 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1292 <font resource="font" color="%text_color%" />
1293 <text>%tw_confirm_formatdata%</text>
1294 <data name="tw_confirm_formatdata" />
1295 <restrict minlen="3" maxlen="3" allow="yes" />
1296 <action function="page">formatdata_confirm</action>
1297 </object>
1298
1299 <object type="template" name="keyboardtemplate" />
1300
1301 <object type="action">
1302 <touch key="home" />
1303 <action function="page">main</action>
1304 </object>
1305
1306 <object type="action">
1307 <touch key="back" />
1308 <action function="page">wipe</action>
1309 </object>
1310
1311 <object type="template" name="footer" />
1312 </page>
1313
1314 <page name="formatdata_confirm">
1315 <object type="action">
1316 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1317 <actions>
1318 <action function="set">tw_back=formatdata</action>
1319 <action function="set">tw_action=wipe</action>
1320 <action function="set">tw_action_param=DATAMEDIA</action>
1321 <action function="set">tw_action_text1=Formatting Data...</action>
1322 <action function="set">tw_complete_text1=Data Format Complete</action>
1323 <action function="page">action_page</action>
1324 </actions>
1325 </object>
1326
1327 <object type="action">
1328 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1329 <action function="page">formatdata</function>
1330 </object>
1331 </page>
1332
Dees_Troy51a0e822012-09-05 15:24:24 -04001333 <page name="backup">
1334 <object type="template" name="header" />
1335
Dees_Troy83bd4832013-05-04 12:39:56 +00001336 <object type="button">
1337 <highlight color="%highlight_color%" />
1338 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001339 <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 +00001340 <font resource="font" color="%button_text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001341 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001342 <actions>
1343 <action function="set">tw_fileexists=0</action>
1344 <action function="page">backupname1</action>
1345 </actions>
Dees_Troyb46a6842012-09-25 11:06:46 -04001346 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001347
Dees_Troya13d74f2013-03-24 08:54:55 -05001348 <object type="partitionlist">
1349 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001350 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001351 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1352 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1353 <text>Select Partitions to Back Up:</text>
1354 <icon selected="checkbox_true" unselected="checkbox_false" />
1355 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1356 <background color="%listbox_background%" />
1357 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1358 <data name="tw_backup_list" />
1359 <listtype name="backup" />
1360 </object>
1361
1362 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001363 <conditions>
1364 <condition var1="tw_include_encrypted_backup" var2="1" />
1365 <condition var1="tw_encrypt_backup" var2="0" />
1366 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001367 <highlight color="%highlight_color%" />
1368 <fill color="%button_fill_color%" />
1369 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1370 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001371 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001372 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001373 <action function="page">backupencryption</action>
1374 </actions>
1375 </object>
1376
1377 <object type="button">
1378 <conditions>
1379 <condition var1="tw_include_encrypted_backup" var2="1" />
1380 <condition var1="tw_encrypt_backup" var2="1" />
1381 </conditions>
1382 <highlight color="%highlight_color%" />
1383 <fill color="%button_fill_color%" />
1384 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1385 <font resource="font" color="%button_text_color%" />
1386 <text>Using Encryption</text>
1387 <actions>
1388 <action function="set">tw_password_not_match=0</action>
1389 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001390 </actions>
1391 </object>
1392
1393 <object type="button">
1394 <highlight color="%highlight_color%" />
1395 <fill color="%button_fill_color%" />
1396 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1397 <font resource="font" color="%button_text_color%" />
1398 <text>Refresh Sizes</text>
1399 <action function="refreshsizes"></action>
1400 </object>
1401
1402 <object type="button">
1403 <highlight color="%highlight_color%" />
1404 <fill color="%button_fill_color%" />
1405 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1406 <font resource="font" color="%button_text_color%" />
1407 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1408 <actions>
1409 <action function="set">tw_back=backup</action>
1410 <action function="page">selectstorage</action>
1411 </actions>
1412 </object>
1413
1414 <object type="checkbox">
1415 <placement x="%col1_x%" y="%row15_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>Enable compression.</text>
1418 <data variable="tw_use_compression" />
1419 <image checked="checkbox_true" unchecked="checkbox_false" />
1420 </object>
1421
1422 <object type="checkbox">
1423 <placement x="%col1_x%" y="%row16_text_y%" />
1424 <font resource="font" color="%text_color%" />
1425 <text>Skip MD5 generation during backup.</text>
1426 <data variable="tw_skip_md5_generate" />
1427 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001428 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001429
Dees_Troyb46a6842012-09-25 11:06:46 -04001430 <object type="slider">
1431 <placement x="%slider_x%" y="slider_y" />
1432 <resource base="slider" used="slider-used" touch="slider-touch" />
1433 <action function="page">backup_run</action>
1434 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001435
1436 <object type="text" color="%text_color%">
1437 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001438 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001439 <text>Swipe to Back Up</text>
1440 </object>
1441
Dees_Troy51a0e822012-09-05 15:24:24 -04001442 <object type="action">
1443 <touch key="home" />
1444 <action function="page">main</action>
1445 </object>
1446
1447 <object type="action">
1448 <touch key="back" />
1449 <action function="page">main</action>
1450 </object>
1451
1452 <object type="template" name="footer" />
1453 </page>
1454
1455 <page name="backupname1">
1456 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001457 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1458 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001459 </object>
1460
1461 <object type="action">
1462 <action function="page">backupname2</function>
1463 </object>
1464 </page>
1465
1466 <page name="backupname2">
1467 <object type="template" name="header" />
1468
1469 <object type="text" color="%text_color%">
1470 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1471 <font resource="font" />
1472 <text>Please Enter a Backup Name</text>
1473 </object>
1474
1475 <object type="input">
1476 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1477 <background color="%input_background_color%" />
1478 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1479 <font resource="font" color="%text_color%" />
1480 <text>%tw_backup_name%</text>
1481 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001482 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001483 <actions>
1484 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1485 <action function="set">tw_existpage=backupname2</action>
1486 <action function="set">tw_notexistpage=backup</action>
1487 <action function="page">filecheck</action>
1488 </actions>
1489 </object>
1490
1491 <object type="text" color="%text_fail_color%">
1492 <condition var1="tw_fileexists" var2="1" />
1493 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1494 <font resource="font" />
1495 <text>A backup with that name already exists!</text>
1496 </object>
1497
Dees_Troyb46a6842012-09-25 11:06:46 -04001498 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001499 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001500 <placement x="%col1_x%" y="%row2_y%" />
1501 <font resource="font" color="%button_text_color%" />
1502 <text>Append Date</text>
1503 <image resource="main_button" />
1504 <action function="appenddatetobackupname"></action>
1505 </object>
1506
1507 <object type="button">
1508 <highlight color="%highlight_color%" />
1509 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001510 <font resource="font" color="%button_text_color%" />
1511 <text>Cancel</text>
1512 <image resource="main_button" />
1513 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001514 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001515 <action function="page">backup</action>
1516 </actions>
1517 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001518
1519 <object type="template" name="keyboardtemplate" />
1520
Dees_Troyb46a6842012-09-25 11:06:46 -04001521 <object type="action">
1522 <touch key="home" />
1523 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001524 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001525 <action function="page">main</action>
1526 </actions>
1527 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001528
Dees_Troyb46a6842012-09-25 11:06:46 -04001529 <object type="action">
1530 <touch key="back" />
1531 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001532 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04001533 <action function="page">backup</action>
1534 </actions>
1535 </object>
Dees_Troy51a0e822012-09-05 15:24:24 -04001536
1537 <object type="template" name="footer" />
1538 </page>
1539
Dees_Troy83bd4832013-05-04 12:39:56 +00001540 <page name="backupencryption">
1541 <object type="template" name="header" />
1542
1543 <object type="text" color="%text_color%">
1544 <font resource="font" />
1545 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1546 <text>Encrypt your backup?</text>
1547 </object>
1548
1549 <object type="text" color="%text_color%">
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1552 <text>Please Enter A Password:</text>
1553 </object>
1554
1555 <object type="input">
1556 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1557 <background color="%input_background_color%" />
1558 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1559 <font resource="font" color="%text_color%" />
1560 <text>%tw_backup_encrypt_display%</text>
1561 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1562 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1563 <action function="page">backupencryption2</action>
1564 </object>
1565
1566 <object type="text" color="%text_fail_color%">
1567 <condition var1="tw_password_not_match" var2="1" />
1568 <font resource="font" />
1569 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1570 <text>Passwords Do Not Match</text>
1571 </object>
1572
1573 <object type="button">
1574 <highlight color="%highlight_color%" />
1575 <placement x="%col_center_x%" y="%row2_y%" />
1576 <font resource="font" color="%button_text_color%" />
1577 <text>Cancel</text>
1578 <image resource="main_button" />
1579 <actions>
1580 <action function="set">tw_encrypt_backup=0</action>
1581 <action function="set">tw_backup_password=</action>
1582 <action function="set">tw_backup_password2=</action>
1583 <action function="set">tw_backup_encrypt_display=</action>
1584 <action function="set">tw_backup_encrypt_display2=</action>
1585 <action function="page">backup</action>
1586 </actions>
1587 </object>
1588
1589 <object type="template" name="keyboardtemplate" />
1590
1591 <object type="action">
1592 <touch key="home" />
1593 <action function="page">main</action>
1594 </object>
1595
1596 <object type="action">
1597 <touch key="back" />
1598 <action function="page">backup</action>
1599 </object>
1600
1601 <object type="template" name="footer" />
1602 </page>
1603
1604 <page name="backupencryption2">
1605 <object type="template" name="header" />
1606
1607 <object type="text" color="%text_color%">
1608 <font resource="font" />
1609 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1610 <text>Encrypt your backup?</text>
1611 </object>
1612
1613 <object type="text" color="%text_color%">
1614 <font resource="font" />
1615 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1616 <text>Please Enter Password Again:</text>
1617 </object>
1618
1619 <object type="input">
1620 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1621 <background color="%input_background_color%" />
1622 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1623 <font resource="font" color="%text_color%" />
1624 <text>%tw_backup_encrypt_display2%</text>
1625 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1626 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1627 <actions>
1628 <action function="page">checkbackuppassword</action>
1629 </actions>
1630 </object>
1631
1632 <object type="button">
1633 <highlight color="%highlight_color%" />
1634 <placement x="%col_center_x%" y="%row2_y%" />
1635 <font resource="font" color="%button_text_color%" />
1636 <text>Cancel</text>
1637 <image resource="main_button" />
1638 <actions>
1639 <action function="set">tw_encrypt_backup=0</action>
1640 <action function="set">tw_backup_password=</action>
1641 <action function="set">tw_backup_password2=</action>
1642 <action function="set">tw_backup_encrypt_display=</action>
1643 <action function="set">tw_backup_encrypt_display2=</action>
1644 <action function="page">backup</action>
1645 </actions>
1646 </object>
1647
1648 <object type="template" name="keyboardtemplate" />
1649
1650 <object type="action">
1651 <touch key="home" />
1652 <action function="page">main</action>
1653 </object>
1654
1655 <object type="action">
1656 <touch key="back" />
1657 <action function="page">backup</action>
1658 </object>
1659
1660 <object type="template" name="footer" />
1661 </page>
1662
1663 <page name="checkbackuppassword">
1664 <object type="action">
1665 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1666 <actions>
1667 <action function="set">tw_encrypt_backup=1</action>
1668 <action function="page">backup</action>
1669 </actions>
1670 </object>
1671
1672 <object type="action">
1673 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1674 <actions>
1675 <action function="set">tw_encrypt_backup=0</action>
1676 <action function="set">tw_password_not_match=1</action>
1677 <action function="set">tw_backup_password=</action>
1678 <action function="set">tw_backup_password2=</action>
1679 <action function="set">tw_backup_encrypt_display=</action>
1680 <action function="set">tw_backup_encrypt_display2=</action>
1681 <action function="page">backupencryption</action>
1682 </actions>
1683 </object>
1684 </page>
1685
Dees_Troy51a0e822012-09-05 15:24:24 -04001686 <page name="backup_run">
1687 <object type="template" name="header" />
1688
1689 <object type="text" color="%text_color%">
1690 <font resource="font" />
1691 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1692 <text>%tw_operation% %tw_partition%</text>
1693 </object>
1694
1695 <object type="template" name="action_page_console" />
1696
1697 <object type="template" name="progress_bar" />
1698
1699 <object type="action">
1700 <action function="nandroid">backup</action>
1701 </object>
1702
1703 <object type="action">
1704 <condition var1="tw_operation_state" var2="1" />
1705 <actions>
1706 <action function="set">tw_back=backup</action>
1707 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001708 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 <action function="page">action_complete</action>
1710 </actions>
1711 </object>
1712 </page>
1713
1714 <page name="restore">
1715 <object type="template" name="header" />
1716
1717 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001718 <highlight color="%highlight_color%" />
1719 <fill color="%button_fill_color%" />
1720 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1721 <font resource="font" color="%button_text_color%" />
1722 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1723 <actions>
1724 <action function="set">tw_back=restore</action>
1725 <action function="page">selectstorage</action>
1726 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001727 </object>
1728
1729 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001730 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001731 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001733 <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 -04001734 <text>Select Package to Restore:</text>
1735 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1736 <sort name="tw_gui_sort_order" />
1737 <icon folder="folder_icon" file="file_icon" />
1738 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001739 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001740 <filter folders="1" files="0" nav="0" />
1741 <path name="tw_backups_folder" />
1742 <data name="tw_restore" default="" />
1743 <selection name="tw_restore_name" />
1744 </object>
1745
1746 <object type="template" name="sort_options" />
1747
1748 <object type="action">
1749 <condition var1="tw_restore" op="modified" />
1750 <actions>
1751 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001752 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001753 </actions>
1754 </object>
1755
1756 <object type="action">
1757 <touch key="home" />
1758 <action function="page">main</action>
1759 </object>
1760
1761 <object type="action">
1762 <touch key="back" />
1763 <action function="page">main</action>
1764 </object>
1765
1766 <object type="template" name="footer" />
1767 </page>
1768
Dees_Troy83bd4832013-05-04 12:39:56 +00001769 <page name="restore_read">
1770 <object type="action">
1771 <condition var1="tw_restore_encrypted" var2="1" />
1772 <actions>
1773 <action function="set">tw_password_fail=0</action>
1774 <action function="page">restore_decrypt</action>
1775 </actions>
1776 </object>
1777
1778 <object type="action">
1779 <condition var1="tw_restore_encrypted" var2="0" />
1780 <actions>
1781 <action function="page">restore_select</action>
1782 </actions>
1783 </object>
1784 </page>
1785
1786 <page name="restore_decrypt">
1787 <object type="template" name="header" />
1788
1789 <object type="text" color="%text_color%">
1790 <font resource="font" />
1791 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1792 <text>Backup Encrypted</text>
1793 </object>
1794
1795 <object type="text" color="%text_color%">
1796 <font resource="font" />
1797 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1798 <text>Please Enter Your Password:</text>
1799 </object>
1800
1801 <object type="input">
1802 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1803 <background color="%input_background_color%" />
1804 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1805 <font resource="font" color="%text_color%" />
1806 <text>%tw_restore_display%</text>
1807 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1808 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1809 <actions>
1810 <action function="page">try_restore_decrypt</action>
1811 </actions>
1812 </object>
1813
1814 <object type="text" color="%text_fail_color%">
1815 <condition var1="tw_password_fail" var2="1" />
1816 <font resource="font" />
1817 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1818 <text>Password Failed, Please Try Again</text>
1819 </object>
1820
1821 <object type="button">
1822 <highlight color="%highlight_color%" />
1823 <placement x="%col1_x%" y="%row2_y%" />
1824 <font resource="font" color="%button_text_color%" />
1825 <text>Cancel</text>
1826 <image resource="main_button" />
1827 <actions>
1828 <action function="set">tw_page_done=1</action>
1829 <action function="page">restore</action>
1830 </actions>
1831 </object>
1832
1833 <object type="button">
1834 <highlight color="%highlight_color%" />
1835 <placement x="%col2_x%" y="%row2_y%" />
1836 <font resource="font" color="%button_text_color%" />
1837 <text>Delete</text>
1838 <image resource="main_button" />
1839 <actions>
1840 <action function="set">tw_back=restore</action>
1841 <action function="set">tw_action=cmd</action>
1842 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1843 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1844 <action function="set">tw_text2=This cannot be undone!</action>
1845 <action function="set">tw_action_text1=Deleting Backup...</action>
1846 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1847 <action function="set">tw_slider_text=Swipe to Delete</action>
1848 <action function="page">confirm_action</action>
1849 </actions>
1850 </object>
1851
1852 <object type="template" name="keyboardtemplate" />
1853
1854 <object type="action">
1855 <touch key="home" />
1856 <action function="page">main</action>
1857 </object>
1858
1859 <object type="action">
1860 <touch key="back" />
1861 <action function="page">restore</action>
1862 </object>
1863
1864 <object type="template" name="footer" />
1865 </page>
1866
1867 <page name="try_restore_decrypt">
1868 <object type="template" name="header" />
1869
1870 <object type="text" color="%text_color%">
1871 <font resource="font" />
1872 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1873 <text>Trying Decryption with Your Password</text>
1874 </object>
1875
1876 <object type="template" name="action_page_console" />
1877
1878 <object type="template" name="progress_bar" />
1879
1880 <object type="action">
1881 <action function="decrypt_backup"></action>
1882 </object>
1883
1884 <object type="action">
1885 <conditions>
1886 <condition var1="tw_operation_state" var2="1" />
1887 <condition var1="tw_operation_status" op="!=" var2="0" />
1888 </conditions>
1889 <actions>
1890 <action function="set">tw_password_fail=1</action>
1891 <action function="page">restore_decrypt</action>
1892 </actions>
1893 </object>
1894
1895 <object type="action">
1896 <conditions>
1897 <condition var1="tw_operation_state" var2="1" />
1898 <condition var1="tw_operation_status" op="=" var2="0" />
1899 </conditions>
1900 <actions>
1901 <action function="set">tw_page_done=1</action>
1902 <action function="page">restore_select</action>
1903 </actions>
1904 </object>
1905 </page>
1906
Dees_Troy51a0e822012-09-05 15:24:24 -04001907 <page name="restore_select">
1908 <object type="template" name="header" />
1909
Dees_Troya13d74f2013-03-24 08:54:55 -05001910 <object type="partitionlist">
1911 <highlight color="%fileselector_highlight_color%" />
1912 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1913 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1914 <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 -04001915 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001916 <icon selected="checkbox_true" unselected="checkbox_false" />
1917 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1918 <background color="%listbox_background%" />
1919 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1920 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1921 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001922 </object>
1923
1924 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001925 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001926 <fill color="%button_fill_color%" />
1927 <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 -04001928 <font resource="font" color="%button_text_color%" />
1929 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001930 <actions>
1931 <action function="set">tw_backup_rename=</action>
1932 <action function="set">tw_fileexists=0</action>
1933 <action function="page">renamebackup</action>
1934 </actions>
1935 </object>
1936
1937 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001938 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001939 <fill color="%button_fill_color%" />
1940 <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 -04001941 <font resource="font" color="%button_text_color%" />
1942 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001943 <actions>
1944 <action function="set">tw_back=restore</action>
1945 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001946 <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 -04001947 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1948 <action function="set">tw_text2=This cannot be undone!</action>
1949 <action function="set">tw_action_text1=Deleting Backup...</action>
1950 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1951 <action function="set">tw_slider_text=Swipe to Delete</action>
1952 <action function="page">confirm_action</action>
1953 </actions>
1954 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04001955
Dees_Troya13d74f2013-03-24 08:54:55 -05001956 <object type="checkbox">
1957 <placement x="%col1_x%" y="%row15_text_y%" />
1958 <font resource="font" color="%text_color%" />
1959 <text>Enable MD5 verification of backup files.</text>
1960 <data variable="tw_skip_md5_check" />
1961 <image checked="checkbox_true" unchecked="checkbox_false" />
1962 </object>
1963
1964 <object type="text" color="%text_color%">
1965 <font resource="font" />
1966 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1967 <text>Package Date: %tw_restore_file_date%</text>
1968 </object>
1969
Dees_Troy51a0e822012-09-05 15:24:24 -04001970 <object type="slider">
1971 <placement x="%slider_x%" y="%slider_y%" />
1972 <resource base="slider" used="slider-used" touch="slider-touch" />
1973 <action function="page">restore_run</action>
1974 </object>
1975
1976 <object type="text" color="%text_color%">
1977 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04001978 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001979 <text>Swipe to Restore</text>
1980 </object>
1981
Dees_Troy51a0e822012-09-05 15:24:24 -04001982 <object type="action">
1983 <touch key="home" />
1984 <action function="page">main</action>
1985 </object>
1986
1987 <object type="action">
1988 <touch key="back" />
1989 <action function="page">restore</action>
1990 </object>
1991
1992 <object type="template" name="footer" />
1993 </page>
1994
1995 <page name="renamebackup">
1996 <object type="template" name="header" />
1997
1998 <object type="text" color="%text_color%">
1999 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2000 <font resource="font" />
2001 <text>Please Enter a New Backup Name</text>
2002 </object>
2003
2004 <object type="input">
2005 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2006 <background color="%input_background_color%" />
2007 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2008 <font resource="font" color="%text_color%" />
2009 <text>%tw_backup_rename%</text>
2010 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002011 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002012 <actions>
2013 <action function="set">tw_back=restore</action>
2014 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002015 <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 -04002016 <action function="set">tw_text1=Rename Backup?</action>
2017 <action function="set">tw_text2=This cannot be undone!</action>
2018 <action function="set">tw_action_text1=Renaming Backup...</action>
2019 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2020 <action function="set">tw_slider_text=Swipe to Rename</action>
2021 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2022 <action function="set">tw_existpage=renamebackup</action>
2023 <action function="set">tw_notexistpage=confirm_action</action>
2024 <action function="page">filecheck</action>
2025 </actions>
2026 </object>
2027
2028 <object type="text" color="%text_fail_color%">
2029 <condition var1="tw_fileexists" var2="1" />
2030 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2031 <font resource="font" />
2032 <text>A backup with that name already exists!</text>
2033 </object>
2034
2035 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002036 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002037 <placement x="%col_center_x%" y="%row2_y%" />
2038 <font resource="font" color="%button_text_color%" />
2039 <text>Cancel</text>
2040 <image resource="main_button" />
2041 <action function="page">restore_select</action>
2042 </object>
2043
2044 <object type="template" name="keyboardtemplate" />
2045
2046 <object type="action">
2047 <touch key="home" />
2048 <action function="page">main</action>
2049 </object>
2050
2051 <object type="action">
2052 <touch key="back" />
2053 <action function="page">restore_select</action>
2054 </object>
2055
2056 <object type="template" name="footer" />
2057 </page>
2058
2059 <page name="restore_run">
2060 <object type="template" name="header" />
2061
2062 <object type="text" color="%text_color%">
2063 <font resource="font" />
2064 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2065 <text>%tw_operation% %tw_partition%</text>
2066 </object>
2067
2068 <object type="template" name="action_page_console" />
2069
2070 <object type="template" name="progress_bar" />
2071
2072 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002073 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002074 <actions>
2075 <action function="set">tw_back=restore_select</action>
2076 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002077 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 <action function="page">action_complete</action>
2079 </actions>
2080 </object>
2081
2082 <object type="action">
2083 <action function="nandroid">restore</action>
2084 </object>
2085 </page>
2086
Dees_Troya13d74f2013-03-24 08:54:55 -05002087 <page name="selectstorage">
2088 <object type="template" name="header" />
2089
2090 <object type="partitionlist">
2091 <highlight color="%fileselector_highlight_color%" />
2092 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2093 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2094 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2095 <text>Select Storage:</text>
2096 <icon selected="radio_true" unselected="radio_false" />
2097 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2098 <background color="%listbox_background%" />
2099 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2100 <data name="tw_storage_path" />
2101 <listtype name="storage" />
2102 </object>
2103
Dees_Troye7e0ae82013-07-05 14:46:07 +00002104 <object type="button">
2105 <highlight color="%highlight_color%" />
2106 <placement x="%col_center_x%" y="%row4_y%" />
2107 <font resource="font" color="%button_text_color%" />
2108 <text>OK</text>
2109 <image resource="main_button" />
2110 <actions>
2111 <action function="set">tw_clear_destination=%tw_back%</action>
2112 <action function="page">clear_vars</action>
2113 </actions>
2114 </object>
2115
Dees_Troya13d74f2013-03-24 08:54:55 -05002116 <object type="action">
2117 <touch key="home" />
2118 <action function="page">main</action>
2119 </object>
2120
2121 <object type="action">
2122 <touch key="back" />
2123 <actions>
2124 <action function="page">%tw_back%</action>
2125 </actions>
2126 </object>
2127
2128 <object type="template" name="footer" />
2129 </page>
2130
Dees_Troy51a0e822012-09-05 15:24:24 -04002131 <page name="mount">
2132 <object type="template" name="header" />
2133
Dees_Troya13d74f2013-03-24 08:54:55 -05002134 <object type="partitionlist">
2135 <highlight color="%fileselector_highlight_color%" />
2136 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2137 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2138 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2139 <text>Select Partitions to Mount:</text>
2140 <icon selected="checkbox_true" unselected="checkbox_false" />
2141 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2142 <background color="%listbox_background%" />
2143 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2144 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002145 </object>
2146
2147 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002148 <highlight color="%highlight_color%" />
2149 <fill color="%button_fill_color%" />
2150 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2151 <font resource="font" color="%button_text_color%" />
2152 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2153 <actions>
2154 <action function="set">tw_back=mount</action>
2155 <action function="page">selectstorage</action>
2156 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002157 </object>
2158
2159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002162 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002163 <font resource="font" color="%button_text_color%" />
2164 <text>Mount USB Storage</text>
2165 <image resource="main_button" />
2166 <action function="page">usb_mount</action>
2167 </object>
2168
Gary Peckffdc6ae2012-11-21 18:02:02 -08002169 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002170 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002171 <conditions>
2172 <condition var1="tw_is_encrypted" var2="1" />
2173 <condition var1="tw_is_decrypted" var2="0" />
2174 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002175 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002176 <font resource="font" color="%button_text_color%" />
2177 <text>Decrypt Data</text>
2178 <image resource="main_button" />
2179 <action function="page">decrypt</action>
2180 </object>
2181
Dees_Troy51a0e822012-09-05 15:24:24 -04002182 <object type="action">
2183 <touch key="home" />
2184 <action function="page">main</action>
2185 </object>
2186
2187 <object type="action">
2188 <touch key="back" />
2189 <action function="page">main</action>
2190 </object>
2191
2192 <object type="template" name="footer" />
2193 </page>
2194
2195 <page name="usb_mount">
2196 <object type="template" name="header" />
2197
2198 <object type="text" color="%text_color%">
2199 <font resource="font" />
2200 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2201 <text>USB Storage Mounted</text>
2202 </object>
2203
2204 <object type="text" color="%text_color%">
2205 <placement x="%col1_x%" y="%row1_text_y%" />
2206 <font resource="font" />
2207 <text>Be sure to safely remove your device</text>
2208 </object>
2209
2210 <object type="text" color="%text_color%">
2211 <placement x="%col1_x%" y="%row2_text_y%" />
2212 <font resource="font" />
2213 <text>from your computer before unmounting!</text>
2214 </object>
2215
2216 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002217 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002218 <placement x="%col1_x%" y="%row3_y%" />
2219 <font resource="font" color="%button_text_color%" />
2220 <text>Unmount</text>
2221 <image resource="main_button" />
2222 <action function="page">usb_umount</action>
2223 </object>
2224
2225 <object type="action">
2226 <action function="mount">usb</action>
2227 </object>
2228
2229 <object type="template" name="footer" />
2230 </page>
2231
2232 <page name="usb_umount">
2233 <object type="action">
2234 <action function="unmount">usb</action>
2235 </object>
2236
2237 <object type="action">
2238 <action function="page">mount</action>
2239 </object>
2240 </page>
2241
2242 <page name="reboot">
2243 <object type="template" name="header" />
2244
2245 <object type="text" color="%text_color%">
2246 <font resource="font" />
2247 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2248 <text>Reboot Menu</text>
2249 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04002250
Dees_Troy51a0e822012-09-05 15:24:24 -04002251 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002252 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002253 <condition var1="tw_reboot_system" var2="1" />
2254 <placement x="%col1_x%" y="%row1_y%" />
2255 <font resource="font" color="%button_text_color%" />
2256 <text>System</text>
2257 <image resource="main_button" />
2258 <actions>
2259 <action function="set">tw_back=reboot</action>
2260 <action function="set">tw_action=reboot</action>
2261 <action function="set">tw_action_param=system</action>
2262 <action function="set">tw_has_action2=0</action>
2263 <action function="set">tw_text1=No OS Installed! Are you</action>
2264 <action function="set">tw_text2=sure you wish to reboot?</action>
2265 <action function="set">tw_action_text1=Rebooting...</action>
2266 <action function="set">tw_complete_text1=Rebooting...</action>
2267 <action function="set">tw_slider_text=Swipe to Reboot</action>
2268 <action function="page">rebootcheck</action>
2269 </actions>
2270 </object>
2271
2272 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002273 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002274 <condition var1="tw_reboot_poweroff" var2="1" />
2275 <placement x="%col2_x%" y="%row1_y%" />
2276 <font resource="font" color="%button_text_color%" />
2277 <text>Power Off</text>
2278 <image resource="main_button" />
2279 <actions>
2280 <action function="set">tw_back=reboot</action>
2281 <action function="set">tw_action=reboot</action>
2282 <action function="set">tw_action_param=poweroff</action>
2283 <action function="set">tw_has_action2=0</action>
2284 <action function="set">tw_text1=No OS Installed! Are you</action>
2285 <action function="set">tw_text2=sure you wish to power off?</action>
2286 <action function="set">tw_action_text1=Turning Off...</action>
2287 <action function="set">tw_complete_text1=Turning Off...</action>
2288 <action function="set">tw_slider_text=Swipe to Power Off</action>
2289 <action function="page">rebootcheck</action>
2290 </actions>
2291 </object>
2292
2293 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002294 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002295 <condition var1="tw_reboot_recovery" var2="1" />
2296 <placement x="%col1_x%" y="%row2_y%" />
2297 <font resource="font" color="%button_text_color%" />
2298 <text>Recovery</text>
2299 <image resource="main_button" />
2300 <actions>
2301 <action function="set">tw_back=reboot</action>
2302 <action function="set">tw_action=reboot</action>
2303 <action function="set">tw_action_param=recovery</action>
2304 <action function="set">tw_has_action2=0</action>
2305 <action function="set">tw_text1=No OS Installed! Are you</action>
2306 <action function="set">tw_text2=sure you wish to reboot?</action>
2307 <action function="set">tw_action_text1=Rebooting...</action>
2308 <action function="set">tw_complete_text1=Rebooting...</action>
2309 <action function="set">tw_slider_text=Swipe to Reboot</action>
2310 <action function="page">rebootcheck</action>
2311 </actions>
2312 </object>
2313
2314 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002315 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002316 <condition var1="tw_reboot_bootloader" var2="1" />
2317 <placement x="%col2_x%" y="%row2_y%" />
2318 <font resource="font" color="%button_text_color%" />
2319 <text>Bootloader</text>
2320 <image resource="main_button" />
2321 <actions>
2322 <action function="set">tw_back=reboot</action>
2323 <action function="set">tw_action=reboot</action>
2324 <action function="set">tw_action_param=bootloader</action>
2325 <action function="set">tw_has_action2=0</action>
2326 <action function="set">tw_text1=No OS Installed! Are you</action>
2327 <action function="set">tw_text2=sure you wish to reboot?</action>
2328 <action function="set">tw_action_text1=Rebooting...</action>
2329 <action function="set">tw_complete_text1=Rebooting...</action>
2330 <action function="set">tw_slider_text=Swipe to Reboot</action>
2331 <action function="page">rebootcheck</action>
2332 </actions>
2333 </object>
2334
2335 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002336 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002337 <condition var1="tw_download_mode" var2="1" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002338 <placement x="%col1_x%" y="%row3_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002339 <font resource="font" color="%button_text_color%" />
2340 <text>Download</text>
2341 <image resource="main_button" />
2342 <actions>
2343 <action function="set">tw_back=reboot</action>
2344 <action function="set">tw_action=reboot</action>
2345 <action function="set">tw_action_param=download</action>
2346 <action function="set">tw_has_action2=0</action>
2347 <action function="set">tw_text1=No OS Installed! Are you</action>
2348 <action function="set">tw_text2=sure you wish to reboot?</action>
2349 <action function="set">tw_action_text1=Rebooting...</action>
2350 <action function="set">tw_complete_text1=Rebooting...</action>
2351 <action function="set">tw_slider_text=Swipe to Reboot</action>
2352 <action function="page">rebootcheck</action>
2353 </actions>
2354 </object>
2355
2356 <object type="action">
2357 <touch key="home" />
2358 <action function="page">main</action>
2359 </object>
2360
2361 <object type="action">
2362 <touch key="back" />
2363 <action function="page">main</action>
2364 </object>
2365
2366 <object type="template" name="footer" />
2367 </page>
2368
2369 <page name="settings">
2370 <object type="template" name="header" />
2371
2372 <object type="text" color="%text_color%">
2373 <font resource="font" />
2374 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2375 <text>Settings</text>
2376 </object>
2377
2378 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002379 <placement x="%col1_x%" y="%row1_text_y%" />
2380 <font resource="font" color="%text_color%" />
2381 <text>Zip file signature verification.</text>
2382 <data variable="tw_signed_zip_verify" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -04002387 <placement x="%col1_x%" y="%row2_text_y%" />
2388 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002389 <text>Use rm -rf instead of formatting.</text>
2390 <data variable="tw_rm_rf" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002395 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002397 <text>Skip MD5 generation during backup.</text>
2398 <data variable="tw_skip_md5_generate" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002405 <text>Enable MD5 verification of backup files.</text>
2406 <data variable="tw_skip_md5_check" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002411 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002413 <text>Use Military Time.</text>
2414 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002419 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002421 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002422 <data variable="tw_simulate_actions" />
2423 <image checked="checkbox_true" unchecked="checkbox_false" />
2424 </object>
2425
2426 <object type="checkbox">
2427 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002428 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002430 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002431 <data variable="tw_simulate_fail" />
2432 <image checked="checkbox_true" unchecked="checkbox_false" />
2433 </object>
2434
2435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002437 <placement x="%col1_x%" y="%row3_y%" />
2438 <font resource="font" color="%button_text_color%" />
2439 <text>Time Zone</text>
2440 <image resource="main_button" />
2441 <action function="page">timezone</action>
2442 </object>
2443
2444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002445 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002446 <placement x="%col2_x%" y="%row3_y%" />
2447 <font resource="font" color="%button_text_color%" />
2448 <text>Screen</text>
2449 <image resource="main_button" />
2450 <action function="page">screen</action>
2451 </object>
2452
2453 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002454 <highlight color="%highlight_color%" />
2455 <placement x="%col2_x%" y="%row4_y%" />
2456 <font resource="font" color="%button_text_color%" />
2457 <text>Vibration Duration</text>
2458 <image resource="main_button" />
2459 <action function="page">Vibrate</action>
2460 </object>
2461
2462 <object type="button">
2463 <placement x="%col_x%" y="%row4_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002464 <font resource="font" color="%button_text_color%" />
2465 <text>Restore Defaults</text>
2466 <image resource="main_button" />
2467 <action function="restoredefaultsettings"></action>
2468 </object>
2469
2470 <object type="action">
2471 <touch key="home" />
2472 <action function="page">main</action>
2473 </object>
2474
2475 <object type="action">
2476 <touch key="back" />
2477 <action function="page">main</action>
2478 </object>
2479
2480 <object type="template" name="footer" />
2481 </page>
2482
2483 <page name="timezone">
2484 <object type="template" name="header" />
2485
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002487 <highlight color="%fileselector_highlight_color%" />
2488 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2489 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002490 <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 -06002491 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002492 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002493 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002495 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <data name="tw_time_zone_guisel" />
2497 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2498 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2499 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2500 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2501 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2502 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2503 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2504 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2505 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2506 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2507 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2508 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2509 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2510 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2511 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2512 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2513 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2514 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2515 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2516 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2517 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2518 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2519 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2520 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2521 </object>
2522
2523 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002524 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002525 <font resource="font" color="%text_color%" />
2526 <text>Do you use daylight savings time (DST)?</text>
2527 <data variable="tw_time_zone_guidst" />
2528 <image checked="checkbox_true" unchecked="checkbox_false" />
2529 </object>
2530
2531 <object type="text" color="%text_color%">
2532 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002533 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002534 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2535 </object>
2536
2537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002538 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002539 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <font resource="font" color="%button_text_color%" />
2541 <text>None</text>
2542 <image resource="medium_button" />
2543 <action function="set">tw_time_zone_guioffset=0</action>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002548 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002549 <font resource="font" color="%button_text_color%" />
2550 <text>15</text>
2551 <image resource="medium_button" />
2552 <action function="set">tw_time_zone_guioffset=15</action>
2553 </object>
2554
2555 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002556 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002557 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002558 <font resource="font" color="%button_text_color%" />
2559 <text>30</text>
2560 <image resource="medium_button" />
2561 <action function="set">tw_time_zone_guioffset=30</action>
2562 </object>
2563
2564 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002565 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002566 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <font resource="font" color="%button_text_color%" />
2568 <text>45</text>
2569 <image resource="medium_button" />
2570 <action function="set">tw_time_zone_guioffset=45</action>
2571 </object>
2572
2573 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002574 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002575 <placement x="%col_center_x%" y="%tz_set_y%" />
2576 <font resource="font" color="%button_text_color%" />
2577 <text>Set Time Zone</text>
2578 <image resource="main_button" />
2579 <action function="setguitimezone"></action>
2580 </object>
2581
2582 <object type="text" color="%text_color%">
2583 <font resource="font" />
2584 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2585 <text>Current Time Zone: %tw_time_zone%</text>
2586 </object>
2587
2588 <object type="action">
2589 <touch key="home" />
2590 <action function="page">main</action>
2591 </object>
2592
2593 <object type="action">
2594 <touch key="back" />
2595 <action function="page">settings</action>
2596 </object>
2597
2598 <object type="template" name="footer" />
2599 </page>
2600
Dees_Troy2f9117a2013-02-17 19:52:09 -06002601 <page name="screen">
2602 <object type="template" name="header" />
2603
2604 <object type="text" color="%text_color%">
2605 <font resource="font" />
2606 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2607 <text>Screen Settings</text>
2608 </object>
2609
Dees_Troy2f9117a2013-02-17 19:52:09 -06002610 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002611 <placement x="%col1_x%" y="%row2_text_y%" />
2612 <font resource="font" color="%text_color%" />
2613 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002614 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <text>Enable screen timeout.</text>
2616 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002617 <action function="set">tw_screen_timeout_secs=60</action>
2618 </object>
2619
2620 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002621 <placement x="%col1_x%" y="%row2_text_y%" />
2622 <font resource="font" color="%text_color%" />
2623 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002624 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <text>Enable screen timeout.</text>
2626 <image resource="checkbox_true" />
2627 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002628 </object>
2629
Vojtech Bocek85932342013-04-01 22:11:33 +02002630 <object type="slidervalue">
2631 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002632 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2634 <font resource="font" color="%text_color%" />
2635 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2636 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2637 <text>Screen timeout in seconds:</text>
2638 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002639 </object>
2640
Vojtech Bocek85932342013-04-01 22:11:33 +02002641 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002642 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002643 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2644 <font resource="font" color="%text_color%" />
2645 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2646 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2647 <text>Brightness: %tw_brightness_pct%%</text>
2648 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002649 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002650 <action function="set">tw_brightness=%tw_brightness_max%</action>
2651 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2652 <action function="compute">tw_brightness/100</action>
2653 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002654 </actions>
2655 </object>
2656
2657 <object type="action">
2658 <touch key="home" />
2659 <action function="page">main</action>
2660 </object>
2661
2662 <object type="action">
2663 <touch key="back" />
2664 <action function="page">settings</action>
2665 </object>
2666
2667 <object type="template" name="footer" />
2668 </page>
2669
Ethan Yonker03db3262014-02-05 08:02:06 -06002670 <page name="Vibrate">
2671 <object type="template" name="header" />
2672
2673 <object type="text" color="%text_color%">
2674 <font resource="font" />
2675 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2676 <text>Vibration Settings :</text>
2677 </object>
2678
2679 <object type="slidervalue">
2680 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2681 <font resource="font" color="%text_color%" />
2682 <text>Button Vibration:</text>
2683 <data variable="tw_button_vibrate" min="0" max="300" />
2684 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2685 </object>
2686
2687 <object type="slidervalue">
2688 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2689 <font resource="font" color="%text_color%" />
2690 <text>Keyboard Vibration:</text>
2691 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2692 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2693 </object>
2694
2695 <object type="slidervalue">
2696 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2697 <font resource="font" color="%text_color%" />
2698 <text>Action Vibration:</text>
2699 <data variable="tw_action_vibrate" min="0" max="500" />
2700 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2701 </object>
2702
2703 <object type="action">
2704 <touch key="home" />
2705 <action function="page">main</action>
2706 </object>
2707
2708 <object type="action">
2709 <touch key="back" />
2710 <action function="page">settings</action>
2711 </object>
2712
2713 <object type="template" name="footer" />
2714 </page>
2715
Dees_Troy51a0e822012-09-05 15:24:24 -04002716 <page name="advanced">
2717 <object type="template" name="header" />
2718
2719 <object type="text" color="%text_color%">
2720 <font resource="font" />
2721 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2722 <text>Advanced</text>
2723 </object>
2724
2725 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002726 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002727 <placement x="%col1_x%" y="%row1_y%" />
2728 <font resource="font" color="%button_text_color%" />
2729 <text>Copy Log to SD</text>
2730 <image resource="main_button" />
2731 <actions>
2732 <action function="set">tw_back=advanced</action>
2733 <action function="set">tw_action=copylog</action>
2734 <action function="set">tw_text1=Copy Log to SD Card?</action>
2735 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2736 <action function="set">tw_complete_text1=Log Copy Complete</action>
2737 <action function="set">tw_slider_text=Swipe to Confirm</action>
2738 <action function="page">confirm_action</action>
2739 </actions>
2740 </object>
2741
2742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <placement x="%col2_x%" y="%row1_y%" />
2745 <font resource="font" color="%button_text_color%" />
2746 <text>Fix Permissions</text>
2747 <image resource="main_button" />
2748 <actions>
2749 <action function="set">tw_back=advanced</action>
2750 <action function="set">tw_action=fixpermissions</action>
2751 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002753 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2754 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002755 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <action function="page">confirm_action</action>
2757 </actions>
2758 </object>
2759
2760 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002761 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002762 <condition var1="tw_allow_partition_sdcard" var2="1" />
2763 <placement x="%col1_x%" y="%row2_y%" />
2764 <font resource="font" color="%button_text_color%" />
2765 <text>Partition SD Card</text>
2766 <image resource="main_button" />
2767 <action function="page">partsdcard</action>
2768 </object>
2769
2770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002771 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002772 <placement x="%col2_x%" y="%row2_y%" />
2773 <font resource="font" color="%button_text_color%" />
2774 <text>File Manager</text>
2775 <image resource="main_button" />
2776 <action function="page">filemanagerlist</action>
2777 </object>
2778
2779 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002780 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002781 <placement x="%col1_x%" y="%row3_y%" />
2782 <font resource="font" color="%button_text_color%" />
2783 <text>Terminal Command</text>
2784 <image resource="main_button" />
2785 <action function="page">terminalfolder</action>
2786 </object>
2787
2788 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002789 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002790 <placement x="%col2_x%" y="%row3_y%" />
2791 <font resource="font" color="%button_text_color%" />
2792 <text>Reload Theme</text>
2793 <image resource="main_button" />
2794 <action function="reload"></action>
2795 </object>
2796
2797 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002798 <highlight color="%highlight_color%" />
Dees_Troy43d8b002012-09-17 16:00:01 -04002799 <placement x="%col1_x%" y="%row4_y%" />
2800 <font resource="font" color="%button_text_color%" />
2801 <text>ADB Sideload</text>
2802 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002803 <action function="page">sideload</action>
Dees_Troy43d8b002012-09-17 16:00:01 -04002804 </object>
2805
2806 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002807 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002808 <condition var1="tw_show_dumlock" var2="1" />
2809 <placement x="%col2_x%" y="%row4_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text>HTC Dumlock</text>
2812 <image resource="main_button" />
2813 <action function="page">htcdumlock</action>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <condition var1="tw_has_injecttwrp" var2="1" />
2819 <placement x="%col2_x%" y="%row4_y%" />
2820 <font resource="font" color="%button_text_color%" />
2821 <text>Re-Inject TWRP</text>
2822 <image resource="main_button" />
2823 <actions>
2824 <action function="set">tw_back=advanced</action>
2825 <action function="set">tw_action=reinjecttwrp</action>
2826 <action function="set">tw_text1=Re-Inject TWRP?</action>
2827 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2828 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2829 <action function="set">tw_slider_text=Swipe to Confirm</action>
2830 <action function="page">confirm_action</action>
2831 </actions>
2832 </object>
2833
Dees_Troy51a0e822012-09-05 15:24:24 -04002834 <object type="action">
2835 <touch key="home" />
2836 <action function="page">main</action>
2837 </object>
2838
2839 <object type="action">
2840 <touch key="back" />
2841 <action function="page">main</action>
2842 </object>
2843
2844 <object type="template" name="footer" />
2845 </page>
2846
2847 <page name="partsdcard">
2848 <object type="template" name="header" />
2849
2850 <object type="text" color="%text_color%">
2851 <font resource="font" />
2852 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2853 <text>Partition SD Card</text>
2854 </object>
2855
2856 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002857 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002858 <placement x="%col1_x%" y="%row1_y%" />
2859 <font resource="font" color="%button_text_color%" />
2860 <text></text>
2861 <image resource="minus_button" />
2862 <action function="addsubtract">tw_sdext_size-128</action>
2863 </object>
2864
2865 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002866 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002867 <placement x="%sd_plus_x%" y="%row1_y%" />
2868 <font resource="font" color="%button_text_color%" />
2869 <text></text>
2870 <image resource="plus_button" />
2871 <action function="addsubtract">tw_sdext_size+128</action>
2872 </object>
2873
2874 <object type="text" color="%text_color%">
2875 <font resource="font" />
2876 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2877 <text>EXT Size: %tw_sdext_size%</text>
2878 </object>
2879
2880 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002881 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002882 <placement x="%col1_x%" y="%sdswap_button_y%" />
2883 <font resource="font" color="%button_text_color%" />
2884 <text></text>
2885 <image resource="minus_button" />
2886 <action function="addsubtract">tw_swap_size-32</action>
2887 </object>
2888
2889 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002890 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002891 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2892 <font resource="font" color="%button_text_color%" />
2893 <text></text>
2894 <image resource="plus_button" />
2895 <action function="addsubtract">tw_swap_size+32</action>
2896 </object>
2897
2898 <object type="text" color="%text_color%">
2899 <font resource="font" />
2900 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2901 <text>Swap Size: %tw_swap_size%</text>
2902 </object>
2903
2904 <object type="text" color="%text_color%">
2905 <font resource="font" />
2906 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2907 <text>File system: %tw_sdpart_file_system%</text>
2908 </object>
2909
2910 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002911 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002912 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2913 <font resource="font" color="%button_text_color%" />
2914 <text>EXT3</text>
2915 <image resource="main_button" />
2916 <action function="set">tw_sdpart_file_system=ext3</action>
2917 </object>
2918
2919 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002920 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002921 <condition var1="tw_sdext_disable_ext4" var2="0" />
2922 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2923 <font resource="font" color="%button_text_color%" />
2924 <text>EXT4</text>
2925 <image resource="main_button" />
2926 <action function="set">tw_sdpart_file_system=ext4</action>
2927 </object>
2928
2929 <object type="text" color="%text_color%">
2930 <font resource="font" />
2931 <placement x="%col1_x%" y="%row12_text_y%" />
2932 <text>You will lose all files on your SD card!</text>
2933 </object>
2934
2935 <object type="text" color="%text_color%">
2936 <font resource="font" />
2937 <placement x="%col1_x%" y="%row13_text_y%" />
2938 <text>This action cannot be undone!</text>
2939 </object>
2940
2941 <object type="slider">
2942 <placement x="%slider_x%" y="%slider_y%" />
2943 <resource base="slider" used="slider-used" touch="slider-touch" />
2944 <action function="page">partsdcardaction</action>
2945 <actions>
2946 <action function="set">tw_back=partsdcard</action>
2947 <action function="set">tw_action=partitionsd</action>
2948 <action function="set">tw_has_action2=1</action>
2949 <action function="set">tw_action2=set</action>
2950 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2951 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2952 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002953 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002954 <action function="page">action_page</action>
2955 </actions>
2956 </object>
2957
2958 <object type="text" color="%text_color%">
2959 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002960 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002961 <text>Swipe to Partition</text>
2962 </object>
2963
2964 <object type="action">
2965 <touch key="home" />
2966 <action function="page">main</action>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="back" />
2971 <action function="page">advanced</action>
2972 </object>
2973
2974 <object type="template" name="footer" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002975 </page>
2976
2977 <page name="htcdumlock">
2978 <object type="template" name="header" />
2979
2980 <object type="text" color="%text_color%">
2981 <font resource="font" />
2982 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2983 <text>HTC Dumlock</text>
2984 </object>
2985
2986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002987 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002988 <condition var1="tw_show_dumlock" var2="1" />
2989 <placement x="%col1_x%" y="%row1_y%" />
2990 <font resource="font" color="%button_text_color%" />
2991 <text>Restore Original Boot</text>
2992 <image resource="main_button" />
2993 <actions>
2994 <action function="set">tw_back=htcdumlock</action>
2995 <action function="set">tw_action=htcdumlockrestoreboot</action>
2996 <action function="set">tw_text1=Restore original boot image?</action>
2997 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2998 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2999 <action function="set">tw_slider_text=Swipe to Confirm</action>
3000 <action function="page">confirm_action</action>
3001 </actions>
3002 </object>
3003
3004 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003005 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003006 <condition var1="tw_show_dumlock" var2="1" />
3007 <placement x="%col2_x%" y="%row1_y%" />
3008 <font resource="font" color="%button_text_color%" />
3009 <text>Reflash Recovery</text>
3010 <image resource="main_button" />
3011 <actions>
3012 <action function="set">tw_back=htcdumlock</action>
3013 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3014 <action function="set">tw_text1=Reflash recovery to boot?</action>
3015 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3016 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3017 <action function="set">tw_slider_text=Swipe to Confirm</action>
3018 <action function="page">confirm_action</action>
3019 </actions>
3020 </object>
3021
3022 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003023 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003024 <condition var1="tw_show_dumlock" var2="1" />
3025 <placement x="%col1_x%" y="%row2_y%" />
3026 <font resource="font" color="%button_text_color%" />
3027 <text>Install HTC Dumlock</text>
3028 <image resource="main_button" />
3029 <actions>
3030 <action function="set">tw_back=htcdumlock</action>
3031 <action function="set">tw_action=installhtcdumlock</action>
3032 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3033 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3034 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3035 <action function="set">tw_slider_text=Swipe to Confirm</action>
3036 <action function="page">confirm_action</action>
3037 </actions>
3038 </object>
3039
3040 <object type="action">
3041 <touch key="home" />
3042 <action function="page">main</action>
3043 </object>
3044
3045 <object type="action">
3046 <touch key="back" />
3047 <action function="page">advanced</action>
3048 </object>
3049
3050 <object type="template" name="footer" />
3051 </page>
3052
3053 <page name="lock">
3054 <background color="#000000A0" />
3055
3056 <object type="image">
3057 <image resource="unlock-icon" />
3058 <placement x="%lock_x%" y="%lock_y%" />
3059 </object>
3060
3061 <object type="slider">
3062 <placement x="%slider_x%" y="%slider_y%" />
3063 <resource base="slider" used="slider-used" touch="slider-touch" />
3064 <action function="overlay"></action>
3065 </object>
3066
3067 <object type="text" color="%text_color%">
3068 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003069 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003070 <text>Swipe to Unlock</text>
3071 </object>
3072 </page>
3073
3074 <page name="filemanagerlist">
3075 <object type="template" name="header" />
3076
3077 <object type="text" color="%text_color%">
3078 <font resource="font" />
3079 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3080 <text>File Manager: Select a File or Folder</text>
3081 </object>
3082
3083 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003084 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003085 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3086 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003087 <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 -04003088 <text>%tw_file_location1%</text>
3089 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3090 <sort name="tw_gui_sort_order" />
3091 <icon folder="folder_icon" file="file_icon" />
3092 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003093 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003094 <folders="1" files="1" />
3095 <path name="tw_file_location1" default="/" />
3096 <data name="tw_filename1" />
3097 <selection name="tw_selection1" />
3098 </object>
3099
3100 <object type="template" name="sort_options" />
3101
3102 <object type="action">
3103 <actions>
3104 <action function="set">tw_fm_type=File</action>
3105 <action function="set">tw_fm_isfolder=0</action>
3106 </actions>
3107 </object>
3108
3109 <object type="action">
3110 <touch key="home" />
3111 <action function="page">main</action>
3112 </object>
3113
3114 <object type="action">
3115 <touch key="back" />
3116 <action function="page">advanced</action>
3117 </object>
3118
3119 <object type="action">
3120 <condition var1="tw_filename1" op="modified" />
3121 <actions>
3122 <action function="page">filemanageroptions</action>
3123 </actions>
3124 </object>
3125
3126 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003127 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003128 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3129 <font resource="font" color="%button_text_color%" />
3130 <text>Select</text>
3131 <image resource="medium_button" />
3132 <actions>
3133 <action function="set">tw_filename1=tw_file_location1</action>
3134 <action function="set">tw_fm_isfolder=1</action>
3135 <action function="set">tw_fm_type=Folder</action>
3136 <action function="page">filemanageroptions</action>
3137 </actions>
3138 </object>
3139
3140 <object type="template" name="footer" />
3141 </page>
3142
3143 <page name="filemanageroptions">
3144 <object type="template" name="header" />
3145
3146 <object type="text" color="%text_color%">
3147 <font resource="font" />
3148 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3149 <text>%tw_fm_type% Selected:</text>
3150 </object>
3151
3152 <object type="text" color="%text_color%">
3153 <font resource="font" />
3154 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3155 <text>%tw_filename1%</text>
3156 </object>
3157
3158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003160 <condition var1="tw_fm_isfolder" var2="0" />
3161 <placement x="%col1_x%" y="%row2_y%" />
3162 <font resource="font" color="%button_text_color%" />
3163 <text>Copy File</text>
3164 <image resource="main_button" />
3165 <actions>
3166 <action function="set">tw_filemanager_command=cp</action>
3167 <action function="set">tw_fm_text1=Copying</action>
3168 <action function="page">choosedestinationfolder</action>
3169 </actions>
3170 </object>
3171
3172 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003173 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003174 <condition var1="tw_fm_isfolder" var2="1" />
3175 <placement x="%col1_x%" y="%row2_y%" />
3176 <font resource="font" color="%button_text_color%" />
3177 <text>Copy Folder</text>
3178 <image resource="main_button" />
3179 <actions>
3180 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3181 <action function="set">tw_fm_text1=Copying</action>
3182 <action function="page">choosedestinationfolder</action>
3183 </actions>
3184 </object>
3185
3186 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003187 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003188 <placement x="%col2_x%" y="%row2_y%" />
3189 <font resource="font" color="%button_text_color%" />
3190 <text>Move</text>
3191 <image resource="main_button" />
3192 <actions>
3193 <action function="set">tw_filemanager_command=mv</action>
3194 <action function="set">tw_fm_text1=Moving</action>
3195 <action function="page">choosedestinationfolder</action>
3196 </actions>
3197 </object>
3198
3199 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003200 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003201 <placement x="%col1_x%" y="%row3_y%" />
3202 <font resource="font" color="%button_text_color%" />
3203 <text>chmod 755</text>
3204 <image resource="main_button" />
3205 <actions>
3206 <action function="set">tw_filemanager_command=chmod 755</action>
3207 <action function="set">tw_fm_text1=chmod 755</action>
3208 <action function="set">tw_fm_text2=</action>
3209 <action function="set">tw_fm_text3=</action>
3210 <action function="set">tw_include_text3=0</action>
3211 <action function="set">tw_back=filemanageroptions</action>
3212 <action function="page">filemanagerconfirm</action>
3213 </actions>
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="%col2_x%" y="%row3_y%" />
3219 <font resource="font" color="%button_text_color%" />
3220 <text>chmod</text>
3221 <image resource="main_button" />
3222 <actions>
3223 <action function="set">tw_filemanager_rename=0000</action>
3224 <action function="set">tw_fm_text2=</action>
3225 <action function="set">tw_fm_text3=</action>
3226 <action function="set">tw_include_text3=0</action>
3227 <action function="set">tw_back=filemanageroptions</action>
3228 <action function="page">filemanagerchmod</action>
3229 </actions>
3230 </object>
3231
3232 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003233 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003234 <placement x="%col1_x%" y="%row4_y%" />
3235 <font resource="font" color="%button_text_color%" />
3236 <text>Delete</text>
3237 <image resource="main_button" />
3238 <actions>
3239 <action function="set">tw_filemanager_command=rm -rf</action>
3240 <action function="set">tw_fm_text1=Deleting</action>
3241 <action function="set">tw_fm_text2=</action>
3242 <action function="set">tw_fm_text3=</action>
3243 <action function="set">tw_include_text3=0</action>
3244 <action function="set">tw_back=filemanageroptions</action>
3245 <action function="page">filemanagerconfirm</action>
3246 </actions>
3247 </object>
3248
3249 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003250 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003251 <condition var1="tw_fm_isfolder" var2="0" />
3252 <placement x="%col2_x%" y="%row4_y%" />
3253 <font resource="font" color="%button_text_color%" />
3254 <text>Rename File</text>
3255 <image resource="main_button" />
3256 <actions>
3257 <action function="set">tw_filemanager_rename=tw_selection1</action>
3258 <action function="set">tw_fm_text1=Renaming</action>
3259 <action function="set">tw_filemanager_command=mv</action>
3260 <action function="page">filemanagerrenamefile</action>
3261 </actions>
3262 </object>
3263
3264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003266 <condition var1="tw_fm_isfolder" var2="1" />
3267 <placement x="%col2_x%" y="%row4_y%" />
3268 <font resource="font" color="%button_text_color%" />
3269 <text>Rename Folder</text>
3270 <image resource="main_button" />
3271 <actions>
3272 <action function="set">tw_filemanager_rename=tw_selection1</action>
3273 <action function="set">tw_fm_text1=Renaming</action>
3274 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3275 <action function="page">filemanagerrenamefolder</action>
3276 </actions>
3277 </object>
3278
3279 <object type="action">
3280 <touch key="home" />
3281 <action function="page">main</action>
3282 </object>
3283
3284 <object type="action">
3285 <touch key="back" />
3286 <action function="page">filemanagerlist</action>
3287 </object>
3288
3289 <object type="template" name="footer" />
3290 </page>
3291
3292 <page name="choosedestinationfolder">
3293 <object type="template" name="header" />
3294
3295 <object type="text" color="%text_color%">
3296 <font resource="font" />
3297 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3298 <text>Browse to Destination Folder & Press Select</text>
3299 </object>
3300
3301 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003302 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003303 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3304 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003305 <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 -04003306 <text>%tw_file_location2%</text>
3307 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3308 <sort name="tw_gui_sort_order" />
3309 <icon folder="folder_icon" file="file_icon" />
3310 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003311 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003312 <filter folders="1" files="0" />
3313 <path name="tw_file_location2" default="/" />
3314 <data name="tw_filename2" />
3315 <selection name="tw_selection2" />
3316 </object>
3317
3318 <object type="template" name="sort_options" />
3319
3320 <object type="action">
3321 <touch key="home" />
3322 <action function="page">main</action>
3323 </object>
3324
3325 <object type="action">
3326 <touch key="back" />
3327 <action function="page">filemanageroptions</action>
3328 </object>
3329
3330 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003331 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003332 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3333 <font resource="font" color="%button_text_color%" />
3334 <text>Select</text>
3335 <image resource="medium_button" />
3336 <actions>
3337 <action function="set">tw_fm_text2=to</action>
3338 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3339 <action function="set">tw_include_text3=1</action>
3340 <action function="set">tw_back=filemanageroptions</action>
3341 <action function="page">filemanagerconfirm</action>
3342 </actions>
3343 </object>
3344
3345 <object type="template" name="footer" />
3346 </page>
3347
3348 <page name="filemanagerrenamefile">
3349 <object type="template" name="header" />
3350
3351 <object type="text" color="%text_color%">
3352 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3353 <font resource="font" />
3354 <text>Please Enter a New %tw_fm_type% Name</text>
3355 </object>
3356
3357 <object type="input">
3358 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3359 <background color="%input_background_color%" />
3360 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3361 <font resource="font" color="%text_color%" />
3362 <text>%tw_filemanager_rename%</text>
3363 <data name="tw_filemanager_rename" />
3364 <restrict minlen="1" maxlen="128" />
3365 <actions>
3366 <action function="set">tw_fm_text2=to</action>
3367 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3368 <action function="set">tw_include_text3=1</action>
3369 <action function="set">tw_back=filemanageroptions</action>
3370 <action function="page">filemanagerconfirm</action>
3371 </actions>
3372 </object>
3373
3374 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003375 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003376 <placement x="%col_center_x%" y="%row2_y%" />
3377 <font resource="font" color="%button_text_color%" />
3378 <text>Cancel</text>
3379 <image resource="main_button" />
3380 <action function="page">filemanageroptions</action>
3381 </object>
3382
3383 <object type="template" name="keyboardtemplate" />
3384
3385 <object type="action">
3386 <touch key="home" />
3387 <action function="page">main</action>
3388 </object>
3389
3390 <object type="action">
3391 <touch key="back" />
3392 <action function="page">filemanageroptions</action>
3393 </object>
3394
3395 <object type="template" name="footer" />
3396 </page>
3397
3398 <page name="filemanagerrenamefolder">
3399 <object type="template" name="header" />
3400
3401 <object type="text" color="%text_color%">
3402 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3403 <font resource="font" />
3404 <text>Please Enter a New %tw_fm_type% Name</text>
3405 </object>
3406
3407 <object type="input">
3408 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3409 <background color="%input_background_color%" />
3410 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3411 <font resource="font" color="%text_color%" />
3412 <text>%tw_filemanager_rename%</text>
3413 <data name="tw_filemanager_rename" />
3414 <restrict minlen="1" maxlen="128" />
3415 <actions>
3416 <action function="set">tw_fm_text2=to</action>
3417 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3418 <action function="set">tw_include_text3=1</action>
3419 <action function="set">tw_back=filemanageroptions</action>
3420 <action function="page">filemanagerconfirm</action>
3421 </actions>
3422 </object>
3423
3424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003426 <placement x="%col_center_x%" y="%row2_y%" />
3427 <font resource="font" color="%button_text_color%" />
3428 <text>Cancel</text>
3429 <image resource="main_button" />
3430 <action function="page">filemanageroptions</action>
3431 </object>
3432
3433 <object type="template" name="keyboardtemplate" />
3434
3435 <object type="action">
3436 <touch key="home" />
3437 <action function="page">main</action>
3438 </object>
3439
3440 <object type="action">
3441 <touch key="back" />
3442 <action function="page">filemanageroptions</action>
3443 </object>
3444
3445 <object type="template" name="footer" />
3446 </page>
3447
3448 <page name="filemanagerchmod">
3449 <object type="template" name="header" />
3450
3451 <object type="text" color="%text_color%">
3452 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3453 <font resource="font" />
3454 <text>Please Enter New Permissions</text>
3455 </object>
3456
3457 <object type="input">
3458 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3459 <background color="%input_background_color%" />
3460 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3461 <font resource="font" color="%text_color%" />
3462 <text>%tw_filemanager_rename%</text>
3463 <data name="tw_filemanager_rename" />
3464 <restrict minlen="3" maxlen="4" allow="0123456789" />
3465 <actions>
3466 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3467 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3468 <action function="set">tw_back=filemanageroptions</action>
3469 <action function="page">filemanagerconfirm</action>
3470 </actions>
3471 </object>
3472
3473 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003474 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003475 <placement x="%col_center_x%" y="%row2_y%" />
3476 <font resource="font" color="%button_text_color%" />
3477 <text>Cancel</text>
3478 <image resource="main_button" />
3479 <action function="page">filemanageroptions</action>
3480 </object>
3481
3482 <object type="template" name="keyboardtemplate" />
3483
3484 <object type="action">
3485 <touch key="home" />
3486 <action function="page">main</action>
3487 </object>
3488
3489 <object type="action">
3490 <touch key="back" />
3491 <action function="page">filemanageroptions</action>
3492 </object>
3493
3494 <object type="template" name="footer" />
3495 </page>
3496
3497 <page name="filemanagerconfirm">
3498 <object type="template" name="header" />
3499
3500 <object type="text" color="%text_color%">
3501 <font resource="font" />
3502 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3503 <text>%tw_fm_text1%</text>
3504 </object>
3505
3506 <object type="text" color="%text_color%">
3507 <font resource="font" />
3508 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3509 <text>%tw_filename1%</text>
3510 </object>
3511
3512 <object type="text" color="%text_color%">
3513 <font resource="font" />
3514 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3515 <text>%tw_fm_text2%</text>
3516 </object>
3517
3518 <object type="text" color="%text_color%">
3519 <font resource="font" />
3520 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3521 <text>%tw_fm_text3%</text>
3522 </object>
3523
3524 <object type="text" color="%text_color%">
3525 <font resource="font" />
3526 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3527 <text>Press back button to cancel.</text>
3528 </object>
3529
3530 <object type="slider">
3531 <placement x="%slider_x%" y="%slider_y%" />
3532 <resource base="slider" used="slider-used" touch="slider-touch" />
3533 <action function="page">filemanageracction</action>
3534 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003535
Dees_Troy51a0e822012-09-05 15:24:24 -04003536 <object type="text" color="%text_color%">
3537 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04003538 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003539 <text>Swipe to Confirm</text>
3540 </object>
3541
3542 <object type="action">
3543 <touch key="back" />
3544 <action function="page">%tw_back%</action>
3545 </object>
3546
3547 <object type="action">
3548 <touch key="home" />
3549 <action function="page">main</action>
3550 </object>
Dees_Troyb46a6842012-09-25 11:06:46 -04003551
Dees_Troy51a0e822012-09-05 15:24:24 -04003552 <object type="template" name="footer" />
3553 </page>
3554
3555 <page name="filemanageracction">
3556 <object type="template" name="header" />
3557
3558 <object type="text" color="%text_color%">
3559
3560 <font resource="font" />
3561 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3562 <text>%tw_fm_text1%</text>
3563 </object>
3564
3565 <object type="template" name="action_page_console" />
3566
3567 <object type="template" name="progress_bar" />
3568
3569 <object type="action">
3570 <conditions>
3571 <condition var1="tw_operation_state" var2="1" />
3572 <condition var1="tw_operation_status" var2="0" />
3573 </conditions>
3574 <actions>
3575 <action function="set">tw_back=filemanagerlist</action>
3576 <action function="set">tw_complete_text1=File Operation Complete</action>
3577 <action function="page">action_complete</action>
3578 </actions>
3579 </object>
3580
3581 <object type="action">
3582 <conditions>
3583 <condition var1="tw_operation_state" var2="1" />
3584 <condition var1="tw_operation_status" op="!=" var2="0" />
3585 </conditions>
3586 <actions>
3587 <action function="set">tw_complete_text1=File Operation Complete</action>
3588 <action function="page">action_complete</action>
3589 </actions>
3590 </object>
3591
3592 <object type="action">
3593 <condition var1="tw_include_text3" var2="0" />
3594 <actions>
3595 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3596 </actions>
3597 </object>
3598
3599 <object type="action">
3600 <condition var1="tw_include_text3" var2="1" />
3601 <actions>
3602 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3603 </actions>
3604 </object>
3605 </page>
3606
3607 <page name="decrypt">
3608 <object type="template" name="header" />
3609
3610 <object type="text" color="%text_color%">
3611 <font resource="font" />
3612 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3613 <text>Please Enter Your Password</text>
3614 </object>
3615
3616 <object type="input">
3617 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3618 <background color="%input_background_color%" />
3619 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3620 <font resource="font" color="%text_color%" />
3621 <text>%tw_crypto_display%</text>
3622 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3623 <restrict minlen="1" maxlen="254" />
3624 <actions>
3625 <action function="page">trydecrypt</action>
3626 </actions>
3627 </object>
3628
3629 <object type="text" color="%text_fail_color%">
3630 <condition var1="tw_password_fail" var2="1" />
3631 <font resource="font" />
3632 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3633 <text>Password Failed, Please Try Again</text>
3634 </object>
3635
3636 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003637 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003638 <placement x="%col_center_x%" y="%row2_y%" />
3639 <font resource="font" color="%button_text_color%" />
3640 <text>Cancel</text>
3641 <image resource="main_button" />
3642 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003643 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003644 <action function="page">main</action>
3645 </actions>
3646 </object>
3647
3648 <object type="template" name="keyboardtemplate" />
3649
Dees_Troy51a0e822012-09-05 15:24:24 -04003650 <object type="template" name="footer" />
3651 </page>
3652
3653 <page name="trydecrypt">
3654 <object type="template" name="header" />
3655
3656 <object type="text" color="%text_color%">
3657 <font resource="font" />
3658 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3659 <text>Trying Decryption with Your Password</text>
3660 </object>
3661
3662 <object type="template" name="action_page_console" />
3663
3664 <object type="template" name="progress_bar" />
3665
3666 <object type="action">
3667 <action function="decrypt"></action>
3668 </object>
3669
3670 <object type="action">
3671 <conditions>
3672 <condition var1="tw_operation_state" var2="1" />
3673 <condition var1="tw_operation_status" op="!=" var2="0" />
3674 </conditions>
3675 <actions>
3676 <action function="set">tw_password_fail=1</action>
3677 <action function="page">decrypt</action>
3678 </actions>
3679 </object>
3680
3681 <object type="action">
3682 <conditions>
3683 <condition var1="tw_operation_state" var2="1" />
3684 <condition var1="tw_operation_status" op="=" var2="0" />
3685 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003686 <actions>
3687 <action function="set">tw_page_done=1</action>
3688 <action function="page">main</action>
3689 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003690 </object>
3691 </page>
3692
3693 <page name="terminalfolder">
3694 <object type="template" name="header" />
3695
3696 <object type="text" color="%text_color%">
3697 <font resource="font" />
3698 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3699 <text>Browse to Starting Folder</text>
3700 </object>
3701
3702 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003703 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003704 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3705 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003706 <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 -04003707 <text>%tw_terminal_location%</text>
3708 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3709 <sort name="tw_gui_sort_order" />
3710 <icon folder="folder_icon" file="file_icon" />
3711 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003712 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003713 <filter folders="1" files="0" />
3714 <path name="tw_terminal_location" default="/" />
3715 <data name="tw_terminal" />
3716 <selection name="tw_terminal_selection" />
3717 </object>
3718
3719 <object type="template" name="sort_options" />
3720
3721 <object type="action">
3722 <touch key="home" />
3723 <action function="page">main</action>
3724 </object>
3725
3726 <object type="action">
3727 <touch key="back" />
3728 <action function="page">advanced</action>
3729 </object>
3730
3731 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003732 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003733 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3734 <font resource="font" color="%button_text_color%" />
3735 <text>Select</text>
3736 <image resource="medium_button" />
3737 <actions>
3738 <action function="page">terminalcommand</action>
3739 </actions>
3740 </object>
3741
3742 <object type="template" name="footer" />
3743 </page>
Dees_Troyb46a6842012-09-25 11:06:46 -04003744
Dees_Troy51a0e822012-09-05 15:24:24 -04003745 <page name="terminalcommand">
3746 <object type="template" name="header" />
3747
3748 <object type="console">
3749 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3750 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3751 <font resource="fixed" />
3752 </object>
3753
3754 <object type="text" color="%text_color%">
3755 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3756 <font resource="font" />
3757 <text>Starting Path: %tw_terminal_location%</text>
3758 </object>
3759
3760 <object type="input">
3761 <condition var1="tw_terminal_state" var2="0" />
3762 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3763 <background color="%input_background_color%" />
3764 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3765 <font resource="font" color="%text_color%" />
3766 <text>%tw_terminal_command%</text>
3767 <data name="tw_terminal_command" />
3768 <restrict minlen="1" />
3769 <action function="terminalcommand">%tw_terminal_command%</action>
3770 </object>
3771
3772 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003773 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003774 <condition var1="tw_terminal_state" var2="1" />
3775 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3776 <font resource="font" color="%button_text_color%" />
3777 <text>KILL</text>
3778 <image resource="medium_button" />
3779 <action function="killterminal"></action>
3780 </object>
3781
3782 <object type="template" name="keyboardtemplate" />
3783
3784 <object type="action">
3785 <touch key="home" />
3786 <action function="page">main</action>
3787 </object>
3788
3789 <object type="action">
3790 <touch key="back" />
3791 <action function="page">terminalfolder</action>
3792 </object>
3793 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003794
3795 <page name="sideload">
3796 <object type="template" name="header" />
3797
3798 <object type="text" color="%text_color%">
3799 <font resource="font" />
3800 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3801 <text>ADB Sideload</text>
3802 </object>
3803
3804 <object type="checkbox">
3805 <placement x="%col1_x%" y="%row2_text_y%" />
3806 <font resource="font" color="%text_color%" />
3807 <text>Wipe Dalvik Cache.</text>
3808 <data variable="tw_wipe_dalvik" />
3809 <image checked="checkbox_true" unchecked="checkbox_false" />
3810 </object>
3811
3812 <object type="checkbox">
3813 <placement x="%col1_x%" y="%row3_text_y%" />
3814 <font resource="font" color="%text_color%" />
3815 <text>Wipe Cache.</text>
3816 <data variable="tw_wipe_cache" />
3817 <image checked="checkbox_true" unchecked="checkbox_false" />
3818 </object>
3819
3820 <object type="slider">
3821 <placement x="%slider_x%" y="%slider_y%" />
3822 <resource base="slider" used="slider-used" touch="slider-touch" />
3823 <actions>
3824 <action function="set">tw_back=advanced</action>
3825 <action function="set">tw_action=adbsideload</action>
3826 <action function="set">tw_action_text1=ADB Sideload</action>
3827 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3828 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3829 <action function="set">tw_has_cancel=1</action>
3830 <action function="set">tw_show_reboot=1</action>
3831 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3832 <action function="page">action_page</action>
3833 </actions>
3834 </object>
3835
3836 <object type="text" color="%text_color%">
3837 <font resource="font" />
3838 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3839 <text>Swipe to Start Sideload</text>
3840 </object>
3841
3842 <object type="action">
3843 <touch key="home" />
3844 <action function="page">main</action>
3845 </object>
3846
3847 <object type="action">
3848 <touch key="back" />
3849 <action function="page">advanced</action>
3850 </object>
3851
3852 <object type="template" name="footer" />
3853 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003854
3855 <page name="installsu">
3856 <object type="template" name="header" />
3857
3858 <object type="text" color="%text_color%">
3859 <font resource="font" />
3860 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3861 <text>Install SuperSU?</text>
3862 </object>
3863
3864 <object type="text" color="%text_color%">
3865 <font resource="font" />
3866 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3867 <text>Your device does not appear to be rooted.</text>
3868 </object>
3869
3870 <object type="text" color="%text_color%">
3871 <font resource="font" />
3872 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3873 <text>Install SuperSU now?</text>
3874 </object>
3875
3876 <object type="text" color="%text_color%">
3877 <font resource="font" />
3878 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3879 <text>This will root your device.</text>
3880 </object>
3881
3882 <object type="button">
3883 <highlight color="%highlight_color%" />
3884 <placement x="%col_center_x%" y="%row3_y%" />
3885 <font resource="font" color="%button_text_color%" />
3886 <text>Do Not Install</text>
3887 <image resource="main_button" />
3888 <action function="set">tw_page_done=1</action>
3889 </object>
3890
3891 <object type="slider">
3892 <placement x="%slider_x%" y="%slider_y%" />
3893 <resource base="slider" used="slider-used" touch="slider-touch" />
3894 <actions>
3895 <action function="set">tw_action=installsu</action>
3896 <action function="set">tw_action_text1=Installing SuperSU</action>
3897 <action function="set">tw_action_text2=</action>
3898 <action function="page">singleaction_page</action>
3899 </actions>
3900 </object>
3901
3902 <object type="text" color="%text_color%">
3903 <font resource="font" />
3904 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3905 <text>Swipe to Install</text>
3906 </object>
3907 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003908 </pages>
3909</recovery>