blob: a8357703c350470041c8b089673cffcf0ba46168 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040046 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="240" />
48 <variable name="col_center_x" value="128" />
49 <variable name="center_x" value="240" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="290" />
52 <variable name="row3_y" value="450" />
53 <variable name="row4_y" value="610" />
54 <variable name="row_queue_y" value="510" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="170" />
58 <variable name="row3_text_y" value="200" />
59 <variable name="row4_text_y" value="230" />
60 <variable name="row5_text_y" value="260" />
61 <variable name="row6_text_y" value="290" />
62 <variable name="row7_text_y" value="320" />
63 <variable name="row8_text_y" value="350" />
64 <variable name="row9_text_y" value="380" />
65 <variable name="row10_text_y" value="410" />
66 <variable name="row11_text_y" value="440" />
67 <variable name="row12_text_y" value="480" />
68 <variable name="row13_text_y" value="510" />
69 <variable name="row14_text_y" value="540" />
70 <variable name="row15_text_y" value="570" />
71 <variable name="row16_text_y" value="600" />
72 <variable name="row17_text_y" value="630" />
73 <variable name="row18_text_y" value="660" />
74 <variable name="zip_status_y" value="585" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="580" />
77 <variable name="tz_current_y" value="730" />
78 <variable name="col_progressbar_x" value="114" />
79 <variable name="row_progressbar_y" value="720" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="125" />
82 <variable name="col3_medium_x" value="240" />
83 <variable name="col4_medium_x" value="355" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="205" />
86 <variable name="row3_medium_y" value="280" />
87 <variable name="row4_medium_y" value="355" />
88 <variable name="row5_medium_y" value="430" />
89 <variable name="row6_medium_y" value="505" />
90 <variable name="row7_medium_y" value="580" />
91 <variable name="slider_x" value="58" />
92 <variable name="slider_y" value="680" />
93 <variable name="slider_text_y" value="721" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="820" />
101 <variable name="back_button_x" value="413" />
102 <variable name="back_button_y" value="820" />
103 <variable name="sort_asc_text_y" value="739" />
104 <variable name="sort_asc_button_y" value="739" />
105 <variable name="sort_desc_text_y" value="779" />
106 <variable name="sort_desc_button_y" value="779" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="240" />
109 <variable name="sort_col3_button_x" value="300" />
110 <variable name="input_width" value="460" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="480" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="320" />
121 <variable name="console_install_height" value="440" />
122 <variable name="console_installdone_height" value="300" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100136 <variable name="fastscroll_linecolor" value="#808080" />
137 <variable name="fastscroll_rectcolor" value="#808080" />
138 <variable name="fastscroll_w" value="40" />
139 <variable name="fastscroll_linew" value="2" />
140 <variable name="fastscroll_rectw" value="27" />
141 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="18" />
147 <variable name="sd_plus_x" value="280" />
148 <variable name="sdext_text_x" value="84" />
149 <variable name="sdext_text_y" value="150" />
150 <variable name="sdswap_button_y" value="185" />
151 <variable name="sdswap_text_x" value="84" />
152 <variable name="sdswap_text_y" value="195" />
153 <variable name="sdfilesystem_text_y" value="240" />
154 <variable name="sdfilesystem_button_y" value="280" />
155 <variable name="lock_x" value="40" />
156 <variable name="lock_y" value="200" />
157 <variable name="filemanager_select_x" value="365" />
158 <variable name="filemanager_select_y" value="744" />
159 <variable name="backup_name_y" value="350" />
160 <variable name="terminal_console_height" value="424" />
161 <variable name="terminal_text_y" value="444" />
162 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="440" />
164 <variable name="row_offset_text_y" value="480" />
165 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500166 <variable name="button_fill_color" value="#303030" />
167 <variable name="button_fill_full_width" value="455" />
168 <variable name="button_fill_main_width" value="225" />
169 <variable name="button_fill_main_height" value="135" />
170 <variable name="button_fill_half_height" value="67" />
171 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000172 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500173 <variable name="backup_button_row1" value="480" />
174 <variable name="backup_button_row2" value="520" />
175 <variable name="mount_list_height" value="380" />
176 <variable name="mount_storage_row" value="500" />
177 <variable name="storage_list_height" value="400" />
178 <variable name="wipe_list_height" value="550" />
179 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200180 <variable name="slidervalue_w" value="460" />
181 <variable name="slidervalue_line_clr" value="#FFFFFF" />
182 <variable name="slidervalue_slider_clr" value="#33B5E5" />
183 <variable name="slidervalue_lineh" value="1" />
184 <variable name="slidervalue_padding" value="13" />
185 <variable name="slidervalue_sliderw" value="7" />
186 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400187 </variables>
188
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100189 <mousecursor>
190 <placement w="15" h="15" />
191 <background color="#FFFF00FF" resource="cursor" />
192 <speed multiplier="1.5" />
193 </mousecursor>
194
Dees_Troy51a0e822012-09-05 15:24:24 -0400195 <templates>
196 <template name="header">
197 <background color="%backgroundcolor%" />
198
199 <object type="image">
200 <image resource="top_bar" />
201 <placement x="0" y="0" />
202 </object>
203
204 <object type="text" color="%text_color%">
205 <font resource="font" />
206 <placement x="100" y="10" />
207 <text>Team Win Recovery Project v%tw_version%</text>
208 </object>
209
210 <object type="text" color="%text_color%">
211 <condition var1="tw_simulate_actions" var2="1" />
212 <font resource="font" />
213 <placement x="100" y="40" />
214 <text>SIMULATING ACTIONS</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="100" y="70" />
220 <text>%tw_time%</text>
221 </object>
222
223 <object type="text" color="%text_color%">
224 <font resource="font" />
225 <placement x="250" y="70" />
226 <conditions>
227 <condition var1="tw_no_battery_percent" var2="0" />
228 <condition var1="tw_battery" op=">" var2="0" />
229 <condition var1="tw_battery" op="<" var2="101" />
230 </conditions>
231 <text>Battery: %tw_battery%</text>
232 </object>
233
234 <object type="button">
235 <placement x="%home_button_x%" y="%home_button_y%" />
236 <font resource="font" color="%button_text_color%" />
237 <text></text>
238 <image resource="home_icon" />
239 <condition var1="tw_busy" var2="0" />
240 <action function="key">home</action>
241 </object>
242
243 <object type="button">
244 <placement x="%back_button_x%" y="%back_button_y%" />
245 <font resource="font" color="%button_text_color%" />
246 <text></text>
247 <image resource="back_icon" />
248 <condition var1="tw_busy" var2="0" />
249 <action function="key">back</action>
250 </object>
251
252 <object type="action">
253 <touch key="power" />
254 <action function="overlay">lock</action>
255 </object>
256 </template>
257
258 <template name="progress_bar">
259 <object type="progressbar">
260 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
261 <resource empty="progress_empty" full="progress_full" />
262 <data name="ui_progress" />
263 </object>
264
265 <object type="animation">
266 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
267 <resource name="progress" />
268 <speed fps="15" render="2" />
269 <loop frame="1" />
270 </object>
271 </template>
272
273 <template name="action_page_console">
274 <object type="console">
275 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
276 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
277 <font resource="fixed" />
278 </object>
279 </template>
280
281 <template name="sort_options">
282 <object type="text" color="%text_color%">
283 <font resource="font" />
284 <placement x="%col1_x%" y="%sort_asc_text_y%" />
285 <text>Sort Ascending:</text>
286 </object>
287
288 <object type="button">
289 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000290 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400291 <text>Name</text>
292 <image resource="sort_button" />
293 <action function="set">tw_gui_sort_order=1</action>
294 </object>
295
296 <object type="button">
297 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000298 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400299 <text>Date</text>
300 <image resource="sort_button" />
301 <action function="set">tw_gui_sort_order=2</action>
302 </object>
303
304 <object type="button">
305 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000306 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400307 <text>Size</text>
308 <image resource="sort_button" />
309 <action function="set">tw_gui_sort_order=3</action>
310 </object>
311
312 <object type="text" color="%text_color%">
313 <font resource="font" />
314 <placement x="%col1_x%" y="%sort_desc_text_y%" />
315 <text>Sort Descending:</text>
316 </object>
317
318 <object type="button">
319 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000320 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400321 <text>Name</text>
322 <image resource="sort_button" />
323 <action function="set">tw_gui_sort_order=-1</action>
324 </object>
325
326 <object type="button">
327 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000328 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400329 <text>Date</text>
330 <image resource="sort_button" />
331 <action function="set">tw_gui_sort_order=-2</action>
332 </object>
333
334 <object type="button">
335 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000336 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400337 <text>Size</text>
338 <image resource="sort_button" />
339 <action function="set">tw_gui_sort_order=-3</action>
340 </object>
341 </template>
342
343 <template name="footer">
344 <object type="console">
345 <slideout resource="slideout" x="210" y="814" />
346 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
347 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
348 <font resource="fixed" />
349 </object>
350 </template>
351
352 <template name="keyboardtemplate">
353 <object type="keyboard">
354 <placement x="0" y="504" />
355 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600356 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400357 <layout1>
358 <keysize height="78" width="48" />
359 <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" />
360 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
361 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
362 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
363 </layout1>
364 <layout2>
365 <keysize height="78" width="48" />
366 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
367 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
368 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
369 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
370 </layout2>
371 <layout3>
372 <keysize height="78" width="48" />
373 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
374 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
375 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
376 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
377 </layout3>
378 <layout4>
379 <keysize height="78" width="48" />
380 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
381 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
382 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
383 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
384 </layout4>
385 </object>
386 </template>
387 </templates>
388
389 <pages>
390 <page name="main">
391 <object type="action">
392 <actions>
393 <action function="set">tw_clear_destination=main2</action>
394 <action function="page">clear_vars</action>
395 </actions>
396 </object>
397 </page>
398
399 <page name="main2">
400 <object type="template" name="header" />
401
402 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600403 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400404 <placement x="%col1_x%" y="%row1_y%" />
405 <font resource="font" color="%button_text_color%" />
406 <text>Install</text>
407 <image resource="main_button" />
408 <actions>
409 <action function="queueclear"></action>
410 <action function="page">install</action>
411 </actions>
412 </object>
413
414 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600415 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400416 <placement x="%col2_x%" y="%row1_y%" />
417 <font resource="font" color="%button_text_color%" />
418 <text>Wipe</text>
419 <image resource="main_button" />
420 <action function="page">wipe</action>
421 </object>
422
423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600424 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400425 <placement x="%col1_x%" y="%row2_y%" />
426 <font resource="font" color="%button_text_color%" />
427 <text>Backup</text>
428 <image resource="main_button" />
429 <action function="page">backup</action>
430 </object>
431
432 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600433 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400434 <placement x="%col2_x%" y="%row2_y%" />
435 <font resource="font" color="%button_text_color%" />
436 <text>Restore</text>
437 <image resource="main_button" />
438 <action function="page">restore</action>
439 </object>
440
441 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600442 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400443 <placement x="%col1_x%" y="%row3_y%" />
444 <font resource="font" color="%button_text_color%" />
445 <text>Mount</text>
446 <image resource="main_button" />
447 <action function="page">mount</action>
448 </object>
449
450 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600451 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400452 <placement x="%col2_x%" y="%row3_y%" />
453 <font resource="font" color="%button_text_color%" />
454 <text>Settings</text>
455 <image resource="main_button" />
456 <action function="page">settings</action>
457 </object>
458
459
460 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600461 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400462 <placement x="%col1_x%" y="%row4_y%" />
463 <font resource="font" color="%button_text_color%" />
464 <text>Advanced</text>
465 <image resource="main_button" />
466 <action function="page">advanced</action>
467 </object>
468
469 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600470 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400471 <placement x="%col2_x%" y="%row4_y%" />
472 <font resource="font" color="%button_text_color%" />
473 <text>Reboot</text>
474 <image resource="main_button" />
475 <action function="page">reboot</action>
476 </object>
477
478 <object type="template" name="footer" />
479 </page>
480
481 <page name="install">
482 <object type="template" name="header" />
483
484 <object type="text" color="%text_color%">
485 <font resource="font" />
486 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
487 <text>Select Zip to Install</text>
488 </object>
489
490 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500491 <highlight color="%highlight_color%" />
492 <fill color="%button_fill_color%" />
493 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
494 <font resource="font" color="%button_text_color%" />
495 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
496 <actions>
497 <action function="set">tw_back=install</action>
498 <action function="page">selectstorage</action>
499 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400500 </object>
501
502 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600503 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500504 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400505 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100506 <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 -0400507 <text>%tw_zip_location%</text>
508 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
509 <sort name="tw_gui_sort_order" />
510 <icon folder="folder_icon" file="file_icon" />
511 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600512 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400513 <filter extn=".zip" folders="1" files="1" />
514 <path name="tw_zip_location" default="/sdcard" />
515 <data name="tw_filename" />
516 <selection name="tw_file" />
517 </object>
518
519 <object type="template" name="sort_options" />
520
521 <object type="action">
522 <condition var1="tw_filename" op="modified" />
523 <actions>
524 <action function="queuezip"></action>
525 <action function="page">flash_confirm</action>
526 </actions>
527 </object>
528
529 <object type="action">
530 <touch key="back" />
531 <action function="page">main</action>
532 </object>
533
534 <object type="action">
535 <touch key="home" />
536 <action function="page">main</action>
537 </object>
538
539 <object type="template" name="footer" />
540 </page>
541
542 <page name="flash_confirm">
543 <object type="template" name="header" />
544
545 <object type="text" color="%text_color%">
546 <font resource="font" />
547 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
548 <text>This operation may install incompatible</text>
549 </object>
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
554 <text>software and render your device unusable.</text>
555 </object>
556
557 <object type="text" color="%text_color%">
558 <font resource="font" />
559 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
560 <text>Folder:</text>
561 </object>
562
563 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400564 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400565 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
566 <text>%tw_zip_location%</text>
567 </object>
568
569 <object type="text" color="%text_color%">
570 <font resource="font" />
571 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
572 <text>File to flash:</text>
573 </object>
574
575 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400576 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400577 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
578 <text>%tw_file%</text>
579 </object>
580
581 <object type="text" color="%text_color%">
582 <font resource="font" />
583 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
584 <text>Press back to cancel adding this zip.</text>
585 </object>
586
587 <object type="checkbox">
588 <placement x="%col1_x%" y="%row8_text_y%" />
589 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400590 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400591 <data variable="tw_signed_zip_verify" />
592 <image checked="checkbox_true" unchecked="checkbox_false" />
593 </object>
594
595 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400596 <condition var1="tw_has_injecttwrp" var2="1" />
597 <placement x="%col1_x%" y="%row10_text_y%" />
598 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400599 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <data variable="tw_inject_after_zip" />
601 <image checked="checkbox_true" unchecked="checkbox_false" />
602 </object>
603
604 <object type="text" color="%text_color%">
605 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400606 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400607 <text>File %tw_zip_queue_count% of max of 10</text>
608 </object>
609
610 <object type="slider">
611 <placement x="%slider_x%" y="%slider_y%" placement="5" />
612 <resource base="slider" used="slider-used" touch="slider-touch" />
613 <action function="flash">flash_zip</action>
614 </object>
615
616 <object type="text" color="%text_color%">
617 <font resource="font" />
618 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
619 <text>Swipe to Confirm Flash</text>
620 </object>
621
622 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600623 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400624 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
625 <placement x="%col1_x%" y="%row_queue_y%" />
626 <font resource="font" color="%button_text_color%" />
627 <text>Add More Zips</text>
628 <image resource="main_button" />
629 <action function="page">install</action>
630 </object>
631
632 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600633 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400634 <placement x="%col2_x%" y="%row_queue_y%" />
635 <font resource="font" color="%button_text_color%" />
636 <text>Clear Zip Queue</text>
637 <image resource="main_button" />
638 <actions>
639 <action function="queueclear"></action>
640 <action function="page">install</action>
641 </actions>
642 </object>
643
644 <object type="action">
645 <touch key="back" />
646 <actions>
647 <action function="cancelzip"></action>
648 <action function="page">install</action>
649 </actions>
650 </object>
651
652 <object type="action">
653 <touch key="home" />
654 <action function="page">main</action>
655 </object>
656
657 <object type="template" name="footer" />
658 </page>
659
660 <page name="flash_zip">
661 <object type="template" name="header" />
662
663 <object type="console">
664 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
665 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
666 <font resource="fixed" />
667 </object>
668
669 <object type="text" color="%text_color%">
670 <font resource="font" />
671 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
672 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
673 </object>
674
675 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400676 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400677 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
678 <text>%tw_filename%</text>
679 </object>
680
681 <object type="template" name="progress_bar" />
682
683 <object type="action">
684 <condition var1="tw_operation_state" var2="1" />
685 <action function="page">flash_done</action>
686 </object>
687 </page>
688
689 <page name="flash_done">
690 <object type="template" name="header" />
691
692 <object type="text" color="%text_color%">
693 <font resource="font" />
694 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
695 <text>Zip Install Complete</text>
696 </object>
697
698 <object type="console">
699 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
700 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
701 <font resource="fixed" />
702 </object>
703
704 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600705 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400706 <placement x="%col1_x%" y="%row4_y%" />
707 <font resource="font" color="%button_text_color%" />
708 <text>Wipe cache/dalvik</text>
709 <image resource="main_button" />
710 <actions>
711 <action function="set">tw_back=flash_done</action>
712 <action function="set">tw_action=wipe</action>
713 <action function="set">tw_action_param=/cache</action>
714 <action function="set">tw_has_action2=1</action>
715 <action function="set">tw_action2=wipe</action>
716 <action function="set">tw_action2_param=dalvik</action>
717 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
718 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
719 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
720 <action function="set">tw_slider_text=Swipe to Wipe</action>
721 <action function="page">confirm_action</action>
722 </actions>
723 </object>
724
725 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600726 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <placement x="%col2_x%" y="%row4_y%" />
728 <font resource="font" color="%button_text_color%" />
729 <text>Reboot System</text>
730 <image resource="main_button" />
731 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400732 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <action function="set">tw_action=reboot</action>
734 <action function="set">tw_action_param=system</action>
735 <action function="set">tw_has_action2=0</action>
736 <action function="set">tw_text1=No OS Installed! Are you</action>
737 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400738 <action function="set">tw_text3=</action>
739 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400740 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400741 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400742 <action function="set">tw_complete_text1=Rebooting...</action>
743 <action function="set">tw_slider_text=Swipe to Reboot</action>
744 <action function="page">rebootcheck</action>
745 </actions>
746 </object>
747
748 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600749 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400750 <placement x="%col_center_x%" y="%row3_y%" />
751 <font resource="font" color="%button_text_color%" />
752 <text>Home</text>
753 <image resource="main_button" />
754 <actions>
755 <action function="set">tw_clear_destination=main2</action>
756 <action function="page">clear_vars</action>
757 </actions>
758 </object>
759
760 <object type="text" color="%text_fail_color%">
761 <condition var1="tw_operation_status" op="!=" var2="0" />
762 <font resource="font" />
763 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
764 <text>Failed</text>
765 </object>
766
767 <object type="text" color="%text_success_color%">
768 <condition var1="tw_operation_status" var2="0" />
769 <font resource="font" />
770 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
771 <text>Successful</text>
772 </object>
773
774 <object type="action">
775 <touch key="back" />
776 <actions>
777 <action function="set">tw_clear_destination=install</action>
778 <action function="page">clear_vars</action>
779 </actions>
780 </object>
781
782 <object type="action">
783 <touch key="home" />
784 <actions>
785 <action function="set">tw_clear_destination=main2</action>
786 <action function="page">clear_vars</action>
787 </actions>
788 </object>
789 </page>
790
791 <page name="clear_vars">
792 <object type="action">
793 <action function="set">tw_operation_state=0</action>
794 <action function="set">tw_text1=</action>
795 <action function="set">tw_text2=</action>
796 <action function="set">tw_text3=</action>
797 <action function="set">tw_text4=</action>
798 <action function="set">tw_action_text1=</action>
799 <action function="set">tw_action_text2=</action>
800 <action function="set">tw_action_param=</action>
801 <action function="set">tw_has_action2=0</action>
802 <action function="set">tw_action2=</action>
803 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400804 <action function="set">tw_has_cancel=0</action>
805 <action function="set">tw_cancel_action=</action>
806 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400807 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400808 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400809 <action function="page">%tw_clear_destination%</action>
810 </object>
811 </page>
812
813 <page name="confirm_action">
814 <object type="template" name="header" />
815
816 <object type="text" color="%text_color%">
817 <font resource="font" />
818 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
819 <text>%tw_text1%</text>
820 </object>
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
825 <text>%tw_text2%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
831 <text>%tw_text3%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
836 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
837 <text>%tw_text4%</text>
838 </object>
839
840 <object type="text" color="%text_color%">
841 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400842 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400843 <text>Press back button to cancel.</text>
844 </object>
845
846 <object type="slider">
847 <placement x="%slider_x%" y="%slider_y%" />
848 <resource base="slider" used="slider-used" touch="slider-touch" />
849 <action function="page">action_page</action>
850 </object>
851
852 <object type="text" color="%text_color%">
853 <font resource="font" />
854 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
855 <text>%tw_slider_text%</text>
856 </object>
857
858 <object type="action">
859 <touch key="back" />
860 <actions>
861 <action function="set">tw_clear_destination=%tw_back%</action>
862 <action function="page">clear_vars</action>
863 </actions>
864 </object>
865
866 <object type="action">
867 <touch key="home" />
868 <action function="page">main</action>
869 </object>
870
871 <object type="template" name="footer" />
872 </page>
873
874 <page name="action_page">
875 <object type="template" name="header" />
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
880 <text>%tw_action_text1%</text>
881 </object>
882
883 <object type="text" color="%text_color%">
884 <font resource="font" />
885 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
886 <text>%tw_action_text2%</text>
887 </object>
888
889 <object type="template" name="action_page_console" />
890
Dees_Troyb46a6842012-09-25 11:06:46 -0400891 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600892 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400893 <condition var1="tw_has_cancel" var2="1" />
894 <placement x="%col_center_medium_x%" y="%row4_y%" />
895 <font resource="font" color="%button_text_color%" />
896 <text>Cancel</text>
897 <image resource="medium_button" />
898 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
899 </object>
900
Dees_Troy51a0e822012-09-05 15:24:24 -0400901 <object type="template" name="progress_bar" />
902
903 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400904 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400905 <actions>
906 <action function="page">action_complete</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <condition var1="tw_has_action2" var2="0" />
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 </actions>
915 </object>
916
917 <object type="action">
918 <condition var1="tw_has_action2" var2="1" />
919 <actions>
920 <action function="%tw_action%">%tw_action_param%</action>
921 <action function="%tw_action2%">%tw_action2_param%</action>
922 </actions>
923 </object>
924 </page>
925
Dees_Troy6ef66352013-02-21 08:26:57 -0600926 <page name="singleaction_page">
927 <object type="template" name="header" />
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
932 <text>%tw_action_text1%</text>
933 </object>
934
935 <object type="text" color="%text_color%">
936 <font resource="font" />
937 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
938 <text>%tw_action_text2%</text>
939 </object>
940
941 <object type="template" name="action_page_console" />
942
943 <object type="template" name="progress_bar" />
944
945 <object type="action">
946 <condition var1="tw_operation_state" var2="1" />
947 <actions>
948 <action function="set">tw_page_done=1</action>
949 </actions>
950 </object>
951
952 <object type="action">
953 <condition var1="tw_has_action2" var2="0" />
954 <actions>
955 <action function="%tw_action%">%tw_action_param%</action>
956 </actions>
957 </object>
958
959 <object type="action">
960 <condition var1="tw_has_action2" var2="1" />
961 <actions>
962 <action function="%tw_action%">%tw_action_param%</action>
963 <action function="%tw_action2%">%tw_action2_param%</action>
964 </actions>
965 </object>
966 </page>
967
Dees_Troy51a0e822012-09-05 15:24:24 -0400968 <page name="action_complete">
969 <object type="template" name="header" />
970
971 <object type="text" color="%text_color%">
972 <font resource="font" />
973 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
974 <text>%tw_complete_text1%</text>
975 </object>
976
977 <object type="text" color="%text_fail_color%">
978 <condition var1="tw_operation_status" op="!=" var2="0" />
979 <font resource="font" />
980 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
981 <text>Failed</text>
982 </object>
983
984 <object type="text" color="%text_success_color%">
985 <condition var1="tw_operation_status" var2="0" />
986 <font resource="font" />
987 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
988 <text>Successful</text>
989 </object>
990
991 <object type="template" name="action_page_console" />
992
993 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600994 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400995 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400996 <placement x="%col_center_x%" y="%row4_y%" />
997 <font resource="font" color="%button_text_color%" />
998 <text>Back</text>
999 <image resource="main_button" />
1000 <actions>
1001 <action function="set">tw_clear_destination=%tw_back%</action>
1002 <action function="page">clear_vars</action>
1003 </actions>
1004 </object>
1005
Dees_Troya3f81542012-10-08 10:58:53 -04001006 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001007 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001008 <condition var1="tw_show_reboot" var2="1" />
1009 <placement x="%col_center_x%" y="%row4_y%" />
1010 <font resource="font" color="%button_text_color%" />
1011 <text>Reboot System</text>
1012 <image resource="main_button" />
1013 <actions>
1014 <action function="set">tw_back=main2</action>
1015 <action function="set">tw_action=reboot</action>
1016 <action function="set">tw_action_param=system</action>
1017 <action function="set">tw_has_action2=0</action>
1018 <action function="set">tw_text1=No OS Installed! Are you</action>
1019 <action function="set">tw_text2=sure you wish to reboot?</action>
1020 <action function="set">tw_text3=</action>
1021 <action function="set">tw_text4=</action>
1022 <action function="set">tw_action_text1=Rebooting...</action>
1023 <action function="set">tw_action_text2=</action>
1024 <action function="set">tw_complete_text1=Rebooting...</action>
1025 <action function="set">tw_slider_text=Swipe to Reboot</action>
1026 <action function="page">rebootcheck</action>
1027 </actions>
1028 </object>
1029
Dees_Troy51a0e822012-09-05 15:24:24 -04001030 <object type="action">
1031 <touch key="home" />
1032 <actions>
1033 <action function="set">tw_clear_destination=main2</action>
1034 <action function="page">clear_vars</action>
1035 </actions>
1036 </object>
1037
1038 <object type="action">
1039 <touch key="back" />
1040 <actions>
1041 <action function="set">tw_clear_destination=%tw_back%</action>
1042 <action function="page">clear_vars</action>
1043 </actions>
1044 </object>
1045 </page>
1046
1047 <page name="filecheck">
1048 <object type="action">
1049 <action function="fileexists">%tw_filecheck%</action>
1050 </object>
1051
1052 <object type="action">
1053 <conditions>
1054 <condition var1="tw_operation_state" var2="1" />
1055 <condition var1="tw_operation_status" var2="0" />
1056 </conditions>
1057 <actions>
1058 <action function="set">tw_fileexists=1</action>
1059 <action function="page">%tw_existpage%</action>
1060 </actions>
1061 </object>
1062
1063 <object type="action">
1064 <conditions>
1065 <condition var1="tw_operation_state" var2="1" />
1066 <condition var1="tw_operation_status" var2="1" />
1067 </conditions>
1068 <actions>
1069 <action function="set">tw_fileexists=0</action>
1070 <action function="page">%tw_notexistpage%</action>
1071 </actions>
1072 </object>
1073 </page>
1074
1075 <page name="rebootcheck">
1076 <object type="action">
1077 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1078 <action function="reboot">%tw_action_param%</action>
1079 </object>
1080
1081 <object type="action">
1082 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1083 <action function="page">confirm_action</action>
1084 </object>
1085 </page>
1086
1087 <page name="wipe">
1088 <object type="template" name="header" />
1089
1090 <object type="text" color="%text_color%">
1091 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001092 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001093 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001094 </object>
1095
1096 <object type="text" color="%text_color%">
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1099 <text>Wipes Data, Cache, and Dalvik</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_data_media" var2="0" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1106 <text>.android_secure</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <condition var1="tw_has_data_media" var2="1" />
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1113 <text>(not including internal storage)</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <condition var1="tw_has_sdext_partition" var2="1" />
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1120 <text>SD-EXT</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <font resource="font" />
1125 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1126 <text>Most of the time this is</text>
1127 </object>
1128
1129 <object type="text" color="%text_color%">
1130 <font resource="font" />
1131 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1132 <text>the only wipe that you need.</text>
1133 </object>
1134
1135 <object type="text" color="%text_color%">
1136 <font resource="font" />
1137 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1138 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 </object>
1140
1141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001142 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001143 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001145 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001146 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001147 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001148 </object>
1149
1150 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <conditions>
1152 <condition var1="tw_has_internal" var2="1" />
1153 <condition var1="tw_has_data_media" var2="1" />
1154 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <highlight color="%highlight_color%" />
1156 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001157 <font resource="font" color="%button_text_color%" />
1158 <text>Format Data</text>
1159 <image resource="main_button" />
1160 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001161 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001162 </actions>
1163 </object>
1164
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <object type="slider">
1166 <placement x="%slider_x%" y="%slider_y%" />
1167 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001168 <actions>
1169 <action function="set">tw_back=wipe</action>
1170 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001171 <action function="set">tw_action_param=data</action>
1172 <action function="set">tw_action_text1=Factory Reset...</action>
1173 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1174 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001175 </actions>
1176 </object>
1177
Dees_Troya13d74f2013-03-24 08:54:55 -05001178 <object type="text" color="%text_color%">
1179 <font resource="font" />
1180 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1181 <text>Swipe to Factory Reset</text>
1182 </object>
1183
1184 <object type="action">
1185 <touch key="back" />
1186 <action function="page">main</action>
1187 </object>
1188
1189 <object type="action">
1190 <touch key="home" />
1191 <action function="page">main</action>
1192 </object>
1193
1194 <object type="template" name="footer" />
1195 </page>
1196
1197 <page name="advancedwipe">
1198 <object type="template" name="header" />
1199
1200 <object type="text" color="%text_color%">
1201 <font resource="font" />
1202 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1203 <text>Wipe Menu</text>
1204 </object>
1205
1206 <object type="partitionlist">
1207 <highlight color="%fileselector_highlight_color%" />
1208 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1209 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1210 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1211 <text>Select Partitions to Wipe:</text>
1212 <icon selected="checkbox_true" unselected="checkbox_false" />
1213 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1214 <background color="%listbox_background%" />
1215 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1216 <data name="tw_wipe_list" />
1217 <listtype name="wipe" />
1218 </object>
1219
1220 <object type="slider">
1221 <placement x="%slider_x%" y="%slider_y%" />
1222 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001223 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001224 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001226 <action function="set">tw_action_param=LIST</action>
1227 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1228 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1229 <action function="set">tw_complete_text1=Wipe Complete</action>
1230 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001231 </actions>
1232 </object>
1233
Dees_Troya13d74f2013-03-24 08:54:55 -05001234 <object type="text" color="%text_color%">
1235 <font resource="font" />
1236 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1237 <text>Swipe to Wipe</text>
1238 </object>
1239
Dees_Troy51a0e822012-09-05 15:24:24 -04001240 <object type="action">
1241 <touch key="home" />
1242 <action function="page">main</action>
1243 </object>
1244
1245 <object type="action">
1246 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001248 </object>
1249
1250 <object type="template" name="footer" />
1251 </page>
1252
Dees_Troya13d74f2013-03-24 08:54:55 -05001253 <page name="formatdata">
1254 <object type="template" name="header" />
1255
1256 <object type="text" color="%text_color%">
1257 <font resource="font" />
1258 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1259 <text>Format Data will wipe all of your apps,</text>
1260 </object>
1261
1262 <object type="text" color="%text_color%">
1263 <font resource="font" />
1264 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1265 <text>backups, pictures, videos, media, and</text>
1266 </object>
1267
1268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1271 <text>removes encryption on internal storage.</text>
1272 </object>
1273
1274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1277 <text>This cannot be undone. Press back to cancel.</text>
1278 </object>
1279
1280 <object type="text" color="%text_color%">
1281 <font resource="font" />
1282 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1283 <text>Type yes to continue.</text>
1284 </object>
1285
1286 <object type="input">
1287 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1288 <background color="%input_background_color%" />
1289 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1290 <font resource="font" color="%text_color%" />
1291 <text>%tw_confirm_formatdata%</text>
1292 <data name="tw_confirm_formatdata" />
1293 <restrict minlen="3" maxlen="3" allow="yes" />
1294 <action function="page">formatdata_confirm</action>
1295 </object>
1296
1297 <object type="template" name="keyboardtemplate" />
1298
1299 <object type="action">
1300 <touch key="home" />
1301 <action function="page">main</action>
1302 </object>
1303
1304 <object type="action">
1305 <touch key="back" />
1306 <action function="page">wipe</action>
1307 </object>
1308
1309 <object type="template" name="footer" />
1310 </page>
1311
1312 <page name="formatdata_confirm">
1313 <object type="action">
1314 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1315 <actions>
1316 <action function="set">tw_back=formatdata</action>
1317 <action function="set">tw_action=wipe</action>
1318 <action function="set">tw_action_param=DATAMEDIA</action>
1319 <action function="set">tw_action_text1=Formatting Data...</action>
1320 <action function="set">tw_complete_text1=Data Format Complete</action>
1321 <action function="page">action_page</action>
1322 </actions>
1323 </object>
1324
1325 <object type="action">
1326 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1327 <action function="page">formatdata</function>
1328 </object>
1329 </page>
1330
Dees_Troy51a0e822012-09-05 15:24:24 -04001331 <page name="backup">
1332 <object type="template" name="header" />
1333
Dees_Troy83bd4832013-05-04 12:39:56 +00001334 <object type="button">
1335 <highlight color="%highlight_color%" />
1336 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001337 <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 +00001338 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001339 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001340 <actions>
1341 <action function="set">tw_fileexists=0</action>
1342 <action function="page">backupname1</action>
1343 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001344 </object>
1345
Dees_Troya13d74f2013-03-24 08:54:55 -05001346 <object type="partitionlist">
1347 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001348 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001349 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1350 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1351 <text>Select Partitions to Back Up:</text>
1352 <icon selected="checkbox_true" unselected="checkbox_false" />
1353 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1354 <background color="%listbox_background%" />
1355 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1356 <data name="tw_backup_list" />
1357 <listtype name="backup" />
1358 </object>
1359
1360 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001361 <conditions>
1362 <condition var1="tw_include_encrypted_backup" var2="1" />
1363 <condition var1="tw_encrypt_backup" var2="0" />
1364 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001365 <highlight color="%highlight_color%" />
1366 <fill color="%button_fill_color%" />
1367 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1368 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001369 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001370 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001371 <action function="page">backupencryption</action>
1372 </actions>
1373 </object>
1374
1375 <object type="button">
1376 <conditions>
1377 <condition var1="tw_include_encrypted_backup" var2="1" />
1378 <condition var1="tw_encrypt_backup" var2="1" />
1379 </conditions>
1380 <highlight color="%highlight_color%" />
1381 <fill color="%button_fill_color%" />
1382 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1383 <font resource="font" color="%button_text_color%" />
1384 <text>Using Encryption</text>
1385 <actions>
1386 <action function="set">tw_password_not_match=0</action>
1387 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001388 </actions>
1389 </object>
1390
1391 <object type="button">
1392 <highlight color="%highlight_color%" />
1393 <fill color="%button_fill_color%" />
1394 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1395 <font resource="font" color="%button_text_color%" />
1396 <text>Refresh Sizes</text>
1397 <action function="refreshsizes"></action>
1398 </object>
1399
1400 <object type="button">
1401 <highlight color="%highlight_color%" />
1402 <fill color="%button_fill_color%" />
1403 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1404 <font resource="font" color="%button_text_color%" />
1405 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1406 <actions>
1407 <action function="set">tw_back=backup</action>
1408 <action function="page">selectstorage</action>
1409 </actions>
1410 </object>
1411
1412 <object type="checkbox">
1413 <placement x="%col1_x%" y="%row15_text_y%" />
1414 <font resource="font" color="%text_color%" />
1415 <text>Enable compression.</text>
1416 <data variable="tw_use_compression" />
1417 <image checked="checkbox_true" unchecked="checkbox_false" />
1418 </object>
1419
1420 <object type="checkbox">
1421 <placement x="%col1_x%" y="%row16_text_y%" />
1422 <font resource="font" color="%text_color%" />
1423 <text>Skip MD5 generation during backup.</text>
1424 <data variable="tw_skip_md5_generate" />
1425 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001426 </object>
1427
1428 <object type="slider">
1429 <placement x="%slider_x%" y="slider_y" />
1430 <resource base="slider" used="slider-used" touch="slider-touch" />
1431 <action function="page">backup_run</action>
1432 </object>
1433
1434 <object type="text" color="%text_color%">
1435 <font resource="font" />
1436 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1437 <text>Swipe to Back Up</text>
1438 </object>
1439
Dees_Troy51a0e822012-09-05 15:24:24 -04001440 <object type="action">
1441 <touch key="home" />
1442 <action function="page">main</action>
1443 </object>
1444
1445 <object type="action">
1446 <touch key="back" />
1447 <action function="page">main</action>
1448 </object>
1449
1450 <object type="template" name="footer" />
1451 </page>
1452
1453 <page name="backupname1">
1454 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001455 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1456 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001457 </object>
1458
1459 <object type="action">
1460 <action function="page">backupname2</function>
1461 </object>
1462 </page>
1463
1464 <page name="backupname2">
1465 <object type="template" name="header" />
1466
1467 <object type="text" color="%text_color%">
1468 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1469 <font resource="font" />
1470 <text>Please Enter a Backup Name</text>
1471 </object>
1472
1473 <object type="input">
1474 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1475 <background color="%input_background_color%" />
1476 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1477 <font resource="font" color="%text_color%" />
1478 <text>%tw_backup_name%</text>
1479 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001480 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001481 <actions>
1482 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1483 <action function="set">tw_existpage=backupname2</action>
1484 <action function="set">tw_notexistpage=backup</action>
1485 <action function="page">filecheck</action>
1486 </actions>
1487 </object>
1488
1489 <object type="text" color="%text_fail_color%">
1490 <condition var1="tw_fileexists" var2="1" />
1491 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1492 <font resource="font" />
1493 <text>A backup with that name already exists!</text>
1494 </object>
1495
1496 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001497 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001498 <placement x="%col1_x%" y="%row2_y%" />
1499 <font resource="font" color="%button_text_color%" />
1500 <text>Append Date</text>
1501 <image resource="main_button" />
1502 <action function="appenddatetobackupname"></action>
1503 </object>
1504
1505 <object type="button">
1506 <highlight color="%highlight_color%" />
1507 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001508 <font resource="font" color="%button_text_color%" />
1509 <text>Cancel</text>
1510 <image resource="main_button" />
1511 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001512 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001513 <action function="page">backup</action>
1514 </actions>
1515 </object>
1516
1517 <object type="template" name="keyboardtemplate" />
1518
1519 <object type="action">
1520 <touch key="home" />
1521 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001522 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001523 <action function="page">main</action>
1524 </actions>
1525 </object>
1526
1527 <object type="action">
1528 <touch key="back" />
1529 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001530 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001531 <action function="page">backup</action>
1532 </actions>
1533 </object>
1534
1535 <object type="template" name="footer" />
1536 </page>
1537
Dees_Troy83bd4832013-05-04 12:39:56 +00001538 <page name="backupencryption">
1539 <object type="template" name="header" />
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1544 <text>Encrypt your backup?</text>
1545 </object>
1546
1547 <object type="text" color="%text_color%">
1548 <font resource="font" />
1549 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1550 <text>Please Enter A Password:</text>
1551 </object>
1552
1553 <object type="input">
1554 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1555 <background color="%input_background_color%" />
1556 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1557 <font resource="font" color="%text_color%" />
1558 <text>%tw_backup_encrypt_display%</text>
1559 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1560 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1561 <action function="page">backupencryption2</action>
1562 </object>
1563
1564 <object type="text" color="%text_fail_color%">
1565 <condition var1="tw_password_not_match" var2="1" />
1566 <font resource="font" />
1567 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1568 <text>Passwords Do Not Match</text>
1569 </object>
1570
1571 <object type="button">
1572 <highlight color="%highlight_color%" />
1573 <placement x="%col_center_x%" y="%row2_y%" />
1574 <font resource="font" color="%button_text_color%" />
1575 <text>Cancel</text>
1576 <image resource="main_button" />
1577 <actions>
1578 <action function="set">tw_encrypt_backup=0</action>
1579 <action function="set">tw_backup_password=</action>
1580 <action function="set">tw_backup_password2=</action>
1581 <action function="set">tw_backup_encrypt_display=</action>
1582 <action function="set">tw_backup_encrypt_display2=</action>
1583 <action function="page">backup</action>
1584 </actions>
1585 </object>
1586
1587 <object type="template" name="keyboardtemplate" />
1588
1589 <object type="action">
1590 <touch key="home" />
1591 <action function="page">main</action>
1592 </object>
1593
1594 <object type="action">
1595 <touch key="back" />
1596 <action function="page">backup</action>
1597 </object>
1598
1599 <object type="template" name="footer" />
1600 </page>
1601
1602 <page name="backupencryption2">
1603 <object type="template" name="header" />
1604
1605 <object type="text" color="%text_color%">
1606 <font resource="font" />
1607 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1608 <text>Encrypt your backup?</text>
1609 </object>
1610
1611 <object type="text" color="%text_color%">
1612 <font resource="font" />
1613 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1614 <text>Please Enter Password Again:</text>
1615 </object>
1616
1617 <object type="input">
1618 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1619 <background color="%input_background_color%" />
1620 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1621 <font resource="font" color="%text_color%" />
1622 <text>%tw_backup_encrypt_display2%</text>
1623 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1624 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1625 <actions>
1626 <action function="page">checkbackuppassword</action>
1627 </actions>
1628 </object>
1629
1630 <object type="button">
1631 <highlight color="%highlight_color%" />
1632 <placement x="%col_center_x%" y="%row2_y%" />
1633 <font resource="font" color="%button_text_color%" />
1634 <text>Cancel</text>
1635 <image resource="main_button" />
1636 <actions>
1637 <action function="set">tw_encrypt_backup=0</action>
1638 <action function="set">tw_backup_password=</action>
1639 <action function="set">tw_backup_password2=</action>
1640 <action function="set">tw_backup_encrypt_display=</action>
1641 <action function="set">tw_backup_encrypt_display2=</action>
1642 <action function="page">backup</action>
1643 </actions>
1644 </object>
1645
1646 <object type="template" name="keyboardtemplate" />
1647
1648 <object type="action">
1649 <touch key="home" />
1650 <action function="page">main</action>
1651 </object>
1652
1653 <object type="action">
1654 <touch key="back" />
1655 <action function="page">backup</action>
1656 </object>
1657
1658 <object type="template" name="footer" />
1659 </page>
1660
1661 <page name="checkbackuppassword">
1662 <object type="action">
1663 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1664 <actions>
1665 <action function="set">tw_encrypt_backup=1</action>
1666 <action function="page">backup</action>
1667 </actions>
1668 </object>
1669
1670 <object type="action">
1671 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1672 <actions>
1673 <action function="set">tw_encrypt_backup=0</action>
1674 <action function="set">tw_password_not_match=1</action>
1675 <action function="set">tw_backup_password=</action>
1676 <action function="set">tw_backup_password2=</action>
1677 <action function="set">tw_backup_encrypt_display=</action>
1678 <action function="set">tw_backup_encrypt_display2=</action>
1679 <action function="page">backupencryption</action>
1680 </actions>
1681 </object>
1682 </page>
1683
Dees_Troy51a0e822012-09-05 15:24:24 -04001684 <page name="backup_run">
1685 <object type="template" name="header" />
1686
1687 <object type="text" color="%text_color%">
1688 <font resource="font" />
1689 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1690 <text>%tw_operation% %tw_partition%</text>
1691 </object>
1692
1693 <object type="template" name="action_page_console" />
1694
1695 <object type="template" name="progress_bar" />
1696
1697 <object type="action">
1698 <action function="nandroid">backup</action>
1699 </object>
1700
1701 <object type="action">
1702 <condition var1="tw_operation_state" var2="1" />
1703 <actions>
1704 <action function="set">tw_back=backup</action>
1705 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001706 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001707 <action function="page">action_complete</action>
1708 </actions>
1709 </object>
1710 </page>
1711
1712 <page name="restore">
1713 <object type="template" name="header" />
1714
1715 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001716 <highlight color="%highlight_color%" />
1717 <fill color="%button_fill_color%" />
1718 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1719 <font resource="font" color="%button_text_color%" />
1720 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1721 <actions>
1722 <action function="set">tw_back=restore</action>
1723 <action function="page">selectstorage</action>
1724 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001725 </object>
1726
1727 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001728 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001729 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001730 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001731 <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 -04001732 <text>Select Package to Restore:</text>
1733 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1734 <sort name="tw_gui_sort_order" />
1735 <icon folder="folder_icon" file="file_icon" />
1736 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001737 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001738 <filter folders="1" files="0" nav="0" />
1739 <path name="tw_backups_folder" />
1740 <data name="tw_restore" default="" />
1741 <selection name="tw_restore_name" />
1742 </object>
1743
1744 <object type="template" name="sort_options" />
1745
1746 <object type="action">
1747 <condition var1="tw_restore" op="modified" />
1748 <actions>
1749 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001750 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001751 </actions>
1752 </object>
1753
1754 <object type="action">
1755 <touch key="home" />
1756 <action function="page">main</action>
1757 </object>
1758
1759 <object type="action">
1760 <touch key="back" />
1761 <action function="page">main</action>
1762 </object>
1763
1764 <object type="template" name="footer" />
1765 </page>
1766
Dees_Troy83bd4832013-05-04 12:39:56 +00001767 <page name="restore_read">
1768 <object type="action">
1769 <condition var1="tw_restore_encrypted" var2="1" />
1770 <actions>
1771 <action function="set">tw_password_fail=0</action>
1772 <action function="page">restore_decrypt</action>
1773 </actions>
1774 </object>
1775
1776 <object type="action">
1777 <condition var1="tw_restore_encrypted" var2="0" />
1778 <actions>
1779 <action function="page">restore_select</action>
1780 </actions>
1781 </object>
1782 </page>
1783
1784 <page name="restore_decrypt">
1785 <object type="template" name="header" />
1786
1787 <object type="text" color="%text_color%">
1788 <font resource="font" />
1789 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1790 <text>Backup Encrypted</text>
1791 </object>
1792
1793 <object type="text" color="%text_color%">
1794 <font resource="font" />
1795 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1796 <text>Please Enter Your Password:</text>
1797 </object>
1798
1799 <object type="input">
1800 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1801 <background color="%input_background_color%" />
1802 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1803 <font resource="font" color="%text_color%" />
1804 <text>%tw_restore_display%</text>
1805 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1806 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1807 <actions>
1808 <action function="page">try_restore_decrypt</action>
1809 </actions>
1810 </object>
1811
1812 <object type="text" color="%text_fail_color%">
1813 <condition var1="tw_password_fail" var2="1" />
1814 <font resource="font" />
1815 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1816 <text>Password Failed, Please Try Again</text>
1817 </object>
1818
1819 <object type="button">
1820 <highlight color="%highlight_color%" />
1821 <placement x="%col1_x%" y="%row2_y%" />
1822 <font resource="font" color="%button_text_color%" />
1823 <text>Cancel</text>
1824 <image resource="main_button" />
1825 <actions>
1826 <action function="set">tw_page_done=1</action>
1827 <action function="page">restore</action>
1828 </actions>
1829 </object>
1830
1831 <object type="button">
1832 <highlight color="%highlight_color%" />
1833 <placement x="%col2_x%" y="%row2_y%" />
1834 <font resource="font" color="%button_text_color%" />
1835 <text>Delete</text>
1836 <image resource="main_button" />
1837 <actions>
1838 <action function="set">tw_back=restore</action>
1839 <action function="set">tw_action=cmd</action>
1840 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1841 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1842 <action function="set">tw_text2=This cannot be undone!</action>
1843 <action function="set">tw_action_text1=Deleting Backup...</action>
1844 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1845 <action function="set">tw_slider_text=Swipe to Delete</action>
1846 <action function="page">confirm_action</action>
1847 </actions>
1848 </object>
1849
1850 <object type="template" name="keyboardtemplate" />
1851
1852 <object type="action">
1853 <touch key="home" />
1854 <action function="page">main</action>
1855 </object>
1856
1857 <object type="action">
1858 <touch key="back" />
1859 <action function="page">restore</action>
1860 </object>
1861
1862 <object type="template" name="footer" />
1863 </page>
1864
1865 <page name="try_restore_decrypt">
1866 <object type="template" name="header" />
1867
1868 <object type="text" color="%text_color%">
1869 <font resource="font" />
1870 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1871 <text>Trying Decryption with Your Password</text>
1872 </object>
1873
1874 <object type="template" name="action_page_console" />
1875
1876 <object type="template" name="progress_bar" />
1877
1878 <object type="action">
1879 <action function="decrypt_backup"></action>
1880 </object>
1881
1882 <object type="action">
1883 <conditions>
1884 <condition var1="tw_operation_state" var2="1" />
1885 <condition var1="tw_operation_status" op="!=" var2="0" />
1886 </conditions>
1887 <actions>
1888 <action function="set">tw_password_fail=1</action>
1889 <action function="page">restore_decrypt</action>
1890 </actions>
1891 </object>
1892
1893 <object type="action">
1894 <conditions>
1895 <condition var1="tw_operation_state" var2="1" />
1896 <condition var1="tw_operation_status" op="=" var2="0" />
1897 </conditions>
1898 <actions>
1899 <action function="set">tw_page_done=1</action>
1900 <action function="page">restore_select</action>
1901 </actions>
1902 </object>
1903 </page>
1904
Dees_Troy51a0e822012-09-05 15:24:24 -04001905 <page name="restore_select">
1906 <object type="template" name="header" />
1907
Dees_Troya13d74f2013-03-24 08:54:55 -05001908 <object type="partitionlist">
1909 <highlight color="%fileselector_highlight_color%" />
1910 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1911 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1912 <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 -04001913 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001914 <icon selected="checkbox_true" unselected="checkbox_false" />
1915 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1916 <background color="%listbox_background%" />
1917 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1918 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1919 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001920 </object>
1921
1922 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001923 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001924 <fill color="%button_fill_color%" />
1925 <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 -04001926 <font resource="font" color="%button_text_color%" />
1927 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001928 <actions>
1929 <action function="set">tw_backup_rename=</action>
1930 <action function="set">tw_fileexists=0</action>
1931 <action function="page">renamebackup</action>
1932 </actions>
1933 </object>
1934
1935 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001936 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001937 <fill color="%button_fill_color%" />
1938 <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 -04001939 <font resource="font" color="%button_text_color%" />
1940 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001941 <actions>
1942 <action function="set">tw_back=restore</action>
1943 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001944 <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 -04001945 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1946 <action function="set">tw_text2=This cannot be undone!</action>
1947 <action function="set">tw_action_text1=Deleting Backup...</action>
1948 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1949 <action function="set">tw_slider_text=Swipe to Delete</action>
1950 <action function="page">confirm_action</action>
1951 </actions>
1952 </object>
1953
Dees_Troya13d74f2013-03-24 08:54:55 -05001954 <object type="checkbox">
1955 <placement x="%col1_x%" y="%row15_text_y%" />
1956 <font resource="font" color="%text_color%" />
1957 <text>Enable MD5 verification of backup files.</text>
1958 <data variable="tw_skip_md5_check" />
1959 <image checked="checkbox_true" unchecked="checkbox_false" />
1960 </object>
1961
1962 <object type="text" color="%text_color%">
1963 <font resource="font" />
1964 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1965 <text>Package Date: %tw_restore_file_date%</text>
1966 </object>
1967
Dees_Troy51a0e822012-09-05 15:24:24 -04001968 <object type="slider">
1969 <placement x="%slider_x%" y="%slider_y%" />
1970 <resource base="slider" used="slider-used" touch="slider-touch" />
1971 <action function="page">restore_run</action>
1972 </object>
1973
1974 <object type="text" color="%text_color%">
1975 <font resource="font" />
1976 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1977 <text>Swipe to Restore</text>
1978 </object>
1979
Dees_Troy51a0e822012-09-05 15:24:24 -04001980 <object type="action">
1981 <touch key="home" />
1982 <action function="page">main</action>
1983 </object>
1984
1985 <object type="action">
1986 <touch key="back" />
1987 <action function="page">restore</action>
1988 </object>
1989
1990 <object type="template" name="footer" />
1991 </page>
1992
1993 <page name="renamebackup">
1994 <object type="template" name="header" />
1995
1996 <object type="text" color="%text_color%">
1997 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1998 <font resource="font" />
1999 <text>Please Enter a New Backup Name</text>
2000 </object>
2001
2002 <object type="input">
2003 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2004 <background color="%input_background_color%" />
2005 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2006 <font resource="font" color="%text_color%" />
2007 <text>%tw_backup_rename%</text>
2008 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002009 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002010 <actions>
2011 <action function="set">tw_back=restore</action>
2012 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002013 <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 -04002014 <action function="set">tw_text1=Rename Backup?</action>
2015 <action function="set">tw_text2=This cannot be undone!</action>
2016 <action function="set">tw_action_text1=Renaming Backup...</action>
2017 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2018 <action function="set">tw_slider_text=Swipe to Rename</action>
2019 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2020 <action function="set">tw_existpage=renamebackup</action>
2021 <action function="set">tw_notexistpage=confirm_action</action>
2022 <action function="page">filecheck</action>
2023 </actions>
2024 </object>
2025
2026 <object type="text" color="%text_fail_color%">
2027 <condition var1="tw_fileexists" var2="1" />
2028 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2029 <font resource="font" />
2030 <text>A backup with that name already exists!</text>
2031 </object>
2032
2033 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002034 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002035 <placement x="%col_center_x%" y="%row2_y%" />
2036 <font resource="font" color="%button_text_color%" />
2037 <text>Cancel</text>
2038 <image resource="main_button" />
2039 <action function="page">restore_select</action>
2040 </object>
2041
2042 <object type="template" name="keyboardtemplate" />
2043
2044 <object type="action">
2045 <touch key="home" />
2046 <action function="page">main</action>
2047 </object>
2048
2049 <object type="action">
2050 <touch key="back" />
2051 <action function="page">restore_select</action>
2052 </object>
2053
2054 <object type="template" name="footer" />
2055 </page>
2056
2057 <page name="restore_run">
2058 <object type="template" name="header" />
2059
2060 <object type="text" color="%text_color%">
2061 <font resource="font" />
2062 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2063 <text>%tw_operation% %tw_partition%</text>
2064 </object>
2065
2066 <object type="template" name="action_page_console" />
2067
2068 <object type="template" name="progress_bar" />
2069
2070 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002071 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002072 <actions>
2073 <action function="set">tw_back=restore_select</action>
2074 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002075 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002076 <action function="page">action_complete</action>
2077 </actions>
2078 </object>
2079
2080 <object type="action">
2081 <action function="nandroid">restore</action>
2082 </object>
2083 </page>
2084
Dees_Troya13d74f2013-03-24 08:54:55 -05002085 <page name="selectstorage">
2086 <object type="template" name="header" />
2087
2088 <object type="partitionlist">
2089 <highlight color="%fileselector_highlight_color%" />
2090 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2091 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2092 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2093 <text>Select Storage:</text>
2094 <icon selected="radio_true" unselected="radio_false" />
2095 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2096 <background color="%listbox_background%" />
2097 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2098 <data name="tw_storage_path" />
2099 <listtype name="storage" />
2100 </object>
2101
Dees_Troye7e0ae82013-07-05 14:46:07 +00002102 <object type="button">
2103 <highlight color="%highlight_color%" />
2104 <placement x="%col_center_x%" y="%row4_y%" />
2105 <font resource="font" color="%button_text_color%" />
2106 <text>OK</text>
2107 <image resource="main_button" />
2108 <actions>
2109 <action function="set">tw_clear_destination=%tw_back%</action>
2110 <action function="page">clear_vars</action>
2111 </actions>
2112 </object>
2113
Dees_Troya13d74f2013-03-24 08:54:55 -05002114 <object type="action">
2115 <touch key="home" />
2116 <action function="page">main</action>
2117 </object>
2118
2119 <object type="action">
2120 <touch key="back" />
2121 <actions>
2122 <action function="page">%tw_back%</action>
2123 </actions>
2124 </object>
2125
2126 <object type="template" name="footer" />
2127 </page>
2128
Dees_Troy51a0e822012-09-05 15:24:24 -04002129 <page name="mount">
2130 <object type="template" name="header" />
2131
Dees_Troya13d74f2013-03-24 08:54:55 -05002132 <object type="partitionlist">
2133 <highlight color="%fileselector_highlight_color%" />
2134 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2135 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2136 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2137 <text>Select Partitions to Mount:</text>
2138 <icon selected="checkbox_true" unselected="checkbox_false" />
2139 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2140 <background color="%listbox_background%" />
2141 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2142 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002143 </object>
2144
2145 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002146 <highlight color="%highlight_color%" />
2147 <fill color="%button_fill_color%" />
2148 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2149 <font resource="font" color="%button_text_color%" />
2150 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2151 <actions>
2152 <action function="set">tw_back=mount</action>
2153 <action function="page">selectstorage</action>
2154 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002155 </object>
2156
2157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002158 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002159 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002160 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 <font resource="font" color="%button_text_color%" />
2162 <text>Mount USB Storage</text>
2163 <image resource="main_button" />
2164 <action function="page">usb_mount</action>
2165 </object>
2166
Gary Peckffdc6ae2012-11-21 18:02:02 -08002167 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002168 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002169 <conditions>
2170 <condition var1="tw_is_encrypted" var2="1" />
2171 <condition var1="tw_is_decrypted" var2="0" />
2172 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002173 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002174 <font resource="font" color="%button_text_color%" />
2175 <text>Decrypt Data</text>
2176 <image resource="main_button" />
2177 <action function="page">decrypt</action>
2178 </object>
2179
Dees_Troy51a0e822012-09-05 15:24:24 -04002180 <object type="action">
2181 <touch key="home" />
2182 <action function="page">main</action>
2183 </object>
2184
2185 <object type="action">
2186 <touch key="back" />
2187 <action function="page">main</action>
2188 </object>
2189
2190 <object type="template" name="footer" />
2191 </page>
2192
2193 <page name="usb_mount">
2194 <object type="template" name="header" />
2195
2196 <object type="text" color="%text_color%">
2197 <font resource="font" />
2198 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2199 <text>USB Storage Mounted</text>
2200 </object>
2201
2202 <object type="text" color="%text_color%">
2203 <placement x="%col1_x%" y="%row1_text_y%" />
2204 <font resource="font" />
2205 <text>Be sure to safely remove your device</text>
2206 </object>
2207
2208 <object type="text" color="%text_color%">
2209 <placement x="%col1_x%" y="%row2_text_y%" />
2210 <font resource="font" />
2211 <text>from your computer before unmounting!</text>
2212 </object>
2213
2214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002215 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002216 <placement x="%col1_x%" y="%row3_y%" />
2217 <font resource="font" color="%button_text_color%" />
2218 <text>Unmount</text>
2219 <image resource="main_button" />
2220 <action function="page">usb_umount</action>
2221 </object>
2222
2223 <object type="action">
2224 <action function="mount">usb</action>
2225 </object>
2226
2227 <object type="template" name="footer" />
2228 </page>
2229
2230 <page name="usb_umount">
2231 <object type="action">
2232 <action function="unmount">usb</action>
2233 </object>
2234
2235 <object type="action">
2236 <action function="page">mount</action>
2237 </object>
2238 </page>
2239
2240 <page name="reboot">
2241 <object type="template" name="header" />
2242
2243 <object type="text" color="%text_color%">
2244 <font resource="font" />
2245 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2246 <text>Reboot Menu</text>
2247 </object>
2248
2249 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002250 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002251 <condition var1="tw_reboot_system" var2="1" />
2252 <placement x="%col1_x%" y="%row1_y%" />
2253 <font resource="font" color="%button_text_color%" />
2254 <text>System</text>
2255 <image resource="main_button" />
2256 <actions>
2257 <action function="set">tw_back=reboot</action>
2258 <action function="set">tw_action=reboot</action>
2259 <action function="set">tw_action_param=system</action>
2260 <action function="set">tw_has_action2=0</action>
2261 <action function="set">tw_text1=No OS Installed! Are you</action>
2262 <action function="set">tw_text2=sure you wish to reboot?</action>
2263 <action function="set">tw_action_text1=Rebooting...</action>
2264 <action function="set">tw_complete_text1=Rebooting...</action>
2265 <action function="set">tw_slider_text=Swipe to Reboot</action>
2266 <action function="page">rebootcheck</action>
2267 </actions>
2268 </object>
2269
2270 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002271 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002272 <condition var1="tw_reboot_poweroff" var2="1" />
2273 <placement x="%col2_x%" y="%row1_y%" />
2274 <font resource="font" color="%button_text_color%" />
2275 <text>Power Off</text>
2276 <image resource="main_button" />
2277 <actions>
2278 <action function="set">tw_back=reboot</action>
2279 <action function="set">tw_action=reboot</action>
2280 <action function="set">tw_action_param=poweroff</action>
2281 <action function="set">tw_has_action2=0</action>
2282 <action function="set">tw_text1=No OS Installed! Are you</action>
2283 <action function="set">tw_text2=sure you wish to power off?</action>
2284 <action function="set">tw_action_text1=Turning Off...</action>
2285 <action function="set">tw_complete_text1=Turning Off...</action>
2286 <action function="set">tw_slider_text=Swipe to Power Off</action>
2287 <action function="page">rebootcheck</action>
2288 </actions>
2289 </object>
2290
2291 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002292 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002293 <condition var1="tw_reboot_recovery" var2="1" />
2294 <placement x="%col1_x%" y="%row2_y%" />
2295 <font resource="font" color="%button_text_color%" />
2296 <text>Recovery</text>
2297 <image resource="main_button" />
2298 <actions>
2299 <action function="set">tw_back=reboot</action>
2300 <action function="set">tw_action=reboot</action>
2301 <action function="set">tw_action_param=recovery</action>
2302 <action function="set">tw_has_action2=0</action>
2303 <action function="set">tw_text1=No OS Installed! Are you</action>
2304 <action function="set">tw_text2=sure you wish to reboot?</action>
2305 <action function="set">tw_action_text1=Rebooting...</action>
2306 <action function="set">tw_complete_text1=Rebooting...</action>
2307 <action function="set">tw_slider_text=Swipe to Reboot</action>
2308 <action function="page">rebootcheck</action>
2309 </actions>
2310 </object>
2311
2312 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002313 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002314 <condition var1="tw_reboot_bootloader" var2="1" />
2315 <placement x="%col2_x%" y="%row2_y%" />
2316 <font resource="font" color="%button_text_color%" />
2317 <text>Bootloader</text>
2318 <image resource="main_button" />
2319 <actions>
2320 <action function="set">tw_back=reboot</action>
2321 <action function="set">tw_action=reboot</action>
2322 <action function="set">tw_action_param=bootloader</action>
2323 <action function="set">tw_has_action2=0</action>
2324 <action function="set">tw_text1=No OS Installed! Are you</action>
2325 <action function="set">tw_text2=sure you wish to reboot?</action>
2326 <action function="set">tw_action_text1=Rebooting...</action>
2327 <action function="set">tw_complete_text1=Rebooting...</action>
2328 <action function="set">tw_slider_text=Swipe to Reboot</action>
2329 <action function="page">rebootcheck</action>
2330 </actions>
2331 </object>
2332
2333 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002334 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002335 <condition var1="tw_download_mode" var2="1" />
2336 <placement x="%col1_x%" y="%row3_y%" />
2337 <font resource="font" color="%button_text_color%" />
2338 <text>Download</text>
2339 <image resource="main_button" />
2340 <actions>
2341 <action function="set">tw_back=reboot</action>
2342 <action function="set">tw_action=reboot</action>
2343 <action function="set">tw_action_param=download</action>
2344 <action function="set">tw_has_action2=0</action>
2345 <action function="set">tw_text1=No OS Installed! Are you</action>
2346 <action function="set">tw_text2=sure you wish to reboot?</action>
2347 <action function="set">tw_action_text1=Rebooting...</action>
2348 <action function="set">tw_complete_text1=Rebooting...</action>
2349 <action function="set">tw_slider_text=Swipe to Reboot</action>
2350 <action function="page">rebootcheck</action>
2351 </actions>
2352 </object>
2353
2354 <object type="action">
2355 <touch key="home" />
2356 <action function="page">main</action>
2357 </object>
2358
2359 <object type="action">
2360 <touch key="back" />
2361 <action function="page">main</action>
2362 </object>
2363
2364 <object type="template" name="footer" />
2365 </page>
2366
2367 <page name="settings">
2368 <object type="template" name="header" />
2369
2370 <object type="text" color="%text_color%">
2371 <font resource="font" />
2372 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2373 <text>Settings</text>
2374 </object>
2375
2376 <object type="checkbox">
2377 <placement x="%col1_x%" y="%row1_text_y%" />
2378 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002379 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <data variable="tw_signed_zip_verify" />
2381 <image checked="checkbox_true" unchecked="checkbox_false" />
2382 </object>
2383
2384 <object type="checkbox">
2385 <placement x="%col1_x%" y="%row2_text_y%" />
2386 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002387 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <data variable="tw_rm_rf" />
2389 <image checked="checkbox_true" unchecked="checkbox_false" />
2390 </object>
2391
2392 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002393 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002395 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <data variable="tw_skip_md5_generate" />
2397 <image checked="checkbox_true" unchecked="checkbox_false" />
2398 </object>
2399
2400 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002401 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002403 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <data variable="tw_skip_md5_check" />
2405 <image checked="checkbox_true" unchecked="checkbox_false" />
2406 </object>
2407
2408 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002409 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002411 <text>Use Military Time.</text>
2412 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <image checked="checkbox_true" unchecked="checkbox_false" />
2414 </object>
2415
2416 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002417 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002418 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002419 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002420 <data variable="tw_simulate_actions" />
2421 <image checked="checkbox_true" unchecked="checkbox_false" />
2422 </object>
2423
2424 <object type="checkbox">
2425 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002426 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002427 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002428 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <data variable="tw_simulate_fail" />
2430 <image checked="checkbox_true" unchecked="checkbox_false" />
2431 </object>
2432
2433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <placement x="%col1_x%" y="%row3_y%" />
2436 <font resource="font" color="%button_text_color%" />
2437 <text>Time Zone</text>
2438 <image resource="main_button" />
2439 <action function="page">timezone</action>
2440 </object>
2441
2442 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002443 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002444 <placement x="%col2_x%" y="%row3_y%" />
2445 <font resource="font" color="%button_text_color%" />
2446 <text>Screen</text>
2447 <image resource="main_button" />
2448 <action function="page">screen</action>
2449 </object>
2450
2451 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002452 <highlight color="%highlight_color%" />
2453 <placement x="%col2_x%" y="%row4_y%" />
2454 <font resource="font" color="%button_text_color%" />
2455 <text>Vibration Duration</text>
2456 <image resource="main_button" />
2457 <action function="page">Vibrate</action>
2458 </object>
2459
2460 <object type="button">
2461 <placement x="%col_x%" y="%row4_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002462 <font resource="font" color="%button_text_color%" />
2463 <text>Restore Defaults</text>
2464 <image resource="main_button" />
2465 <action function="restoredefaultsettings"></action>
2466 </object>
2467
2468 <object type="action">
2469 <touch key="home" />
2470 <action function="page">main</action>
2471 </object>
2472
2473 <object type="action">
2474 <touch key="back" />
2475 <action function="page">main</action>
2476 </object>
2477
2478 <object type="template" name="footer" />
2479 </page>
2480
2481 <page name="timezone">
2482 <object type="template" name="header" />
2483
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002485 <highlight color="%fileselector_highlight_color%" />
2486 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2487 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002488 <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 -06002489 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002490 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002491 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002492 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002493 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002494 <data name="tw_time_zone_guisel" />
2495 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2496 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2497 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2498 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2499 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2500 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2501 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2502 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2503 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2504 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2505 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2506 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2507 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2508 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2509 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2510 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2511 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2512 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2513 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2514 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2515 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2516 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2517 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2518 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2519 </object>
2520
2521 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002522 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002523 <font resource="font" color="%text_color%" />
2524 <text>Do you use daylight savings time (DST)?</text>
2525 <data variable="tw_time_zone_guidst" />
2526 <image checked="checkbox_true" unchecked="checkbox_false" />
2527 </object>
2528
2529 <object type="text" color="%text_color%">
2530 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002531 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2533 </object>
2534
2535 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002536 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002537 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <font resource="font" color="%button_text_color%" />
2539 <text>None</text>
2540 <image resource="medium_button" />
2541 <action function="set">tw_time_zone_guioffset=0</action>
2542 </object>
2543
2544 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002545 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002546 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002547 <font resource="font" color="%button_text_color%" />
2548 <text>15</text>
2549 <image resource="medium_button" />
2550 <action function="set">tw_time_zone_guioffset=15</action>
2551 </object>
2552
2553 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002554 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002555 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002556 <font resource="font" color="%button_text_color%" />
2557 <text>30</text>
2558 <image resource="medium_button" />
2559 <action function="set">tw_time_zone_guioffset=30</action>
2560 </object>
2561
2562 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002563 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002564 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002565 <font resource="font" color="%button_text_color%" />
2566 <text>45</text>
2567 <image resource="medium_button" />
2568 <action function="set">tw_time_zone_guioffset=45</action>
2569 </object>
2570
2571 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002572 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002573 <placement x="%col_center_x%" y="%tz_set_y%" />
2574 <font resource="font" color="%button_text_color%" />
2575 <text>Set Time Zone</text>
2576 <image resource="main_button" />
2577 <action function="setguitimezone"></action>
2578 </object>
2579
2580 <object type="text" color="%text_color%">
2581 <font resource="font" />
2582 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2583 <text>Current Time Zone: %tw_time_zone%</text>
2584 </object>
2585
2586 <object type="action">
2587 <touch key="home" />
2588 <action function="page">main</action>
2589 </object>
2590
2591 <object type="action">
2592 <touch key="back" />
2593 <action function="page">settings</action>
2594 </object>
2595
2596 <object type="template" name="footer" />
2597 </page>
2598
Dees_Troy2f9117a2013-02-17 19:52:09 -06002599 <page name="screen">
2600 <object type="template" name="header" />
2601
2602 <object type="text" color="%text_color%">
2603 <font resource="font" />
2604 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2605 <text>Screen Settings</text>
2606 </object>
2607
Dees_Troy2f9117a2013-02-17 19:52:09 -06002608 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002609 <placement x="%col1_x%" y="%row2_text_y%" />
2610 <font resource="font" color="%text_color%" />
2611 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002612 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002613 <text>Enable screen timeout.</text>
2614 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002615 <action function="set">tw_screen_timeout_secs=60</action>
2616 </object>
2617
2618 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002619 <placement x="%col1_x%" y="%row2_text_y%" />
2620 <font resource="font" color="%text_color%" />
2621 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002622 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <text>Enable screen timeout.</text>
2624 <image resource="checkbox_true" />
2625 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002626 </object>
2627
Vojtech Bocek85932342013-04-01 22:11:33 +02002628 <object type="slidervalue">
2629 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002630 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002631 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2632 <font resource="font" color="%text_color%" />
2633 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2634 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2635 <text>Screen timeout in seconds:</text>
2636 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002637 </object>
2638
Vojtech Bocek85932342013-04-01 22:11:33 +02002639 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002640 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002641 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2642 <font resource="font" color="%text_color%" />
2643 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2644 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2645 <text>Brightness: %tw_brightness_pct%%</text>
2646 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002647 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002648 <action function="set">tw_brightness=%tw_brightness_max%</action>
2649 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2650 <action function="compute">tw_brightness/100</action>
2651 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002652 </actions>
2653 </object>
2654
2655 <object type="action">
2656 <touch key="home" />
2657 <action function="page">main</action>
2658 </object>
2659
2660 <object type="action">
2661 <touch key="back" />
2662 <action function="page">settings</action>
2663 </object>
2664
2665 <object type="template" name="footer" />
2666 </page>
2667
Ethan Yonker03db3262014-02-05 08:02:06 -06002668 <page name="Vibrate">
2669 <object type="template" name="header" />
2670
2671 <object type="text" color="%text_color%">
2672 <font resource="font" />
2673 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2674 <text>Vibration Settings :</text>
2675 </object>
2676
2677 <object type="slidervalue">
2678 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2679 <font resource="font" color="%text_color%" />
2680 <text>Button Vibration:</text>
2681 <data variable="tw_button_vibrate" min="0" max="300" />
2682 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2683 </object>
2684
2685 <object type="slidervalue">
2686 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2687 <font resource="font" color="%text_color%" />
2688 <text>Keyboard Vibration:</text>
2689 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2690 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2691 </object>
2692
2693 <object type="slidervalue">
2694 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2695 <font resource="font" color="%text_color%" />
2696 <text>Action Vibration:</text>
2697 <data variable="tw_action_vibrate" min="0" max="500" />
2698 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2699 </object>
2700
2701 <object type="action">
2702 <touch key="home" />
2703 <action function="page">main</action>
2704 </object>
2705
2706 <object type="action">
2707 <touch key="back" />
2708 <action function="page">settings</action>
2709 </object>
2710
2711 <object type="template" name="footer" />
2712 </page>
2713
Dees_Troy51a0e822012-09-05 15:24:24 -04002714 <page name="advanced">
2715 <object type="template" name="header" />
2716
2717 <object type="text" color="%text_color%">
2718 <font resource="font" />
2719 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2720 <text>Advanced</text>
2721 </object>
2722
2723 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002724 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002725 <placement x="%col1_x%" y="%row1_y%" />
2726 <font resource="font" color="%button_text_color%" />
2727 <text>Copy Log to SD</text>
2728 <image resource="main_button" />
2729 <actions>
2730 <action function="set">tw_back=advanced</action>
2731 <action function="set">tw_action=copylog</action>
2732 <action function="set">tw_text1=Copy Log to SD Card?</action>
2733 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2734 <action function="set">tw_complete_text1=Log Copy Complete</action>
2735 <action function="set">tw_slider_text=Swipe to Confirm</action>
2736 <action function="page">confirm_action</action>
2737 </actions>
2738 </object>
2739
2740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <placement x="%col2_x%" y="%row1_y%" />
2743 <font resource="font" color="%button_text_color%" />
2744 <text>Fix Permissions</text>
2745 <image resource="main_button" />
2746 <actions>
2747 <action function="set">tw_back=advanced</action>
2748 <action function="set">tw_action=fixpermissions</action>
2749 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002750 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2752 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002753 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <action function="page">confirm_action</action>
2755 </actions>
2756 </object>
2757
2758 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002759 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002760 <condition var1="tw_allow_partition_sdcard" var2="1" />
2761 <placement x="%col1_x%" y="%row2_y%" />
2762 <font resource="font" color="%button_text_color%" />
2763 <text>Partition SD Card</text>
2764 <image resource="main_button" />
2765 <action function="page">partsdcard</action>
2766 </object>
2767
2768 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002769 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002770 <placement x="%col2_x%" y="%row2_y%" />
2771 <font resource="font" color="%button_text_color%" />
2772 <text>File Manager</text>
2773 <image resource="main_button" />
2774 <action function="page">filemanagerlist</action>
2775 </object>
2776
2777 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002778 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002779 <placement x="%col1_x%" y="%row3_y%" />
2780 <font resource="font" color="%button_text_color%" />
2781 <text>Terminal Command</text>
2782 <image resource="main_button" />
2783 <action function="page">terminalfolder</action>
2784 </object>
2785
2786 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002787 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002788 <placement x="%col2_x%" y="%row3_y%" />
2789 <font resource="font" color="%button_text_color%" />
2790 <text>Reload Theme</text>
2791 <image resource="main_button" />
2792 <action function="reload"></action>
2793 </object>
2794
2795 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002796 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002797 <placement x="%col1_x%" y="%row4_y%" />
2798 <font resource="font" color="%button_text_color%" />
2799 <text>ADB Sideload</text>
2800 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002801 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <condition var1="tw_show_dumlock" var2="1" />
2807 <placement x="%col2_x%" y="%row4_y%" />
2808 <font resource="font" color="%button_text_color%" />
2809 <text>HTC Dumlock</text>
2810 <image resource="main_button" />
2811 <action function="page">htcdumlock</action>
2812 </object>
2813
2814 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002815 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002816 <condition var1="tw_has_injecttwrp" var2="1" />
2817 <placement x="%col2_x%" y="%row4_y%" />
2818 <font resource="font" color="%button_text_color%" />
2819 <text>Re-Inject TWRP</text>
2820 <image resource="main_button" />
2821 <actions>
2822 <action function="set">tw_back=advanced</action>
2823 <action function="set">tw_action=reinjecttwrp</action>
2824 <action function="set">tw_text1=Re-Inject TWRP?</action>
2825 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2826 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2827 <action function="set">tw_slider_text=Swipe to Confirm</action>
2828 <action function="page">confirm_action</action>
2829 </actions>
2830 </object>
2831
2832 <object type="action">
2833 <touch key="home" />
2834 <action function="page">main</action>
2835 </object>
2836
2837 <object type="action">
2838 <touch key="back" />
2839 <action function="page">main</action>
2840 </object>
2841
2842 <object type="template" name="footer" />
2843 </page>
2844
2845 <page name="partsdcard">
2846 <object type="template" name="header" />
2847
2848 <object type="text" color="%text_color%">
2849 <font resource="font" />
2850 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2851 <text>Partition SD Card</text>
2852 </object>
2853
2854 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002855 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002856 <placement x="%col1_x%" y="%row1_y%" />
2857 <font resource="font" color="%button_text_color%" />
2858 <text></text>
2859 <image resource="minus_button" />
2860 <action function="addsubtract">tw_sdext_size-128</action>
2861 </object>
2862
2863 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002864 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002865 <placement x="%sd_plus_x%" y="%row1_y%" />
2866 <font resource="font" color="%button_text_color%" />
2867 <text></text>
2868 <image resource="plus_button" />
2869 <action function="addsubtract">tw_sdext_size+128</action>
2870 </object>
2871
2872 <object type="text" color="%text_color%">
2873 <font resource="font" />
2874 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2875 <text>EXT Size: %tw_sdext_size%</text>
2876 </object>
2877
2878 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002879 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002880 <placement x="%col1_x%" y="%sdswap_button_y%" />
2881 <font resource="font" color="%button_text_color%" />
2882 <text></text>
2883 <image resource="minus_button" />
2884 <action function="addsubtract">tw_swap_size-32</action>
2885 </object>
2886
2887 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002888 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002889 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2890 <font resource="font" color="%button_text_color%" />
2891 <text></text>
2892 <image resource="plus_button" />
2893 <action function="addsubtract">tw_swap_size+32</action>
2894 </object>
2895
2896 <object type="text" color="%text_color%">
2897 <font resource="font" />
2898 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2899 <text>Swap Size: %tw_swap_size%</text>
2900 </object>
2901
2902 <object type="text" color="%text_color%">
2903 <font resource="font" />
2904 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2905 <text>File system: %tw_sdpart_file_system%</text>
2906 </object>
2907
2908 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002909 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002910 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2911 <font resource="font" color="%button_text_color%" />
2912 <text>EXT3</text>
2913 <image resource="main_button" />
2914 <action function="set">tw_sdpart_file_system=ext3</action>
2915 </object>
2916
2917 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002918 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002919 <condition var1="tw_sdext_disable_ext4" var2="0" />
2920 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2921 <font resource="font" color="%button_text_color%" />
2922 <text>EXT4</text>
2923 <image resource="main_button" />
2924 <action function="set">tw_sdpart_file_system=ext4</action>
2925 </object>
2926
2927 <object type="text" color="%text_color%">
2928 <font resource="font" />
2929 <placement x="%col1_x%" y="%row12_text_y%" />
2930 <text>You will lose all files on your SD card!</text>
2931 </object>
2932
2933 <object type="text" color="%text_color%">
2934 <font resource="font" />
2935 <placement x="%col1_x%" y="%row13_text_y%" />
2936 <text>This action cannot be undone!</text>
2937 </object>
2938
2939 <object type="slider">
2940 <placement x="%slider_x%" y="%slider_y%" />
2941 <resource base="slider" used="slider-used" touch="slider-touch" />
2942 <action function="page">partsdcardaction</action>
2943 <actions>
2944 <action function="set">tw_back=partsdcard</action>
2945 <action function="set">tw_action=partitionsd</action>
2946 <action function="set">tw_has_action2=1</action>
2947 <action function="set">tw_action2=set</action>
2948 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2949 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2950 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002951 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002952 <action function="page">action_page</action>
2953 </actions>
2954 </object>
2955
2956 <object type="text" color="%text_color%">
2957 <font resource="font" />
2958 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2959 <text>Swipe to Partition</text>
2960 </object>
2961
2962 <object type="action">
2963 <touch key="home" />
2964 <action function="page">main</action>
2965 </object>
2966
2967 <object type="action">
2968 <touch key="back" />
2969 <action function="page">advanced</action>
2970 </object>
2971
2972 <object type="template" name="footer" />
2973 </page>
2974
2975 <page name="htcdumlock">
2976 <object type="template" name="header" />
2977
2978 <object type="text" color="%text_color%">
2979 <font resource="font" />
2980 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2981 <text>HTC Dumlock</text>
2982 </object>
2983
2984 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002985 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002986 <condition var1="tw_show_dumlock" var2="1" />
2987 <placement x="%col1_x%" y="%row1_y%" />
2988 <font resource="font" color="%button_text_color%" />
2989 <text>Restore Original Boot</text>
2990 <image resource="main_button" />
2991 <actions>
2992 <action function="set">tw_back=htcdumlock</action>
2993 <action function="set">tw_action=htcdumlockrestoreboot</action>
2994 <action function="set">tw_text1=Restore original boot image?</action>
2995 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2996 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2997 <action function="set">tw_slider_text=Swipe to Confirm</action>
2998 <action function="page">confirm_action</action>
2999 </actions>
3000 </object>
3001
3002 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003003 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003004 <condition var1="tw_show_dumlock" var2="1" />
3005 <placement x="%col2_x%" y="%row1_y%" />
3006 <font resource="font" color="%button_text_color%" />
3007 <text>Reflash Recovery</text>
3008 <image resource="main_button" />
3009 <actions>
3010 <action function="set">tw_back=htcdumlock</action>
3011 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3012 <action function="set">tw_text1=Reflash recovery to boot?</action>
3013 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3014 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3015 <action function="set">tw_slider_text=Swipe to Confirm</action>
3016 <action function="page">confirm_action</action>
3017 </actions>
3018 </object>
3019
3020 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003021 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003022 <condition var1="tw_show_dumlock" var2="1" />
3023 <placement x="%col1_x%" y="%row2_y%" />
3024 <font resource="font" color="%button_text_color%" />
3025 <text>Install HTC Dumlock</text>
3026 <image resource="main_button" />
3027 <actions>
3028 <action function="set">tw_back=htcdumlock</action>
3029 <action function="set">tw_action=installhtcdumlock</action>
3030 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3031 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3032 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3033 <action function="set">tw_slider_text=Swipe to Confirm</action>
3034 <action function="page">confirm_action</action>
3035 </actions>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="home" />
3040 <action function="page">main</action>
3041 </object>
3042
3043 <object type="action">
3044 <touch key="back" />
3045 <action function="page">advanced</action>
3046 </object>
3047
3048 <object type="template" name="footer" />
3049 </page>
3050
3051 <page name="lock">
3052 <background color="#000000A0" />
3053
3054 <object type="image">
3055 <image resource="unlock-icon" />
3056 <placement x="%lock_x%" y="%lock_y%" />
3057 </object>
3058
3059 <object type="slider">
3060 <placement x="%slider_x%" y="%slider_y%" />
3061 <resource base="slider" used="slider-used" touch="slider-touch" />
3062 <action function="overlay"></action>
3063 </object>
3064
3065 <object type="text" color="%text_color%">
3066 <font resource="font" />
3067 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3068 <text>Swipe to Unlock</text>
3069 </object>
3070 </page>
3071
3072 <page name="filemanagerlist">
3073 <object type="template" name="header" />
3074
3075 <object type="text" color="%text_color%">
3076 <font resource="font" />
3077 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3078 <text>File Manager: Select a File or Folder</text>
3079 </object>
3080
3081 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003082 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003083 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3084 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003085 <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 -04003086 <text>%tw_file_location1%</text>
3087 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3088 <sort name="tw_gui_sort_order" />
3089 <icon folder="folder_icon" file="file_icon" />
3090 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003091 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003092 <folders="1" files="1" />
3093 <path name="tw_file_location1" default="/" />
3094 <data name="tw_filename1" />
3095 <selection name="tw_selection1" />
3096 </object>
3097
3098 <object type="template" name="sort_options" />
3099
3100 <object type="action">
3101 <actions>
3102 <action function="set">tw_fm_type=File</action>
3103 <action function="set">tw_fm_isfolder=0</action>
3104 </actions>
3105 </object>
3106
3107 <object type="action">
3108 <touch key="home" />
3109 <action function="page">main</action>
3110 </object>
3111
3112 <object type="action">
3113 <touch key="back" />
3114 <action function="page">advanced</action>
3115 </object>
3116
3117 <object type="action">
3118 <condition var1="tw_filename1" op="modified" />
3119 <actions>
3120 <action function="page">filemanageroptions</action>
3121 </actions>
3122 </object>
3123
3124 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003125 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003126 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3127 <font resource="font" color="%button_text_color%" />
3128 <text>Select</text>
3129 <image resource="medium_button" />
3130 <actions>
3131 <action function="set">tw_filename1=tw_file_location1</action>
3132 <action function="set">tw_fm_isfolder=1</action>
3133 <action function="set">tw_fm_type=Folder</action>
3134 <action function="page">filemanageroptions</action>
3135 </actions>
3136 </object>
3137
3138 <object type="template" name="footer" />
3139 </page>
3140
3141 <page name="filemanageroptions">
3142 <object type="template" name="header" />
3143
3144 <object type="text" color="%text_color%">
3145 <font resource="font" />
3146 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3147 <text>%tw_fm_type% Selected:</text>
3148 </object>
3149
3150 <object type="text" color="%text_color%">
3151 <font resource="font" />
3152 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3153 <text>%tw_filename1%</text>
3154 </object>
3155
3156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003157 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003158 <condition var1="tw_fm_isfolder" var2="0" />
3159 <placement x="%col1_x%" y="%row2_y%" />
3160 <font resource="font" color="%button_text_color%" />
3161 <text>Copy File</text>
3162 <image resource="main_button" />
3163 <actions>
3164 <action function="set">tw_filemanager_command=cp</action>
3165 <action function="set">tw_fm_text1=Copying</action>
3166 <action function="page">choosedestinationfolder</action>
3167 </actions>
3168 </object>
3169
3170 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003171 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003172 <condition var1="tw_fm_isfolder" var2="1" />
3173 <placement x="%col1_x%" y="%row2_y%" />
3174 <font resource="font" color="%button_text_color%" />
3175 <text>Copy Folder</text>
3176 <image resource="main_button" />
3177 <actions>
3178 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3179 <action function="set">tw_fm_text1=Copying</action>
3180 <action function="page">choosedestinationfolder</action>
3181 </actions>
3182 </object>
3183
3184 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003185 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003186 <placement x="%col2_x%" y="%row2_y%" />
3187 <font resource="font" color="%button_text_color%" />
3188 <text>Move</text>
3189 <image resource="main_button" />
3190 <actions>
3191 <action function="set">tw_filemanager_command=mv</action>
3192 <action function="set">tw_fm_text1=Moving</action>
3193 <action function="page">choosedestinationfolder</action>
3194 </actions>
3195 </object>
3196
3197 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003198 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003199 <placement x="%col1_x%" y="%row3_y%" />
3200 <font resource="font" color="%button_text_color%" />
3201 <text>chmod 755</text>
3202 <image resource="main_button" />
3203 <actions>
3204 <action function="set">tw_filemanager_command=chmod 755</action>
3205 <action function="set">tw_fm_text1=chmod 755</action>
3206 <action function="set">tw_fm_text2=</action>
3207 <action function="set">tw_fm_text3=</action>
3208 <action function="set">tw_include_text3=0</action>
3209 <action function="set">tw_back=filemanageroptions</action>
3210 <action function="page">filemanagerconfirm</action>
3211 </actions>
3212 </object>
3213
3214 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003215 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003216 <placement x="%col2_x%" y="%row3_y%" />
3217 <font resource="font" color="%button_text_color%" />
3218 <text>chmod</text>
3219 <image resource="main_button" />
3220 <actions>
3221 <action function="set">tw_filemanager_rename=0000</action>
3222 <action function="set">tw_fm_text2=</action>
3223 <action function="set">tw_fm_text3=</action>
3224 <action function="set">tw_include_text3=0</action>
3225 <action function="set">tw_back=filemanageroptions</action>
3226 <action function="page">filemanagerchmod</action>
3227 </actions>
3228 </object>
3229
3230 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003231 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003232 <placement x="%col1_x%" y="%row4_y%" />
3233 <font resource="font" color="%button_text_color%" />
3234 <text>Delete</text>
3235 <image resource="main_button" />
3236 <actions>
3237 <action function="set">tw_filemanager_command=rm -rf</action>
3238 <action function="set">tw_fm_text1=Deleting</action>
3239 <action function="set">tw_fm_text2=</action>
3240 <action function="set">tw_fm_text3=</action>
3241 <action function="set">tw_include_text3=0</action>
3242 <action function="set">tw_back=filemanageroptions</action>
3243 <action function="page">filemanagerconfirm</action>
3244 </actions>
3245 </object>
3246
3247 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003248 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003249 <condition var1="tw_fm_isfolder" var2="0" />
3250 <placement x="%col2_x%" y="%row4_y%" />
3251 <font resource="font" color="%button_text_color%" />
3252 <text>Rename File</text>
3253 <image resource="main_button" />
3254 <actions>
3255 <action function="set">tw_filemanager_rename=tw_selection1</action>
3256 <action function="set">tw_fm_text1=Renaming</action>
3257 <action function="set">tw_filemanager_command=mv</action>
3258 <action function="page">filemanagerrenamefile</action>
3259 </actions>
3260 </object>
3261
3262 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003263 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003264 <condition var1="tw_fm_isfolder" var2="1" />
3265 <placement x="%col2_x%" y="%row4_y%" />
3266 <font resource="font" color="%button_text_color%" />
3267 <text>Rename Folder</text>
3268 <image resource="main_button" />
3269 <actions>
3270 <action function="set">tw_filemanager_rename=tw_selection1</action>
3271 <action function="set">tw_fm_text1=Renaming</action>
3272 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3273 <action function="page">filemanagerrenamefolder</action>
3274 </actions>
3275 </object>
3276
3277 <object type="action">
3278 <touch key="home" />
3279 <action function="page">main</action>
3280 </object>
3281
3282 <object type="action">
3283 <touch key="back" />
3284 <action function="page">filemanagerlist</action>
3285 </object>
3286
3287 <object type="template" name="footer" />
3288 </page>
3289
3290 <page name="choosedestinationfolder">
3291 <object type="template" name="header" />
3292
3293 <object type="text" color="%text_color%">
3294 <font resource="font" />
3295 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3296 <text>Browse to Destination Folder & Press Select</text>
3297 </object>
3298
3299 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003300 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003301 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3302 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003303 <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 -04003304 <text>%tw_file_location2%</text>
3305 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3306 <sort name="tw_gui_sort_order" />
3307 <icon folder="folder_icon" file="file_icon" />
3308 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003309 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003310 <filter folders="1" files="0" />
3311 <path name="tw_file_location2" default="/" />
3312 <data name="tw_filename2" />
3313 <selection name="tw_selection2" />
3314 </object>
3315
3316 <object type="template" name="sort_options" />
3317
3318 <object type="action">
3319 <touch key="home" />
3320 <action function="page">main</action>
3321 </object>
3322
3323 <object type="action">
3324 <touch key="back" />
3325 <action function="page">filemanageroptions</action>
3326 </object>
3327
3328 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003329 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003330 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3331 <font resource="font" color="%button_text_color%" />
3332 <text>Select</text>
3333 <image resource="medium_button" />
3334 <actions>
3335 <action function="set">tw_fm_text2=to</action>
3336 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3337 <action function="set">tw_include_text3=1</action>
3338 <action function="set">tw_back=filemanageroptions</action>
3339 <action function="page">filemanagerconfirm</action>
3340 </actions>
3341 </object>
3342
3343 <object type="template" name="footer" />
3344 </page>
3345
3346 <page name="filemanagerrenamefile">
3347 <object type="template" name="header" />
3348
3349 <object type="text" color="%text_color%">
3350 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3351 <font resource="font" />
3352 <text>Please Enter a New %tw_fm_type% Name</text>
3353 </object>
3354
3355 <object type="input">
3356 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3357 <background color="%input_background_color%" />
3358 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3359 <font resource="font" color="%text_color%" />
3360 <text>%tw_filemanager_rename%</text>
3361 <data name="tw_filemanager_rename" />
3362 <restrict minlen="1" maxlen="128" />
3363 <actions>
3364 <action function="set">tw_fm_text2=to</action>
3365 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3366 <action function="set">tw_include_text3=1</action>
3367 <action function="set">tw_back=filemanageroptions</action>
3368 <action function="page">filemanagerconfirm</action>
3369 </actions>
3370 </object>
3371
3372 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003373 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003374 <placement x="%col_center_x%" y="%row2_y%" />
3375 <font resource="font" color="%button_text_color%" />
3376 <text>Cancel</text>
3377 <image resource="main_button" />
3378 <action function="page">filemanageroptions</action>
3379 </object>
3380
3381 <object type="template" name="keyboardtemplate" />
3382
3383 <object type="action">
3384 <touch key="home" />
3385 <action function="page">main</action>
3386 </object>
3387
3388 <object type="action">
3389 <touch key="back" />
3390 <action function="page">filemanageroptions</action>
3391 </object>
3392
3393 <object type="template" name="footer" />
3394 </page>
3395
3396 <page name="filemanagerrenamefolder">
3397 <object type="template" name="header" />
3398
3399 <object type="text" color="%text_color%">
3400 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3401 <font resource="font" />
3402 <text>Please Enter a New %tw_fm_type% Name</text>
3403 </object>
3404
3405 <object type="input">
3406 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3407 <background color="%input_background_color%" />
3408 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3409 <font resource="font" color="%text_color%" />
3410 <text>%tw_filemanager_rename%</text>
3411 <data name="tw_filemanager_rename" />
3412 <restrict minlen="1" maxlen="128" />
3413 <actions>
3414 <action function="set">tw_fm_text2=to</action>
3415 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3416 <action function="set">tw_include_text3=1</action>
3417 <action function="set">tw_back=filemanageroptions</action>
3418 <action function="page">filemanagerconfirm</action>
3419 </actions>
3420 </object>
3421
3422 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003423 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003424 <placement x="%col_center_x%" y="%row2_y%" />
3425 <font resource="font" color="%button_text_color%" />
3426 <text>Cancel</text>
3427 <image resource="main_button" />
3428 <action function="page">filemanageroptions</action>
3429 </object>
3430
3431 <object type="template" name="keyboardtemplate" />
3432
3433 <object type="action">
3434 <touch key="home" />
3435 <action function="page">main</action>
3436 </object>
3437
3438 <object type="action">
3439 <touch key="back" />
3440 <action function="page">filemanageroptions</action>
3441 </object>
3442
3443 <object type="template" name="footer" />
3444 </page>
3445
3446 <page name="filemanagerchmod">
3447 <object type="template" name="header" />
3448
3449 <object type="text" color="%text_color%">
3450 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3451 <font resource="font" />
3452 <text>Please Enter New Permissions</text>
3453 </object>
3454
3455 <object type="input">
3456 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3457 <background color="%input_background_color%" />
3458 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3459 <font resource="font" color="%text_color%" />
3460 <text>%tw_filemanager_rename%</text>
3461 <data name="tw_filemanager_rename" />
3462 <restrict minlen="3" maxlen="4" allow="0123456789" />
3463 <actions>
3464 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3465 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3466 <action function="set">tw_back=filemanageroptions</action>
3467 <action function="page">filemanagerconfirm</action>
3468 </actions>
3469 </object>
3470
3471 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003472 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003473 <placement x="%col_center_x%" y="%row2_y%" />
3474 <font resource="font" color="%button_text_color%" />
3475 <text>Cancel</text>
3476 <image resource="main_button" />
3477 <action function="page">filemanageroptions</action>
3478 </object>
3479
3480 <object type="template" name="keyboardtemplate" />
3481
3482 <object type="action">
3483 <touch key="home" />
3484 <action function="page">main</action>
3485 </object>
3486
3487 <object type="action">
3488 <touch key="back" />
3489 <action function="page">filemanageroptions</action>
3490 </object>
3491
3492 <object type="template" name="footer" />
3493 </page>
3494
3495 <page name="filemanagerconfirm">
3496 <object type="template" name="header" />
3497
3498 <object type="text" color="%text_color%">
3499 <font resource="font" />
3500 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3501 <text>%tw_fm_text1%</text>
3502 </object>
3503
3504 <object type="text" color="%text_color%">
3505 <font resource="font" />
3506 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3507 <text>%tw_filename1%</text>
3508 </object>
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3513 <text>%tw_fm_text2%</text>
3514 </object>
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3519 <text>%tw_fm_text3%</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3525 <text>Press back button to cancel.</text>
3526 </object>
3527
3528 <object type="slider">
3529 <placement x="%slider_x%" y="%slider_y%" />
3530 <resource base="slider" used="slider-used" touch="slider-touch" />
3531 <action function="page">filemanageracction</action>
3532 </object>
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3537 <text>Swipe to Confirm</text>
3538 </object>
3539
3540 <object type="action">
3541 <touch key="back" />
3542 <action function="page">%tw_back%</action>
3543 </object>
3544
3545 <object type="action">
3546 <touch key="home" />
3547 <action function="page">main</action>
3548 </object>
3549
3550 <object type="template" name="footer" />
3551 </page>
3552
3553 <page name="filemanageracction">
3554 <object type="template" name="header" />
3555
3556 <object type="text" color="%text_color%">
3557
3558 <font resource="font" />
3559 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3560 <text>%tw_fm_text1%</text>
3561 </object>
3562
3563 <object type="template" name="action_page_console" />
3564
3565 <object type="template" name="progress_bar" />
3566
3567 <object type="action">
3568 <conditions>
3569 <condition var1="tw_operation_state" var2="1" />
3570 <condition var1="tw_operation_status" var2="0" />
3571 </conditions>
3572 <actions>
3573 <action function="set">tw_back=filemanagerlist</action>
3574 <action function="set">tw_complete_text1=File Operation Complete</action>
3575 <action function="page">action_complete</action>
3576 </actions>
3577 </object>
3578
3579 <object type="action">
3580 <conditions>
3581 <condition var1="tw_operation_state" var2="1" />
3582 <condition var1="tw_operation_status" op="!=" var2="0" />
3583 </conditions>
3584 <actions>
3585 <action function="set">tw_complete_text1=File Operation Complete</action>
3586 <action function="page">action_complete</action>
3587 </actions>
3588 </object>
3589
3590 <object type="action">
3591 <condition var1="tw_include_text3" var2="0" />
3592 <actions>
3593 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3594 </actions>
3595 </object>
3596
3597 <object type="action">
3598 <condition var1="tw_include_text3" var2="1" />
3599 <actions>
3600 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3601 </actions>
3602 </object>
3603 </page>
3604
3605 <page name="decrypt">
3606 <object type="template" name="header" />
3607
3608 <object type="text" color="%text_color%">
3609 <font resource="font" />
3610 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3611 <text>Please Enter Your Password</text>
3612 </object>
3613
3614 <object type="input">
3615 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3616 <background color="%input_background_color%" />
3617 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3618 <font resource="font" color="%text_color%" />
3619 <text>%tw_crypto_display%</text>
3620 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3621 <restrict minlen="1" maxlen="254" />
3622 <actions>
3623 <action function="page">trydecrypt</action>
3624 </actions>
3625 </object>
3626
3627 <object type="text" color="%text_fail_color%">
3628 <condition var1="tw_password_fail" var2="1" />
3629 <font resource="font" />
3630 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3631 <text>Password Failed, Please Try Again</text>
3632 </object>
3633
3634 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003635 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <placement x="%col_center_x%" y="%row2_y%" />
3637 <font resource="font" color="%button_text_color%" />
3638 <text>Cancel</text>
3639 <image resource="main_button" />
3640 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003641 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <action function="page">main</action>
3643 </actions>
3644 </object>
3645
3646 <object type="template" name="keyboardtemplate" />
3647
Dees_Troy51a0e822012-09-05 15:24:24 -04003648 <object type="template" name="footer" />
3649 </page>
3650
3651 <page name="trydecrypt">
3652 <object type="template" name="header" />
3653
3654 <object type="text" color="%text_color%">
3655 <font resource="font" />
3656 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3657 <text>Trying Decryption with Your Password</text>
3658 </object>
3659
3660 <object type="template" name="action_page_console" />
3661
3662 <object type="template" name="progress_bar" />
3663
3664 <object type="action">
3665 <action function="decrypt"></action>
3666 </object>
3667
3668 <object type="action">
3669 <conditions>
3670 <condition var1="tw_operation_state" var2="1" />
3671 <condition var1="tw_operation_status" op="!=" var2="0" />
3672 </conditions>
3673 <actions>
3674 <action function="set">tw_password_fail=1</action>
3675 <action function="page">decrypt</action>
3676 </actions>
3677 </object>
3678
3679 <object type="action">
3680 <conditions>
3681 <condition var1="tw_operation_state" var2="1" />
3682 <condition var1="tw_operation_status" op="=" var2="0" />
3683 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003684 <actions>
3685 <action function="set">tw_page_done=1</action>
3686 <action function="page">main</action>
3687 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003688 </object>
3689 </page>
3690
3691 <page name="terminalfolder">
3692 <object type="template" name="header" />
3693
3694 <object type="text" color="%text_color%">
3695 <font resource="font" />
3696 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3697 <text>Browse to Starting Folder</text>
3698 </object>
3699
3700 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003701 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003702 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3703 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003704 <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 -04003705 <text>%tw_terminal_location%</text>
3706 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3707 <sort name="tw_gui_sort_order" />
3708 <icon folder="folder_icon" file="file_icon" />
3709 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003710 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003711 <filter folders="1" files="0" />
3712 <path name="tw_terminal_location" default="/" />
3713 <data name="tw_terminal" />
3714 <selection name="tw_terminal_selection" />
3715 </object>
3716
3717 <object type="template" name="sort_options" />
3718
3719 <object type="action">
3720 <touch key="home" />
3721 <action function="page">main</action>
3722 </object>
3723
3724 <object type="action">
3725 <touch key="back" />
3726 <action function="page">advanced</action>
3727 </object>
3728
3729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003731 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3732 <font resource="font" color="%button_text_color%" />
3733 <text>Select</text>
3734 <image resource="medium_button" />
3735 <actions>
3736 <action function="page">terminalcommand</action>
3737 </actions>
3738 </object>
3739
3740 <object type="template" name="footer" />
3741 </page>
3742
3743 <page name="terminalcommand">
3744 <object type="template" name="header" />
3745
3746 <object type="console">
3747 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3748 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3749 <font resource="fixed" />
3750 </object>
3751
3752 <object type="text" color="%text_color%">
3753 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3754 <font resource="font" />
3755 <text>Starting Path: %tw_terminal_location%</text>
3756 </object>
3757
3758 <object type="input">
3759 <condition var1="tw_terminal_state" var2="0" />
3760 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3761 <background color="%input_background_color%" />
3762 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3763 <font resource="font" color="%text_color%" />
3764 <text>%tw_terminal_command%</text>
3765 <data name="tw_terminal_command" />
3766 <restrict minlen="1" />
3767 <action function="terminalcommand">%tw_terminal_command%</action>
3768 </object>
3769
3770 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003771 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003772 <condition var1="tw_terminal_state" var2="1" />
3773 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3774 <font resource="font" color="%button_text_color%" />
3775 <text>KILL</text>
3776 <image resource="medium_button" />
3777 <action function="killterminal"></action>
3778 </object>
3779
3780 <object type="template" name="keyboardtemplate" />
3781
3782 <object type="action">
3783 <touch key="home" />
3784 <action function="page">main</action>
3785 </object>
3786
3787 <object type="action">
3788 <touch key="back" />
3789 <action function="page">terminalfolder</action>
3790 </object>
3791 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003792
3793 <page name="sideload">
3794 <object type="template" name="header" />
3795
3796 <object type="text" color="%text_color%">
3797 <font resource="font" />
3798 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3799 <text>ADB Sideload</text>
3800 </object>
3801
3802 <object type="checkbox">
3803 <placement x="%col1_x%" y="%row2_text_y%" />
3804 <font resource="font" color="%text_color%" />
3805 <text>Wipe Dalvik Cache.</text>
3806 <data variable="tw_wipe_dalvik" />
3807 <image checked="checkbox_true" unchecked="checkbox_false" />
3808 </object>
3809
3810 <object type="checkbox">
3811 <placement x="%col1_x%" y="%row3_text_y%" />
3812 <font resource="font" color="%text_color%" />
3813 <text>Wipe Cache.</text>
3814 <data variable="tw_wipe_cache" />
3815 <image checked="checkbox_true" unchecked="checkbox_false" />
3816 </object>
3817
3818 <object type="slider">
3819 <placement x="%slider_x%" y="%slider_y%" />
3820 <resource base="slider" used="slider-used" touch="slider-touch" />
3821 <actions>
3822 <action function="set">tw_back=advanced</action>
3823 <action function="set">tw_action=adbsideload</action>
3824 <action function="set">tw_action_text1=ADB Sideload</action>
3825 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3826 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3827 <action function="set">tw_has_cancel=1</action>
3828 <action function="set">tw_show_reboot=1</action>
3829 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3830 <action function="page">action_page</action>
3831 </actions>
3832 </object>
3833
3834 <object type="text" color="%text_color%">
3835 <font resource="font" />
3836 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3837 <text>Swipe to Start Sideload</text>
3838 </object>
3839
3840 <object type="action">
3841 <touch key="home" />
3842 <action function="page">main</action>
3843 </object>
3844
3845 <object type="action">
3846 <touch key="back" />
3847 <action function="page">advanced</action>
3848 </object>
3849
3850 <object type="template" name="footer" />
3851 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003852
3853 <page name="installsu">
3854 <object type="template" name="header" />
3855
3856 <object type="text" color="%text_color%">
3857 <font resource="font" />
3858 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3859 <text>Install SuperSU?</text>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3865 <text>Your device does not appear to be rooted.</text>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3871 <text>Install SuperSU now?</text>
3872 </object>
3873
3874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3877 <text>This will root your device.</text>
3878 </object>
3879
3880 <object type="button">
3881 <highlight color="%highlight_color%" />
3882 <placement x="%col_center_x%" y="%row3_y%" />
3883 <font resource="font" color="%button_text_color%" />
3884 <text>Do Not Install</text>
3885 <image resource="main_button" />
3886 <action function="set">tw_page_done=1</action>
3887 </object>
3888
3889 <object type="slider">
3890 <placement x="%slider_x%" y="%slider_y%" />
3891 <resource base="slider" used="slider-used" touch="slider-touch" />
3892 <actions>
3893 <action function="set">tw_action=installsu</action>
3894 <action function="set">tw_action_text1=Installing SuperSU</action>
3895 <action function="set">tw_action_text2=</action>
3896 <action function="page">singleaction_page</action>
3897 </actions>
3898 </object>
3899
3900 <object type="text" color="%text_color%">
3901 <font resource="font" />
3902 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3903 <text>Swipe to Install</text>
3904 </object>
3905 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003906 </pages>
3907</recovery>