blob: b11c3dc133b69183368625a869d27bdbd52a6ee0 [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" />
42 </resources>
43
44 <variables>
45 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="277" />
47 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040048 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040049 <variable name="center_x" value="270" />
50 <variable name="row1_y" value="140" />
51 <variable name="row2_y" value="332" />
52 <variable name="row3_y" value="524" />
53 <variable name="row4_y" value="716" />
54 <variable name="row_queue_y" value="625" />
55 <variable name="row1_header_y" value="110" />
56 <variable name="row1_text_y" value="140" />
57 <variable name="row2_text_y" value="180" />
58 <variable name="row3_text_y" value="220" />
59 <variable name="row4_text_y" value="260" />
60 <variable name="row5_text_y" value="300" />
61 <variable name="row6_text_y" value="340" />
62 <variable name="row7_text_y" value="380" />
63 <variable name="row8_text_y" value="420" />
64 <variable name="row9_text_y" value="460" />
65 <variable name="row10_text_y" value="500" />
66 <variable name="row11_text_y" value="540" />
67 <variable name="row12_text_y" value="580" />
68 <variable name="row13_text_y" value="620" />
69 <variable name="row14_text_y" value="660" />
70 <variable name="row15_text_y" value="700" />
71 <variable name="row16_text_y" value="740" />
72 <variable name="row17_text_y" value="780" />
73 <variable name="row18_text_y" value="820" />
74 <variable name="zip_status_y" value="696" />
75 <variable name="tz_selected_y" value="110" />
76 <variable name="tz_set_y" value="720" />
77 <variable name="tz_current_y" value="895" />
78 <variable name="col_progressbar_x" value="144" />
79 <variable name="row_progressbar_y" value="850" />
80 <variable name="col1_medium_x" value="10" />
81 <variable name="col2_medium_x" value="145" />
82 <variable name="col3_medium_x" value="280" />
83 <variable name="col4_medium_x" value="415" />
84 <variable name="row1_medium_y" value="130" />
85 <variable name="row2_medium_y" value="230" />
86 <variable name="row3_medium_y" value="330" />
87 <variable name="row4_medium_y" value="430" />
88 <variable name="row5_medium_y" value="530" />
89 <variable name="row6_medium_y" value="630" />
90 <variable name="row7_medium_y" value="730" />
91 <variable name="slider_x" value="50" />
92 <variable name="slider_y" value="820" />
93 <variable name="slider_text_y" value="870" />
94 <variable name="button_text_color" value="#AAAAAA" />
95 <variable name="text_color" value="#FFFFFF" />
96 <variable name="text_success_color" value="#33B5E5" />
97 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060098 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040099 <variable name="home_button_x" value="10" />
100 <variable name="home_button_y" value="919" />
101 <variable name="back_button_x" value="466" />
102 <variable name="back_button_y" value="919" />
103 <variable name="sort_asc_text_y" value="830" />
104 <variable name="sort_asc_button_y" value="820" />
105 <variable name="sort_desc_text_y" value="880" />
106 <variable name="sort_desc_button_y" value="870" />
107 <variable name="sort_col1_button_x" value="180" />
108 <variable name="sort_col2_button_x" value="255" />
109 <variable name="sort_col3_button_x" value="330" />
110 <variable name="input_width" value="520" />
111 <variable name="input_height" value="40" />
112 <variable name="input_background_color" value="#303030" />
113 <variable name="input_cursor_color" value="#33B5E5" />
114 <variable name="input_cursor_width" value="3" />
115 <variable name="console_x" value="0" />
116 <variable name="console_width" value="540" />
117 <variable name="console_foreground" value="#A0A0A0" />
118 <variable name="console_background" value="#303030" />
119 <variable name="console_scroll" value="#303030" />
120 <variable name="console_action_height" value="380" />
121 <variable name="console_install_height" value="580" />
122 <variable name="console_installdone_height" value="380" />
123 <variable name="fileselector_x" value="5" />
124 <variable name="fileselector_width" value="530" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500125 <variable name="fileselector_install_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400126 <variable name="fileselector_header_background" value="#202020" />
127 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
128 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
129 <variable name="fileselector_header_separatorheight" value="3" />
130 <variable name="fileselector_separatorcolor" value="#505050" />
131 <variable name="fileselector_separatorheight" value="2" />
132 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600133 <variable name="fileselector_highlight_color" value="#505050" />
134 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400135 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100136 <variable name="fastscroll_linecolor" value="#808080" />
137 <variable name="fastscroll_rectcolor" value="#808080" />
138 <variable name="fastscroll_w" value="45" />
139 <variable name="fastscroll_linew" value="2" />
140 <variable name="fastscroll_rectw" value="30" />
141 <variable name="fastscroll_recth" value="52" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400142 <variable name="listbox_x" value="5" />
143 <variable name="listbox_width" value="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600144 <variable name="listbox_tz_height" value="420" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400145 <variable name="listbox_background" value="#303030" />
146 <variable name="listbox_spacing" value="18" />
147 <variable name="sd_plus_x" value="280" />
148 <variable name="sdext_text_x" value="84" />
149 <variable name="sdext_text_y" value="150" />
150 <variable name="sdswap_button_y" value="185" />
151 <variable name="sdswap_text_x" value="84" />
152 <variable name="sdswap_text_y" value="195" />
153 <variable name="sdfilesystem_text_y" value="240" />
154 <variable name="sdfilesystem_button_y" value="280" />
155 <variable name="lock_x" value="70" />
156 <variable name="lock_y" value="250" />
157 <variable name="filemanager_select_x" value="405" />
158 <variable name="filemanager_select_y" value="825" />
159 <variable name="backup_name_y" value="420" />
160 <variable name="terminal_console_height" value="530" />
161 <variable name="terminal_text_y" value="550" />
162 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400163 <variable name="row_dst_text_y" value="540" />
164 <variable name="row_offset_text_y" value="580" />
165 <variable name="row_offset_medium_y" value="630" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500166 <variable name="button_fill_color" value="#303030" />
167 <variable name="button_fill_full_width" value="520" />
168 <variable name="button_fill_main_width" value="253" />
169 <variable name="button_fill_main_height" value="162" />
170 <variable name="button_fill_half_height" value="81" />
171 <variable name="button_fill_quarter_height" value="40" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000172 <variable name="backup_list_height" value="410" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500173 <variable name="backup_button_row1" value="600" />
174 <variable name="backup_button_row2" value="645" />
175 <variable name="mount_list_height" value="500" />
176 <variable name="mount_storage_row" value="630" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000177 <variable name="storage_list_height" value="575" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500178 <variable name="wipe_list_height" value="670" />
179 <variable name="wipe_button_y" value="475" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200180 <variable name="slidervalue_w" value="520" />
181 <variable name="slidervalue_line_clr" value="#FFFFFF" />
182 <variable name="slidervalue_slider_clr" value="#33B5E5" />
183 <variable name="slidervalue_lineh" value="2" />
184 <variable name="slidervalue_padding" value="15" />
185 <variable name="slidervalue_sliderw" value="8" />
186 <variable name="slidervalue_sliderh" value="45" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400187 </variables>
188
189 <templates>
190 <template name="header">
191 <background color="#000000FF" />
192
193 <object type="image">
194 <image resource="top_bar" />
195 <placement x="0" y="0" />
196 </object>
197
198 <object type="text" color="%text_color%">
199 <font resource="font" />
200 <placement x="100" y="10" />
201 <text>Team Win Recovery Project v%tw_version%</text>
202 </object>
203
204 <object type="text" color="%text_color%">
205 <condition var1="tw_simulate_actions" var2="1" />
206 <font resource="font" />
207 <placement x="100" y="40" />
208 <text>SIMULATING ACTIONS</text>
209 </object>
210
211 <object type="text" color="%text_color%">
212 <font resource="font" />
213 <placement x="100" y="70" />
214 <text>%tw_time%</text>
215 </object>
216
217 <object type="text" color="%text_color%">
218 <font resource="font" />
219 <placement x="250" y="70" />
220 <conditions>
221 <condition var1="tw_no_battery_percent" var2="0" />
222 <condition var1="tw_battery" op=">" var2="0" />
223 <condition var1="tw_battery" op="<" var2="101" />
224 </conditions>
225 <text>Battery: %tw_battery%</text>
226 </object>
227
228 <object type="button">
229 <placement x="%home_button_x%" y="%home_button_y%" />
230 <font resource="font" color="%button_text_color%" />
231 <text></text>
232 <image resource="home_icon" />
233 <condition var1="tw_busy" var2="0" />
234 <action function="key">home</action>
235 </object>
236
237 <object type="button">
238 <placement x="%back_button_x%" y="%back_button_y%" />
239 <font resource="font" color="%button_text_color%" />
240 <text></text>
241 <image resource="back_icon" />
242 <condition var1="tw_busy" var2="0" />
243 <action function="key">back</action>
244 </object>
245
246 <object type="action">
247 <touch key="power" />
248 <action function="overlay">lock</action>
249 </object>
250 </template>
251
252 <template name="progress_bar">
253 <object type="progressbar">
254 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
255 <resource empty="progress_empty" full="progress_full" />
256 <data name="ui_progress" />
257 </object>
258
259 <object type="animation">
260 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
261 <resource name="progress" />
262 <speed fps="15" render="2" />
263 <loop frame="1" />
264 </object>
265 </template>
266
267 <template name="action_page_console">
268 <object type="console">
269 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
270 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
271 <font resource="fixed" />
272 </object>
273 </template>
274
275 <template name="sort_options">
276 <object type="text" color="%text_color%">
277 <font resource="font" />
278 <placement x="%col1_x%" y="%sort_asc_text_y%" />
279 <text>Sort Ascending:</text>
280 </object>
281
282 <object type="button">
283 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
284 <font resource="UItext" color="%button_text_color%" />
285 <text>Name</text>
286 <image resource="sort_button" />
287 <action function="set">tw_gui_sort_order=1</action>
288 </object>
289
290 <object type="button">
291 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
292 <font resource="UItext" color="%button_text_color%" />
293 <text>Date</text>
294 <image resource="sort_button" />
295 <action function="set">tw_gui_sort_order=2</action>
296 </object>
297
298 <object type="button">
299 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
300 <font resource="UItext" color="%button_text_color%" />
301 <text>Size</text>
302 <image resource="sort_button" />
303 <action function="set">tw_gui_sort_order=3</action>
304 </object>
305
306 <object type="text" color="%text_color%">
307 <font resource="font" />
308 <placement x="%col1_x%" y="%sort_desc_text_y%" />
309 <text>Sort Descending:</text>
310 </object>
311
312 <object type="button">
313 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
314 <font resource="UItext" color="%button_text_color%" />
315 <text>Name</text>
316 <image resource="sort_button" />
317 <action function="set">tw_gui_sort_order=-1</action>
318 </object>
319
320 <object type="button">
321 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
322 <font resource="UItext" color="%button_text_color%" />
323 <text>Date</text>
324 <image resource="sort_button" />
325 <action function="set">tw_gui_sort_order=-2</action>
326 </object>
327
328 <object type="button">
329 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
330 <font resource="UItext" color="%button_text_color%" />
331 <text>Size</text>
332 <image resource="sort_button" />
333 <action function="set">tw_gui_sort_order=-3</action>
334 </object>
335 </template>
336
337 <template name="footer">
338 <object type="console">
339 <slideout resource="slideout" x="240" y="920" />
340 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
341 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
342 <font resource="fixed" />
343 </object>
344 </template>
345
346 <template name="keyboardtemplate">
347 <object type="keyboard">
348 <placement x="0" y="600" />
349 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600350 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400351 <layout1>
352 <keysize height="78" width="54" />
353 <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" />
354 <row2 key01="81:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="81:l" />
355 <row3 key01="81:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="81:c:8" />
356 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:a:action" />
357 </layout1>
358 <layout2>
359 <keysize height="78" width="54" />
360 <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" />
361 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
362 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
363 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
364 </layout2>
365 <layout3>
366 <keysize height="78" width="54" />
367 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
368 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
369 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
370 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
371 </layout3>
372 <layout4>
373 <keysize height="78" width="54" />
374 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
375 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
376 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
377 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
378 </layout4>
379 </object>
380 </template>
381 </templates>
382
383 <pages>
384 <page name="main">
385 <object type="action">
386 <actions>
387 <action function="set">tw_clear_destination=main2</action>
388 <action function="page">clear_vars</action>
389 </actions>
390 </object>
391 </page>
392
393 <page name="main2">
394 <object type="template" name="header" />
395
396 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600397 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400398 <placement x="%col1_x%" y="%row1_y%" />
399 <font resource="font" color="%button_text_color%" />
400 <text>Install</text>
401 <image resource="main_button" />
402 <actions>
403 <action function="queueclear"></action>
404 <action function="page">install</action>
405 </actions>
406 </object>
407
408 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600409 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400410 <placement x="%col2_x%" y="%row1_y%" />
411 <font resource="font" color="%button_text_color%" />
412 <text>Wipe</text>
413 <image resource="main_button" />
414 <action function="page">wipe</action>
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="%col1_x%" y="%row2_y%" />
420 <font resource="font" color="%button_text_color%" />
421 <text>Backup</text>
422 <image resource="main_button" />
423 <action function="page">backup</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="%col2_x%" y="%row2_y%" />
429 <font resource="font" color="%button_text_color%" />
430 <text>Restore</text>
431 <image resource="main_button" />
432 <action function="page">restore</action>
433 </object>
434
435 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600436 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400437 <placement x="%col1_x%" y="%row3_y%" />
438 <font resource="font" color="%button_text_color%" />
439 <text>Mount</text>
440 <image resource="main_button" />
441 <action function="page">mount</action>
442 </object>
443
444 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600445 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400446 <placement x="%col2_x%" y="%row3_y%" />
447 <font resource="font" color="%button_text_color%" />
448 <text>Settings</text>
449 <image resource="main_button" />
450 <action function="page">settings</action>
451 </object>
452
453
454 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600455 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400456 <placement x="%col1_x%" y="%row4_y%" />
457 <font resource="font" color="%button_text_color%" />
458 <text>Advanced</text>
459 <image resource="main_button" />
460 <action function="page">advanced</action>
461 </object>
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="%col2_x%" y="%row4_y%" />
466 <font resource="font" color="%button_text_color%" />
467 <text>Reboot</text>
468 <image resource="main_button" />
469 <action function="page">reboot</action>
470 </object>
471
472 <object type="template" name="footer" />
473 </page>
474
475 <page name="install">
476 <object type="template" name="header" />
477
478 <object type="text" color="%text_color%">
479 <font resource="font" />
480 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
481 <text>Select Zip to Install</text>
482 </object>
483
484 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500485 <highlight color="%highlight_color%" />
486 <fill color="%button_fill_color%" />
487 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
488 <font resource="font" color="%button_text_color%" />
489 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
490 <actions>
491 <action function="set">tw_back=install</action>
492 <action function="page">selectstorage</action>
493 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400494 </object>
495
496 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600497 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500498 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400499 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100500 <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 -0400501 <text>%tw_zip_location%</text>
502 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
503 <sort name="tw_gui_sort_order" />
504 <icon folder="folder_icon" file="file_icon" />
505 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600506 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400507 <filter extn=".zip" folders="1" files="1" />
508 <path name="tw_zip_location" default="/sdcard" />
509 <data name="tw_filename" />
510 <selection name="tw_file" />
511 </object>
512
513 <object type="template" name="sort_options" />
514
515 <object type="action">
516 <condition var1="tw_filename" op="modified" />
517 <actions>
518 <action function="queuezip"></action>
519 <action function="page">flash_confirm</action>
520 </actions>
521 </object>
522
523 <object type="action">
524 <touch key="back" />
525 <action function="page">main</action>
526 </object>
527
528 <object type="action">
529 <touch key="home" />
530 <action function="page">main</action>
531 </object>
532
533 <object type="template" name="footer" />
534 </page>
535
536 <page name="flash_confirm">
537 <object type="template" name="header" />
538
539 <object type="text" color="%text_color%">
540 <font resource="font" />
541 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
542 <text>This operation may install incompatible</text>
543 </object>
544
545 <object type="text" color="%text_color%">
546 <font resource="font" />
547 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
548 <text>software and render your device unusable.</text>
549 </object>
550
551 <object type="text" color="%text_color%">
552 <font resource="font" />
553 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
554 <text>Folder:</text>
555 </object>
556
557 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400558 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
560 <text>%tw_zip_location%</text>
561 </object>
562
563 <object type="text" color="%text_color%">
564 <font resource="font" />
565 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
566 <text>File to flash:</text>
567 </object>
568
569 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400570 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400571 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
572 <text>%tw_file%</text>
573 </object>
574
575 <object type="text" color="%text_color%">
576 <font resource="font" />
577 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
578 <text>Press back to cancel adding this zip.</text>
579 </object>
580
581 <object type="checkbox">
582 <placement x="%col1_x%" y="%row8_text_y%" />
583 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400584 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400585 <data variable="tw_signed_zip_verify" />
586 <image checked="checkbox_true" unchecked="checkbox_false" />
587 </object>
588
589 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400590 <condition var1="tw_has_injecttwrp" var2="1" />
591 <placement x="%col1_x%" y="%row10_text_y%" />
592 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400593 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400594 <data variable="tw_inject_after_zip" />
595 <image checked="checkbox_true" unchecked="checkbox_false" />
596 </object>
597
598 <object type="text" color="%text_color%">
599 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400600 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <text>File %tw_zip_queue_count% of max of 10</text>
602 </object>
603
604 <object type="slider">
605 <placement x="%slider_x%" y="%slider_y%" placement="5" />
606 <resource base="slider" used="slider-used" touch="slider-touch" />
607 <action function="flash">flash_zip</action>
608 </object>
609
610 <object type="text" color="%text_color%">
611 <font resource="font" />
612 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
613 <text>Swipe to Confirm Flash</text>
614 </object>
615
616 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600617 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400618 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
619 <placement x="%col1_x%" y="%row_queue_y%" />
620 <font resource="font" color="%button_text_color%" />
621 <text>Add More Zips</text>
622 <image resource="main_button" />
623 <action function="page">install</action>
624 </object>
625
626 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600627 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400628 <placement x="%col2_x%" y="%row_queue_y%" />
629 <font resource="font" color="%button_text_color%" />
630 <text>Clear Zip Queue</text>
631 <image resource="main_button" />
632 <actions>
633 <action function="queueclear"></action>
634 <action function="page">install</action>
635 </actions>
636 </object>
637
638 <object type="action">
639 <touch key="back" />
640 <actions>
641 <action function="cancelzip"></action>
642 <action function="page">install</action>
643 </actions>
644 </object>
645
646 <object type="action">
647 <touch key="home" />
648 <action function="page">main</action>
649 </object>
650
651 <object type="template" name="footer" />
652 </page>
653
654 <page name="flash_zip">
655 <object type="template" name="header" />
656
657 <object type="console">
658 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
659 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
660 <font resource="fixed" />
661 </object>
662
663 <object type="text" color="%text_color%">
664 <font resource="font" />
665 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
666 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
667 </object>
668
669 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400670 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400671 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
672 <text>%tw_filename%</text>
673 </object>
674
675 <object type="template" name="progress_bar" />
676
677 <object type="action">
678 <condition var1="tw_operation_state" var2="1" />
679 <action function="page">flash_done</action>
680 </object>
681 </page>
682
683 <page name="flash_done">
684 <object type="template" name="header" />
685
686 <object type="text" color="%text_color%">
687 <font resource="font" />
688 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
689 <text>Zip Install Complete</text>
690 </object>
691
692 <object type="console">
693 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
694 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
695 <font resource="fixed" />
696 </object>
697
698 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600699 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400700 <placement x="%col1_x%" y="%row4_y%" />
701 <font resource="font" color="%button_text_color%" />
702 <text>Wipe cache/dalvik</text>
703 <image resource="main_button" />
704 <actions>
705 <action function="set">tw_back=flash_done</action>
706 <action function="set">tw_action=wipe</action>
707 <action function="set">tw_action_param=/cache</action>
708 <action function="set">tw_has_action2=1</action>
709 <action function="set">tw_action2=wipe</action>
710 <action function="set">tw_action2_param=dalvik</action>
711 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
712 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
713 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
714 <action function="set">tw_slider_text=Swipe to Wipe</action>
715 <action function="page">confirm_action</action>
716 </actions>
717 </object>
718
719 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600720 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400721 <placement x="%col2_x%" y="%row4_y%" />
722 <font resource="font" color="%button_text_color%" />
723 <text>Reboot System</text>
724 <image resource="main_button" />
725 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400726 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400727 <action function="set">tw_action=reboot</action>
728 <action function="set">tw_action_param=system</action>
729 <action function="set">tw_has_action2=0</action>
730 <action function="set">tw_text1=No OS Installed! Are you</action>
731 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400732 <action function="set">tw_text3=</action>
733 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400735 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400736 <action function="set">tw_complete_text1=Rebooting...</action>
737 <action function="set">tw_slider_text=Swipe to Reboot</action>
738 <action function="page">rebootcheck</action>
739 </actions>
740 </object>
741
742 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600743 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400744 <placement x="%col_center_x%" y="%row3_y%" />
745 <font resource="font" color="%button_text_color%" />
746 <text>Home</text>
747 <image resource="main_button" />
748 <actions>
749 <action function="set">tw_clear_destination=main2</action>
750 <action function="page">clear_vars</action>
751 </actions>
752 </object>
753
754 <object type="text" color="%text_fail_color%">
755 <condition var1="tw_operation_status" op="!=" var2="0" />
756 <font resource="font" />
757 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
758 <text>Failed</text>
759 </object>
760
761 <object type="text" color="%text_success_color%">
762 <condition var1="tw_operation_status" var2="0" />
763 <font resource="font" />
764 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
765 <text>Successful</text>
766 </object>
767
768 <object type="action">
769 <touch key="back" />
770 <actions>
771 <action function="set">tw_clear_destination=install</action>
772 <action function="page">clear_vars</action>
773 </actions>
774 </object>
775
776 <object type="action">
777 <touch key="home" />
778 <actions>
779 <action function="set">tw_clear_destination=main2</action>
780 <action function="page">clear_vars</action>
781 </actions>
782 </object>
783 </page>
784
785 <page name="clear_vars">
786 <object type="action">
787 <action function="set">tw_operation_state=0</action>
788 <action function="set">tw_text1=</action>
789 <action function="set">tw_text2=</action>
790 <action function="set">tw_text3=</action>
791 <action function="set">tw_text4=</action>
792 <action function="set">tw_action_text1=</action>
793 <action function="set">tw_action_text2=</action>
794 <action function="set">tw_action_param=</action>
795 <action function="set">tw_has_action2=0</action>
796 <action function="set">tw_action2=</action>
797 <action function="set">tw_action2_param=</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -0400798 <action function="set">tw_has_cancel=0</action>
799 <action function="set">tw_cancel_action=</action>
800 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400801 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400802 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400803 <action function="page">%tw_clear_destination%</action>
804 </object>
805 </page>
806
807 <page name="confirm_action">
808 <object type="template" name="header" />
809
810 <object type="text" color="%text_color%">
811 <font resource="font" />
812 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
813 <text>%tw_text1%</text>
814 </object>
815
816 <object type="text" color="%text_color%">
817 <font resource="font" />
818 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
819 <text>%tw_text2%</text>
820 </object>
821
822 <object type="text" color="%text_color%">
823 <font resource="font" />
824 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
825 <text>%tw_text3%</text>
826 </object>
827
828 <object type="text" color="%text_color%">
829 <font resource="font" />
830 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
831 <text>%tw_text4%</text>
832 </object>
833
834 <object type="text" color="%text_color%">
835 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400836 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400837 <text>Press back button to cancel.</text>
838 </object>
839
840 <object type="slider">
841 <placement x="%slider_x%" y="%slider_y%" />
842 <resource base="slider" used="slider-used" touch="slider-touch" />
843 <action function="page">action_page</action>
844 </object>
845
846 <object type="text" color="%text_color%">
847 <font resource="font" />
848 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
849 <text>%tw_slider_text%</text>
850 </object>
851
852 <object type="action">
853 <touch key="back" />
854 <actions>
855 <action function="set">tw_clear_destination=%tw_back%</action>
856 <action function="page">clear_vars</action>
857 </actions>
858 </object>
859
860 <object type="action">
861 <touch key="home" />
862 <action function="page">main</action>
863 </object>
864
865 <object type="template" name="footer" />
866 </page>
867
868 <page name="action_page">
869 <object type="template" name="header" />
870
871 <object type="text" color="%text_color%">
872 <font resource="font" />
873 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
874 <text>%tw_action_text1%</text>
875 </object>
876
877 <object type="text" color="%text_color%">
878 <font resource="font" />
879 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
880 <text>%tw_action_text2%</text>
881 </object>
882
883 <object type="template" name="action_page_console" />
884
Dees_Troyc51f1f92012-09-20 15:32:13 -0400885 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600886 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -0400887 <condition var1="tw_has_cancel" var2="1" />
888 <placement x="%col_center_medium_x%" y="%row4_y%" />
889 <font resource="font" color="%button_text_color%" />
890 <text>Cancel</text>
891 <image resource="medium_button" />
892 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
893 </object>
894
Dees_Troy51a0e822012-09-05 15:24:24 -0400895 <object type="template" name="progress_bar" />
896
897 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400898 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400899 <actions>
900 <action function="page">action_complete</action>
901 </actions>
902 </object>
903
904 <object type="action">
905 <condition var1="tw_has_action2" var2="0" />
906 <actions>
907 <action function="%tw_action%">%tw_action_param%</action>
908 </actions>
909 </object>
910
911 <object type="action">
912 <condition var1="tw_has_action2" var2="1" />
913 <actions>
914 <action function="%tw_action%">%tw_action_param%</action>
915 <action function="%tw_action2%">%tw_action2_param%</action>
916 </actions>
917 </object>
918 </page>
919
Dees_Troy82111022013-02-21 21:13:09 +0000920 <page name="singleaction_page">
921 <object type="template" name="header" />
922
923 <object type="text" color="%text_color%">
924 <font resource="font" />
925 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
926 <text>%tw_action_text1%</text>
927 </object>
928
929 <object type="text" color="%text_color%">
930 <font resource="font" />
931 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
932 <text>%tw_action_text2%</text>
933 </object>
934
935 <object type="template" name="action_page_console" />
936
937 <object type="template" name="progress_bar" />
938
939 <object type="action">
940 <condition var1="tw_operation_state" var2="1" />
941 <actions>
942 <action function="set">tw_page_done=1</action>
943 </actions>
944 </object>
945
946 <object type="action">
947 <condition var1="tw_has_action2" var2="0" />
948 <actions>
949 <action function="%tw_action%">%tw_action_param%</action>
950 </actions>
951 </object>
952
953 <object type="action">
954 <condition var1="tw_has_action2" var2="1" />
955 <actions>
956 <action function="%tw_action%">%tw_action_param%</action>
957 <action function="%tw_action2%">%tw_action2_param%</action>
958 </actions>
959 </object>
960 </page>
961
Dees_Troy51a0e822012-09-05 15:24:24 -0400962 <page name="action_complete">
963 <object type="template" name="header" />
964
965 <object type="text" color="%text_color%">
966 <font resource="font" />
967 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
968 <text>%tw_complete_text1%</text>
969 </object>
970
971 <object type="text" color="%text_fail_color%">
972 <condition var1="tw_operation_status" op="!=" var2="0" />
973 <font resource="font" />
974 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
975 <text>Failed</text>
976 </object>
977
978 <object type="text" color="%text_success_color%">
979 <condition var1="tw_operation_status" var2="0" />
980 <font resource="font" />
981 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
982 <text>Successful</text>
983 </object>
984
985 <object type="template" name="action_page_console" />
986
987 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600988 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400989 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400990 <placement x="%col_center_x%" y="%row4_y%" />
991 <font resource="font" color="%button_text_color%" />
992 <text>Back</text>
993 <image resource="main_button" />
994 <actions>
995 <action function="set">tw_clear_destination=%tw_back%</action>
996 <action function="page">clear_vars</action>
997 </actions>
998 </object>
999
Dees_Troya3f81542012-10-08 10:58:53 -04001000 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001001 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001002 <condition var1="tw_show_reboot" var2="1" />
1003 <placement x="%col_center_x%" y="%row4_y%" />
1004 <font resource="font" color="%button_text_color%" />
1005 <text>Reboot System</text>
1006 <image resource="main_button" />
1007 <actions>
1008 <action function="set">tw_back=main2</action>
1009 <action function="set">tw_action=reboot</action>
1010 <action function="set">tw_action_param=system</action>
1011 <action function="set">tw_has_action2=0</action>
1012 <action function="set">tw_text1=No OS Installed! Are you</action>
1013 <action function="set">tw_text2=sure you wish to reboot?</action>
1014 <action function="set">tw_text3=</action>
1015 <action function="set">tw_text4=</action>
1016 <action function="set">tw_action_text1=Rebooting...</action>
1017 <action function="set">tw_action_text2=</action>
1018 <action function="set">tw_complete_text1=Rebooting...</action>
1019 <action function="set">tw_slider_text=Swipe to Reboot</action>
1020 <action function="page">rebootcheck</action>
1021 </actions>
1022 </object>
1023
Dees_Troy51a0e822012-09-05 15:24:24 -04001024 <object type="action">
1025 <touch key="home" />
1026 <actions>
1027 <action function="set">tw_clear_destination=main2</action>
1028 <action function="page">clear_vars</action>
1029 </actions>
1030 </object>
1031
1032 <object type="action">
1033 <touch key="back" />
1034 <actions>
1035 <action function="set">tw_clear_destination=%tw_back%</action>
1036 <action function="page">clear_vars</action>
1037 </actions>
1038 </object>
1039 </page>
1040
1041 <page name="filecheck">
1042 <object type="action">
1043 <action function="fileexists">%tw_filecheck%</action>
1044 </object>
1045
1046 <object type="action">
1047 <conditions>
1048 <condition var1="tw_operation_state" var2="1" />
1049 <condition var1="tw_operation_status" var2="0" />
1050 </conditions>
1051 <actions>
1052 <action function="set">tw_fileexists=1</action>
1053 <action function="page">%tw_existpage%</action>
1054 </actions>
1055 </object>
1056
1057 <object type="action">
1058 <conditions>
1059 <condition var1="tw_operation_state" var2="1" />
1060 <condition var1="tw_operation_status" var2="1" />
1061 </conditions>
1062 <actions>
1063 <action function="set">tw_fileexists=0</action>
1064 <action function="page">%tw_notexistpage%</action>
1065 </actions>
1066 </object>
1067 </page>
1068
1069 <page name="rebootcheck">
1070 <object type="action">
1071 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1072 <action function="reboot">%tw_action_param%</action>
1073 </object>
1074
1075 <object type="action">
1076 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1077 <action function="page">confirm_action</action>
1078 </object>
1079 </page>
1080
1081 <page name="wipe">
1082 <object type="template" name="header" />
1083
1084 <object type="text" color="%text_color%">
1085 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001086 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001087 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001088 </object>
1089
1090 <object type="text" color="%text_color%">
1091 <font resource="font" />
1092 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1093 <text>Wipes Data, Cache, and Dalvik</text>
1094 </object>
1095
1096 <object type="text" color="%text_color%">
1097 <condition var1="tw_has_data_media" var2="0" />
1098 <font resource="font" />
1099 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1100 <text>.android_secure</text>
1101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <condition var1="tw_has_data_media" var2="1" />
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1107 <text>(not including internal storage)</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <condition var1="tw_has_sdext_partition" var2="1" />
1112 <font resource="font" />
1113 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1114 <text>SD-EXT</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <font resource="font" />
1119 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1120 <text>Most of the time this is</text>
1121 </object>
1122
1123 <object type="text" color="%text_color%">
1124 <font resource="font" />
1125 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1126 <text>the only wipe that you need.</text>
1127 </object>
1128
1129 <object type="text" color="%text_color%">
1130 <font resource="font" />
1131 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1132 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001133 </object>
1134
1135 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001136 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001137 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001138 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001139 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001140 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001141 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001142 </object>
1143
1144 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001145 <conditions>
1146 <condition var1="tw_has_internal" var2="1" />
1147 <condition var1="tw_has_data_media" var2="1" />
1148 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001149 <highlight color="%highlight_color%" />
1150 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001151 <font resource="font" color="%button_text_color%" />
1152 <text>Format Data</text>
1153 <image resource="main_button" />
1154 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001155 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001156 </actions>
1157 </object>
1158
Dees_Troya13d74f2013-03-24 08:54:55 -05001159 <object type="slider">
1160 <placement x="%slider_x%" y="%slider_y%" />
1161 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001162 <actions>
1163 <action function="set">tw_back=wipe</action>
1164 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001165 <action function="set">tw_action_param=data</action>
1166 <action function="set">tw_action_text1=Factory Reset...</action>
1167 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1168 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001169 </actions>
1170 </object>
1171
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <object type="text" color="%text_color%">
1173 <font resource="font" />
1174 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1175 <text>Swipe to Factory Reset</text>
1176 </object>
1177
1178 <object type="action">
1179 <touch key="back" />
1180 <action function="page">main</action>
1181 </object>
1182
1183 <object type="action">
1184 <touch key="home" />
1185 <action function="page">main</action>
1186 </object>
1187
1188 <object type="template" name="footer" />
1189 </page>
1190
1191 <page name="advancedwipe">
1192 <object type="template" name="header" />
1193
1194 <object type="text" color="%text_color%">
1195 <font resource="font" />
1196 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1197 <text>Wipe Menu</text>
1198 </object>
1199
1200 <object type="partitionlist">
1201 <highlight color="%fileselector_highlight_color%" />
1202 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1203 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1204 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1205 <text>Select Partitions to Wipe:</text>
1206 <icon selected="checkbox_true" unselected="checkbox_false" />
1207 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1208 <background color="%listbox_background%" />
1209 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1210 <data name="tw_wipe_list" />
1211 <listtype name="wipe" />
1212 </object>
1213
1214 <object type="slider">
1215 <placement x="%slider_x%" y="%slider_y%" />
1216 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001217 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001218 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001219 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001220 <action function="set">tw_action_param=LIST</action>
1221 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1222 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1223 <action function="set">tw_complete_text1=Wipe Complete</action>
1224 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001225 </actions>
1226 </object>
1227
Dees_Troya13d74f2013-03-24 08:54:55 -05001228 <object type="text" color="%text_color%">
1229 <font resource="font" />
1230 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1231 <text>Swipe to Wipe</text>
1232 </object>
1233
Dees_Troy51a0e822012-09-05 15:24:24 -04001234 <object type="action">
1235 <touch key="home" />
1236 <action function="page">main</action>
1237 </object>
1238
1239 <object type="action">
1240 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001241 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001242 </object>
1243
1244 <object type="template" name="footer" />
1245 </page>
1246
Dees_Troya13d74f2013-03-24 08:54:55 -05001247 <page name="formatdata">
1248 <object type="template" name="header" />
1249
1250 <object type="text" color="%text_color%">
1251 <font resource="font" />
1252 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1253 <text>Format Data will wipe all of your apps,</text>
1254 </object>
1255
1256 <object type="text" color="%text_color%">
1257 <font resource="font" />
1258 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1259 <text>backups, pictures, videos, media, and</text>
1260 </object>
1261
1262 <object type="text" color="%text_color%">
1263 <font resource="font" />
1264 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1265 <text>removes encryption on internal storage.</text>
1266 </object>
1267
1268 <object type="text" color="%text_color%">
1269 <font resource="font" />
1270 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1271 <text>This cannot be undone. Press back to cancel.</text>
1272 </object>
1273
1274 <object type="text" color="%text_color%">
1275 <font resource="font" />
1276 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1277 <text>Type yes to continue.</text>
1278 </object>
1279
1280 <object type="input">
1281 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1282 <background color="%input_background_color%" />
1283 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1284 <font resource="font" color="%text_color%" />
1285 <text>%tw_confirm_formatdata%</text>
1286 <data name="tw_confirm_formatdata" />
1287 <restrict minlen="3" maxlen="3" allow="yes" />
1288 <action function="page">formatdata_confirm</action>
1289 </object>
1290
1291 <object type="template" name="keyboardtemplate" />
1292
1293 <object type="action">
1294 <touch key="home" />
1295 <action function="page">main</action>
1296 </object>
1297
1298 <object type="action">
1299 <touch key="back" />
1300 <action function="page">wipe</action>
1301 </object>
1302
1303 <object type="template" name="footer" />
1304 </page>
1305
1306 <page name="formatdata_confirm">
1307 <object type="action">
1308 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1309 <actions>
1310 <action function="set">tw_back=formatdata</action>
1311 <action function="set">tw_action=wipe</action>
1312 <action function="set">tw_action_param=DATAMEDIA</action>
1313 <action function="set">tw_action_text1=Formatting Data...</action>
1314 <action function="set">tw_complete_text1=Data Format Complete</action>
1315 <action function="page">action_page</action>
1316 </actions>
1317 </object>
1318
1319 <object type="action">
1320 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1321 <action function="page">formatdata</function>
1322 </object>
1323 </page>
1324
Dees_Troy51a0e822012-09-05 15:24:24 -04001325 <page name="backup">
1326 <object type="template" name="header" />
1327
Dees_Troy83bd4832013-05-04 12:39:56 +00001328 <object type="button">
1329 <highlight color="%highlight_color%" />
1330 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001331 <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 +00001332 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001333 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001334 <actions>
1335 <action function="set">tw_fileexists=0</action>
1336 <action function="page">backupname1</action>
1337 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001338 </object>
1339
Dees_Troya13d74f2013-03-24 08:54:55 -05001340 <object type="partitionlist">
1341 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001342 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001343 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1344 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1345 <text>Select Partitions to Back Up:</text>
1346 <icon selected="checkbox_true" unselected="checkbox_false" />
1347 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1348 <background color="%listbox_background%" />
1349 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1350 <data name="tw_backup_list" />
1351 <listtype name="backup" />
1352 </object>
1353
1354 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001355 <conditions>
1356 <condition var1="tw_include_encrypted_backup" var2="1" />
1357 <condition var1="tw_encrypt_backup" var2="0" />
1358 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001359 <highlight color="%highlight_color%" />
1360 <fill color="%button_fill_color%" />
1361 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1362 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001363 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001364 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001365 <action function="page">backupencryption</action>
1366 </actions>
1367 </object>
1368
1369 <object type="button">
1370 <conditions>
1371 <condition var1="tw_include_encrypted_backup" var2="1" />
1372 <condition var1="tw_encrypt_backup" var2="1" />
1373 </conditions>
1374 <highlight color="%highlight_color%" />
1375 <fill color="%button_fill_color%" />
1376 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1377 <font resource="font" color="%button_text_color%" />
1378 <text>Using Encryption</text>
1379 <actions>
1380 <action function="set">tw_password_not_match=0</action>
1381 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001382 </actions>
1383 </object>
1384
1385 <object type="button">
1386 <highlight color="%highlight_color%" />
1387 <fill color="%button_fill_color%" />
1388 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1389 <font resource="font" color="%button_text_color%" />
1390 <text>Refresh Sizes</text>
1391 <action function="refreshsizes"></action>
1392 </object>
1393
1394 <object type="button">
1395 <highlight color="%highlight_color%" />
1396 <fill color="%button_fill_color%" />
1397 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1398 <font resource="font" color="%button_text_color%" />
1399 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1400 <actions>
1401 <action function="set">tw_back=backup</action>
1402 <action function="page">selectstorage</action>
1403 </actions>
1404 </object>
1405
1406 <object type="checkbox">
1407 <placement x="%col1_x%" y="%row15_text_y%" />
1408 <font resource="font" color="%text_color%" />
1409 <text>Enable compression.</text>
1410 <data variable="tw_use_compression" />
1411 <image checked="checkbox_true" unchecked="checkbox_false" />
1412 </object>
1413
1414 <object type="checkbox">
1415 <placement x="%col1_x%" y="%row16_text_y%" />
1416 <font resource="font" color="%text_color%" />
1417 <text>Skip MD5 generation during backup.</text>
1418 <data variable="tw_skip_md5_generate" />
1419 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001420 </object>
1421
1422 <object type="slider">
1423 <placement x="%slider_x%" y="slider_y" />
1424 <resource base="slider" used="slider-used" touch="slider-touch" />
1425 <action function="page">backup_run</action>
1426 </object>
1427
1428 <object type="text" color="%text_color%">
1429 <font resource="font" />
1430 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1431 <text>Swipe to Back Up</text>
1432 </object>
1433
Dees_Troy51a0e822012-09-05 15:24:24 -04001434 <object type="action">
1435 <touch key="home" />
1436 <action function="page">main</action>
1437 </object>
1438
1439 <object type="action">
1440 <touch key="back" />
1441 <action function="page">main</action>
1442 </object>
1443
1444 <object type="template" name="footer" />
1445 </page>
1446
1447 <page name="backupname1">
1448 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001449 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1450 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001451 </object>
1452
1453 <object type="action">
1454 <action function="page">backupname2</function>
1455 </object>
1456 </page>
1457
1458 <page name="backupname2">
1459 <object type="template" name="header" />
1460
1461 <object type="text" color="%text_color%">
1462 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1463 <font resource="font" />
1464 <text>Please Enter a Backup Name</text>
1465 </object>
1466
1467 <object type="input">
1468 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1469 <background color="%input_background_color%" />
1470 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1471 <font resource="font" color="%text_color%" />
1472 <text>%tw_backup_name%</text>
1473 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001474 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001475 <actions>
1476 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1477 <action function="set">tw_existpage=backupname2</action>
1478 <action function="set">tw_notexistpage=backup</action>
1479 <action function="page">filecheck</action>
1480 </actions>
1481 </object>
1482
1483 <object type="text" color="%text_fail_color%">
1484 <condition var1="tw_fileexists" var2="1" />
1485 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1486 <font resource="font" />
1487 <text>A backup with that name already exists!</text>
1488 </object>
1489
1490 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001491 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001492 <placement x="%col1_x%" y="%row2_y%" />
1493 <font resource="font" color="%button_text_color%" />
1494 <text>Append Date</text>
1495 <image resource="main_button" />
1496 <action function="appenddatetobackupname"></action>
1497 </object>
1498
1499 <object type="button">
1500 <highlight color="%highlight_color%" />
1501 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001502 <font resource="font" color="%button_text_color%" />
1503 <text>Cancel</text>
1504 <image resource="main_button" />
1505 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001506 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001507 <action function="page">backup</action>
1508 </actions>
1509 </object>
1510
1511 <object type="template" name="keyboardtemplate" />
1512
1513 <object type="action">
1514 <touch key="home" />
1515 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001516 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001517 <action function="page">main</action>
1518 </actions>
1519 </object>
1520
1521 <object type="action">
1522 <touch key="back" />
1523 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001524 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001525 <action function="page">backup</action>
1526 </actions>
1527 </object>
1528
1529 <object type="template" name="footer" />
1530 </page>
1531
Dees_Troy83bd4832013-05-04 12:39:56 +00001532 <page name="backupencryption">
1533 <object type="template" name="header" />
1534
1535 <object type="text" color="%text_color%">
1536 <font resource="font" />
1537 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1538 <text>Encrypt your backup?</text>
1539 </object>
1540
1541 <object type="text" color="%text_color%">
1542 <font resource="font" />
1543 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1544 <text>Please Enter A Password:</text>
1545 </object>
1546
1547 <object type="input">
1548 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1549 <background color="%input_background_color%" />
1550 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1551 <font resource="font" color="%text_color%" />
1552 <text>%tw_backup_encrypt_display%</text>
1553 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1554 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1555 <action function="page">backupencryption2</action>
1556 </object>
1557
1558 <object type="text" color="%text_fail_color%">
1559 <condition var1="tw_password_not_match" var2="1" />
1560 <font resource="font" />
1561 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1562 <text>Passwords Do Not Match</text>
1563 </object>
1564
1565 <object type="button">
1566 <highlight color="%highlight_color%" />
1567 <placement x="%col_center_x%" y="%row2_y%" />
1568 <font resource="font" color="%button_text_color%" />
1569 <text>Cancel</text>
1570 <image resource="main_button" />
1571 <actions>
1572 <action function="set">tw_encrypt_backup=0</action>
1573 <action function="set">tw_backup_password=</action>
1574 <action function="set">tw_backup_password2=</action>
1575 <action function="set">tw_backup_encrypt_display=</action>
1576 <action function="set">tw_backup_encrypt_display2=</action>
1577 <action function="page">backup</action>
1578 </actions>
1579 </object>
1580
1581 <object type="template" name="keyboardtemplate" />
1582
1583 <object type="action">
1584 <touch key="home" />
1585 <action function="page">main</action>
1586 </object>
1587
1588 <object type="action">
1589 <touch key="back" />
1590 <action function="page">backup</action>
1591 </object>
1592
1593 <object type="template" name="footer" />
1594 </page>
1595
1596 <page name="backupencryption2">
1597 <object type="template" name="header" />
1598
1599 <object type="text" color="%text_color%">
1600 <font resource="font" />
1601 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1602 <text>Encrypt your backup?</text>
1603 </object>
1604
1605 <object type="text" color="%text_color%">
1606 <font resource="font" />
1607 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1608 <text>Please Enter Password Again:</text>
1609 </object>
1610
1611 <object type="input">
1612 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1613 <background color="%input_background_color%" />
1614 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1615 <font resource="font" color="%text_color%" />
1616 <text>%tw_backup_encrypt_display2%</text>
1617 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1618 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1619 <actions>
1620 <action function="page">checkbackuppassword</action>
1621 </actions>
1622 </object>
1623
1624 <object type="button">
1625 <highlight color="%highlight_color%" />
1626 <placement x="%col_center_x%" y="%row2_y%" />
1627 <font resource="font" color="%button_text_color%" />
1628 <text>Cancel</text>
1629 <image resource="main_button" />
1630 <actions>
1631 <action function="set">tw_encrypt_backup=0</action>
1632 <action function="set">tw_backup_password=</action>
1633 <action function="set">tw_backup_password2=</action>
1634 <action function="set">tw_backup_encrypt_display=</action>
1635 <action function="set">tw_backup_encrypt_display2=</action>
1636 <action function="page">backup</action>
1637 </actions>
1638 </object>
1639
1640 <object type="template" name="keyboardtemplate" />
1641
1642 <object type="action">
1643 <touch key="home" />
1644 <action function="page">main</action>
1645 </object>
1646
1647 <object type="action">
1648 <touch key="back" />
1649 <action function="page">backup</action>
1650 </object>
1651
1652 <object type="template" name="footer" />
1653 </page>
1654
1655 <page name="checkbackuppassword">
1656 <object type="action">
1657 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1658 <actions>
1659 <action function="set">tw_encrypt_backup=1</action>
1660 <action function="page">backup</action>
1661 </actions>
1662 </object>
1663
1664 <object type="action">
1665 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1666 <actions>
1667 <action function="set">tw_encrypt_backup=0</action>
1668 <action function="set">tw_password_not_match=1</action>
1669 <action function="set">tw_backup_password=</action>
1670 <action function="set">tw_backup_password2=</action>
1671 <action function="set">tw_backup_encrypt_display=</action>
1672 <action function="set">tw_backup_encrypt_display2=</action>
1673 <action function="page">backupencryption</action>
1674 </actions>
1675 </object>
1676 </page>
1677
Dees_Troy51a0e822012-09-05 15:24:24 -04001678 <page name="backup_run">
1679 <object type="template" name="header" />
1680
1681 <object type="text" color="%text_color%">
1682 <font resource="font" />
1683 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1684 <text>%tw_operation% %tw_partition%</text>
1685 </object>
1686
1687 <object type="template" name="action_page_console" />
1688
1689 <object type="template" name="progress_bar" />
1690
1691 <object type="action">
1692 <action function="nandroid">backup</action>
1693 </object>
1694
1695 <object type="action">
1696 <condition var1="tw_operation_state" var2="1" />
1697 <actions>
1698 <action function="set">tw_back=backup</action>
1699 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001700 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001701 <action function="page">action_complete</action>
1702 </actions>
1703 </object>
1704 </page>
1705
1706 <page name="restore">
1707 <object type="template" name="header" />
1708
1709 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001710 <highlight color="%highlight_color%" />
1711 <fill color="%button_fill_color%" />
1712 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1713 <font resource="font" color="%button_text_color%" />
1714 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1715 <actions>
1716 <action function="set">tw_back=restore</action>
1717 <action function="page">selectstorage</action>
1718 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001719 </object>
1720
1721 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001722 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001723 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001724 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001725 <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 -04001726 <text>Select Package to Restore:</text>
1727 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1728 <sort name="tw_gui_sort_order" />
1729 <icon folder="folder_icon" file="file_icon" />
1730 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001731 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001732 <filter folders="1" files="0" nav="0" />
1733 <path name="tw_backups_folder" />
1734 <data name="tw_restore" default="" />
1735 <selection name="tw_restore_name" />
1736 </object>
1737
1738 <object type="template" name="sort_options" />
1739
1740 <object type="action">
1741 <condition var1="tw_restore" op="modified" />
1742 <actions>
1743 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001744 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001745 </actions>
1746 </object>
1747
1748 <object type="action">
1749 <touch key="home" />
1750 <action function="page">main</action>
1751 </object>
1752
1753 <object type="action">
1754 <touch key="back" />
1755 <action function="page">main</action>
1756 </object>
1757
1758 <object type="template" name="footer" />
1759 </page>
1760
Dees_Troy83bd4832013-05-04 12:39:56 +00001761 <page name="restore_read">
1762 <object type="action">
1763 <condition var1="tw_restore_encrypted" var2="1" />
1764 <actions>
1765 <action function="set">tw_password_fail=0</action>
1766 <action function="page">restore_decrypt</action>
1767 </actions>
1768 </object>
1769
1770 <object type="action">
1771 <condition var1="tw_restore_encrypted" var2="0" />
1772 <actions>
1773 <action function="page">restore_select</action>
1774 </actions>
1775 </object>
1776 </page>
1777
1778 <page name="restore_decrypt">
1779 <object type="template" name="header" />
1780
1781 <object type="text" color="%text_color%">
1782 <font resource="font" />
1783 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1784 <text>Backup Encrypted</text>
1785 </object>
1786
1787 <object type="text" color="%text_color%">
1788 <font resource="font" />
1789 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1790 <text>Please Enter Your Password:</text>
1791 </object>
1792
1793 <object type="input">
1794 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1795 <background color="%input_background_color%" />
1796 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1797 <font resource="font" color="%text_color%" />
1798 <text>%tw_restore_display%</text>
1799 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1800 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1801 <actions>
1802 <action function="page">try_restore_decrypt</action>
1803 </actions>
1804 </object>
1805
1806 <object type="text" color="%text_fail_color%">
1807 <condition var1="tw_password_fail" var2="1" />
1808 <font resource="font" />
1809 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1810 <text>Password Failed, Please Try Again</text>
1811 </object>
1812
1813 <object type="button">
1814 <highlight color="%highlight_color%" />
1815 <placement x="%col1_x%" y="%row2_y%" />
1816 <font resource="font" color="%button_text_color%" />
1817 <text>Cancel</text>
1818 <image resource="main_button" />
1819 <actions>
1820 <action function="set">tw_page_done=1</action>
1821 <action function="page">restore</action>
1822 </actions>
1823 </object>
1824
1825 <object type="button">
1826 <highlight color="%highlight_color%" />
1827 <placement x="%col2_x%" y="%row2_y%" />
1828 <font resource="font" color="%button_text_color%" />
1829 <text>Delete</text>
1830 <image resource="main_button" />
1831 <actions>
1832 <action function="set">tw_back=restore</action>
1833 <action function="set">tw_action=cmd</action>
1834 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1835 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1836 <action function="set">tw_text2=This cannot be undone!</action>
1837 <action function="set">tw_action_text1=Deleting Backup...</action>
1838 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1839 <action function="set">tw_slider_text=Swipe to Delete</action>
1840 <action function="page">confirm_action</action>
1841 </actions>
1842 </object>
1843
1844 <object type="template" name="keyboardtemplate" />
1845
1846 <object type="action">
1847 <touch key="home" />
1848 <action function="page">main</action>
1849 </object>
1850
1851 <object type="action">
1852 <touch key="back" />
1853 <action function="page">restore</action>
1854 </object>
1855
1856 <object type="template" name="footer" />
1857 </page>
1858
1859 <page name="try_restore_decrypt">
1860 <object type="template" name="header" />
1861
1862 <object type="text" color="%text_color%">
1863 <font resource="font" />
1864 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1865 <text>Trying Decryption with Your Password</text>
1866 </object>
1867
1868 <object type="template" name="action_page_console" />
1869
1870 <object type="template" name="progress_bar" />
1871
1872 <object type="action">
1873 <action function="decrypt_backup"></action>
1874 </object>
1875
1876 <object type="action">
1877 <conditions>
1878 <condition var1="tw_operation_state" var2="1" />
1879 <condition var1="tw_operation_status" op="!=" var2="0" />
1880 </conditions>
1881 <actions>
1882 <action function="set">tw_password_fail=1</action>
1883 <action function="page">restore_decrypt</action>
1884 </actions>
1885 </object>
1886
1887 <object type="action">
1888 <conditions>
1889 <condition var1="tw_operation_state" var2="1" />
1890 <condition var1="tw_operation_status" op="=" var2="0" />
1891 </conditions>
1892 <actions>
1893 <action function="set">tw_page_done=1</action>
1894 <action function="page">restore_select</action>
1895 </actions>
1896 </object>
1897 </page>
1898
Dees_Troy51a0e822012-09-05 15:24:24 -04001899 <page name="restore_select">
1900 <object type="template" name="header" />
1901
Dees_Troya13d74f2013-03-24 08:54:55 -05001902 <object type="partitionlist">
1903 <highlight color="%fileselector_highlight_color%" />
1904 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1905 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1906 <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 -04001907 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001908 <icon selected="checkbox_true" unselected="checkbox_false" />
1909 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1910 <background color="%listbox_background%" />
1911 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1912 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1913 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001914 </object>
1915
1916 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001917 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001918 <fill color="%button_fill_color%" />
1919 <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 -04001920 <font resource="font" color="%button_text_color%" />
1921 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001922 <actions>
1923 <action function="set">tw_backup_rename=</action>
1924 <action function="set">tw_fileexists=0</action>
1925 <action function="page">renamebackup</action>
1926 </actions>
1927 </object>
1928
1929 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001930 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001931 <fill color="%button_fill_color%" />
1932 <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 -04001933 <font resource="font" color="%button_text_color%" />
1934 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001935 <actions>
1936 <action function="set">tw_back=restore</action>
1937 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001938 <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 -04001939 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1940 <action function="set">tw_text2=This cannot be undone!</action>
1941 <action function="set">tw_action_text1=Deleting Backup...</action>
1942 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1943 <action function="set">tw_slider_text=Swipe to Delete</action>
1944 <action function="page">confirm_action</action>
1945 </actions>
1946 </object>
1947
Dees_Troya13d74f2013-03-24 08:54:55 -05001948 <object type="checkbox">
1949 <placement x="%col1_x%" y="%row15_text_y%" />
1950 <font resource="font" color="%text_color%" />
1951 <text>Enable MD5 verification of backup files.</text>
1952 <data variable="tw_skip_md5_check" />
1953 <image checked="checkbox_true" unchecked="checkbox_false" />
1954 </object>
1955
1956 <object type="text" color="%text_color%">
1957 <font resource="font" />
1958 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1959 <text>Package Date: %tw_restore_file_date%</text>
1960 </object>
1961
Dees_Troy51a0e822012-09-05 15:24:24 -04001962 <object type="slider">
1963 <placement x="%slider_x%" y="%slider_y%" />
1964 <resource base="slider" used="slider-used" touch="slider-touch" />
1965 <action function="page">restore_run</action>
1966 </object>
1967
1968 <object type="text" color="%text_color%">
1969 <font resource="font" />
1970 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1971 <text>Swipe to Restore</text>
1972 </object>
1973
Dees_Troy51a0e822012-09-05 15:24:24 -04001974 <object type="action">
1975 <touch key="home" />
1976 <action function="page">main</action>
1977 </object>
1978
1979 <object type="action">
1980 <touch key="back" />
1981 <action function="page">restore</action>
1982 </object>
1983
1984 <object type="template" name="footer" />
1985 </page>
1986
1987 <page name="renamebackup">
1988 <object type="template" name="header" />
1989
1990 <object type="text" color="%text_color%">
1991 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1992 <font resource="font" />
1993 <text>Please Enter a New Backup Name</text>
1994 </object>
1995
1996 <object type="input">
1997 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1998 <background color="%input_background_color%" />
1999 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2000 <font resource="font" color="%text_color%" />
2001 <text>%tw_backup_rename%</text>
2002 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002003 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002004 <actions>
2005 <action function="set">tw_back=restore</action>
2006 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002007 <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 -04002008 <action function="set">tw_text1=Rename Backup?</action>
2009 <action function="set">tw_text2=This cannot be undone!</action>
2010 <action function="set">tw_action_text1=Renaming Backup...</action>
2011 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2012 <action function="set">tw_slider_text=Swipe to Rename</action>
2013 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2014 <action function="set">tw_existpage=renamebackup</action>
2015 <action function="set">tw_notexistpage=confirm_action</action>
2016 <action function="page">filecheck</action>
2017 </actions>
2018 </object>
2019
2020 <object type="text" color="%text_fail_color%">
2021 <condition var1="tw_fileexists" var2="1" />
2022 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2023 <font resource="font" />
2024 <text>A backup with that name already exists!</text>
2025 </object>
2026
2027 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002028 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002029 <placement x="%col_center_x%" y="%row2_y%" />
2030 <font resource="font" color="%button_text_color%" />
2031 <text>Cancel</text>
2032 <image resource="main_button" />
2033 <action function="page">restore_select</action>
2034 </object>
2035
2036 <object type="template" name="keyboardtemplate" />
2037
2038 <object type="action">
2039 <touch key="home" />
2040 <action function="page">main</action>
2041 </object>
2042
2043 <object type="action">
2044 <touch key="back" />
2045 <action function="page">restore_select</action>
2046 </object>
2047
2048 <object type="template" name="footer" />
2049 </page>
2050
2051 <page name="restore_run">
2052 <object type="template" name="header" />
2053
2054 <object type="text" color="%text_color%">
2055 <font resource="font" />
2056 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2057 <text>%tw_operation% %tw_partition%</text>
2058 </object>
2059
2060 <object type="template" name="action_page_console" />
2061
2062 <object type="template" name="progress_bar" />
2063
2064 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002065 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002066 <actions>
2067 <action function="set">tw_back=restore_select</action>
2068 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002069 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002070 <action function="page">action_complete</action>
2071 </actions>
2072 </object>
2073
2074 <object type="action">
2075 <action function="nandroid">restore</action>
2076 </object>
2077 </page>
2078
Dees_Troya13d74f2013-03-24 08:54:55 -05002079 <page name="selectstorage">
2080 <object type="template" name="header" />
2081
2082 <object type="partitionlist">
2083 <highlight color="%fileselector_highlight_color%" />
2084 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2085 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2086 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2087 <text>Select Storage:</text>
2088 <icon selected="radio_true" unselected="radio_false" />
2089 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2090 <background color="%listbox_background%" />
2091 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2092 <data name="tw_storage_path" />
2093 <listtype name="storage" />
2094 </object>
2095
Dees_Troye7e0ae82013-07-05 14:46:07 +00002096 <object type="button">
2097 <highlight color="%highlight_color%" />
2098 <placement x="%col_center_x%" y="%row4_y%" />
2099 <font resource="font" color="%button_text_color%" />
2100 <text>OK</text>
2101 <image resource="main_button" />
2102 <actions>
2103 <action function="set">tw_clear_destination=%tw_back%</action>
2104 <action function="page">clear_vars</action>
2105 </actions>
2106 </object>
2107
Dees_Troya13d74f2013-03-24 08:54:55 -05002108 <object type="action">
2109 <touch key="home" />
2110 <action function="page">main</action>
2111 </object>
2112
2113 <object type="action">
2114 <touch key="back" />
2115 <actions>
2116 <action function="page">%tw_back%</action>
2117 </actions>
2118 </object>
2119
2120 <object type="template" name="footer" />
2121 </page>
2122
Dees_Troy51a0e822012-09-05 15:24:24 -04002123 <page name="mount">
2124 <object type="template" name="header" />
2125
Dees_Troya13d74f2013-03-24 08:54:55 -05002126 <object type="partitionlist">
2127 <highlight color="%fileselector_highlight_color%" />
2128 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2129 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2130 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2131 <text>Select Partitions to Mount:</text>
2132 <icon selected="checkbox_true" unselected="checkbox_false" />
2133 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2134 <background color="%listbox_background%" />
2135 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2136 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002137 </object>
2138
2139 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002140 <highlight color="%highlight_color%" />
2141 <fill color="%button_fill_color%" />
2142 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2143 <font resource="font" color="%button_text_color%" />
2144 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2145 <actions>
2146 <action function="set">tw_back=mount</action>
2147 <action function="page">selectstorage</action>
2148 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002149 </object>
2150
2151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002152 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002153 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002154 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002155 <font resource="font" color="%button_text_color%" />
2156 <text>Mount USB Storage</text>
2157 <image resource="main_button" />
2158 <action function="page">usb_mount</action>
2159 </object>
2160
Gary Peckffdc6ae2012-11-21 18:02:02 -08002161 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002162 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002163 <conditions>
2164 <condition var1="tw_is_encrypted" var2="1" />
2165 <condition var1="tw_is_decrypted" var2="0" />
2166 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002167 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002168 <font resource="font" color="%button_text_color%" />
2169 <text>Decrypt Data</text>
2170 <image resource="main_button" />
2171 <action function="page">decrypt</action>
2172 </object>
2173
Dees_Troy51a0e822012-09-05 15:24:24 -04002174 <object type="action">
2175 <touch key="home" />
2176 <action function="page">main</action>
2177 </object>
2178
2179 <object type="action">
2180 <touch key="back" />
2181 <action function="page">main</action>
2182 </object>
2183
2184 <object type="template" name="footer" />
2185 </page>
2186
2187 <page name="usb_mount">
2188 <object type="template" name="header" />
2189
2190 <object type="text" color="%text_color%">
2191 <font resource="font" />
2192 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2193 <text>USB Storage Mounted</text>
2194 </object>
2195
2196 <object type="text" color="%text_color%">
2197 <placement x="%col1_x%" y="%row1_text_y%" />
2198 <font resource="font" />
2199 <text>Be sure to safely remove your device</text>
2200 </object>
2201
2202 <object type="text" color="%text_color%">
2203 <placement x="%col1_x%" y="%row2_text_y%" />
2204 <font resource="font" />
2205 <text>from your computer before unmounting!</text>
2206 </object>
2207
2208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002210 <placement x="%col1_x%" y="%row3_y%" />
2211 <font resource="font" color="%button_text_color%" />
2212 <text>Unmount</text>
2213 <image resource="main_button" />
2214 <action function="page">usb_umount</action>
2215 </object>
2216
2217 <object type="action">
2218 <action function="mount">usb</action>
2219 </object>
2220
2221 <object type="template" name="footer" />
2222 </page>
2223
2224 <page name="usb_umount">
2225 <object type="action">
2226 <action function="unmount">usb</action>
2227 </object>
2228
2229 <object type="action">
2230 <action function="page">mount</action>
2231 </object>
2232 </page>
2233
2234 <page name="reboot">
2235 <object type="template" name="header" />
2236
2237 <object type="text" color="%text_color%">
2238 <font resource="font" />
2239 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2240 <text>Reboot Menu</text>
2241 </object>
2242
2243 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002244 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002245 <condition var1="tw_reboot_system" var2="1" />
2246 <placement x="%col1_x%" y="%row1_y%" />
2247 <font resource="font" color="%button_text_color%" />
2248 <text>System</text>
2249 <image resource="main_button" />
2250 <actions>
2251 <action function="set">tw_back=reboot</action>
2252 <action function="set">tw_action=reboot</action>
2253 <action function="set">tw_action_param=system</action>
2254 <action function="set">tw_has_action2=0</action>
2255 <action function="set">tw_text1=No OS Installed! Are you</action>
2256 <action function="set">tw_text2=sure you wish to reboot?</action>
2257 <action function="set">tw_action_text1=Rebooting...</action>
2258 <action function="set">tw_complete_text1=Rebooting...</action>
2259 <action function="set">tw_slider_text=Swipe to Reboot</action>
2260 <action function="page">rebootcheck</action>
2261 </actions>
2262 </object>
2263
2264 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002265 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002266 <condition var1="tw_reboot_poweroff" var2="1" />
2267 <placement x="%col2_x%" y="%row1_y%" />
2268 <font resource="font" color="%button_text_color%" />
2269 <text>Power Off</text>
2270 <image resource="main_button" />
2271 <actions>
2272 <action function="set">tw_back=reboot</action>
2273 <action function="set">tw_action=reboot</action>
2274 <action function="set">tw_action_param=poweroff</action>
2275 <action function="set">tw_has_action2=0</action>
2276 <action function="set">tw_text1=No OS Installed! Are you</action>
2277 <action function="set">tw_text2=sure you wish to power off?</action>
2278 <action function="set">tw_action_text1=Turning Off...</action>
2279 <action function="set">tw_complete_text1=Turning Off...</action>
2280 <action function="set">tw_slider_text=Swipe to Power Off</action>
2281 <action function="page">rebootcheck</action>
2282 </actions>
2283 </object>
2284
2285 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002286 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002287 <condition var1="tw_reboot_recovery" var2="1" />
2288 <placement x="%col1_x%" y="%row2_y%" />
2289 <font resource="font" color="%button_text_color%" />
2290 <text>Recovery</text>
2291 <image resource="main_button" />
2292 <actions>
2293 <action function="set">tw_back=reboot</action>
2294 <action function="set">tw_action=reboot</action>
2295 <action function="set">tw_action_param=recovery</action>
2296 <action function="set">tw_has_action2=0</action>
2297 <action function="set">tw_text1=No OS Installed! Are you</action>
2298 <action function="set">tw_text2=sure you wish to reboot?</action>
2299 <action function="set">tw_action_text1=Rebooting...</action>
2300 <action function="set">tw_complete_text1=Rebooting...</action>
2301 <action function="set">tw_slider_text=Swipe to Reboot</action>
2302 <action function="page">rebootcheck</action>
2303 </actions>
2304 </object>
2305
2306 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002307 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002308 <condition var1="tw_reboot_bootloader" var2="1" />
2309 <placement x="%col2_x%" y="%row2_y%" />
2310 <font resource="font" color="%button_text_color%" />
2311 <text>Bootloader</text>
2312 <image resource="main_button" />
2313 <actions>
2314 <action function="set">tw_back=reboot</action>
2315 <action function="set">tw_action=reboot</action>
2316 <action function="set">tw_action_param=bootloader</action>
2317 <action function="set">tw_has_action2=0</action>
2318 <action function="set">tw_text1=No OS Installed! Are you</action>
2319 <action function="set">tw_text2=sure you wish to reboot?</action>
2320 <action function="set">tw_action_text1=Rebooting...</action>
2321 <action function="set">tw_complete_text1=Rebooting...</action>
2322 <action function="set">tw_slider_text=Swipe to Reboot</action>
2323 <action function="page">rebootcheck</action>
2324 </actions>
2325 </object>
2326
2327 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002328 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002329 <condition var1="tw_download_mode" var2="1" />
2330 <placement x="%col1_x%" y="%row3_y%" />
2331 <font resource="font" color="%button_text_color%" />
2332 <text>Download</text>
2333 <image resource="main_button" />
2334 <actions>
2335 <action function="set">tw_back=reboot</action>
2336 <action function="set">tw_action=reboot</action>
2337 <action function="set">tw_action_param=download</action>
2338 <action function="set">tw_has_action2=0</action>
2339 <action function="set">tw_text1=No OS Installed! Are you</action>
2340 <action function="set">tw_text2=sure you wish to reboot?</action>
2341 <action function="set">tw_action_text1=Rebooting...</action>
2342 <action function="set">tw_complete_text1=Rebooting...</action>
2343 <action function="set">tw_slider_text=Swipe to Reboot</action>
2344 <action function="page">rebootcheck</action>
2345 </actions>
2346 </object>
2347
2348 <object type="action">
2349 <touch key="home" />
2350 <action function="page">main</action>
2351 </object>
2352
2353 <object type="action">
2354 <touch key="back" />
2355 <action function="page">main</action>
2356 </object>
2357
2358 <object type="template" name="footer" />
2359 </page>
2360
2361 <page name="settings">
2362 <object type="template" name="header" />
2363
2364 <object type="text" color="%text_color%">
2365 <font resource="font" />
2366 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2367 <text>Settings</text>
2368 </object>
2369
2370 <object type="checkbox">
2371 <placement x="%col1_x%" y="%row1_text_y%" />
2372 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002373 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002374 <data variable="tw_signed_zip_verify" />
2375 <image checked="checkbox_true" unchecked="checkbox_false" />
2376 </object>
2377
2378 <object type="checkbox">
2379 <placement x="%col1_x%" y="%row2_text_y%" />
2380 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002381 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002382 <data variable="tw_rm_rf" />
2383 <image checked="checkbox_true" unchecked="checkbox_false" />
2384 </object>
2385
2386 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002387 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002389 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002390 <data variable="tw_skip_md5_generate" />
2391 <image checked="checkbox_true" unchecked="checkbox_false" />
2392 </object>
2393
2394 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002395 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002396 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002397 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002398 <data variable="tw_skip_md5_check" />
2399 <image checked="checkbox_true" unchecked="checkbox_false" />
2400 </object>
2401
2402 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002403 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002405 <text>Use Military Time.</text>
2406 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002407 <image checked="checkbox_true" unchecked="checkbox_false" />
2408 </object>
2409
2410 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002411 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002412 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002413 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <data variable="tw_simulate_actions" />
2415 <image checked="checkbox_true" unchecked="checkbox_false" />
2416 </object>
2417
2418 <object type="checkbox">
2419 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002420 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002422 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002423 <data variable="tw_simulate_fail" />
2424 <image checked="checkbox_true" unchecked="checkbox_false" />
2425 </object>
2426
2427 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002428 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002429 <placement x="%col1_x%" y="%row3_y%" />
2430 <font resource="font" color="%button_text_color%" />
2431 <text>Time Zone</text>
2432 <image resource="main_button" />
2433 <action function="page">timezone</action>
2434 </object>
2435
2436 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002437 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002438 <placement x="%col2_x%" y="%row3_y%" />
2439 <font resource="font" color="%button_text_color%" />
2440 <text>Screen</text>
2441 <image resource="main_button" />
2442 <action function="page">screen</action>
2443 </object>
2444
2445 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002446 <highlight color="%highlight_color%" />
2447 <placement x="%col2_x%" y="%row4_y%" />
2448 <font resource="font" color="%button_text_color%" />
2449 <text>Vibration Duration</text>
2450 <image resource="main_button" />
2451 <action function="page">Vibrate</action>
2452 </object>
2453
2454 <object type="button">
2455 <placement x="%col_x%" y="%row4_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002456 <font resource="font" color="%button_text_color%" />
2457 <text>Restore Defaults</text>
2458 <image resource="main_button" />
2459 <action function="restoredefaultsettings"></action>
2460 </object>
2461
2462 <object type="action">
2463 <touch key="home" />
2464 <action function="page">main</action>
2465 </object>
2466
2467 <object type="action">
2468 <touch key="back" />
2469 <action function="page">main</action>
2470 </object>
2471
2472 <object type="template" name="footer" />
2473 </page>
2474
2475 <page name="timezone">
2476 <object type="template" name="header" />
2477
Dees_Troy51a0e822012-09-05 15:24:24 -04002478 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002479 <highlight color="%fileselector_highlight_color%" />
2480 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2481 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002482 <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 -06002483 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002484 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002485 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002486 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002487 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002488 <data name="tw_time_zone_guisel" />
2489 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2490 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2491 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2492 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2493 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2494 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2495 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2496 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2497 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2498 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2499 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2500 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2501 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2502 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2503 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2504 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2505 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2506 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2507 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2508 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2509 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2510 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2511 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2512 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2513 </object>
2514
2515 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002516 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002517 <font resource="font" color="%text_color%" />
2518 <text>Do you use daylight savings time (DST)?</text>
2519 <data variable="tw_time_zone_guidst" />
2520 <image checked="checkbox_true" unchecked="checkbox_false" />
2521 </object>
2522
2523 <object type="text" color="%text_color%">
2524 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002525 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002526 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2527 </object>
2528
2529 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002530 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002531 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002532 <font resource="font" color="%button_text_color%" />
2533 <text>None</text>
2534 <image resource="medium_button" />
2535 <action function="set">tw_time_zone_guioffset=0</action>
2536 </object>
2537
2538 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002539 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002540 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002541 <font resource="font" color="%button_text_color%" />
2542 <text>15</text>
2543 <image resource="medium_button" />
2544 <action function="set">tw_time_zone_guioffset=15</action>
2545 </object>
2546
2547 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002548 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002549 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002550 <font resource="font" color="%button_text_color%" />
2551 <text>30</text>
2552 <image resource="medium_button" />
2553 <action function="set">tw_time_zone_guioffset=30</action>
2554 </object>
2555
2556 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002557 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002558 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002559 <font resource="font" color="%button_text_color%" />
2560 <text>45</text>
2561 <image resource="medium_button" />
2562 <action function="set">tw_time_zone_guioffset=45</action>
2563 </object>
2564
2565 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002566 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002567 <placement x="%col_center_x%" y="%tz_set_y%" />
2568 <font resource="font" color="%button_text_color%" />
2569 <text>Set Time Zone</text>
2570 <image resource="main_button" />
2571 <action function="setguitimezone"></action>
2572 </object>
2573
2574 <object type="text" color="%text_color%">
2575 <font resource="font" />
2576 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2577 <text>Current Time Zone: %tw_time_zone%</text>
2578 </object>
2579
2580 <object type="action">
2581 <touch key="home" />
2582 <action function="page">main</action>
2583 </object>
2584
2585 <object type="action">
2586 <touch key="back" />
2587 <action function="page">settings</action>
2588 </object>
2589
2590 <object type="template" name="footer" />
2591 </page>
2592
Dees_Troy2f9117a2013-02-17 19:52:09 -06002593 <page name="screen">
2594 <object type="template" name="header" />
2595
2596 <object type="text" color="%text_color%">
2597 <font resource="font" />
2598 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2599 <text>Screen Settings</text>
2600 </object>
2601
Dees_Troy2f9117a2013-02-17 19:52:09 -06002602 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002603 <placement x="%col1_x%" y="%row2_text_y%" />
2604 <font resource="font" color="%text_color%" />
2605 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002606 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002607 <text>Enable screen timeout.</text>
2608 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002609 <action function="set">tw_screen_timeout_secs=60</action>
2610 </object>
2611
2612 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002613 <placement x="%col1_x%" y="%row2_text_y%" />
2614 <font resource="font" color="%text_color%" />
2615 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002616 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002617 <text>Enable screen timeout.</text>
2618 <image resource="checkbox_true" />
2619 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002620 </object>
2621
Vojtech Bocek85932342013-04-01 22:11:33 +02002622 <object type="slidervalue">
2623 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002624 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002625 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2626 <font resource="font" color="%text_color%" />
2627 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2628 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2629 <text>Screen timeout in seconds:</text>
2630 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002631 </object>
2632
Vojtech Bocek85932342013-04-01 22:11:33 +02002633 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002634 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002635 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2636 <font resource="font" color="%text_color%" />
2637 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2638 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2639 <text>Brightness: %tw_brightness_pct%%</text>
2640 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002641 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <action function="set">tw_brightness=%tw_brightness_max%</action>
2643 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2644 <action function="compute">tw_brightness/100</action>
2645 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002646 </actions>
2647 </object>
2648
2649 <object type="action">
2650 <touch key="home" />
2651 <action function="page">main</action>
2652 </object>
2653
2654 <object type="action">
2655 <touch key="back" />
2656 <action function="page">settings</action>
2657 </object>
2658
2659 <object type="template" name="footer" />
2660 </page>
2661
Ethan Yonker03db3262014-02-05 08:02:06 -06002662 <page name="Vibrate">
2663 <object type="template" name="header" />
2664
2665 <object type="text" color="%text_color%">
2666 <font resource="font" />
2667 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2668 <text>Vibration Settings :</text>
2669 </object>
2670
2671 <object type="slidervalue">
2672 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2673 <font resource="font" color="%text_color%" />
2674 <text>Button Vibration:</text>
2675 <data variable="tw_button_vibrate" min="0" max="300" />
2676 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2677 </object>
2678
2679 <object type="slidervalue">
2680 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2681 <font resource="font" color="%text_color%" />
2682 <text>Keyboard Vibration:</text>
2683 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2684 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2685 </object>
2686
2687 <object type="slidervalue">
2688 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2689 <font resource="font" color="%text_color%" />
2690 <text>Action Vibration:</text>
2691 <data variable="tw_action_vibrate" min="0" max="500" />
2692 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2693 </object>
2694
2695 <object type="action">
2696 <touch key="home" />
2697 <action function="page">main</action>
2698 </object>
2699
2700 <object type="action">
2701 <touch key="back" />
2702 <action function="page">settings</action>
2703 </object>
2704
2705 <object type="template" name="footer" />
2706 </page>
2707
Dees_Troy51a0e822012-09-05 15:24:24 -04002708 <page name="advanced">
2709 <object type="template" name="header" />
2710
2711 <object type="text" color="%text_color%">
2712 <font resource="font" />
2713 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2714 <text>Advanced</text>
2715 </object>
2716
2717 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002718 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002719 <placement x="%col1_x%" y="%row1_y%" />
2720 <font resource="font" color="%button_text_color%" />
2721 <text>Copy Log to SD</text>
2722 <image resource="main_button" />
2723 <actions>
2724 <action function="set">tw_back=advanced</action>
2725 <action function="set">tw_action=copylog</action>
2726 <action function="set">tw_text1=Copy Log to SD Card?</action>
2727 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2728 <action function="set">tw_complete_text1=Log Copy Complete</action>
2729 <action function="set">tw_slider_text=Swipe to Confirm</action>
2730 <action function="page">confirm_action</action>
2731 </actions>
2732 </object>
2733
2734 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002735 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002736 <placement x="%col2_x%" y="%row1_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>Fix Permissions</text>
2739 <image resource="main_button" />
2740 <actions>
2741 <action function="set">tw_back=advanced</action>
2742 <action function="set">tw_action=fixpermissions</action>
2743 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002744 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2746 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002747 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002748 <action function="page">confirm_action</action>
2749 </actions>
2750 </object>
2751
2752 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002753 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002754 <condition var1="tw_allow_partition_sdcard" var2="1" />
2755 <placement x="%col1_x%" y="%row2_y%" />
2756 <font resource="font" color="%button_text_color%" />
2757 <text>Partition SD Card</text>
2758 <image resource="main_button" />
2759 <action function="page">partsdcard</action>
2760 </object>
2761
2762 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002763 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002764 <placement x="%col2_x%" y="%row2_y%" />
2765 <font resource="font" color="%button_text_color%" />
2766 <text>File Manager</text>
2767 <image resource="main_button" />
2768 <action function="page">filemanagerlist</action>
2769 </object>
2770
2771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002773 <placement x="%col1_x%" y="%row3_y%" />
2774 <font resource="font" color="%button_text_color%" />
2775 <text>Terminal Command</text>
2776 <image resource="main_button" />
2777 <action function="page">terminalfolder</action>
2778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002782 <placement x="%col2_x%" y="%row3_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text>Reload Theme</text>
2785 <image resource="main_button" />
2786 <action function="reload"></action>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002791 <placement x="%col1_x%" y="%row4_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text>ADB Sideload</text>
2794 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002795 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002796 </object>
2797
2798 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002799 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002800 <condition var1="tw_show_dumlock" var2="1" />
2801 <placement x="%col2_x%" y="%row4_y%" />
2802 <font resource="font" color="%button_text_color%" />
2803 <text>HTC Dumlock</text>
2804 <image resource="main_button" />
2805 <action function="page">htcdumlock</action>
2806 </object>
2807
2808 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002809 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002810 <condition var1="tw_has_injecttwrp" var2="1" />
2811 <placement x="%col2_x%" y="%row4_y%" />
2812 <font resource="font" color="%button_text_color%" />
2813 <text>Re-Inject TWRP</text>
2814 <image resource="main_button" />
2815 <actions>
2816 <action function="set">tw_back=advanced</action>
2817 <action function="set">tw_action=reinjecttwrp</action>
2818 <action function="set">tw_text1=Re-Inject TWRP?</action>
2819 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2820 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2821 <action function="set">tw_slider_text=Swipe to Confirm</action>
2822 <action function="page">confirm_action</action>
2823 </actions>
2824 </object>
2825
2826 <object type="action">
2827 <touch key="home" />
2828 <action function="page">main</action>
2829 </object>
2830
2831 <object type="action">
2832 <touch key="back" />
2833 <action function="page">main</action>
2834 </object>
2835
2836 <object type="template" name="footer" />
2837 </page>
2838
2839 <page name="partsdcard">
2840 <object type="template" name="header" />
2841
2842 <object type="text" color="%text_color%">
2843 <font resource="font" />
2844 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2845 <text>Partition SD Card</text>
2846 </object>
2847
2848 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002849 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002850 <placement x="%col1_x%" y="%row1_y%" />
2851 <font resource="font" color="%button_text_color%" />
2852 <text></text>
2853 <image resource="minus_button" />
2854 <action function="addsubtract">tw_sdext_size-128</action>
2855 </object>
2856
2857 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002858 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002859 <placement x="%sd_plus_x%" y="%row1_y%" />
2860 <font resource="font" color="%button_text_color%" />
2861 <text></text>
2862 <image resource="plus_button" />
2863 <action function="addsubtract">tw_sdext_size+128</action>
2864 </object>
2865
2866 <object type="text" color="%text_color%">
2867 <font resource="font" />
2868 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2869 <text>EXT Size: %tw_sdext_size%</text>
2870 </object>
2871
2872 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002873 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002874 <placement x="%col1_x%" y="%sdswap_button_y%" />
2875 <font resource="font" color="%button_text_color%" />
2876 <text></text>
2877 <image resource="minus_button" />
2878 <action function="addsubtract">tw_swap_size-32</action>
2879 </object>
2880
2881 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002882 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002883 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2884 <font resource="font" color="%button_text_color%" />
2885 <text></text>
2886 <image resource="plus_button" />
2887 <action function="addsubtract">tw_swap_size+32</action>
2888 </object>
2889
2890 <object type="text" color="%text_color%">
2891 <font resource="font" />
2892 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2893 <text>Swap Size: %tw_swap_size%</text>
2894 </object>
2895
2896 <object type="text" color="%text_color%">
2897 <font resource="font" />
2898 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2899 <text>File system: %tw_sdpart_file_system%</text>
2900 </object>
2901
2902 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002903 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002904 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2905 <font resource="font" color="%button_text_color%" />
2906 <text>EXT3</text>
2907 <image resource="main_button" />
2908 <action function="set">tw_sdpart_file_system=ext3</action>
2909 </object>
2910
2911 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002912 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002913 <condition var1="tw_sdext_disable_ext4" var2="0" />
2914 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2915 <font resource="font" color="%button_text_color%" />
2916 <text>EXT4</text>
2917 <image resource="main_button" />
2918 <action function="set">tw_sdpart_file_system=ext4</action>
2919 </object>
2920
2921 <object type="text" color="%text_color%">
2922 <font resource="font" />
2923 <placement x="%col1_x%" y="%row12_text_y%" />
2924 <text>You will lose all files on your SD card!</text>
2925 </object>
2926
2927 <object type="text" color="%text_color%">
2928 <font resource="font" />
2929 <placement x="%col1_x%" y="%row13_text_y%" />
2930 <text>This action cannot be undone!</text>
2931 </object>
2932
2933 <object type="slider">
2934 <placement x="%slider_x%" y="%slider_y%" />
2935 <resource base="slider" used="slider-used" touch="slider-touch" />
2936 <action function="page">partsdcardaction</action>
2937 <actions>
2938 <action function="set">tw_back=partsdcard</action>
2939 <action function="set">tw_action=partitionsd</action>
2940 <action function="set">tw_has_action2=1</action>
2941 <action function="set">tw_action2=set</action>
2942 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2943 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2944 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002945 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002946 <action function="page">action_page</action>
2947 </actions>
2948 </object>
2949
2950 <object type="text" color="%text_color%">
2951 <font resource="font" />
2952 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2953 <text>Swipe to Partition</text>
2954 </object>
2955
2956 <object type="action">
2957 <touch key="home" />
2958 <action function="page">main</action>
2959 </object>
2960
2961 <object type="action">
2962 <touch key="back" />
2963 <action function="page">advanced</action>
2964 </object>
2965
2966 <object type="template" name="footer" />
2967 </page>
2968
2969 <page name="htcdumlock">
2970 <object type="template" name="header" />
2971
2972 <object type="text" color="%text_color%">
2973 <font resource="font" />
2974 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2975 <text>HTC Dumlock</text>
2976 </object>
2977
2978 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002979 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002980 <condition var1="tw_show_dumlock" var2="1" />
2981 <placement x="%col1_x%" y="%row1_y%" />
2982 <font resource="font" color="%button_text_color%" />
2983 <text>Restore Original Boot</text>
2984 <image resource="main_button" />
2985 <actions>
2986 <action function="set">tw_back=htcdumlock</action>
2987 <action function="set">tw_action=htcdumlockrestoreboot</action>
2988 <action function="set">tw_text1=Restore original boot image?</action>
2989 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2990 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2991 <action function="set">tw_slider_text=Swipe to Confirm</action>
2992 <action function="page">confirm_action</action>
2993 </actions>
2994 </object>
2995
2996 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002997 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002998 <condition var1="tw_show_dumlock" var2="1" />
2999 <placement x="%col2_x%" y="%row1_y%" />
3000 <font resource="font" color="%button_text_color%" />
3001 <text>Reflash Recovery</text>
3002 <image resource="main_button" />
3003 <actions>
3004 <action function="set">tw_back=htcdumlock</action>
3005 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3006 <action function="set">tw_text1=Reflash recovery to boot?</action>
3007 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3008 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3009 <action function="set">tw_slider_text=Swipe to Confirm</action>
3010 <action function="page">confirm_action</action>
3011 </actions>
3012 </object>
3013
3014 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003015 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003016 <condition var1="tw_show_dumlock" var2="1" />
3017 <placement x="%col1_x%" y="%row2_y%" />
3018 <font resource="font" color="%button_text_color%" />
3019 <text>Install HTC Dumlock</text>
3020 <image resource="main_button" />
3021 <actions>
3022 <action function="set">tw_back=htcdumlock</action>
3023 <action function="set">tw_action=installhtcdumlock</action>
3024 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3025 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3026 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3027 <action function="set">tw_slider_text=Swipe to Confirm</action>
3028 <action function="page">confirm_action</action>
3029 </actions>
3030 </object>
3031
3032 <object type="action">
3033 <touch key="home" />
3034 <action function="page">main</action>
3035 </object>
3036
3037 <object type="action">
3038 <touch key="back" />
3039 <action function="page">advanced</action>
3040 </object>
3041
3042 <object type="template" name="footer" />
3043 </page>
3044
3045 <page name="lock">
3046 <background color="#000000A0" />
3047
3048 <object type="image">
3049 <image resource="unlock-icon" />
3050 <placement x="%lock_x%" y="%lock_y%" />
3051 </object>
3052
3053 <object type="slider">
3054 <placement x="%slider_x%" y="%slider_y%" />
3055 <resource base="slider" used="slider-used" touch="slider-touch" />
3056 <action function="overlay"></action>
3057 </object>
3058
3059 <object type="text" color="%text_color%">
3060 <font resource="font" />
3061 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3062 <text>Swipe to Unlock</text>
3063 </object>
3064 </page>
3065
3066 <page name="filemanagerlist">
3067 <object type="template" name="header" />
3068
3069 <object type="text" color="%text_color%">
3070 <font resource="font" />
3071 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3072 <text>File Manager: Select a File or Folder</text>
3073 </object>
3074
3075 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003076 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003077 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3078 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003079 <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 -04003080 <text>%tw_file_location1%</text>
3081 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3082 <sort name="tw_gui_sort_order" />
3083 <icon folder="folder_icon" file="file_icon" />
3084 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003085 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003086 <folders="1" files="1" />
3087 <path name="tw_file_location1" default="/" />
3088 <data name="tw_filename1" />
3089 <selection name="tw_selection1" />
3090 </object>
3091
3092 <object type="template" name="sort_options" />
3093
3094 <object type="action">
3095 <actions>
3096 <action function="set">tw_fm_type=File</action>
3097 <action function="set">tw_fm_isfolder=0</action>
3098 </actions>
3099 </object>
3100
3101 <object type="action">
3102 <touch key="home" />
3103 <action function="page">main</action>
3104 </object>
3105
3106 <object type="action">
3107 <touch key="back" />
3108 <action function="page">advanced</action>
3109 </object>
3110
3111 <object type="action">
3112 <condition var1="tw_filename1" op="modified" />
3113 <actions>
3114 <action function="page">filemanageroptions</action>
3115 </actions>
3116 </object>
3117
3118 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003119 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003120 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3121 <font resource="font" color="%button_text_color%" />
3122 <text>Select</text>
3123 <image resource="medium_button" />
3124 <actions>
3125 <action function="set">tw_filename1=tw_file_location1</action>
3126 <action function="set">tw_fm_isfolder=1</action>
3127 <action function="set">tw_fm_type=Folder</action>
3128 <action function="page">filemanageroptions</action>
3129 </actions>
3130 </object>
3131
3132 <object type="template" name="footer" />
3133 </page>
3134
3135 <page name="filemanageroptions">
3136 <object type="template" name="header" />
3137
3138 <object type="text" color="%text_color%">
3139 <font resource="font" />
3140 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3141 <text>%tw_fm_type% Selected:</text>
3142 </object>
3143
3144 <object type="text" color="%text_color%">
3145 <font resource="font" />
3146 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3147 <text>%tw_filename1%</text>
3148 </object>
3149
3150 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003151 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003152 <condition var1="tw_fm_isfolder" var2="0" />
3153 <placement x="%col1_x%" y="%row2_y%" />
3154 <font resource="font" color="%button_text_color%" />
3155 <text>Copy File</text>
3156 <image resource="main_button" />
3157 <actions>
3158 <action function="set">tw_filemanager_command=cp</action>
3159 <action function="set">tw_fm_text1=Copying</action>
3160 <action function="page">choosedestinationfolder</action>
3161 </actions>
3162 </object>
3163
3164 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003165 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003166 <condition var1="tw_fm_isfolder" var2="1" />
3167 <placement x="%col1_x%" y="%row2_y%" />
3168 <font resource="font" color="%button_text_color%" />
3169 <text>Copy Folder</text>
3170 <image resource="main_button" />
3171 <actions>
3172 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3173 <action function="set">tw_fm_text1=Copying</action>
3174 <action function="page">choosedestinationfolder</action>
3175 </actions>
3176 </object>
3177
3178 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003179 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003180 <placement x="%col2_x%" y="%row2_y%" />
3181 <font resource="font" color="%button_text_color%" />
3182 <text>Move</text>
3183 <image resource="main_button" />
3184 <actions>
3185 <action function="set">tw_filemanager_command=mv</action>
3186 <action function="set">tw_fm_text1=Moving</action>
3187 <action function="page">choosedestinationfolder</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003192 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003193 <placement x="%col1_x%" y="%row3_y%" />
3194 <font resource="font" color="%button_text_color%" />
3195 <text>chmod 755</text>
3196 <image resource="main_button" />
3197 <actions>
3198 <action function="set">tw_filemanager_command=chmod 755</action>
3199 <action function="set">tw_fm_text1=chmod 755</action>
3200 <action function="set">tw_fm_text2=</action>
3201 <action function="set">tw_fm_text3=</action>
3202 <action function="set">tw_include_text3=0</action>
3203 <action function="set">tw_back=filemanageroptions</action>
3204 <action function="page">filemanagerconfirm</action>
3205 </actions>
3206 </object>
3207
3208 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003209 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003210 <placement x="%col2_x%" y="%row3_y%" />
3211 <font resource="font" color="%button_text_color%" />
3212 <text>chmod</text>
3213 <image resource="main_button" />
3214 <actions>
3215 <action function="set">tw_filemanager_rename=0000</action>
3216 <action function="set">tw_fm_text2=</action>
3217 <action function="set">tw_fm_text3=</action>
3218 <action function="set">tw_include_text3=0</action>
3219 <action function="set">tw_back=filemanageroptions</action>
3220 <action function="page">filemanagerchmod</action>
3221 </actions>
3222 </object>
3223
3224 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003225 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003226 <placement x="%col1_x%" y="%row4_y%" />
3227 <font resource="font" color="%button_text_color%" />
3228 <text>Delete</text>
3229 <image resource="main_button" />
3230 <actions>
3231 <action function="set">tw_filemanager_command=rm -rf</action>
3232 <action function="set">tw_fm_text1=Deleting</action>
3233 <action function="set">tw_fm_text2=</action>
3234 <action function="set">tw_fm_text3=</action>
3235 <action function="set">tw_include_text3=0</action>
3236 <action function="set">tw_back=filemanageroptions</action>
3237 <action function="page">filemanagerconfirm</action>
3238 </actions>
3239 </object>
3240
3241 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003242 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003243 <condition var1="tw_fm_isfolder" var2="0" />
3244 <placement x="%col2_x%" y="%row4_y%" />
3245 <font resource="font" color="%button_text_color%" />
3246 <text>Rename File</text>
3247 <image resource="main_button" />
3248 <actions>
3249 <action function="set">tw_filemanager_rename=tw_selection1</action>
3250 <action function="set">tw_fm_text1=Renaming</action>
3251 <action function="set">tw_filemanager_command=mv</action>
3252 <action function="page">filemanagerrenamefile</action>
3253 </actions>
3254 </object>
3255
3256 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003257 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003258 <condition var1="tw_fm_isfolder" var2="1" />
3259 <placement x="%col2_x%" y="%row4_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>Rename Folder</text>
3262 <image resource="main_button" />
3263 <actions>
3264 <action function="set">tw_filemanager_rename=tw_selection1</action>
3265 <action function="set">tw_fm_text1=Renaming</action>
3266 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3267 <action function="page">filemanagerrenamefolder</action>
3268 </actions>
3269 </object>
3270
3271 <object type="action">
3272 <touch key="home" />
3273 <action function="page">main</action>
3274 </object>
3275
3276 <object type="action">
3277 <touch key="back" />
3278 <action function="page">filemanagerlist</action>
3279 </object>
3280
3281 <object type="template" name="footer" />
3282 </page>
3283
3284 <page name="choosedestinationfolder">
3285 <object type="template" name="header" />
3286
3287 <object type="text" color="%text_color%">
3288 <font resource="font" />
3289 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3290 <text>Browse to Destination Folder & Press Select</text>
3291 </object>
3292
3293 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003294 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003295 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3296 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003297 <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 -04003298 <text>%tw_file_location2%</text>
3299 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3300 <sort name="tw_gui_sort_order" />
3301 <icon folder="folder_icon" file="file_icon" />
3302 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003303 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003304 <filter folders="1" files="0" />
3305 <path name="tw_file_location2" default="/" />
3306 <data name="tw_filename2" />
3307 <selection name="tw_selection2" />
3308 </object>
3309
3310 <object type="template" name="sort_options" />
3311
3312 <object type="action">
3313 <touch key="home" />
3314 <action function="page">main</action>
3315 </object>
3316
3317 <object type="action">
3318 <touch key="back" />
3319 <action function="page">filemanageroptions</action>
3320 </object>
3321
3322 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003323 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003324 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3325 <font resource="font" color="%button_text_color%" />
3326 <text>Select</text>
3327 <image resource="medium_button" />
3328 <actions>
3329 <action function="set">tw_fm_text2=to</action>
3330 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3331 <action function="set">tw_include_text3=1</action>
3332 <action function="set">tw_back=filemanageroptions</action>
3333 <action function="page">filemanagerconfirm</action>
3334 </actions>
3335 </object>
3336
3337 <object type="template" name="footer" />
3338 </page>
3339
3340 <page name="filemanagerrenamefile">
3341 <object type="template" name="header" />
3342
3343 <object type="text" color="%text_color%">
3344 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3345 <font resource="font" />
3346 <text>Please Enter a New %tw_fm_type% Name</text>
3347 </object>
3348
3349 <object type="input">
3350 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3351 <background color="%input_background_color%" />
3352 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3353 <font resource="font" color="%text_color%" />
3354 <text>%tw_filemanager_rename%</text>
3355 <data name="tw_filemanager_rename" />
3356 <restrict minlen="1" maxlen="128" />
3357 <actions>
3358 <action function="set">tw_fm_text2=to</action>
3359 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3360 <action function="set">tw_include_text3=1</action>
3361 <action function="set">tw_back=filemanageroptions</action>
3362 <action function="page">filemanagerconfirm</action>
3363 </actions>
3364 </object>
3365
3366 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003367 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003368 <placement x="%col_center_x%" y="%row2_y%" />
3369 <font resource="font" color="%button_text_color%" />
3370 <text>Cancel</text>
3371 <image resource="main_button" />
3372 <action function="page">filemanageroptions</action>
3373 </object>
3374
3375 <object type="template" name="keyboardtemplate" />
3376
3377 <object type="action">
3378 <touch key="home" />
3379 <action function="page">main</action>
3380 </object>
3381
3382 <object type="action">
3383 <touch key="back" />
3384 <action function="page">filemanageroptions</action>
3385 </object>
3386
3387 <object type="template" name="footer" />
3388 </page>
3389
3390 <page name="filemanagerrenamefolder">
3391 <object type="template" name="header" />
3392
3393 <object type="text" color="%text_color%">
3394 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3395 <font resource="font" />
3396 <text>Please Enter a New %tw_fm_type% Name</text>
3397 </object>
3398
3399 <object type="input">
3400 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3401 <background color="%input_background_color%" />
3402 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3403 <font resource="font" color="%text_color%" />
3404 <text>%tw_filemanager_rename%</text>
3405 <data name="tw_filemanager_rename" />
3406 <restrict minlen="1" maxlen="128" />
3407 <actions>
3408 <action function="set">tw_fm_text2=to</action>
3409 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3410 <action function="set">tw_include_text3=1</action>
3411 <action function="set">tw_back=filemanageroptions</action>
3412 <action function="page">filemanagerconfirm</action>
3413 </actions>
3414 </object>
3415
3416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003418 <placement x="%col_center_x%" y="%row2_y%" />
3419 <font resource="font" color="%button_text_color%" />
3420 <text>Cancel</text>
3421 <image resource="main_button" />
3422 <action function="page">filemanageroptions</action>
3423 </object>
3424
3425 <object type="template" name="keyboardtemplate" />
3426
3427 <object type="action">
3428 <touch key="home" />
3429 <action function="page">main</action>
3430 </object>
3431
3432 <object type="action">
3433 <touch key="back" />
3434 <action function="page">filemanageroptions</action>
3435 </object>
3436
3437 <object type="template" name="footer" />
3438 </page>
3439
3440 <page name="filemanagerchmod">
3441 <object type="template" name="header" />
3442
3443 <object type="text" color="%text_color%">
3444 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3445 <font resource="font" />
3446 <text>Please Enter New Permissions</text>
3447 </object>
3448
3449 <object type="input">
3450 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3451 <background color="%input_background_color%" />
3452 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3453 <font resource="font" color="%text_color%" />
3454 <text>%tw_filemanager_rename%</text>
3455 <data name="tw_filemanager_rename" />
3456 <restrict minlen="3" maxlen="4" allow="0123456789" />
3457 <actions>
3458 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3459 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3460 <action function="set">tw_back=filemanageroptions</action>
3461 <action function="page">filemanagerconfirm</action>
3462 </actions>
3463 </object>
3464
3465 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003466 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003467 <placement x="%col_center_x%" y="%row2_y%" />
3468 <font resource="font" color="%button_text_color%" />
3469 <text>Cancel</text>
3470 <image resource="main_button" />
3471 <action function="page">filemanageroptions</action>
3472 </object>
3473
3474 <object type="template" name="keyboardtemplate" />
3475
3476 <object type="action">
3477 <touch key="home" />
3478 <action function="page">main</action>
3479 </object>
3480
3481 <object type="action">
3482 <touch key="back" />
3483 <action function="page">filemanageroptions</action>
3484 </object>
3485
3486 <object type="template" name="footer" />
3487 </page>
3488
3489 <page name="filemanagerconfirm">
3490 <object type="template" name="header" />
3491
3492 <object type="text" color="%text_color%">
3493 <font resource="font" />
3494 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3495 <text>%tw_fm_text1%</text>
3496 </object>
3497
3498 <object type="text" color="%text_color%">
3499 <font resource="font" />
3500 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3501 <text>%tw_filename1%</text>
3502 </object>
3503
3504 <object type="text" color="%text_color%">
3505 <font resource="font" />
3506 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3507 <text>%tw_fm_text2%</text>
3508 </object>
3509
3510 <object type="text" color="%text_color%">
3511 <font resource="font" />
3512 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3513 <text>%tw_fm_text3%</text>
3514 </object>
3515
3516 <object type="text" color="%text_color%">
3517 <font resource="font" />
3518 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3519 <text>Press back button to cancel.</text>
3520 </object>
3521
3522 <object type="slider">
3523 <placement x="%slider_x%" y="%slider_y%" />
3524 <resource base="slider" used="slider-used" touch="slider-touch" />
3525 <action function="page">filemanageracction</action>
3526 </object>
3527
3528 <object type="text" color="%text_color%">
3529 <font resource="font" />
3530 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3531 <text>Swipe to Confirm</text>
3532 </object>
3533
3534 <object type="action">
3535 <touch key="back" />
3536 <action function="page">%tw_back%</action>
3537 </object>
3538
3539 <object type="action">
3540 <touch key="home" />
3541 <action function="page">main</action>
3542 </object>
3543
3544 <object type="template" name="footer" />
3545 </page>
3546
3547 <page name="filemanageracction">
3548 <object type="template" name="header" />
3549
3550 <object type="text" color="%text_color%">
3551
3552 <font resource="font" />
3553 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3554 <text>%tw_fm_text1%</text>
3555 </object>
3556
3557 <object type="template" name="action_page_console" />
3558
3559 <object type="template" name="progress_bar" />
3560
3561 <object type="action">
3562 <conditions>
3563 <condition var1="tw_operation_state" var2="1" />
3564 <condition var1="tw_operation_status" var2="0" />
3565 </conditions>
3566 <actions>
3567 <action function="set">tw_back=filemanagerlist</action>
3568 <action function="set">tw_complete_text1=File Operation Complete</action>
3569 <action function="page">action_complete</action>
3570 </actions>
3571 </object>
3572
3573 <object type="action">
3574 <conditions>
3575 <condition var1="tw_operation_state" var2="1" />
3576 <condition var1="tw_operation_status" op="!=" var2="0" />
3577 </conditions>
3578 <actions>
3579 <action function="set">tw_complete_text1=File Operation Complete</action>
3580 <action function="page">action_complete</action>
3581 </actions>
3582 </object>
3583
3584 <object type="action">
3585 <condition var1="tw_include_text3" var2="0" />
3586 <actions>
3587 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3588 </actions>
3589 </object>
3590
3591 <object type="action">
3592 <condition var1="tw_include_text3" var2="1" />
3593 <actions>
3594 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3595 </actions>
3596 </object>
3597 </page>
3598
3599 <page name="decrypt">
3600 <object type="template" name="header" />
3601
3602 <object type="text" color="%text_color%">
3603 <font resource="font" />
3604 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3605 <text>Please Enter Your Password</text>
3606 </object>
3607
3608 <object type="input">
3609 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3610 <background color="%input_background_color%" />
3611 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3612 <font resource="font" color="%text_color%" />
3613 <text>%tw_crypto_display%</text>
3614 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3615 <restrict minlen="1" maxlen="254" />
3616 <actions>
3617 <action function="page">trydecrypt</action>
3618 </actions>
3619 </object>
3620
3621 <object type="text" color="%text_fail_color%">
3622 <condition var1="tw_password_fail" var2="1" />
3623 <font resource="font" />
3624 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3625 <text>Password Failed, Please Try Again</text>
3626 </object>
3627
3628 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003629 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003630 <placement x="%col_center_x%" y="%row2_y%" />
3631 <font resource="font" color="%button_text_color%" />
3632 <text>Cancel</text>
3633 <image resource="main_button" />
3634 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003635 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003636 <action function="page">main</action>
3637 </actions>
3638 </object>
3639
3640 <object type="template" name="keyboardtemplate" />
3641
Dees_Troy51a0e822012-09-05 15:24:24 -04003642 <object type="template" name="footer" />
3643 </page>
3644
3645 <page name="trydecrypt">
3646 <object type="template" name="header" />
3647
3648 <object type="text" color="%text_color%">
3649 <font resource="font" />
3650 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3651 <text>Trying Decryption with Your Password</text>
3652 </object>
3653
3654 <object type="template" name="action_page_console" />
3655
3656 <object type="template" name="progress_bar" />
3657
3658 <object type="action">
3659 <action function="decrypt"></action>
3660 </object>
3661
3662 <object type="action">
3663 <conditions>
3664 <condition var1="tw_operation_state" var2="1" />
3665 <condition var1="tw_operation_status" op="!=" var2="0" />
3666 </conditions>
3667 <actions>
3668 <action function="set">tw_password_fail=1</action>
3669 <action function="page">decrypt</action>
3670 </actions>
3671 </object>
3672
3673 <object type="action">
3674 <conditions>
3675 <condition var1="tw_operation_state" var2="1" />
3676 <condition var1="tw_operation_status" op="=" var2="0" />
3677 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003678 <actions>
3679 <action function="set">tw_page_done=1</action>
3680 <action function="page">main</action>
3681 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003682 </object>
3683 </page>
3684
3685 <page name="terminalfolder">
3686 <object type="template" name="header" />
3687
3688 <object type="text" color="%text_color%">
3689 <font resource="font" />
3690 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3691 <text>Browse to Starting Folder</text>
3692 </object>
3693
3694 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003695 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003696 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3697 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003698 <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 -04003699 <text>%tw_terminal_location%</text>
3700 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3701 <sort name="tw_gui_sort_order" />
3702 <icon folder="folder_icon" file="file_icon" />
3703 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003704 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003705 <filter folders="1" files="0" />
3706 <path name="tw_terminal_location" default="/" />
3707 <data name="tw_terminal" />
3708 <selection name="tw_terminal_selection" />
3709 </object>
3710
3711 <object type="template" name="sort_options" />
3712
3713 <object type="action">
3714 <touch key="home" />
3715 <action function="page">main</action>
3716 </object>
3717
3718 <object type="action">
3719 <touch key="back" />
3720 <action function="page">advanced</action>
3721 </object>
3722
3723 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003724 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003725 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3726 <font resource="font" color="%button_text_color%" />
3727 <text>Select</text>
3728 <image resource="medium_button" />
3729 <actions>
3730 <action function="page">terminalcommand</action>
3731 </actions>
3732 </object>
3733
3734 <object type="template" name="footer" />
3735 </page>
3736
3737 <page name="terminalcommand">
3738 <object type="template" name="header" />
3739
3740 <object type="console">
3741 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3742 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3743 <font resource="fixed" />
3744 </object>
3745
3746 <object type="text" color="%text_color%">
3747 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3748 <font resource="font" />
3749 <text>Starting Path: %tw_terminal_location%</text>
3750 </object>
3751
3752 <object type="input">
3753 <condition var1="tw_terminal_state" var2="0" />
3754 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3755 <background color="%input_background_color%" />
3756 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3757 <font resource="font" color="%text_color%" />
3758 <text>%tw_terminal_command%</text>
3759 <data name="tw_terminal_command" />
3760 <restrict minlen="1" />
3761 <action function="terminalcommand">%tw_terminal_command%</action>
3762 </object>
3763
3764 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003765 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003766 <condition var1="tw_terminal_state" var2="1" />
3767 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3768 <font resource="font" color="%button_text_color%" />
3769 <text>KILL</text>
3770 <image resource="medium_button" />
3771 <action function="killterminal"></action>
3772 </object>
3773
3774 <object type="template" name="keyboardtemplate" />
3775
3776 <object type="action">
3777 <touch key="home" />
3778 <action function="page">main</action>
3779 </object>
3780
3781 <object type="action">
3782 <touch key="back" />
3783 <action function="page">terminalfolder</action>
3784 </object>
3785 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003786
3787 <page name="sideload">
3788 <object type="template" name="header" />
3789
3790 <object type="text" color="%text_color%">
3791 <font resource="font" />
3792 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3793 <text>ADB Sideload</text>
3794 </object>
3795
3796 <object type="checkbox">
3797 <placement x="%col1_x%" y="%row2_text_y%" />
3798 <font resource="font" color="%text_color%" />
3799 <text>Wipe Dalvik Cache.</text>
3800 <data variable="tw_wipe_dalvik" />
3801 <image checked="checkbox_true" unchecked="checkbox_false" />
3802 </object>
3803
3804 <object type="checkbox">
3805 <placement x="%col1_x%" y="%row3_text_y%" />
3806 <font resource="font" color="%text_color%" />
3807 <text>Wipe Cache.</text>
3808 <data variable="tw_wipe_cache" />
3809 <image checked="checkbox_true" unchecked="checkbox_false" />
3810 </object>
3811
3812 <object type="slider">
3813 <placement x="%slider_x%" y="%slider_y%" />
3814 <resource base="slider" used="slider-used" touch="slider-touch" />
3815 <actions>
3816 <action function="set">tw_back=advanced</action>
3817 <action function="set">tw_action=adbsideload</action>
3818 <action function="set">tw_action_text1=ADB Sideload</action>
3819 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3820 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3821 <action function="set">tw_has_cancel=1</action>
3822 <action function="set">tw_show_reboot=1</action>
3823 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3824 <action function="page">action_page</action>
3825 </actions>
3826 </object>
3827
3828 <object type="text" color="%text_color%">
3829 <font resource="font" />
3830 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3831 <text>Swipe to Start Sideload</text>
3832 </object>
3833
3834 <object type="action">
3835 <touch key="home" />
3836 <action function="page">main</action>
3837 </object>
3838
3839 <object type="action">
3840 <touch key="back" />
3841 <action function="page">advanced</action>
3842 </object>
3843
3844 <object type="template" name="footer" />
3845 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003846
3847 <page name="installsu">
3848 <object type="template" name="header" />
3849
3850 <object type="text" color="%text_color%">
3851 <font resource="font" />
3852 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3853 <text>Install SuperSU?</text>
3854 </object>
3855
3856 <object type="text" color="%text_color%">
3857 <font resource="font" />
3858 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3859 <text>Your device does not appear to be rooted.</text>
3860 </object>
3861
3862 <object type="text" color="%text_color%">
3863 <font resource="font" />
3864 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3865 <text>Install SuperSU now?</text>
3866 </object>
3867
3868 <object type="text" color="%text_color%">
3869 <font resource="font" />
3870 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3871 <text>This will root your device.</text>
3872 </object>
3873
3874 <object type="button">
3875 <highlight color="%highlight_color%" />
3876 <placement x="%col_center_x%" y="%row3_y%" />
3877 <font resource="font" color="%button_text_color%" />
3878 <text>Do Not Install</text>
3879 <image resource="main_button" />
3880 <action function="set">tw_page_done=1</action>
3881 </object>
3882
3883 <object type="slider">
3884 <placement x="%slider_x%" y="%slider_y%" />
3885 <resource base="slider" used="slider-used" touch="slider-touch" />
3886 <actions>
3887 <action function="set">tw_action=installsu</action>
3888 <action function="set">tw_action_text1=Installing SuperSU</action>
3889 <action function="set">tw_action_text2=</action>
3890 <action function="page">singleaction_page</action>
3891 </actions>
3892 </object>
3893
3894 <object type="text" color="%text_color%">
3895 <font resource="font" />
3896 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3897 <text>Swipe to Install</text>
3898 </object>
3899 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003900 </pages>
3901</recovery>