blob: ecc6f627b613216ada4410cd722a603c8f278a8e [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="540" height="960" />
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-25" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="qhd-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="qhd-medium-button" />
29 <resource name="sort_button" type="image" filename="qhd-sort-button" />
30 <resource name="minus_button" type="image" filename="qhd-minus-button" />
31 <resource name="plus_button" type="image" filename="qhd-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>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="277" />
48 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040049 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="270" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="332" />
53 <variable name="row3_y" value="524" />
54 <variable name="row4_y" value="716" />
55 <variable name="row_queue_y" value="625" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="180" />
59 <variable name="row3_text_y" value="220" />
60 <variable name="row4_text_y" value="260" />
61 <variable name="row5_text_y" value="300" />
62 <variable name="row6_text_y" value="340" />
63 <variable name="row7_text_y" value="380" />
64 <variable name="row8_text_y" value="420" />
65 <variable name="row9_text_y" value="460" />
66 <variable name="row10_text_y" value="500" />
67 <variable name="row11_text_y" value="540" />
68 <variable name="row12_text_y" value="580" />
69 <variable name="row13_text_y" value="620" />
70 <variable name="row14_text_y" value="660" />
71 <variable name="row15_text_y" value="700" />
72 <variable name="row16_text_y" value="740" />
73 <variable name="row17_text_y" value="780" />
74 <variable name="row18_text_y" value="820" />
75 <variable name="zip_status_y" value="696" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="720" />
78 <variable name="tz_current_y" value="895" />
79 <variable name="col_progressbar_x" value="144" />
80 <variable name="row_progressbar_y" value="850" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="145" />
83 <variable name="col3_medium_x" value="280" />
84 <variable name="col4_medium_x" value="415" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="630" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="50" />
93 <variable name="slider_y" value="820" />
94 <variable name="slider_text_y" value="870" />
95 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600100 <variable name="caps_highlight_color" value="#33B5E580" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400101 <variable name="home_button_x" value="10" />
102 <variable name="home_button_y" value="919" />
103 <variable name="back_button_x" value="466" />
104 <variable name="back_button_y" value="919" />
105 <variable name="sort_asc_text_y" value="830" />
106 <variable name="sort_asc_button_y" value="820" />
107 <variable name="sort_desc_text_y" value="880" />
108 <variable name="sort_desc_button_y" value="870" />
109 <variable name="sort_col1_button_x" value="180" />
110 <variable name="sort_col2_button_x" value="255" />
111 <variable name="sort_col3_button_x" value="330" />
112 <variable name="input_width" value="520" />
113 <variable name="input_height" value="40" />
114 <variable name="input_background_color" value="#303030" />
115 <variable name="input_cursor_color" value="#33B5E5" />
116 <variable name="input_cursor_width" value="3" />
117 <variable name="console_x" value="0" />
118 <variable name="console_width" value="540" />
119 <variable name="console_foreground" value="#A0A0A0" />
120 <variable name="console_background" value="#303030" />
121 <variable name="console_scroll" value="#303030" />
122 <variable name="console_action_height" value="380" />
123 <variable name="console_install_height" value="580" />
124 <variable name="console_installdone_height" value="380" />
125 <variable name="fileselector_x" value="5" />
126 <variable name="fileselector_width" value="530" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500127 <variable name="fileselector_install_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400128 <variable name="fileselector_header_background" value="#202020" />
129 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
130 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
131 <variable name="fileselector_header_separatorheight" value="3" />
132 <variable name="fileselector_separatorcolor" value="#505050" />
133 <variable name="fileselector_separatorheight" value="2" />
134 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600135 <variable name="fileselector_highlight_color" value="#505050" />
136 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400137 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100138 <variable name="fastscroll_linecolor" value="#808080" />
139 <variable name="fastscroll_rectcolor" value="#808080" />
140 <variable name="fastscroll_w" value="45" />
141 <variable name="fastscroll_linew" value="2" />
142 <variable name="fastscroll_rectw" value="30" />
143 <variable name="fastscroll_recth" value="52" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_x" value="5" />
145 <variable name="listbox_width" value="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600146 <variable name="listbox_tz_height" value="420" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400147 <variable name="listbox_background" value="#303030" />
148 <variable name="listbox_spacing" value="18" />
149 <variable name="sd_plus_x" value="280" />
150 <variable name="sdext_text_x" value="84" />
151 <variable name="sdext_text_y" value="150" />
152 <variable name="sdswap_button_y" value="185" />
153 <variable name="sdswap_text_x" value="84" />
154 <variable name="sdswap_text_y" value="195" />
155 <variable name="sdfilesystem_text_y" value="240" />
156 <variable name="sdfilesystem_button_y" value="280" />
157 <variable name="lock_x" value="70" />
158 <variable name="lock_y" value="250" />
159 <variable name="filemanager_select_x" value="405" />
160 <variable name="filemanager_select_y" value="825" />
161 <variable name="backup_name_y" value="420" />
162 <variable name="terminal_console_height" value="530" />
163 <variable name="terminal_text_y" value="550" />
164 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400165 <variable name="row_dst_text_y" value="540" />
166 <variable name="row_offset_text_y" value="580" />
167 <variable name="row_offset_medium_y" value="630" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500168 <variable name="button_fill_color" value="#303030" />
169 <variable name="button_fill_full_width" value="520" />
170 <variable name="button_fill_main_width" value="253" />
171 <variable name="button_fill_main_height" value="162" />
172 <variable name="button_fill_half_height" value="81" />
173 <variable name="button_fill_quarter_height" value="40" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000174 <variable name="backup_list_height" value="410" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500175 <variable name="backup_button_row1" value="600" />
176 <variable name="backup_button_row2" value="645" />
177 <variable name="mount_list_height" value="500" />
178 <variable name="mount_storage_row" value="630" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000179 <variable name="storage_list_height" value="575" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500180 <variable name="wipe_list_height" value="670" />
181 <variable name="wipe_button_y" value="475" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200182 <variable name="slidervalue_w" value="520" />
183 <variable name="slidervalue_line_clr" value="#FFFFFF" />
184 <variable name="slidervalue_slider_clr" value="#33B5E5" />
185 <variable name="slidervalue_lineh" value="2" />
186 <variable name="slidervalue_padding" value="15" />
187 <variable name="slidervalue_sliderw" value="8" />
188 <variable name="slidervalue_sliderh" value="45" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400189 </variables>
190
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100191 <mousecursor>
192 <placement w="15" h="15" />
193 <background color="#FFFF00FF" resource="cursor" />
194 <speed multiplier="1.5" />
195 </mousecursor>
196
Dees_Troy51a0e822012-09-05 15:24:24 -0400197 <templates>
198 <template name="header">
199 <background color="#000000FF" />
200
201 <object type="image">
202 <image resource="top_bar" />
203 <placement x="0" y="0" />
204 </object>
205
206 <object type="text" color="%text_color%">
207 <font resource="font" />
208 <placement x="100" y="10" />
209 <text>Team Win Recovery Project v%tw_version%</text>
210 </object>
211
212 <object type="text" color="%text_color%">
213 <condition var1="tw_simulate_actions" var2="1" />
214 <font resource="font" />
215 <placement x="100" y="40" />
216 <text>SIMULATING ACTIONS</text>
217 </object>
218
219 <object type="text" color="%text_color%">
220 <font resource="font" />
221 <placement x="100" y="70" />
222 <text>%tw_time%</text>
223 </object>
224
225 <object type="text" color="%text_color%">
226 <font resource="font" />
227 <placement x="250" y="70" />
228 <conditions>
229 <condition var1="tw_no_battery_percent" var2="0" />
230 <condition var1="tw_battery" op=">" var2="0" />
231 <condition var1="tw_battery" op="<" var2="101" />
232 </conditions>
233 <text>Battery: %tw_battery%</text>
234 </object>
235
236 <object type="button">
237 <placement x="%home_button_x%" y="%home_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="home_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">home</action>
243 </object>
244
245 <object type="button">
246 <placement x="%back_button_x%" y="%back_button_y%" />
247 <font resource="font" color="%button_text_color%" />
248 <text></text>
249 <image resource="back_icon" />
250 <condition var1="tw_busy" var2="0" />
251 <action function="key">back</action>
252 </object>
253
254 <object type="action">
255 <touch key="power" />
256 <action function="overlay">lock</action>
257 </object>
258 </template>
259
260 <template name="progress_bar">
261 <object type="progressbar">
262 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
263 <resource empty="progress_empty" full="progress_full" />
264 <data name="ui_progress" />
265 </object>
266
267 <object type="animation">
268 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
269 <resource name="progress" />
270 <speed fps="15" render="2" />
271 <loop frame="1" />
272 </object>
273 </template>
274
275 <template name="action_page_console">
276 <object type="console">
277 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
278 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
279 <font resource="fixed" />
280 </object>
281 </template>
282
283 <template name="sort_options">
284 <object type="text" color="%text_color%">
285 <font resource="font" />
286 <placement x="%col1_x%" y="%sort_asc_text_y%" />
287 <text>Sort Ascending:</text>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
292 <font resource="UItext" color="%button_text_color%" />
293 <text>Name</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=1</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
300 <font resource="UItext" color="%button_text_color%" />
301 <text>Date</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=2</action>
304 </object>
305
306 <object type="button">
307 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
308 <font resource="UItext" color="%button_text_color%" />
309 <text>Size</text>
310 <image resource="sort_button" />
311 <action function="set">tw_gui_sort_order=3</action>
312 </object>
313
314 <object type="text" color="%text_color%">
315 <font resource="font" />
316 <placement x="%col1_x%" y="%sort_desc_text_y%" />
317 <text>Sort Descending:</text>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
322 <font resource="UItext" color="%button_text_color%" />
323 <text>Name</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-1</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
330 <font resource="UItext" color="%button_text_color%" />
331 <text>Date</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-2</action>
334 </object>
335
336 <object type="button">
337 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
338 <font resource="UItext" color="%button_text_color%" />
339 <text>Size</text>
340 <image resource="sort_button" />
341 <action function="set">tw_gui_sort_order=-3</action>
342 </object>
343 </template>
344
345 <template name="footer">
346 <object type="console">
347 <slideout resource="slideout" x="240" y="920" />
348 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
349 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
350 <font resource="fixed" />
351 </object>
352 </template>
353
354 <template name="keyboardtemplate">
355 <object type="keyboard">
356 <placement x="0" y="600" />
357 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600358 <highlight color="%highlight_color%" />
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600359 <capshighlight color="%caps_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400360 <layout1>
361 <keysize height="78" width="54" />
362 <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" />
363 <row2 key01="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" />
364 <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" />
365 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" />
366 </layout1>
367 <layout2>
Ethan Yonkerc3120d42014-02-17 07:55:00 -0600368 <keysize height="78" width="54" capslock="0" revert_layout="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400369 <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" />
370 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
371 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
372 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
373 </layout2>
374 <layout3>
375 <keysize height="78" width="54" />
376 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
377 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
378 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
379 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
380 </layout3>
381 <layout4>
382 <keysize height="78" width="54" />
383 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
384 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
385 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
386 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
387 </layout4>
388 </object>
389 </template>
390 </templates>
391
392 <pages>
393 <page name="main">
394 <object type="action">
395 <actions>
396 <action function="set">tw_clear_destination=main2</action>
397 <action function="page">clear_vars</action>
398 </actions>
399 </object>
400 </page>
401
402 <page name="main2">
403 <object type="template" name="header" />
404
405 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600406 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400407 <placement x="%col1_x%" y="%row1_y%" />
408 <font resource="font" color="%button_text_color%" />
409 <text>Install</text>
410 <image resource="main_button" />
411 <actions>
412 <action function="queueclear"></action>
413 <action function="page">install</action>
414 </actions>
415 </object>
416
417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400419 <placement x="%col2_x%" y="%row1_y%" />
420 <font resource="font" color="%button_text_color%" />
421 <text>Wipe</text>
422 <image resource="main_button" />
423 <action function="page">wipe</action>
424 </object>
425
426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600427 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400428 <placement x="%col1_x%" y="%row2_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Backup</text>
431 <image resource="main_button" />
432 <action function="page">backup</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col2_x%" y="%row2_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Restore</text>
440 <image resource="main_button" />
441 <action function="page">restore</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col1_x%" y="%row3_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Mount</text>
449 <image resource="main_button" />
450 <action function="page">mount</action>
451 </object>
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col2_x%" y="%row3_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Settings</text>
458 <image resource="main_button" />
459 <action function="page">settings</action>
460 </object>
461
462
463 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600464 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400465 <placement x="%col1_x%" y="%row4_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Advanced</text>
468 <image resource="main_button" />
469 <action function="page">advanced</action>
470 </object>
471
472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400474 <placement x="%col2_x%" y="%row4_y%" />
475 <font resource="font" color="%button_text_color%" />
476 <text>Reboot</text>
477 <image resource="main_button" />
478 <action function="page">reboot</action>
479 </object>
480
481 <object type="template" name="footer" />
482 </page>
483
484 <page name="install">
485 <object type="template" name="header" />
486
487 <object type="text" color="%text_color%">
488 <font resource="font" />
489 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
490 <text>Select Zip to Install</text>
491 </object>
492
493 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500494 <highlight color="%highlight_color%" />
495 <fill color="%button_fill_color%" />
496 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
497 <font resource="font" color="%button_text_color%" />
498 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
499 <actions>
500 <action function="set">tw_back=install</action>
501 <action function="page">selectstorage</action>
502 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400503 </object>
504
505 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600506 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500507 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400508 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100509 <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 -0400510 <text>%tw_zip_location%</text>
511 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
512 <sort name="tw_gui_sort_order" />
513 <icon folder="folder_icon" file="file_icon" />
514 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600515 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400516 <filter extn=".zip" folders="1" files="1" />
517 <path name="tw_zip_location" default="/sdcard" />
518 <data name="tw_filename" />
519 <selection name="tw_file" />
520 </object>
521
522 <object type="template" name="sort_options" />
523
524 <object type="action">
525 <condition var1="tw_filename" op="modified" />
526 <actions>
527 <action function="queuezip"></action>
528 <action function="page">flash_confirm</action>
529 </actions>
530 </object>
531
532 <object type="action">
533 <touch key="back" />
534 <action function="page">main</action>
535 </object>
536
537 <object type="action">
538 <touch key="home" />
539 <action function="page">main</action>
540 </object>
541
542 <object type="template" name="footer" />
543 </page>
544
545 <page name="flash_confirm">
546 <object type="template" name="header" />
547
548 <object type="text" color="%text_color%">
549 <font resource="font" />
550 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
551 <text>This operation may install incompatible</text>
552 </object>
553
554 <object type="text" color="%text_color%">
555 <font resource="font" />
556 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
557 <text>software and render your device unusable.</text>
558 </object>
559
560 <object type="text" color="%text_color%">
561 <font resource="font" />
562 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
563 <text>Folder:</text>
564 </object>
565
566 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400567 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
569 <text>%tw_zip_location%</text>
570 </object>
571
572 <object type="text" color="%text_color%">
573 <font resource="font" />
574 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
575 <text>File to flash:</text>
576 </object>
577
578 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400579 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400580 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
581 <text>%tw_file%</text>
582 </object>
583
584 <object type="text" color="%text_color%">
585 <font resource="font" />
586 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
587 <text>Press back to cancel adding this zip.</text>
588 </object>
589
590 <object type="checkbox">
591 <placement x="%col1_x%" y="%row8_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_signed_zip_verify" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400599 <condition var1="tw_has_injecttwrp" var2="1" />
600 <placement x="%col1_x%" y="%row10_text_y%" />
601 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400602 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400603 <data variable="tw_inject_after_zip" />
604 <image checked="checkbox_true" unchecked="checkbox_false" />
605 </object>
606
607 <object type="text" color="%text_color%">
608 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400609 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400610 <text>File %tw_zip_queue_count% of max of 10</text>
611 </object>
612
613 <object type="slider">
614 <placement x="%slider_x%" y="%slider_y%" placement="5" />
615 <resource base="slider" used="slider-used" touch="slider-touch" />
616 <action function="flash">flash_zip</action>
617 </object>
618
619 <object type="text" color="%text_color%">
620 <font resource="font" />
621 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
622 <text>Swipe to Confirm Flash</text>
623 </object>
624
625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
628 <placement x="%col1_x%" y="%row_queue_y%" />
629 <font resource="font" color="%button_text_color%" />
630 <text>Add More Zips</text>
631 <image resource="main_button" />
632 <action function="page">install</action>
633 </object>
634
635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400637 <placement x="%col2_x%" y="%row_queue_y%" />
638 <font resource="font" color="%button_text_color%" />
639 <text>Clear Zip Queue</text>
640 <image resource="main_button" />
641 <actions>
642 <action function="queueclear"></action>
643 <action function="page">install</action>
644 </actions>
645 </object>
646
647 <object type="action">
648 <touch key="back" />
649 <actions>
650 <action function="cancelzip"></action>
651 <action function="page">install</action>
652 </actions>
653 </object>
654
655 <object type="action">
656 <touch key="home" />
657 <action function="page">main</action>
658 </object>
659
660 <object type="template" name="footer" />
661 </page>
662
663 <page name="flash_zip">
664 <object type="template" name="header" />
665
666 <object type="console">
667 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
668 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
669 <font resource="fixed" />
670 </object>
671
672 <object type="text" color="%text_color%">
673 <font resource="font" />
674 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
675 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
676 </object>
677
678 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400679 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400680 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
681 <text>%tw_filename%</text>
682 </object>
683
684 <object type="template" name="progress_bar" />
685
686 <object type="action">
687 <condition var1="tw_operation_state" var2="1" />
688 <action function="page">flash_done</action>
689 </object>
690 </page>
691
692 <page name="flash_done">
693 <object type="template" name="header" />
694
695 <object type="text" color="%text_color%">
696 <font resource="font" />
697 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
698 <text>Zip Install Complete</text>
699 </object>
700
701 <object type="console">
702 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
703 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
704 <font resource="fixed" />
705 </object>
706
707 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600708 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400709 <placement x="%col1_x%" y="%row4_y%" />
710 <font resource="font" color="%button_text_color%" />
711 <text>Wipe cache/dalvik</text>
712 <image resource="main_button" />
713 <actions>
714 <action function="set">tw_back=flash_done</action>
715 <action function="set">tw_action=wipe</action>
716 <action function="set">tw_action_param=/cache</action>
717 <action function="set">tw_has_action2=1</action>
718 <action function="set">tw_action2=wipe</action>
719 <action function="set">tw_action2_param=dalvik</action>
720 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
721 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
722 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
723 <action function="set">tw_slider_text=Swipe to Wipe</action>
724 <action function="page">confirm_action</action>
725 </actions>
726 </object>
727
728 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600729 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400730 <placement x="%col2_x%" y="%row4_y%" />
731 <font resource="font" color="%button_text_color%" />
732 <text>Reboot System</text>
733 <image resource="main_button" />
734 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400735 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <action function="set">tw_action=reboot</action>
737 <action function="set">tw_action_param=system</action>
738 <action function="set">tw_has_action2=0</action>
739 <action function="set">tw_text1=No OS Installed! Are you</action>
740 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400741 <action function="set">tw_text3=</action>
742 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400744 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400745 <action function="set">tw_complete_text1=Rebooting...</action>
746 <action function="set">tw_slider_text=Swipe to Reboot</action>
747 <action function="page">rebootcheck</action>
748 </actions>
749 </object>
750
751 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600752 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400753 <placement x="%col_center_x%" y="%row3_y%" />
754 <font resource="font" color="%button_text_color%" />
755 <text>Home</text>
756 <image resource="main_button" />
757 <actions>
758 <action function="set">tw_clear_destination=main2</action>
759 <action function="page">clear_vars</action>
760 </actions>
761 </object>
762
763 <object type="text" color="%text_fail_color%">
764 <condition var1="tw_operation_status" op="!=" var2="0" />
765 <font resource="font" />
766 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
767 <text>Failed</text>
768 </object>
769
770 <object type="text" color="%text_success_color%">
771 <condition var1="tw_operation_status" var2="0" />
772 <font resource="font" />
773 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
774 <text>Successful</text>
775 </object>
776
777 <object type="action">
778 <touch key="back" />
779 <actions>
780 <action function="set">tw_clear_destination=install</action>
781 <action function="page">clear_vars</action>
782 </actions>
783 </object>
784
785 <object type="action">
786 <touch key="home" />
787 <actions>
788 <action function="set">tw_clear_destination=main2</action>
789 <action function="page">clear_vars</action>
790 </actions>
791 </object>
792 </page>
793
794 <page name="clear_vars">
795 <object type="action">
796 <action function="set">tw_operation_state=0</action>
797 <action function="set">tw_text1=</action>
798 <action function="set">tw_text2=</action>
799 <action function="set">tw_text3=</action>
800 <action function="set">tw_text4=</action>
801 <action function="set">tw_action_text1=</action>
802 <action function="set">tw_action_text2=</action>
803 <action function="set">tw_action_param=</action>
804 <action function="set">tw_has_action2=0</action>
805 <action function="set">tw_action2=</action>
806 <action function="set">tw_action2_param=</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -0400807 <action function="set">tw_has_cancel=0</action>
808 <action function="set">tw_cancel_action=</action>
809 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400810 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400811 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400812 <action function="page">%tw_clear_destination%</action>
813 </object>
814 </page>
815
816 <page name="confirm_action">
817 <object type="template" name="header" />
818
819 <object type="text" color="%text_color%">
820 <font resource="font" />
821 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
822 <text>%tw_text1%</text>
823 </object>
824
825 <object type="text" color="%text_color%">
826 <font resource="font" />
827 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
828 <text>%tw_text2%</text>
829 </object>
830
831 <object type="text" color="%text_color%">
832 <font resource="font" />
833 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
834 <text>%tw_text3%</text>
835 </object>
836
837 <object type="text" color="%text_color%">
838 <font resource="font" />
839 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
840 <text>%tw_text4%</text>
841 </object>
842
843 <object type="text" color="%text_color%">
844 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400845 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400846 <text>Press back button to cancel.</text>
847 </object>
848
849 <object type="slider">
850 <placement x="%slider_x%" y="%slider_y%" />
851 <resource base="slider" used="slider-used" touch="slider-touch" />
852 <action function="page">action_page</action>
853 </object>
854
855 <object type="text" color="%text_color%">
856 <font resource="font" />
857 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
858 <text>%tw_slider_text%</text>
859 </object>
860
861 <object type="action">
862 <touch key="back" />
863 <actions>
864 <action function="set">tw_clear_destination=%tw_back%</action>
865 <action function="page">clear_vars</action>
866 </actions>
867 </object>
868
869 <object type="action">
870 <touch key="home" />
871 <action function="page">main</action>
872 </object>
873
874 <object type="template" name="footer" />
875 </page>
876
877 <page name="action_page">
878 <object type="template" name="header" />
879
880 <object type="text" color="%text_color%">
881 <font resource="font" />
882 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
883 <text>%tw_action_text1%</text>
884 </object>
885
886 <object type="text" color="%text_color%">
887 <font resource="font" />
888 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
889 <text>%tw_action_text2%</text>
890 </object>
891
892 <object type="template" name="action_page_console" />
893
Dees_Troyc51f1f92012-09-20 15:32:13 -0400894 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600895 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -0400896 <condition var1="tw_has_cancel" var2="1" />
897 <placement x="%col_center_medium_x%" y="%row4_y%" />
898 <font resource="font" color="%button_text_color%" />
899 <text>Cancel</text>
900 <image resource="medium_button" />
901 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
902 </object>
903
Dees_Troy51a0e822012-09-05 15:24:24 -0400904 <object type="template" name="progress_bar" />
905
906 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400907 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400908 <actions>
909 <action function="page">action_complete</action>
910 </actions>
911 </object>
912
913 <object type="action">
914 <condition var1="tw_has_action2" var2="0" />
915 <actions>
916 <action function="%tw_action%">%tw_action_param%</action>
917 </actions>
918 </object>
919
920 <object type="action">
921 <condition var1="tw_has_action2" var2="1" />
922 <actions>
923 <action function="%tw_action%">%tw_action_param%</action>
924 <action function="%tw_action2%">%tw_action2_param%</action>
925 </actions>
926 </object>
927 </page>
928
Dees_Troy82111022013-02-21 21:13:09 +0000929 <page name="singleaction_page">
930 <object type="template" name="header" />
931
932 <object type="text" color="%text_color%">
933 <font resource="font" />
934 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
935 <text>%tw_action_text1%</text>
936 </object>
937
938 <object type="text" color="%text_color%">
939 <font resource="font" />
940 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
941 <text>%tw_action_text2%</text>
942 </object>
943
944 <object type="template" name="action_page_console" />
945
946 <object type="template" name="progress_bar" />
947
948 <object type="action">
949 <condition var1="tw_operation_state" var2="1" />
950 <actions>
951 <action function="set">tw_page_done=1</action>
952 </actions>
953 </object>
954
955 <object type="action">
956 <condition var1="tw_has_action2" var2="0" />
957 <actions>
958 <action function="%tw_action%">%tw_action_param%</action>
959 </actions>
960 </object>
961
962 <object type="action">
963 <condition var1="tw_has_action2" var2="1" />
964 <actions>
965 <action function="%tw_action%">%tw_action_param%</action>
966 <action function="%tw_action2%">%tw_action2_param%</action>
967 </actions>
968 </object>
969 </page>
970
Dees_Troy51a0e822012-09-05 15:24:24 -0400971 <page name="action_complete">
972 <object type="template" name="header" />
973
974 <object type="text" color="%text_color%">
975 <font resource="font" />
976 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
977 <text>%tw_complete_text1%</text>
978 </object>
979
980 <object type="text" color="%text_fail_color%">
981 <condition var1="tw_operation_status" op="!=" var2="0" />
982 <font resource="font" />
983 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
984 <text>Failed</text>
985 </object>
986
987 <object type="text" color="%text_success_color%">
988 <condition var1="tw_operation_status" var2="0" />
989 <font resource="font" />
990 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
991 <text>Successful</text>
992 </object>
993
994 <object type="template" name="action_page_console" />
995
996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600997 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400998 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400999 <placement x="%col_center_x%" y="%row4_y%" />
1000 <font resource="font" color="%button_text_color%" />
1001 <text>Back</text>
1002 <image resource="main_button" />
1003 <actions>
1004 <action function="set">tw_clear_destination=%tw_back%</action>
1005 <action function="page">clear_vars</action>
1006 </actions>
1007 </object>
1008
Dees_Troya3f81542012-10-08 10:58:53 -04001009 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001010 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001011 <condition var1="tw_show_reboot" var2="1" />
1012 <placement x="%col_center_x%" y="%row4_y%" />
1013 <font resource="font" color="%button_text_color%" />
1014 <text>Reboot System</text>
1015 <image resource="main_button" />
1016 <actions>
1017 <action function="set">tw_back=main2</action>
1018 <action function="set">tw_action=reboot</action>
1019 <action function="set">tw_action_param=system</action>
1020 <action function="set">tw_has_action2=0</action>
1021 <action function="set">tw_text1=No OS Installed! Are you</action>
1022 <action function="set">tw_text2=sure you wish to reboot?</action>
1023 <action function="set">tw_text3=</action>
1024 <action function="set">tw_text4=</action>
1025 <action function="set">tw_action_text1=Rebooting...</action>
1026 <action function="set">tw_action_text2=</action>
1027 <action function="set">tw_complete_text1=Rebooting...</action>
1028 <action function="set">tw_slider_text=Swipe to Reboot</action>
1029 <action function="page">rebootcheck</action>
1030 </actions>
1031 </object>
1032
Dees_Troy51a0e822012-09-05 15:24:24 -04001033 <object type="action">
1034 <touch key="home" />
1035 <actions>
1036 <action function="set">tw_clear_destination=main2</action>
1037 <action function="page">clear_vars</action>
1038 </actions>
1039 </object>
1040
1041 <object type="action">
1042 <touch key="back" />
1043 <actions>
1044 <action function="set">tw_clear_destination=%tw_back%</action>
1045 <action function="page">clear_vars</action>
1046 </actions>
1047 </object>
1048 </page>
1049
1050 <page name="filecheck">
1051 <object type="action">
1052 <action function="fileexists">%tw_filecheck%</action>
1053 </object>
1054
1055 <object type="action">
1056 <conditions>
1057 <condition var1="tw_operation_state" var2="1" />
1058 <condition var1="tw_operation_status" var2="0" />
1059 </conditions>
1060 <actions>
1061 <action function="set">tw_fileexists=1</action>
1062 <action function="page">%tw_existpage%</action>
1063 </actions>
1064 </object>
1065
1066 <object type="action">
1067 <conditions>
1068 <condition var1="tw_operation_state" var2="1" />
1069 <condition var1="tw_operation_status" var2="1" />
1070 </conditions>
1071 <actions>
1072 <action function="set">tw_fileexists=0</action>
1073 <action function="page">%tw_notexistpage%</action>
1074 </actions>
1075 </object>
1076 </page>
1077
1078 <page name="rebootcheck">
1079 <object type="action">
1080 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1081 <action function="reboot">%tw_action_param%</action>
1082 </object>
1083
1084 <object type="action">
1085 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1086 <action function="page">confirm_action</action>
1087 </object>
1088 </page>
1089
1090 <page name="wipe">
1091 <object type="template" name="header" />
1092
1093 <object type="text" color="%text_color%">
1094 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001095 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001096 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001097 </object>
1098
1099 <object type="text" color="%text_color%">
1100 <font resource="font" />
1101 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1102 <text>Wipes Data, Cache, and Dalvik</text>
1103 </object>
1104
1105 <object type="text" color="%text_color%">
1106 <condition var1="tw_has_data_media" var2="0" />
1107 <font resource="font" />
1108 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1109 <text>.android_secure</text>
1110 </object>
1111
1112 <object type="text" color="%text_color%">
1113 <condition var1="tw_has_data_media" var2="1" />
1114 <font resource="font" />
1115 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1116 <text>(not including internal storage)</text>
1117 </object>
1118
1119 <object type="text" color="%text_color%">
1120 <condition var1="tw_has_sdext_partition" var2="1" />
1121 <font resource="font" />
1122 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1123 <text>SD-EXT</text>
1124 </object>
1125
1126 <object type="text" color="%text_color%">
1127 <font resource="font" />
1128 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1129 <text>Most of the time this is</text>
1130 </object>
1131
1132 <object type="text" color="%text_color%">
1133 <font resource="font" />
1134 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1135 <text>the only wipe that you need.</text>
1136 </object>
1137
1138 <object type="text" color="%text_color%">
1139 <font resource="font" />
1140 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1141 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 </object>
1143
1144 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001145 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001146 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001147 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001150 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 </object>
1152
1153 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001154 <conditions>
1155 <condition var1="tw_has_internal" var2="1" />
1156 <condition var1="tw_has_data_media" var2="1" />
1157 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <highlight color="%highlight_color%" />
1159 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001160 <font resource="font" color="%button_text_color%" />
1161 <text>Format Data</text>
1162 <image resource="main_button" />
1163 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001165 </actions>
1166 </object>
1167
Dees_Troya13d74f2013-03-24 08:54:55 -05001168 <object type="slider">
1169 <placement x="%slider_x%" y="%slider_y%" />
1170 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001171 <actions>
1172 <action function="set">tw_back=wipe</action>
1173 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001174 <action function="set">tw_action_param=data</action>
1175 <action function="set">tw_action_text1=Factory Reset...</action>
1176 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1177 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001178 </actions>
1179 </object>
1180
Dees_Troya13d74f2013-03-24 08:54:55 -05001181 <object type="text" color="%text_color%">
1182 <font resource="font" />
1183 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1184 <text>Swipe to Factory Reset</text>
1185 </object>
1186
1187 <object type="action">
1188 <touch key="back" />
1189 <action function="page">main</action>
1190 </object>
1191
1192 <object type="action">
1193 <touch key="home" />
1194 <action function="page">main</action>
1195 </object>
1196
1197 <object type="template" name="footer" />
1198 </page>
1199
1200 <page name="advancedwipe">
1201 <object type="template" name="header" />
1202
1203 <object type="text" color="%text_color%">
1204 <font resource="font" />
1205 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1206 <text>Wipe Menu</text>
1207 </object>
1208
1209 <object type="partitionlist">
1210 <highlight color="%fileselector_highlight_color%" />
1211 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1212 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1213 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1214 <text>Select Partitions to Wipe:</text>
1215 <icon selected="checkbox_true" unselected="checkbox_false" />
1216 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1217 <background color="%listbox_background%" />
1218 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1219 <data name="tw_wipe_list" />
1220 <listtype name="wipe" />
1221 </object>
1222
1223 <object type="slider">
1224 <placement x="%slider_x%" y="%slider_y%" />
1225 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001228 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001229 <action function="set">tw_action_param=LIST</action>
1230 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1231 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1232 <action function="set">tw_complete_text1=Wipe Complete</action>
1233 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 </actions>
1235 </object>
1236
Dees_Troya13d74f2013-03-24 08:54:55 -05001237 <object type="text" color="%text_color%">
1238 <font resource="font" />
1239 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1240 <text>Swipe to Wipe</text>
1241 </object>
1242
Dees_Troy51a0e822012-09-05 15:24:24 -04001243 <object type="action">
1244 <touch key="home" />
1245 <action function="page">main</action>
1246 </object>
1247
1248 <object type="action">
1249 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001250 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001251 </object>
1252
1253 <object type="template" name="footer" />
1254 </page>
1255
Dees_Troya13d74f2013-03-24 08:54:55 -05001256 <page name="formatdata">
1257 <object type="template" name="header" />
1258
1259 <object type="text" color="%text_color%">
1260 <font resource="font" />
1261 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1262 <text>Format Data will wipe all of your apps,</text>
1263 </object>
1264
1265 <object type="text" color="%text_color%">
1266 <font resource="font" />
1267 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1268 <text>backups, pictures, videos, media, and</text>
1269 </object>
1270
1271 <object type="text" color="%text_color%">
1272 <font resource="font" />
1273 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1274 <text>removes encryption on internal storage.</text>
1275 </object>
1276
1277 <object type="text" color="%text_color%">
1278 <font resource="font" />
1279 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1280 <text>This cannot be undone. Press back to cancel.</text>
1281 </object>
1282
1283 <object type="text" color="%text_color%">
1284 <font resource="font" />
1285 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1286 <text>Type yes to continue.</text>
1287 </object>
1288
1289 <object type="input">
1290 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1291 <background color="%input_background_color%" />
1292 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1293 <font resource="font" color="%text_color%" />
1294 <text>%tw_confirm_formatdata%</text>
1295 <data name="tw_confirm_formatdata" />
1296 <restrict minlen="3" maxlen="3" allow="yes" />
1297 <action function="page">formatdata_confirm</action>
1298 </object>
1299
1300 <object type="template" name="keyboardtemplate" />
1301
1302 <object type="action">
1303 <touch key="home" />
1304 <action function="page">main</action>
1305 </object>
1306
1307 <object type="action">
1308 <touch key="back" />
1309 <action function="page">wipe</action>
1310 </object>
1311
1312 <object type="template" name="footer" />
1313 </page>
1314
1315 <page name="formatdata_confirm">
1316 <object type="action">
1317 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1318 <actions>
1319 <action function="set">tw_back=formatdata</action>
1320 <action function="set">tw_action=wipe</action>
1321 <action function="set">tw_action_param=DATAMEDIA</action>
1322 <action function="set">tw_action_text1=Formatting Data...</action>
1323 <action function="set">tw_complete_text1=Data Format Complete</action>
1324 <action function="page">action_page</action>
1325 </actions>
1326 </object>
1327
1328 <object type="action">
1329 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1330 <action function="page">formatdata</function>
1331 </object>
1332 </page>
1333
Dees_Troy51a0e822012-09-05 15:24:24 -04001334 <page name="backup">
1335 <object type="template" name="header" />
1336
Dees_Troy83bd4832013-05-04 12:39:56 +00001337 <object type="button">
1338 <highlight color="%highlight_color%" />
1339 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001340 <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 +00001341 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001342 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001343 <actions>
1344 <action function="set">tw_fileexists=0</action>
1345 <action function="page">backupname1</action>
1346 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001347 </object>
1348
Dees_Troya13d74f2013-03-24 08:54:55 -05001349 <object type="partitionlist">
1350 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001351 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001352 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1353 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1354 <text>Select Partitions to Back Up:</text>
1355 <icon selected="checkbox_true" unselected="checkbox_false" />
1356 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1357 <background color="%listbox_background%" />
1358 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1359 <data name="tw_backup_list" />
1360 <listtype name="backup" />
1361 </object>
1362
1363 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <conditions>
1365 <condition var1="tw_include_encrypted_backup" var2="1" />
1366 <condition var1="tw_encrypt_backup" var2="0" />
1367 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001368 <highlight color="%highlight_color%" />
1369 <fill color="%button_fill_color%" />
1370 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1371 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001372 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001373 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001374 <action function="page">backupencryption</action>
1375 </actions>
1376 </object>
1377
1378 <object type="button">
1379 <conditions>
1380 <condition var1="tw_include_encrypted_backup" var2="1" />
1381 <condition var1="tw_encrypt_backup" var2="1" />
1382 </conditions>
1383 <highlight color="%highlight_color%" />
1384 <fill color="%button_fill_color%" />
1385 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1386 <font resource="font" color="%button_text_color%" />
1387 <text>Using Encryption</text>
1388 <actions>
1389 <action function="set">tw_password_not_match=0</action>
1390 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001391 </actions>
1392 </object>
1393
1394 <object type="button">
1395 <highlight color="%highlight_color%" />
1396 <fill color="%button_fill_color%" />
1397 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1398 <font resource="font" color="%button_text_color%" />
1399 <text>Refresh Sizes</text>
Matt Mowercd8169c2014-04-02 04:24:08 -05001400 <actions>
1401 <action function="refreshsizes"></action>
1402 <action function="page">backup</action>
1403 </actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001404 </object>
1405
1406 <object type="button">
1407 <highlight color="%highlight_color%" />
1408 <fill color="%button_fill_color%" />
1409 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1410 <font resource="font" color="%button_text_color%" />
1411 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1412 <actions>
1413 <action function="set">tw_back=backup</action>
1414 <action function="page">selectstorage</action>
1415 </actions>
1416 </object>
1417
1418 <object type="checkbox">
1419 <placement x="%col1_x%" y="%row15_text_y%" />
1420 <font resource="font" color="%text_color%" />
1421 <text>Enable compression.</text>
1422 <data variable="tw_use_compression" />
1423 <image checked="checkbox_true" unchecked="checkbox_false" />
1424 </object>
1425
1426 <object type="checkbox">
1427 <placement x="%col1_x%" y="%row16_text_y%" />
1428 <font resource="font" color="%text_color%" />
1429 <text>Skip MD5 generation during backup.</text>
1430 <data variable="tw_skip_md5_generate" />
1431 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001432 </object>
1433
1434 <object type="slider">
1435 <placement x="%slider_x%" y="slider_y" />
1436 <resource base="slider" used="slider-used" touch="slider-touch" />
1437 <action function="page">backup_run</action>
1438 </object>
1439
1440 <object type="text" color="%text_color%">
1441 <font resource="font" />
1442 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1443 <text>Swipe to Back Up</text>
1444 </object>
1445
Dees_Troy51a0e822012-09-05 15:24:24 -04001446 <object type="action">
1447 <touch key="home" />
1448 <action function="page">main</action>
1449 </object>
1450
1451 <object type="action">
1452 <touch key="back" />
1453 <action function="page">main</action>
1454 </object>
1455
1456 <object type="template" name="footer" />
1457 </page>
1458
1459 <page name="backupname1">
1460 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001461 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1462 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001463 </object>
1464
1465 <object type="action">
1466 <action function="page">backupname2</function>
1467 </object>
1468 </page>
1469
1470 <page name="backupname2">
1471 <object type="template" name="header" />
1472
1473 <object type="text" color="%text_color%">
1474 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1475 <font resource="font" />
1476 <text>Please Enter a Backup Name</text>
1477 </object>
1478
1479 <object type="input">
1480 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1481 <background color="%input_background_color%" />
1482 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1483 <font resource="font" color="%text_color%" />
1484 <text>%tw_backup_name%</text>
1485 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001486 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001487 <actions>
1488 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1489 <action function="set">tw_existpage=backupname2</action>
1490 <action function="set">tw_notexistpage=backup</action>
1491 <action function="page">filecheck</action>
1492 </actions>
1493 </object>
1494
1495 <object type="text" color="%text_fail_color%">
1496 <condition var1="tw_fileexists" var2="1" />
1497 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1498 <font resource="font" />
1499 <text>A backup with that name already exists!</text>
1500 </object>
1501
1502 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001503 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001504 <placement x="%col1_x%" y="%row2_y%" />
1505 <font resource="font" color="%button_text_color%" />
1506 <text>Append Date</text>
1507 <image resource="main_button" />
1508 <action function="appenddatetobackupname"></action>
1509 </object>
1510
1511 <object type="button">
1512 <highlight color="%highlight_color%" />
1513 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001514 <font resource="font" color="%button_text_color%" />
1515 <text>Cancel</text>
1516 <image resource="main_button" />
1517 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001518 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001519 <action function="page">backup</action>
1520 </actions>
1521 </object>
1522
1523 <object type="template" name="keyboardtemplate" />
1524
1525 <object type="action">
1526 <touch key="home" />
1527 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001528 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001529 <action function="page">main</action>
1530 </actions>
1531 </object>
1532
1533 <object type="action">
1534 <touch key="back" />
1535 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001536 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001537 <action function="page">backup</action>
1538 </actions>
1539 </object>
1540
1541 <object type="template" name="footer" />
1542 </page>
1543
Dees_Troy83bd4832013-05-04 12:39:56 +00001544 <page name="backupencryption">
1545 <object type="template" name="header" />
1546
1547 <object type="text" color="%text_color%">
1548 <font resource="font" />
1549 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1550 <text>Encrypt your backup?</text>
1551 </object>
1552
1553 <object type="text" color="%text_color%">
1554 <font resource="font" />
1555 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1556 <text>Please Enter A Password:</text>
1557 </object>
1558
1559 <object type="input">
1560 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1561 <background color="%input_background_color%" />
1562 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1563 <font resource="font" color="%text_color%" />
1564 <text>%tw_backup_encrypt_display%</text>
1565 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1566 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1567 <action function="page">backupencryption2</action>
1568 </object>
1569
1570 <object type="text" color="%text_fail_color%">
1571 <condition var1="tw_password_not_match" var2="1" />
1572 <font resource="font" />
1573 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1574 <text>Passwords Do Not Match</text>
1575 </object>
1576
1577 <object type="button">
1578 <highlight color="%highlight_color%" />
1579 <placement x="%col_center_x%" y="%row2_y%" />
1580 <font resource="font" color="%button_text_color%" />
1581 <text>Cancel</text>
1582 <image resource="main_button" />
1583 <actions>
1584 <action function="set">tw_encrypt_backup=0</action>
1585 <action function="set">tw_backup_password=</action>
1586 <action function="set">tw_backup_password2=</action>
1587 <action function="set">tw_backup_encrypt_display=</action>
1588 <action function="set">tw_backup_encrypt_display2=</action>
1589 <action function="page">backup</action>
1590 </actions>
1591 </object>
1592
1593 <object type="template" name="keyboardtemplate" />
1594
1595 <object type="action">
1596 <touch key="home" />
1597 <action function="page">main</action>
1598 </object>
1599
1600 <object type="action">
1601 <touch key="back" />
1602 <action function="page">backup</action>
1603 </object>
1604
1605 <object type="template" name="footer" />
1606 </page>
1607
1608 <page name="backupencryption2">
1609 <object type="template" name="header" />
1610
1611 <object type="text" color="%text_color%">
1612 <font resource="font" />
1613 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1614 <text>Encrypt your backup?</text>
1615 </object>
1616
1617 <object type="text" color="%text_color%">
1618 <font resource="font" />
1619 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1620 <text>Please Enter Password Again:</text>
1621 </object>
1622
1623 <object type="input">
1624 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1625 <background color="%input_background_color%" />
1626 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1627 <font resource="font" color="%text_color%" />
1628 <text>%tw_backup_encrypt_display2%</text>
1629 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1630 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1631 <actions>
1632 <action function="page">checkbackuppassword</action>
1633 </actions>
1634 </object>
1635
1636 <object type="button">
1637 <highlight color="%highlight_color%" />
1638 <placement x="%col_center_x%" y="%row2_y%" />
1639 <font resource="font" color="%button_text_color%" />
1640 <text>Cancel</text>
1641 <image resource="main_button" />
1642 <actions>
1643 <action function="set">tw_encrypt_backup=0</action>
1644 <action function="set">tw_backup_password=</action>
1645 <action function="set">tw_backup_password2=</action>
1646 <action function="set">tw_backup_encrypt_display=</action>
1647 <action function="set">tw_backup_encrypt_display2=</action>
1648 <action function="page">backup</action>
1649 </actions>
1650 </object>
1651
1652 <object type="template" name="keyboardtemplate" />
1653
1654 <object type="action">
1655 <touch key="home" />
1656 <action function="page">main</action>
1657 </object>
1658
1659 <object type="action">
1660 <touch key="back" />
1661 <action function="page">backup</action>
1662 </object>
1663
1664 <object type="template" name="footer" />
1665 </page>
1666
1667 <page name="checkbackuppassword">
1668 <object type="action">
1669 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1670 <actions>
1671 <action function="set">tw_encrypt_backup=1</action>
1672 <action function="page">backup</action>
1673 </actions>
1674 </object>
1675
1676 <object type="action">
1677 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1678 <actions>
1679 <action function="set">tw_encrypt_backup=0</action>
1680 <action function="set">tw_password_not_match=1</action>
1681 <action function="set">tw_backup_password=</action>
1682 <action function="set">tw_backup_password2=</action>
1683 <action function="set">tw_backup_encrypt_display=</action>
1684 <action function="set">tw_backup_encrypt_display2=</action>
1685 <action function="page">backupencryption</action>
1686 </actions>
1687 </object>
1688 </page>
1689
Dees_Troy51a0e822012-09-05 15:24:24 -04001690 <page name="backup_run">
1691 <object type="template" name="header" />
1692
1693 <object type="text" color="%text_color%">
1694 <font resource="font" />
1695 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1696 <text>%tw_operation% %tw_partition%</text>
1697 </object>
1698
1699 <object type="template" name="action_page_console" />
1700
1701 <object type="template" name="progress_bar" />
1702
1703 <object type="action">
1704 <action function="nandroid">backup</action>
1705 </object>
1706
1707 <object type="action">
1708 <condition var1="tw_operation_state" var2="1" />
1709 <actions>
1710 <action function="set">tw_back=backup</action>
1711 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001712 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001713 <action function="page">action_complete</action>
1714 </actions>
1715 </object>
1716 </page>
1717
1718 <page name="restore">
1719 <object type="template" name="header" />
1720
1721 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001722 <highlight color="%highlight_color%" />
1723 <fill color="%button_fill_color%" />
1724 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1725 <font resource="font" color="%button_text_color%" />
1726 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1727 <actions>
1728 <action function="set">tw_back=restore</action>
1729 <action function="page">selectstorage</action>
1730 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001731 </object>
1732
1733 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001734 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001735 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001736 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001737 <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 -04001738 <text>Select Package to Restore:</text>
1739 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1740 <sort name="tw_gui_sort_order" />
1741 <icon folder="folder_icon" file="file_icon" />
1742 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001743 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001744 <filter folders="1" files="0" nav="0" />
1745 <path name="tw_backups_folder" />
1746 <data name="tw_restore" default="" />
1747 <selection name="tw_restore_name" />
1748 </object>
1749
1750 <object type="template" name="sort_options" />
1751
1752 <object type="action">
1753 <condition var1="tw_restore" op="modified" />
1754 <actions>
1755 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001756 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001757 </actions>
1758 </object>
1759
1760 <object type="action">
1761 <touch key="home" />
1762 <action function="page">main</action>
1763 </object>
1764
1765 <object type="action">
1766 <touch key="back" />
1767 <action function="page">main</action>
1768 </object>
1769
1770 <object type="template" name="footer" />
1771 </page>
1772
Dees_Troy83bd4832013-05-04 12:39:56 +00001773 <page name="restore_read">
1774 <object type="action">
1775 <condition var1="tw_restore_encrypted" var2="1" />
1776 <actions>
1777 <action function="set">tw_password_fail=0</action>
1778 <action function="page">restore_decrypt</action>
1779 </actions>
1780 </object>
1781
1782 <object type="action">
1783 <condition var1="tw_restore_encrypted" var2="0" />
1784 <actions>
1785 <action function="page">restore_select</action>
1786 </actions>
1787 </object>
1788 </page>
1789
1790 <page name="restore_decrypt">
1791 <object type="template" name="header" />
1792
1793 <object type="text" color="%text_color%">
1794 <font resource="font" />
1795 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1796 <text>Backup Encrypted</text>
1797 </object>
1798
1799 <object type="text" color="%text_color%">
1800 <font resource="font" />
1801 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1802 <text>Please Enter Your Password:</text>
1803 </object>
1804
1805 <object type="input">
1806 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1807 <background color="%input_background_color%" />
1808 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1809 <font resource="font" color="%text_color%" />
1810 <text>%tw_restore_display%</text>
1811 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1812 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1813 <actions>
1814 <action function="page">try_restore_decrypt</action>
1815 </actions>
1816 </object>
1817
1818 <object type="text" color="%text_fail_color%">
1819 <condition var1="tw_password_fail" var2="1" />
1820 <font resource="font" />
1821 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1822 <text>Password Failed, Please Try Again</text>
1823 </object>
1824
1825 <object type="button">
1826 <highlight color="%highlight_color%" />
1827 <placement x="%col1_x%" y="%row2_y%" />
1828 <font resource="font" color="%button_text_color%" />
1829 <text>Cancel</text>
1830 <image resource="main_button" />
1831 <actions>
1832 <action function="set">tw_page_done=1</action>
1833 <action function="page">restore</action>
1834 </actions>
1835 </object>
1836
1837 <object type="button">
1838 <highlight color="%highlight_color%" />
1839 <placement x="%col2_x%" y="%row2_y%" />
1840 <font resource="font" color="%button_text_color%" />
1841 <text>Delete</text>
1842 <image resource="main_button" />
1843 <actions>
1844 <action function="set">tw_back=restore</action>
1845 <action function="set">tw_action=cmd</action>
1846 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1847 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1848 <action function="set">tw_text2=This cannot be undone!</action>
1849 <action function="set">tw_action_text1=Deleting Backup...</action>
1850 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1851 <action function="set">tw_slider_text=Swipe to Delete</action>
1852 <action function="page">confirm_action</action>
1853 </actions>
1854 </object>
1855
1856 <object type="template" name="keyboardtemplate" />
1857
1858 <object type="action">
1859 <touch key="home" />
1860 <action function="page">main</action>
1861 </object>
1862
1863 <object type="action">
1864 <touch key="back" />
1865 <action function="page">restore</action>
1866 </object>
1867
1868 <object type="template" name="footer" />
1869 </page>
1870
1871 <page name="try_restore_decrypt">
1872 <object type="template" name="header" />
1873
1874 <object type="text" color="%text_color%">
1875 <font resource="font" />
1876 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1877 <text>Trying Decryption with Your Password</text>
1878 </object>
1879
1880 <object type="template" name="action_page_console" />
1881
1882 <object type="template" name="progress_bar" />
1883
1884 <object type="action">
1885 <action function="decrypt_backup"></action>
1886 </object>
1887
1888 <object type="action">
1889 <conditions>
1890 <condition var1="tw_operation_state" var2="1" />
1891 <condition var1="tw_operation_status" op="!=" var2="0" />
1892 </conditions>
1893 <actions>
1894 <action function="set">tw_password_fail=1</action>
1895 <action function="page">restore_decrypt</action>
1896 </actions>
1897 </object>
1898
1899 <object type="action">
1900 <conditions>
1901 <condition var1="tw_operation_state" var2="1" />
1902 <condition var1="tw_operation_status" op="=" var2="0" />
1903 </conditions>
1904 <actions>
1905 <action function="set">tw_page_done=1</action>
1906 <action function="page">restore_select</action>
1907 </actions>
1908 </object>
1909 </page>
1910
Dees_Troy51a0e822012-09-05 15:24:24 -04001911 <page name="restore_select">
1912 <object type="template" name="header" />
1913
Dees_Troya13d74f2013-03-24 08:54:55 -05001914 <object type="partitionlist">
1915 <highlight color="%fileselector_highlight_color%" />
1916 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1917 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1918 <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 -04001919 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001920 <icon selected="checkbox_true" unselected="checkbox_false" />
1921 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1922 <background color="%listbox_background%" />
1923 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1924 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1925 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001926 </object>
1927
1928 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001929 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001930 <fill color="%button_fill_color%" />
1931 <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 -04001932 <font resource="font" color="%button_text_color%" />
1933 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001934 <actions>
1935 <action function="set">tw_backup_rename=</action>
1936 <action function="set">tw_fileexists=0</action>
1937 <action function="page">renamebackup</action>
1938 </actions>
1939 </object>
1940
1941 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001942 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001943 <fill color="%button_fill_color%" />
1944 <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 -04001945 <font resource="font" color="%button_text_color%" />
1946 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001947 <actions>
1948 <action function="set">tw_back=restore</action>
1949 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001950 <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 -04001951 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1952 <action function="set">tw_text2=This cannot be undone!</action>
1953 <action function="set">tw_action_text1=Deleting Backup...</action>
1954 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1955 <action function="set">tw_slider_text=Swipe to Delete</action>
1956 <action function="page">confirm_action</action>
1957 </actions>
1958 </object>
1959
Dees_Troya13d74f2013-03-24 08:54:55 -05001960 <object type="checkbox">
1961 <placement x="%col1_x%" y="%row15_text_y%" />
1962 <font resource="font" color="%text_color%" />
1963 <text>Enable MD5 verification of backup files.</text>
1964 <data variable="tw_skip_md5_check" />
1965 <image checked="checkbox_true" unchecked="checkbox_false" />
1966 </object>
1967
1968 <object type="text" color="%text_color%">
1969 <font resource="font" />
1970 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1971 <text>Package Date: %tw_restore_file_date%</text>
1972 </object>
1973
Dees_Troy51a0e822012-09-05 15:24:24 -04001974 <object type="slider">
1975 <placement x="%slider_x%" y="%slider_y%" />
1976 <resource base="slider" used="slider-used" touch="slider-touch" />
1977 <action function="page">restore_run</action>
1978 </object>
1979
1980 <object type="text" color="%text_color%">
1981 <font resource="font" />
1982 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1983 <text>Swipe to Restore</text>
1984 </object>
1985
Dees_Troy51a0e822012-09-05 15:24:24 -04001986 <object type="action">
1987 <touch key="home" />
1988 <action function="page">main</action>
1989 </object>
1990
1991 <object type="action">
1992 <touch key="back" />
1993 <action function="page">restore</action>
1994 </object>
1995
1996 <object type="template" name="footer" />
1997 </page>
1998
1999 <page name="renamebackup">
2000 <object type="template" name="header" />
2001
2002 <object type="text" color="%text_color%">
2003 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2004 <font resource="font" />
2005 <text>Please Enter a New Backup Name</text>
2006 </object>
2007
2008 <object type="input">
2009 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2010 <background color="%input_background_color%" />
2011 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2012 <font resource="font" color="%text_color%" />
2013 <text>%tw_backup_rename%</text>
2014 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002015 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002016 <actions>
2017 <action function="set">tw_back=restore</action>
2018 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002019 <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 -04002020 <action function="set">tw_text1=Rename Backup?</action>
2021 <action function="set">tw_text2=This cannot be undone!</action>
2022 <action function="set">tw_action_text1=Renaming Backup...</action>
2023 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2024 <action function="set">tw_slider_text=Swipe to Rename</action>
2025 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2026 <action function="set">tw_existpage=renamebackup</action>
2027 <action function="set">tw_notexistpage=confirm_action</action>
2028 <action function="page">filecheck</action>
2029 </actions>
2030 </object>
2031
2032 <object type="text" color="%text_fail_color%">
2033 <condition var1="tw_fileexists" var2="1" />
2034 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2035 <font resource="font" />
2036 <text>A backup with that name already exists!</text>
2037 </object>
2038
2039 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002040 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002041 <placement x="%col_center_x%" y="%row2_y%" />
2042 <font resource="font" color="%button_text_color%" />
2043 <text>Cancel</text>
2044 <image resource="main_button" />
2045 <action function="page">restore_select</action>
2046 </object>
2047
2048 <object type="template" name="keyboardtemplate" />
2049
2050 <object type="action">
2051 <touch key="home" />
2052 <action function="page">main</action>
2053 </object>
2054
2055 <object type="action">
2056 <touch key="back" />
2057 <action function="page">restore_select</action>
2058 </object>
2059
2060 <object type="template" name="footer" />
2061 </page>
2062
2063 <page name="restore_run">
2064 <object type="template" name="header" />
2065
2066 <object type="text" color="%text_color%">
2067 <font resource="font" />
2068 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2069 <text>%tw_operation% %tw_partition%</text>
2070 </object>
2071
2072 <object type="template" name="action_page_console" />
2073
2074 <object type="template" name="progress_bar" />
2075
2076 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002077 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002078 <actions>
2079 <action function="set">tw_back=restore_select</action>
2080 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002081 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002082 <action function="page">action_complete</action>
2083 </actions>
2084 </object>
2085
2086 <object type="action">
2087 <action function="nandroid">restore</action>
2088 </object>
2089 </page>
2090
Dees_Troya13d74f2013-03-24 08:54:55 -05002091 <page name="selectstorage">
2092 <object type="template" name="header" />
2093
2094 <object type="partitionlist">
2095 <highlight color="%fileselector_highlight_color%" />
2096 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2097 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2098 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2099 <text>Select Storage:</text>
2100 <icon selected="radio_true" unselected="radio_false" />
2101 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2102 <background color="%listbox_background%" />
2103 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2104 <data name="tw_storage_path" />
2105 <listtype name="storage" />
2106 </object>
2107
Dees_Troye7e0ae82013-07-05 14:46:07 +00002108 <object type="button">
2109 <highlight color="%highlight_color%" />
2110 <placement x="%col_center_x%" y="%row4_y%" />
2111 <font resource="font" color="%button_text_color%" />
2112 <text>OK</text>
2113 <image resource="main_button" />
2114 <actions>
2115 <action function="set">tw_clear_destination=%tw_back%</action>
2116 <action function="page">clear_vars</action>
2117 </actions>
2118 </object>
2119
Dees_Troya13d74f2013-03-24 08:54:55 -05002120 <object type="action">
2121 <touch key="home" />
2122 <action function="page">main</action>
2123 </object>
2124
2125 <object type="action">
2126 <touch key="back" />
2127 <actions>
2128 <action function="page">%tw_back%</action>
2129 </actions>
2130 </object>
2131
2132 <object type="template" name="footer" />
2133 </page>
2134
Dees_Troy51a0e822012-09-05 15:24:24 -04002135 <page name="mount">
2136 <object type="template" name="header" />
2137
Dees_Troya13d74f2013-03-24 08:54:55 -05002138 <object type="partitionlist">
2139 <highlight color="%fileselector_highlight_color%" />
2140 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2141 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2142 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2143 <text>Select Partitions to Mount:</text>
2144 <icon selected="checkbox_true" unselected="checkbox_false" />
2145 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2146 <background color="%listbox_background%" />
2147 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2148 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002149 </object>
2150
2151 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002152 <highlight color="%highlight_color%" />
2153 <fill color="%button_fill_color%" />
2154 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2155 <font resource="font" color="%button_text_color%" />
2156 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2157 <actions>
2158 <action function="set">tw_back=mount</action>
2159 <action function="page">selectstorage</action>
2160 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002161 </object>
2162
2163 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002164 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002165 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002166 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002167 <font resource="font" color="%button_text_color%" />
2168 <text>Mount USB Storage</text>
2169 <image resource="main_button" />
2170 <action function="page">usb_mount</action>
2171 </object>
2172
Gary Peckffdc6ae2012-11-21 18:02:02 -08002173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002174 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002175 <conditions>
2176 <condition var1="tw_is_encrypted" var2="1" />
2177 <condition var1="tw_is_decrypted" var2="0" />
2178 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002179 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002180 <font resource="font" color="%button_text_color%" />
2181 <text>Decrypt Data</text>
2182 <image resource="main_button" />
2183 <action function="page">decrypt</action>
2184 </object>
2185
Dees_Troy51a0e822012-09-05 15:24:24 -04002186 <object type="action">
2187 <touch key="home" />
2188 <action function="page">main</action>
2189 </object>
2190
2191 <object type="action">
2192 <touch key="back" />
2193 <action function="page">main</action>
2194 </object>
2195
2196 <object type="template" name="footer" />
2197 </page>
2198
2199 <page name="usb_mount">
2200 <object type="template" name="header" />
2201
2202 <object type="text" color="%text_color%">
2203 <font resource="font" />
2204 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2205 <text>USB Storage Mounted</text>
2206 </object>
2207
2208 <object type="text" color="%text_color%">
2209 <placement x="%col1_x%" y="%row1_text_y%" />
2210 <font resource="font" />
2211 <text>Be sure to safely remove your device</text>
2212 </object>
2213
2214 <object type="text" color="%text_color%">
2215 <placement x="%col1_x%" y="%row2_text_y%" />
2216 <font resource="font" />
2217 <text>from your computer before unmounting!</text>
2218 </object>
2219
2220 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002221 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002222 <placement x="%col1_x%" y="%row3_y%" />
2223 <font resource="font" color="%button_text_color%" />
2224 <text>Unmount</text>
2225 <image resource="main_button" />
2226 <action function="page">usb_umount</action>
2227 </object>
2228
2229 <object type="action">
2230 <action function="mount">usb</action>
2231 </object>
2232
2233 <object type="template" name="footer" />
2234 </page>
2235
2236 <page name="usb_umount">
2237 <object type="action">
2238 <action function="unmount">usb</action>
2239 </object>
2240
2241 <object type="action">
2242 <action function="page">mount</action>
2243 </object>
2244 </page>
2245
2246 <page name="reboot">
2247 <object type="template" name="header" />
2248
2249 <object type="text" color="%text_color%">
2250 <font resource="font" />
2251 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2252 <text>Reboot Menu</text>
2253 </object>
2254
2255 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002256 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002257 <condition var1="tw_reboot_system" var2="1" />
2258 <placement x="%col1_x%" y="%row1_y%" />
2259 <font resource="font" color="%button_text_color%" />
2260 <text>System</text>
2261 <image resource="main_button" />
2262 <actions>
2263 <action function="set">tw_back=reboot</action>
2264 <action function="set">tw_action=reboot</action>
2265 <action function="set">tw_action_param=system</action>
2266 <action function="set">tw_has_action2=0</action>
2267 <action function="set">tw_text1=No OS Installed! Are you</action>
2268 <action function="set">tw_text2=sure you wish to reboot?</action>
2269 <action function="set">tw_action_text1=Rebooting...</action>
2270 <action function="set">tw_complete_text1=Rebooting...</action>
2271 <action function="set">tw_slider_text=Swipe to Reboot</action>
2272 <action function="page">rebootcheck</action>
2273 </actions>
2274 </object>
2275
2276 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002277 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002278 <condition var1="tw_reboot_poweroff" var2="1" />
2279 <placement x="%col2_x%" y="%row1_y%" />
2280 <font resource="font" color="%button_text_color%" />
2281 <text>Power Off</text>
2282 <image resource="main_button" />
2283 <actions>
2284 <action function="set">tw_back=reboot</action>
2285 <action function="set">tw_action=reboot</action>
2286 <action function="set">tw_action_param=poweroff</action>
2287 <action function="set">tw_has_action2=0</action>
2288 <action function="set">tw_text1=No OS Installed! Are you</action>
2289 <action function="set">tw_text2=sure you wish to power off?</action>
2290 <action function="set">tw_action_text1=Turning Off...</action>
2291 <action function="set">tw_complete_text1=Turning Off...</action>
2292 <action function="set">tw_slider_text=Swipe to Power Off</action>
2293 <action function="page">rebootcheck</action>
2294 </actions>
2295 </object>
2296
2297 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002298 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002299 <condition var1="tw_reboot_recovery" var2="1" />
2300 <placement x="%col1_x%" y="%row2_y%" />
2301 <font resource="font" color="%button_text_color%" />
2302 <text>Recovery</text>
2303 <image resource="main_button" />
2304 <actions>
2305 <action function="set">tw_back=reboot</action>
2306 <action function="set">tw_action=reboot</action>
2307 <action function="set">tw_action_param=recovery</action>
2308 <action function="set">tw_has_action2=0</action>
2309 <action function="set">tw_text1=No OS Installed! Are you</action>
2310 <action function="set">tw_text2=sure you wish to reboot?</action>
2311 <action function="set">tw_action_text1=Rebooting...</action>
2312 <action function="set">tw_complete_text1=Rebooting...</action>
2313 <action function="set">tw_slider_text=Swipe to Reboot</action>
2314 <action function="page">rebootcheck</action>
2315 </actions>
2316 </object>
2317
2318 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002319 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002320 <condition var1="tw_reboot_bootloader" var2="1" />
2321 <placement x="%col2_x%" y="%row2_y%" />
2322 <font resource="font" color="%button_text_color%" />
2323 <text>Bootloader</text>
2324 <image resource="main_button" />
2325 <actions>
2326 <action function="set">tw_back=reboot</action>
2327 <action function="set">tw_action=reboot</action>
2328 <action function="set">tw_action_param=bootloader</action>
2329 <action function="set">tw_has_action2=0</action>
2330 <action function="set">tw_text1=No OS Installed! Are you</action>
2331 <action function="set">tw_text2=sure you wish to reboot?</action>
2332 <action function="set">tw_action_text1=Rebooting...</action>
2333 <action function="set">tw_complete_text1=Rebooting...</action>
2334 <action function="set">tw_slider_text=Swipe to Reboot</action>
2335 <action function="page">rebootcheck</action>
2336 </actions>
2337 </object>
2338
2339 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002340 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002341 <condition var1="tw_download_mode" var2="1" />
2342 <placement x="%col1_x%" y="%row3_y%" />
2343 <font resource="font" color="%button_text_color%" />
2344 <text>Download</text>
2345 <image resource="main_button" />
2346 <actions>
2347 <action function="set">tw_back=reboot</action>
2348 <action function="set">tw_action=reboot</action>
2349 <action function="set">tw_action_param=download</action>
2350 <action function="set">tw_has_action2=0</action>
2351 <action function="set">tw_text1=No OS Installed! Are you</action>
2352 <action function="set">tw_text2=sure you wish to reboot?</action>
2353 <action function="set">tw_action_text1=Rebooting...</action>
2354 <action function="set">tw_complete_text1=Rebooting...</action>
2355 <action function="set">tw_slider_text=Swipe to Reboot</action>
2356 <action function="page">rebootcheck</action>
2357 </actions>
2358 </object>
2359
2360 <object type="action">
2361 <touch key="home" />
2362 <action function="page">main</action>
2363 </object>
2364
2365 <object type="action">
2366 <touch key="back" />
2367 <action function="page">main</action>
2368 </object>
2369
2370 <object type="template" name="footer" />
2371 </page>
2372
2373 <page name="settings">
2374 <object type="template" name="header" />
2375
2376 <object type="text" color="%text_color%">
2377 <font resource="font" />
2378 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2379 <text>Settings</text>
2380 </object>
2381
2382 <object type="checkbox">
2383 <placement x="%col1_x%" y="%row1_text_y%" />
2384 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002385 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <data variable="tw_signed_zip_verify" />
2387 <image checked="checkbox_true" unchecked="checkbox_false" />
2388 </object>
2389
2390 <object type="checkbox">
2391 <placement x="%col1_x%" y="%row2_text_y%" />
2392 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002393 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <data variable="tw_rm_rf" />
2395 <image checked="checkbox_true" unchecked="checkbox_false" />
2396 </object>
2397
2398 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002399 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002400 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002401 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <data variable="tw_skip_md5_generate" />
2403 <image checked="checkbox_true" unchecked="checkbox_false" />
2404 </object>
2405
2406 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002407 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002408 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002409 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002410 <data variable="tw_skip_md5_check" />
2411 <image checked="checkbox_true" unchecked="checkbox_false" />
2412 </object>
2413
2414 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002415 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002416 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002417 <text>Use Military Time.</text>
2418 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <image checked="checkbox_true" unchecked="checkbox_false" />
2420 </object>
2421
2422 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002423 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002424 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002425 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002426 <data variable="tw_simulate_actions" />
2427 <image checked="checkbox_true" unchecked="checkbox_false" />
2428 </object>
2429
2430 <object type="checkbox">
2431 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002432 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002433 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002434 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002435 <data variable="tw_simulate_fail" />
2436 <image checked="checkbox_true" unchecked="checkbox_false" />
2437 </object>
2438
2439 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002440 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002441 <placement x="%col1_x%" y="%row3_y%" />
2442 <font resource="font" color="%button_text_color%" />
2443 <text>Time Zone</text>
2444 <image resource="main_button" />
2445 <action function="page">timezone</action>
2446 </object>
2447
2448 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002449 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002450 <placement x="%col2_x%" y="%row3_y%" />
2451 <font resource="font" color="%button_text_color%" />
2452 <text>Screen</text>
2453 <image resource="main_button" />
2454 <action function="page">screen</action>
2455 </object>
2456
Kra1o5781e6892014-03-10 00:37:26 +01002457 <object type="button">
2458 <placement x="%col1_x%" y="%row4_y%" />
2459 <font resource="font" color="%button_text_color%" />
2460 <text>Restore Defaults</text>
2461 <image resource="main_button" />
2462 <action function="restoredefaultsettings"></action>
2463 </object>
2464
Dees_Troy2f9117a2013-02-17 19:52:09 -06002465 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002466 <highlight color="%highlight_color%" />
2467 <placement x="%col2_x%" y="%row4_y%" />
2468 <font resource="font" color="%button_text_color%" />
2469 <text>Vibration Duration</text>
2470 <image resource="main_button" />
2471 <action function="page">Vibrate</action>
2472 </object>
2473
Dees_Troy51a0e822012-09-05 15:24:24 -04002474 <object type="action">
2475 <touch key="home" />
2476 <action function="page">main</action>
2477 </object>
2478
2479 <object type="action">
2480 <touch key="back" />
2481 <action function="page">main</action>
2482 </object>
2483
2484 <object type="template" name="footer" />
2485 </page>
2486
2487 <page name="timezone">
2488 <object type="template" name="header" />
2489
Dees_Troy51a0e822012-09-05 15:24:24 -04002490 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002491 <highlight color="%fileselector_highlight_color%" />
2492 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2493 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002494 <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 -06002495 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002496 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002497 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002499 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002500 <data name="tw_time_zone_guisel" />
2501 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2502 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2503 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2504 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2505 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2506 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2507 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2508 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2509 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2510 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2511 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2512 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2513 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2514 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2515 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2516 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2517 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2518 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2519 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2520 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2521 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2522 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2523 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2524 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2525 </object>
2526
2527 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002528 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002529 <font resource="font" color="%text_color%" />
2530 <text>Do you use daylight savings time (DST)?</text>
2531 <data variable="tw_time_zone_guidst" />
2532 <image checked="checkbox_true" unchecked="checkbox_false" />
2533 </object>
2534
2535 <object type="text" color="%text_color%">
2536 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002537 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002538 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2539 </object>
2540
2541 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002542 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002543 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002544 <font resource="font" color="%button_text_color%" />
2545 <text>None</text>
2546 <image resource="medium_button" />
2547 <action function="set">tw_time_zone_guioffset=0</action>
2548 </object>
2549
2550 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002551 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002552 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002553 <font resource="font" color="%button_text_color%" />
2554 <text>15</text>
2555 <image resource="medium_button" />
2556 <action function="set">tw_time_zone_guioffset=15</action>
2557 </object>
2558
2559 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002560 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002561 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002562 <font resource="font" color="%button_text_color%" />
2563 <text>30</text>
2564 <image resource="medium_button" />
2565 <action function="set">tw_time_zone_guioffset=30</action>
2566 </object>
2567
2568 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002569 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002570 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002571 <font resource="font" color="%button_text_color%" />
2572 <text>45</text>
2573 <image resource="medium_button" />
2574 <action function="set">tw_time_zone_guioffset=45</action>
2575 </object>
2576
2577 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002578 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002579 <placement x="%col_center_x%" y="%tz_set_y%" />
2580 <font resource="font" color="%button_text_color%" />
2581 <text>Set Time Zone</text>
2582 <image resource="main_button" />
2583 <action function="setguitimezone"></action>
2584 </object>
2585
2586 <object type="text" color="%text_color%">
2587 <font resource="font" />
2588 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2589 <text>Current Time Zone: %tw_time_zone%</text>
2590 </object>
2591
2592 <object type="action">
2593 <touch key="home" />
2594 <action function="page">main</action>
2595 </object>
2596
2597 <object type="action">
2598 <touch key="back" />
2599 <action function="page">settings</action>
2600 </object>
2601
2602 <object type="template" name="footer" />
2603 </page>
2604
Dees_Troy2f9117a2013-02-17 19:52:09 -06002605 <page name="screen">
2606 <object type="template" name="header" />
2607
2608 <object type="text" color="%text_color%">
2609 <font resource="font" />
2610 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2611 <text>Screen Settings</text>
2612 </object>
2613
Dees_Troy2f9117a2013-02-17 19:52:09 -06002614 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002615 <placement x="%col1_x%" y="%row2_text_y%" />
2616 <font resource="font" color="%text_color%" />
2617 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002618 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002619 <text>Enable screen timeout.</text>
2620 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002621 <action function="set">tw_screen_timeout_secs=60</action>
2622 </object>
2623
2624 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <placement x="%col1_x%" y="%row2_text_y%" />
2626 <font resource="font" color="%text_color%" />
2627 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002628 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002629 <text>Enable screen timeout.</text>
2630 <image resource="checkbox_true" />
2631 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002632 </object>
2633
Vojtech Bocek85932342013-04-01 22:11:33 +02002634 <object type="slidervalue">
2635 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002636 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002637 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2638 <font resource="font" color="%text_color%" />
2639 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2640 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2641 <text>Screen timeout in seconds:</text>
2642 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002643 </object>
2644
Vojtech Bocek85932342013-04-01 22:11:33 +02002645 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002646 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002647 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2648 <font resource="font" color="%text_color%" />
2649 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2650 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2651 <text>Brightness: %tw_brightness_pct%%</text>
2652 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002653 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002654 <action function="set">tw_brightness=%tw_brightness_max%</action>
2655 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2656 <action function="compute">tw_brightness/100</action>
2657 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002658 </actions>
2659 </object>
2660
2661 <object type="action">
2662 <touch key="home" />
2663 <action function="page">main</action>
2664 </object>
2665
2666 <object type="action">
2667 <touch key="back" />
2668 <action function="page">settings</action>
2669 </object>
2670
2671 <object type="template" name="footer" />
2672 </page>
2673
Ethan Yonker03db3262014-02-05 08:02:06 -06002674 <page name="Vibrate">
2675 <object type="template" name="header" />
2676
2677 <object type="text" color="%text_color%">
2678 <font resource="font" />
2679 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2680 <text>Vibration Settings :</text>
2681 </object>
2682
2683 <object type="slidervalue">
2684 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2685 <font resource="font" color="%text_color%" />
2686 <text>Button Vibration:</text>
2687 <data variable="tw_button_vibrate" min="0" max="300" />
2688 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2689 </object>
2690
2691 <object type="slidervalue">
2692 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2693 <font resource="font" color="%text_color%" />
2694 <text>Keyboard Vibration:</text>
2695 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2696 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2697 </object>
2698
2699 <object type="slidervalue">
2700 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2701 <font resource="font" color="%text_color%" />
2702 <text>Action Vibration:</text>
2703 <data variable="tw_action_vibrate" min="0" max="500" />
2704 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2705 </object>
2706
2707 <object type="action">
2708 <touch key="home" />
2709 <action function="page">main</action>
2710 </object>
2711
2712 <object type="action">
2713 <touch key="back" />
2714 <action function="page">settings</action>
2715 </object>
2716
2717 <object type="template" name="footer" />
2718 </page>
2719
Dees_Troy51a0e822012-09-05 15:24:24 -04002720 <page name="advanced">
2721 <object type="template" name="header" />
2722
2723 <object type="text" color="%text_color%">
2724 <font resource="font" />
2725 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2726 <text>Advanced</text>
2727 </object>
2728
2729 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002730 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002731 <placement x="%col1_x%" y="%row1_y%" />
2732 <font resource="font" color="%button_text_color%" />
2733 <text>Copy Log to SD</text>
2734 <image resource="main_button" />
2735 <actions>
2736 <action function="set">tw_back=advanced</action>
2737 <action function="set">tw_action=copylog</action>
2738 <action function="set">tw_text1=Copy Log to SD Card?</action>
2739 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2740 <action function="set">tw_complete_text1=Log Copy Complete</action>
2741 <action function="set">tw_slider_text=Swipe to Confirm</action>
2742 <action function="page">confirm_action</action>
2743 </actions>
2744 </object>
2745
2746 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002747 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <placement x="%col2_x%" y="%row1_y%" />
2749 <font resource="font" color="%button_text_color%" />
2750 <text>Fix Permissions</text>
2751 <image resource="main_button" />
2752 <actions>
2753 <action function="set">tw_back=advanced</action>
2754 <action function="set">tw_action=fixpermissions</action>
2755 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002756 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002757 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2758 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002759 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002760 <action function="page">confirm_action</action>
2761 </actions>
2762 </object>
2763
2764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002766 <condition var1="tw_allow_partition_sdcard" var2="1" />
2767 <placement x="%col1_x%" y="%row2_y%" />
2768 <font resource="font" color="%button_text_color%" />
2769 <text>Partition SD Card</text>
2770 <image resource="main_button" />
2771 <action function="page">partsdcard</action>
2772 </object>
2773
2774 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002775 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002776 <placement x="%col2_x%" y="%row2_y%" />
2777 <font resource="font" color="%button_text_color%" />
2778 <text>File Manager</text>
2779 <image resource="main_button" />
2780 <action function="page">filemanagerlist</action>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <placement x="%col1_x%" y="%row3_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text>Terminal Command</text>
2788 <image resource="main_button" />
2789 <action function="page">terminalfolder</action>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002794 <placement x="%col2_x%" y="%row3_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text>Reload Theme</text>
2797 <image resource="main_button" />
2798 <action function="reload"></action>
2799 </object>
2800
2801 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002802 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002803 <placement x="%col1_x%" y="%row4_y%" />
2804 <font resource="font" color="%button_text_color%" />
2805 <text>ADB Sideload</text>
2806 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002807 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002808 </object>
2809
2810 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002811 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002812 <condition var1="tw_show_dumlock" var2="1" />
2813 <placement x="%col2_x%" y="%row4_y%" />
2814 <font resource="font" color="%button_text_color%" />
2815 <text>HTC Dumlock</text>
2816 <image resource="main_button" />
2817 <action function="page">htcdumlock</action>
2818 </object>
2819
2820 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002821 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002822 <condition var1="tw_has_injecttwrp" var2="1" />
2823 <placement x="%col2_x%" y="%row4_y%" />
2824 <font resource="font" color="%button_text_color%" />
2825 <text>Re-Inject TWRP</text>
2826 <image resource="main_button" />
2827 <actions>
2828 <action function="set">tw_back=advanced</action>
2829 <action function="set">tw_action=reinjecttwrp</action>
2830 <action function="set">tw_text1=Re-Inject TWRP?</action>
2831 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2832 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2833 <action function="set">tw_slider_text=Swipe to Confirm</action>
2834 <action function="page">confirm_action</action>
2835 </actions>
2836 </object>
2837
2838 <object type="action">
2839 <touch key="home" />
2840 <action function="page">main</action>
2841 </object>
2842
2843 <object type="action">
2844 <touch key="back" />
2845 <action function="page">main</action>
2846 </object>
2847
2848 <object type="template" name="footer" />
2849 </page>
2850
2851 <page name="partsdcard">
2852 <object type="template" name="header" />
2853
2854 <object type="text" color="%text_color%">
2855 <font resource="font" />
2856 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2857 <text>Partition SD Card</text>
2858 </object>
2859
2860 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002861 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002862 <placement x="%col1_x%" y="%row1_y%" />
2863 <font resource="font" color="%button_text_color%" />
2864 <text></text>
2865 <image resource="minus_button" />
2866 <action function="addsubtract">tw_sdext_size-128</action>
2867 </object>
2868
2869 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002870 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002871 <placement x="%sd_plus_x%" y="%row1_y%" />
2872 <font resource="font" color="%button_text_color%" />
2873 <text></text>
2874 <image resource="plus_button" />
2875 <action function="addsubtract">tw_sdext_size+128</action>
2876 </object>
2877
2878 <object type="text" color="%text_color%">
2879 <font resource="font" />
2880 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2881 <text>EXT Size: %tw_sdext_size%</text>
2882 </object>
2883
2884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002885 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002886 <placement x="%col1_x%" y="%sdswap_button_y%" />
2887 <font resource="font" color="%button_text_color%" />
2888 <text></text>
2889 <image resource="minus_button" />
2890 <action function="addsubtract">tw_swap_size-32</action>
2891 </object>
2892
2893 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002894 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002895 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2896 <font resource="font" color="%button_text_color%" />
2897 <text></text>
2898 <image resource="plus_button" />
2899 <action function="addsubtract">tw_swap_size+32</action>
2900 </object>
2901
2902 <object type="text" color="%text_color%">
2903 <font resource="font" />
2904 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2905 <text>Swap Size: %tw_swap_size%</text>
2906 </object>
2907
2908 <object type="text" color="%text_color%">
2909 <font resource="font" />
2910 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2911 <text>File system: %tw_sdpart_file_system%</text>
2912 </object>
2913
2914 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002915 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002916 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>EXT3</text>
2919 <image resource="main_button" />
2920 <action function="set">tw_sdpart_file_system=ext3</action>
2921 </object>
2922
2923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002924 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002925 <condition var1="tw_sdext_disable_ext4" var2="0" />
2926 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2927 <font resource="font" color="%button_text_color%" />
2928 <text>EXT4</text>
2929 <image resource="main_button" />
2930 <action function="set">tw_sdpart_file_system=ext4</action>
2931 </object>
2932
2933 <object type="text" color="%text_color%">
2934 <font resource="font" />
2935 <placement x="%col1_x%" y="%row12_text_y%" />
2936 <text>You will lose all files on your SD card!</text>
2937 </object>
2938
2939 <object type="text" color="%text_color%">
2940 <font resource="font" />
2941 <placement x="%col1_x%" y="%row13_text_y%" />
2942 <text>This action cannot be undone!</text>
2943 </object>
2944
2945 <object type="slider">
2946 <placement x="%slider_x%" y="%slider_y%" />
2947 <resource base="slider" used="slider-used" touch="slider-touch" />
2948 <action function="page">partsdcardaction</action>
2949 <actions>
2950 <action function="set">tw_back=partsdcard</action>
2951 <action function="set">tw_action=partitionsd</action>
2952 <action function="set">tw_has_action2=1</action>
2953 <action function="set">tw_action2=set</action>
2954 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2955 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2956 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002957 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002958 <action function="page">action_page</action>
2959 </actions>
2960 </object>
2961
2962 <object type="text" color="%text_color%">
2963 <font resource="font" />
2964 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2965 <text>Swipe to Partition</text>
2966 </object>
2967
2968 <object type="action">
2969 <touch key="home" />
2970 <action function="page">main</action>
2971 </object>
2972
2973 <object type="action">
2974 <touch key="back" />
2975 <action function="page">advanced</action>
2976 </object>
2977
2978 <object type="template" name="footer" />
2979 </page>
2980
2981 <page name="htcdumlock">
2982 <object type="template" name="header" />
2983
2984 <object type="text" color="%text_color%">
2985 <font resource="font" />
2986 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2987 <text>HTC Dumlock</text>
2988 </object>
2989
2990 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002991 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002992 <condition var1="tw_show_dumlock" var2="1" />
2993 <placement x="%col1_x%" y="%row1_y%" />
2994 <font resource="font" color="%button_text_color%" />
2995 <text>Restore Original Boot</text>
2996 <image resource="main_button" />
2997 <actions>
2998 <action function="set">tw_back=htcdumlock</action>
2999 <action function="set">tw_action=htcdumlockrestoreboot</action>
3000 <action function="set">tw_text1=Restore original boot image?</action>
3001 <action function="set">tw_action_text1=Restoring Original Boot...</action>
3002 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
3003 <action function="set">tw_slider_text=Swipe to Confirm</action>
3004 <action function="page">confirm_action</action>
3005 </actions>
3006 </object>
3007
3008 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003009 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003010 <condition var1="tw_show_dumlock" var2="1" />
3011 <placement x="%col2_x%" y="%row1_y%" />
3012 <font resource="font" color="%button_text_color%" />
3013 <text>Reflash Recovery</text>
3014 <image resource="main_button" />
3015 <actions>
3016 <action function="set">tw_back=htcdumlock</action>
3017 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3018 <action function="set">tw_text1=Reflash recovery to boot?</action>
3019 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3020 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3021 <action function="set">tw_slider_text=Swipe to Confirm</action>
3022 <action function="page">confirm_action</action>
3023 </actions>
3024 </object>
3025
3026 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003027 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003028 <condition var1="tw_show_dumlock" var2="1" />
3029 <placement x="%col1_x%" y="%row2_y%" />
3030 <font resource="font" color="%button_text_color%" />
3031 <text>Install HTC Dumlock</text>
3032 <image resource="main_button" />
3033 <actions>
3034 <action function="set">tw_back=htcdumlock</action>
3035 <action function="set">tw_action=installhtcdumlock</action>
3036 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3037 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3038 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3039 <action function="set">tw_slider_text=Swipe to Confirm</action>
3040 <action function="page">confirm_action</action>
3041 </actions>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="home" />
3046 <action function="page">main</action>
3047 </object>
3048
3049 <object type="action">
3050 <touch key="back" />
3051 <action function="page">advanced</action>
3052 </object>
3053
3054 <object type="template" name="footer" />
3055 </page>
3056
3057 <page name="lock">
3058 <background color="#000000A0" />
3059
3060 <object type="image">
3061 <image resource="unlock-icon" />
3062 <placement x="%lock_x%" y="%lock_y%" />
3063 </object>
3064
3065 <object type="slider">
3066 <placement x="%slider_x%" y="%slider_y%" />
3067 <resource base="slider" used="slider-used" touch="slider-touch" />
3068 <action function="overlay"></action>
3069 </object>
3070
3071 <object type="text" color="%text_color%">
3072 <font resource="font" />
3073 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3074 <text>Swipe to Unlock</text>
3075 </object>
3076 </page>
3077
3078 <page name="filemanagerlist">
3079 <object type="template" name="header" />
3080
3081 <object type="text" color="%text_color%">
3082 <font resource="font" />
3083 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3084 <text>File Manager: Select a File or Folder</text>
3085 </object>
3086
3087 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003088 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003089 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3090 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003091 <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 -04003092 <text>%tw_file_location1%</text>
3093 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3094 <sort name="tw_gui_sort_order" />
3095 <icon folder="folder_icon" file="file_icon" />
3096 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003097 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003098 <folders="1" files="1" />
3099 <path name="tw_file_location1" default="/" />
3100 <data name="tw_filename1" />
3101 <selection name="tw_selection1" />
3102 </object>
3103
3104 <object type="template" name="sort_options" />
3105
3106 <object type="action">
3107 <actions>
3108 <action function="set">tw_fm_type=File</action>
3109 <action function="set">tw_fm_isfolder=0</action>
3110 </actions>
3111 </object>
3112
3113 <object type="action">
3114 <touch key="home" />
3115 <action function="page">main</action>
3116 </object>
3117
3118 <object type="action">
3119 <touch key="back" />
3120 <action function="page">advanced</action>
3121 </object>
3122
3123 <object type="action">
3124 <condition var1="tw_filename1" op="modified" />
3125 <actions>
3126 <action function="page">filemanageroptions</action>
3127 </actions>
3128 </object>
3129
3130 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003131 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003132 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3133 <font resource="font" color="%button_text_color%" />
3134 <text>Select</text>
3135 <image resource="medium_button" />
3136 <actions>
3137 <action function="set">tw_filename1=tw_file_location1</action>
3138 <action function="set">tw_fm_isfolder=1</action>
3139 <action function="set">tw_fm_type=Folder</action>
3140 <action function="page">filemanageroptions</action>
3141 </actions>
3142 </object>
3143
3144 <object type="template" name="footer" />
3145 </page>
3146
3147 <page name="filemanageroptions">
3148 <object type="template" name="header" />
3149
3150 <object type="text" color="%text_color%">
3151 <font resource="font" />
3152 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3153 <text>%tw_fm_type% Selected:</text>
3154 </object>
3155
3156 <object type="text" color="%text_color%">
3157 <font resource="font" />
3158 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3159 <text>%tw_filename1%</text>
3160 </object>
3161
3162 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003163 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003164 <condition var1="tw_fm_isfolder" var2="0" />
3165 <placement x="%col1_x%" y="%row2_y%" />
3166 <font resource="font" color="%button_text_color%" />
3167 <text>Copy File</text>
3168 <image resource="main_button" />
3169 <actions>
3170 <action function="set">tw_filemanager_command=cp</action>
3171 <action function="set">tw_fm_text1=Copying</action>
3172 <action function="page">choosedestinationfolder</action>
3173 </actions>
3174 </object>
3175
3176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003178 <condition var1="tw_fm_isfolder" var2="1" />
3179 <placement x="%col1_x%" y="%row2_y%" />
3180 <font resource="font" color="%button_text_color%" />
3181 <text>Copy Folder</text>
3182 <image resource="main_button" />
3183 <actions>
3184 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3185 <action function="set">tw_fm_text1=Copying</action>
3186 <action function="page">choosedestinationfolder</action>
3187 </actions>
3188 </object>
3189
3190 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003191 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003192 <placement x="%col2_x%" y="%row2_y%" />
3193 <font resource="font" color="%button_text_color%" />
3194 <text>Move</text>
3195 <image resource="main_button" />
3196 <actions>
3197 <action function="set">tw_filemanager_command=mv</action>
3198 <action function="set">tw_fm_text1=Moving</action>
3199 <action function="page">choosedestinationfolder</action>
3200 </actions>
3201 </object>
3202
3203 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003204 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003205 <placement x="%col1_x%" y="%row3_y%" />
3206 <font resource="font" color="%button_text_color%" />
3207 <text>chmod 755</text>
3208 <image resource="main_button" />
3209 <actions>
3210 <action function="set">tw_filemanager_command=chmod 755</action>
3211 <action function="set">tw_fm_text1=chmod 755</action>
3212 <action function="set">tw_fm_text2=</action>
3213 <action function="set">tw_fm_text3=</action>
3214 <action function="set">tw_include_text3=0</action>
3215 <action function="set">tw_back=filemanageroptions</action>
3216 <action function="page">filemanagerconfirm</action>
3217 </actions>
3218 </object>
3219
3220 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003221 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003222 <placement x="%col2_x%" y="%row3_y%" />
3223 <font resource="font" color="%button_text_color%" />
3224 <text>chmod</text>
3225 <image resource="main_button" />
3226 <actions>
3227 <action function="set">tw_filemanager_rename=0000</action>
3228 <action function="set">tw_fm_text2=</action>
3229 <action function="set">tw_fm_text3=</action>
3230 <action function="set">tw_include_text3=0</action>
3231 <action function="set">tw_back=filemanageroptions</action>
3232 <action function="page">filemanagerchmod</action>
3233 </actions>
3234 </object>
3235
3236 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003237 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003238 <placement x="%col1_x%" y="%row4_y%" />
3239 <font resource="font" color="%button_text_color%" />
3240 <text>Delete</text>
3241 <image resource="main_button" />
3242 <actions>
3243 <action function="set">tw_filemanager_command=rm -rf</action>
3244 <action function="set">tw_fm_text1=Deleting</action>
3245 <action function="set">tw_fm_text2=</action>
3246 <action function="set">tw_fm_text3=</action>
3247 <action function="set">tw_include_text3=0</action>
3248 <action function="set">tw_back=filemanageroptions</action>
3249 <action function="page">filemanagerconfirm</action>
3250 </actions>
3251 </object>
3252
3253 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003254 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003255 <condition var1="tw_fm_isfolder" var2="0" />
3256 <placement x="%col2_x%" y="%row4_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text>Rename File</text>
3259 <image resource="main_button" />
3260 <actions>
3261 <action function="set">tw_filemanager_rename=tw_selection1</action>
3262 <action function="set">tw_fm_text1=Renaming</action>
3263 <action function="set">tw_filemanager_command=mv</action>
3264 <action function="page">filemanagerrenamefile</action>
3265 </actions>
3266 </object>
3267
3268 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003269 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003270 <condition var1="tw_fm_isfolder" var2="1" />
3271 <placement x="%col2_x%" y="%row4_y%" />
3272 <font resource="font" color="%button_text_color%" />
3273 <text>Rename Folder</text>
3274 <image resource="main_button" />
3275 <actions>
3276 <action function="set">tw_filemanager_rename=tw_selection1</action>
3277 <action function="set">tw_fm_text1=Renaming</action>
3278 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3279 <action function="page">filemanagerrenamefolder</action>
3280 </actions>
3281 </object>
3282
3283 <object type="action">
3284 <touch key="home" />
3285 <action function="page">main</action>
3286 </object>
3287
3288 <object type="action">
3289 <touch key="back" />
3290 <action function="page">filemanagerlist</action>
3291 </object>
3292
3293 <object type="template" name="footer" />
3294 </page>
3295
3296 <page name="choosedestinationfolder">
3297 <object type="template" name="header" />
3298
3299 <object type="text" color="%text_color%">
3300 <font resource="font" />
3301 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3302 <text>Browse to Destination Folder & Press Select</text>
3303 </object>
3304
3305 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003306 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003307 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3308 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003309 <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 -04003310 <text>%tw_file_location2%</text>
3311 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3312 <sort name="tw_gui_sort_order" />
3313 <icon folder="folder_icon" file="file_icon" />
3314 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003315 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003316 <filter folders="1" files="0" />
3317 <path name="tw_file_location2" default="/" />
3318 <data name="tw_filename2" />
3319 <selection name="tw_selection2" />
3320 </object>
3321
3322 <object type="template" name="sort_options" />
3323
3324 <object type="action">
3325 <touch key="home" />
3326 <action function="page">main</action>
3327 </object>
3328
3329 <object type="action">
3330 <touch key="back" />
3331 <action function="page">filemanageroptions</action>
3332 </object>
3333
3334 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003335 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003336 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3337 <font resource="font" color="%button_text_color%" />
3338 <text>Select</text>
3339 <image resource="medium_button" />
3340 <actions>
3341 <action function="set">tw_fm_text2=to</action>
3342 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3343 <action function="set">tw_include_text3=1</action>
3344 <action function="set">tw_back=filemanageroptions</action>
3345 <action function="page">filemanagerconfirm</action>
3346 </actions>
3347 </object>
3348
3349 <object type="template" name="footer" />
3350 </page>
3351
3352 <page name="filemanagerrenamefile">
3353 <object type="template" name="header" />
3354
3355 <object type="text" color="%text_color%">
3356 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3357 <font resource="font" />
3358 <text>Please Enter a New %tw_fm_type% Name</text>
3359 </object>
3360
3361 <object type="input">
3362 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3363 <background color="%input_background_color%" />
3364 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3365 <font resource="font" color="%text_color%" />
3366 <text>%tw_filemanager_rename%</text>
3367 <data name="tw_filemanager_rename" />
3368 <restrict minlen="1" maxlen="128" />
3369 <actions>
3370 <action function="set">tw_fm_text2=to</action>
3371 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3372 <action function="set">tw_include_text3=1</action>
3373 <action function="set">tw_back=filemanageroptions</action>
3374 <action function="page">filemanagerconfirm</action>
3375 </actions>
3376 </object>
3377
3378 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003379 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003380 <placement x="%col_center_x%" y="%row2_y%" />
3381 <font resource="font" color="%button_text_color%" />
3382 <text>Cancel</text>
3383 <image resource="main_button" />
3384 <action function="page">filemanageroptions</action>
3385 </object>
3386
3387 <object type="template" name="keyboardtemplate" />
3388
3389 <object type="action">
3390 <touch key="home" />
3391 <action function="page">main</action>
3392 </object>
3393
3394 <object type="action">
3395 <touch key="back" />
3396 <action function="page">filemanageroptions</action>
3397 </object>
3398
3399 <object type="template" name="footer" />
3400 </page>
3401
3402 <page name="filemanagerrenamefolder">
3403 <object type="template" name="header" />
3404
3405 <object type="text" color="%text_color%">
3406 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3407 <font resource="font" />
3408 <text>Please Enter a New %tw_fm_type% Name</text>
3409 </object>
3410
3411 <object type="input">
3412 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3413 <background color="%input_background_color%" />
3414 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3415 <font resource="font" color="%text_color%" />
3416 <text>%tw_filemanager_rename%</text>
3417 <data name="tw_filemanager_rename" />
3418 <restrict minlen="1" maxlen="128" />
3419 <actions>
3420 <action function="set">tw_fm_text2=to</action>
3421 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3422 <action function="set">tw_include_text3=1</action>
3423 <action function="set">tw_back=filemanageroptions</action>
3424 <action function="page">filemanagerconfirm</action>
3425 </actions>
3426 </object>
3427
3428 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003429 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003430 <placement x="%col_center_x%" y="%row2_y%" />
3431 <font resource="font" color="%button_text_color%" />
3432 <text>Cancel</text>
3433 <image resource="main_button" />
3434 <action function="page">filemanageroptions</action>
3435 </object>
3436
3437 <object type="template" name="keyboardtemplate" />
3438
3439 <object type="action">
3440 <touch key="home" />
3441 <action function="page">main</action>
3442 </object>
3443
3444 <object type="action">
3445 <touch key="back" />
3446 <action function="page">filemanageroptions</action>
3447 </object>
3448
3449 <object type="template" name="footer" />
3450 </page>
3451
3452 <page name="filemanagerchmod">
3453 <object type="template" name="header" />
3454
3455 <object type="text" color="%text_color%">
3456 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3457 <font resource="font" />
3458 <text>Please Enter New Permissions</text>
3459 </object>
3460
3461 <object type="input">
3462 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3463 <background color="%input_background_color%" />
3464 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3465 <font resource="font" color="%text_color%" />
3466 <text>%tw_filemanager_rename%</text>
3467 <data name="tw_filemanager_rename" />
3468 <restrict minlen="3" maxlen="4" allow="0123456789" />
3469 <actions>
3470 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3471 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3472 <action function="set">tw_back=filemanageroptions</action>
3473 <action function="page">filemanagerconfirm</action>
3474 </actions>
3475 </object>
3476
3477 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003478 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003479 <placement x="%col_center_x%" y="%row2_y%" />
3480 <font resource="font" color="%button_text_color%" />
3481 <text>Cancel</text>
3482 <image resource="main_button" />
3483 <action function="page">filemanageroptions</action>
3484 </object>
3485
3486 <object type="template" name="keyboardtemplate" />
3487
3488 <object type="action">
3489 <touch key="home" />
3490 <action function="page">main</action>
3491 </object>
3492
3493 <object type="action">
3494 <touch key="back" />
3495 <action function="page">filemanageroptions</action>
3496 </object>
3497
3498 <object type="template" name="footer" />
3499 </page>
3500
3501 <page name="filemanagerconfirm">
3502 <object type="template" name="header" />
3503
3504 <object type="text" color="%text_color%">
3505 <font resource="font" />
3506 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3507 <text>%tw_fm_text1%</text>
3508 </object>
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3513 <text>%tw_filename1%</text>
3514 </object>
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3519 <text>%tw_fm_text2%</text>
3520 </object>
3521
3522 <object type="text" color="%text_color%">
3523 <font resource="font" />
3524 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3525 <text>%tw_fm_text3%</text>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3531 <text>Press back button to cancel.</text>
3532 </object>
3533
3534 <object type="slider">
3535 <placement x="%slider_x%" y="%slider_y%" />
3536 <resource base="slider" used="slider-used" touch="slider-touch" />
3537 <action function="page">filemanageracction</action>
3538 </object>
3539
3540 <object type="text" color="%text_color%">
3541 <font resource="font" />
3542 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3543 <text>Swipe to Confirm</text>
3544 </object>
3545
3546 <object type="action">
3547 <touch key="back" />
3548 <action function="page">%tw_back%</action>
3549 </object>
3550
3551 <object type="action">
3552 <touch key="home" />
3553 <action function="page">main</action>
3554 </object>
3555
3556 <object type="template" name="footer" />
3557 </page>
3558
3559 <page name="filemanageracction">
3560 <object type="template" name="header" />
3561
3562 <object type="text" color="%text_color%">
3563
3564 <font resource="font" />
3565 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3566 <text>%tw_fm_text1%</text>
3567 </object>
3568
3569 <object type="template" name="action_page_console" />
3570
3571 <object type="template" name="progress_bar" />
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_back=filemanagerlist</action>
3580 <action function="set">tw_complete_text1=File Operation Complete</action>
3581 <action function="page">action_complete</action>
3582 </actions>
3583 </object>
3584
3585 <object type="action">
3586 <conditions>
3587 <condition var1="tw_operation_state" var2="1" />
3588 <condition var1="tw_operation_status" op="!=" var2="0" />
3589 </conditions>
3590 <actions>
3591 <action function="set">tw_complete_text1=File Operation Complete</action>
3592 <action function="page">action_complete</action>
3593 </actions>
3594 </object>
3595
3596 <object type="action">
3597 <condition var1="tw_include_text3" var2="0" />
3598 <actions>
3599 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3600 </actions>
3601 </object>
3602
3603 <object type="action">
3604 <condition var1="tw_include_text3" var2="1" />
3605 <actions>
3606 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3607 </actions>
3608 </object>
3609 </page>
3610
3611 <page name="decrypt">
3612 <object type="template" name="header" />
3613
3614 <object type="text" color="%text_color%">
3615 <font resource="font" />
3616 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3617 <text>Please Enter Your Password</text>
3618 </object>
3619
3620 <object type="input">
3621 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3622 <background color="%input_background_color%" />
3623 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3624 <font resource="font" color="%text_color%" />
3625 <text>%tw_crypto_display%</text>
3626 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3627 <restrict minlen="1" maxlen="254" />
3628 <actions>
3629 <action function="page">trydecrypt</action>
3630 </actions>
3631 </object>
3632
3633 <object type="text" color="%text_fail_color%">
3634 <condition var1="tw_password_fail" var2="1" />
3635 <font resource="font" />
3636 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3637 <text>Password Failed, Please Try Again</text>
3638 </object>
3639
3640 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003641 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <placement x="%col_center_x%" y="%row2_y%" />
3643 <font resource="font" color="%button_text_color%" />
3644 <text>Cancel</text>
3645 <image resource="main_button" />
3646 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003647 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003648 <action function="page">main</action>
3649 </actions>
3650 </object>
3651
3652 <object type="template" name="keyboardtemplate" />
3653
Dees_Troy51a0e822012-09-05 15:24:24 -04003654 <object type="template" name="footer" />
3655 </page>
3656
3657 <page name="trydecrypt">
3658 <object type="template" name="header" />
3659
3660 <object type="text" color="%text_color%">
3661 <font resource="font" />
3662 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3663 <text>Trying Decryption with Your Password</text>
3664 </object>
3665
3666 <object type="template" name="action_page_console" />
3667
3668 <object type="template" name="progress_bar" />
3669
3670 <object type="action">
3671 <action function="decrypt"></action>
3672 </object>
3673
3674 <object type="action">
3675 <conditions>
3676 <condition var1="tw_operation_state" var2="1" />
3677 <condition var1="tw_operation_status" op="!=" var2="0" />
3678 </conditions>
3679 <actions>
3680 <action function="set">tw_password_fail=1</action>
3681 <action function="page">decrypt</action>
3682 </actions>
3683 </object>
3684
3685 <object type="action">
3686 <conditions>
3687 <condition var1="tw_operation_state" var2="1" />
3688 <condition var1="tw_operation_status" op="=" var2="0" />
3689 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003690 <actions>
3691 <action function="set">tw_page_done=1</action>
3692 <action function="page">main</action>
3693 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003694 </object>
3695 </page>
3696
3697 <page name="terminalfolder">
3698 <object type="template" name="header" />
3699
3700 <object type="text" color="%text_color%">
3701 <font resource="font" />
3702 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3703 <text>Browse to Starting Folder</text>
3704 </object>
3705
3706 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003707 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003708 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3709 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003710 <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 -04003711 <text>%tw_terminal_location%</text>
3712 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3713 <sort name="tw_gui_sort_order" />
3714 <icon folder="folder_icon" file="file_icon" />
3715 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003716 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003717 <filter folders="1" files="0" />
3718 <path name="tw_terminal_location" default="/" />
3719 <data name="tw_terminal" />
3720 <selection name="tw_terminal_selection" />
3721 </object>
3722
3723 <object type="template" name="sort_options" />
3724
3725 <object type="action">
3726 <touch key="home" />
3727 <action function="page">main</action>
3728 </object>
3729
3730 <object type="action">
3731 <touch key="back" />
3732 <action function="page">advanced</action>
3733 </object>
3734
3735 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003736 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003737 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3738 <font resource="font" color="%button_text_color%" />
3739 <text>Select</text>
3740 <image resource="medium_button" />
3741 <actions>
3742 <action function="page">terminalcommand</action>
3743 </actions>
3744 </object>
3745
3746 <object type="template" name="footer" />
3747 </page>
3748
3749 <page name="terminalcommand">
3750 <object type="template" name="header" />
3751
3752 <object type="console">
3753 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3754 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3755 <font resource="fixed" />
3756 </object>
3757
3758 <object type="text" color="%text_color%">
3759 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3760 <font resource="font" />
3761 <text>Starting Path: %tw_terminal_location%</text>
3762 </object>
3763
3764 <object type="input">
3765 <condition var1="tw_terminal_state" var2="0" />
3766 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3767 <background color="%input_background_color%" />
3768 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3769 <font resource="font" color="%text_color%" />
3770 <text>%tw_terminal_command%</text>
3771 <data name="tw_terminal_command" />
3772 <restrict minlen="1" />
3773 <action function="terminalcommand">%tw_terminal_command%</action>
3774 </object>
3775
3776 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003777 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003778 <condition var1="tw_terminal_state" var2="1" />
3779 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3780 <font resource="font" color="%button_text_color%" />
3781 <text>KILL</text>
3782 <image resource="medium_button" />
3783 <action function="killterminal"></action>
3784 </object>
3785
3786 <object type="template" name="keyboardtemplate" />
3787
3788 <object type="action">
3789 <touch key="home" />
3790 <action function="page">main</action>
3791 </object>
3792
3793 <object type="action">
3794 <touch key="back" />
3795 <action function="page">terminalfolder</action>
3796 </object>
3797 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003798
3799 <page name="sideload">
3800 <object type="template" name="header" />
3801
3802 <object type="text" color="%text_color%">
3803 <font resource="font" />
3804 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3805 <text>ADB Sideload</text>
3806 </object>
3807
3808 <object type="checkbox">
3809 <placement x="%col1_x%" y="%row2_text_y%" />
3810 <font resource="font" color="%text_color%" />
3811 <text>Wipe Dalvik Cache.</text>
3812 <data variable="tw_wipe_dalvik" />
3813 <image checked="checkbox_true" unchecked="checkbox_false" />
3814 </object>
3815
3816 <object type="checkbox">
3817 <placement x="%col1_x%" y="%row3_text_y%" />
3818 <font resource="font" color="%text_color%" />
3819 <text>Wipe Cache.</text>
3820 <data variable="tw_wipe_cache" />
3821 <image checked="checkbox_true" unchecked="checkbox_false" />
3822 </object>
3823
3824 <object type="slider">
3825 <placement x="%slider_x%" y="%slider_y%" />
3826 <resource base="slider" used="slider-used" touch="slider-touch" />
3827 <actions>
3828 <action function="set">tw_back=advanced</action>
3829 <action function="set">tw_action=adbsideload</action>
3830 <action function="set">tw_action_text1=ADB Sideload</action>
3831 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3832 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3833 <action function="set">tw_has_cancel=1</action>
3834 <action function="set">tw_show_reboot=1</action>
3835 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3836 <action function="page">action_page</action>
3837 </actions>
3838 </object>
3839
3840 <object type="text" color="%text_color%">
3841 <font resource="font" />
3842 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3843 <text>Swipe to Start Sideload</text>
3844 </object>
3845
3846 <object type="action">
3847 <touch key="home" />
3848 <action function="page">main</action>
3849 </object>
3850
3851 <object type="action">
3852 <touch key="back" />
3853 <action function="page">advanced</action>
3854 </object>
3855
3856 <object type="template" name="footer" />
3857 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003858
3859 <page name="installsu">
3860 <object type="template" name="header" />
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3865 <text>Install SuperSU?</text>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3871 <text>Your device does not appear to be rooted.</text>
3872 </object>
3873
3874 <object type="text" color="%text_color%">
3875 <font resource="font" />
3876 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3877 <text>Install SuperSU now?</text>
3878 </object>
3879
3880 <object type="text" color="%text_color%">
3881 <font resource="font" />
3882 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3883 <text>This will root your device.</text>
3884 </object>
3885
3886 <object type="button">
3887 <highlight color="%highlight_color%" />
3888 <placement x="%col_center_x%" y="%row3_y%" />
3889 <font resource="font" color="%button_text_color%" />
3890 <text>Do Not Install</text>
3891 <image resource="main_button" />
3892 <action function="set">tw_page_done=1</action>
3893 </object>
3894
3895 <object type="slider">
3896 <placement x="%slider_x%" y="%slider_y%" />
3897 <resource base="slider" used="slider-used" touch="slider-touch" />
3898 <actions>
3899 <action function="set">tw_action=installsu</action>
3900 <action function="set">tw_action_text1=Installing SuperSU</action>
3901 <action function="set">tw_action_text2=</action>
3902 <action function="page">singleaction_page</action>
3903 </actions>
3904 </object>
3905
3906 <object type="text" color="%text_color%">
3907 <font resource="font" />
3908 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3909 <text>Swipe to Install</text>
3910 </object>
3911 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003912 </pages>
3913</recovery>