blob: 0a43bebc26f5846f476168e80e3d2c20bc312009 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="540" height="960" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-25" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="qhd-menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="qhd-medium-button" />
29 <resource name="sort_button" type="image" filename="qhd-sort-button" />
30 <resource name="minus_button" type="image" filename="qhd-minus-button" />
31 <resource name="plus_button" type="image" filename="qhd-plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +010042 <resource name="cursor" type="image" filename="cursor" />
Dees_Troy51a0e822012-09-05 15:24:24 -040043 </resources>
44
45 <variables>
46 <variable name="col1_x" value="10" />
47 <variable name="col2_x" value="277" />
48 <variable name="col_center_x" value="143" />
Dees_Troyc51f1f92012-09-20 15:32:13 -040049 <variable name="col_center_medium_x" value="206" />
Dees_Troy51a0e822012-09-05 15:24:24 -040050 <variable name="center_x" value="270" />
51 <variable name="row1_y" value="140" />
52 <variable name="row2_y" value="332" />
53 <variable name="row3_y" value="524" />
54 <variable name="row4_y" value="716" />
55 <variable name="row_queue_y" value="625" />
56 <variable name="row1_header_y" value="110" />
57 <variable name="row1_text_y" value="140" />
58 <variable name="row2_text_y" value="180" />
59 <variable name="row3_text_y" value="220" />
60 <variable name="row4_text_y" value="260" />
61 <variable name="row5_text_y" value="300" />
62 <variable name="row6_text_y" value="340" />
63 <variable name="row7_text_y" value="380" />
64 <variable name="row8_text_y" value="420" />
65 <variable name="row9_text_y" value="460" />
66 <variable name="row10_text_y" value="500" />
67 <variable name="row11_text_y" value="540" />
68 <variable name="row12_text_y" value="580" />
69 <variable name="row13_text_y" value="620" />
70 <variable name="row14_text_y" value="660" />
71 <variable name="row15_text_y" value="700" />
72 <variable name="row16_text_y" value="740" />
73 <variable name="row17_text_y" value="780" />
74 <variable name="row18_text_y" value="820" />
75 <variable name="zip_status_y" value="696" />
76 <variable name="tz_selected_y" value="110" />
77 <variable name="tz_set_y" value="720" />
78 <variable name="tz_current_y" value="895" />
79 <variable name="col_progressbar_x" value="144" />
80 <variable name="row_progressbar_y" value="850" />
81 <variable name="col1_medium_x" value="10" />
82 <variable name="col2_medium_x" value="145" />
83 <variable name="col3_medium_x" value="280" />
84 <variable name="col4_medium_x" value="415" />
85 <variable name="row1_medium_y" value="130" />
86 <variable name="row2_medium_y" value="230" />
87 <variable name="row3_medium_y" value="330" />
88 <variable name="row4_medium_y" value="430" />
89 <variable name="row5_medium_y" value="530" />
90 <variable name="row6_medium_y" value="630" />
91 <variable name="row7_medium_y" value="730" />
92 <variable name="slider_x" value="50" />
93 <variable name="slider_y" value="820" />
94 <variable name="slider_text_y" value="870" />
95 <variable name="button_text_color" value="#AAAAAA" />
96 <variable name="text_color" value="#FFFFFF" />
97 <variable name="text_success_color" value="#33B5E5" />
98 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060099 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400100 <variable name="home_button_x" value="10" />
101 <variable name="home_button_y" value="919" />
102 <variable name="back_button_x" value="466" />
103 <variable name="back_button_y" value="919" />
104 <variable name="sort_asc_text_y" value="830" />
105 <variable name="sort_asc_button_y" value="820" />
106 <variable name="sort_desc_text_y" value="880" />
107 <variable name="sort_desc_button_y" value="870" />
108 <variable name="sort_col1_button_x" value="180" />
109 <variable name="sort_col2_button_x" value="255" />
110 <variable name="sort_col3_button_x" value="330" />
111 <variable name="input_width" value="520" />
112 <variable name="input_height" value="40" />
113 <variable name="input_background_color" value="#303030" />
114 <variable name="input_cursor_color" value="#33B5E5" />
115 <variable name="input_cursor_width" value="3" />
116 <variable name="console_x" value="0" />
117 <variable name="console_width" value="540" />
118 <variable name="console_foreground" value="#A0A0A0" />
119 <variable name="console_background" value="#303030" />
120 <variable name="console_scroll" value="#303030" />
121 <variable name="console_action_height" value="380" />
122 <variable name="console_install_height" value="580" />
123 <variable name="console_installdone_height" value="380" />
124 <variable name="fileselector_x" value="5" />
125 <variable name="fileselector_width" value="530" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500126 <variable name="fileselector_install_height" value="590" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400127 <variable name="fileselector_header_background" value="#202020" />
128 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
129 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
130 <variable name="fileselector_header_separatorheight" value="3" />
131 <variable name="fileselector_separatorcolor" value="#505050" />
132 <variable name="fileselector_separatorheight" value="2" />
133 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600134 <variable name="fileselector_highlight_color" value="#505050" />
135 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400136 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100137 <variable name="fastscroll_linecolor" value="#808080" />
138 <variable name="fastscroll_rectcolor" value="#808080" />
139 <variable name="fastscroll_w" value="45" />
140 <variable name="fastscroll_linew" value="2" />
141 <variable name="fastscroll_rectw" value="30" />
142 <variable name="fastscroll_recth" value="52" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400143 <variable name="listbox_x" value="5" />
144 <variable name="listbox_width" value="530" />
Dees_Troyeead9852013-02-15 14:31:06 -0600145 <variable name="listbox_tz_height" value="420" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400146 <variable name="listbox_background" value="#303030" />
147 <variable name="listbox_spacing" value="18" />
148 <variable name="sd_plus_x" value="280" />
149 <variable name="sdext_text_x" value="84" />
150 <variable name="sdext_text_y" value="150" />
151 <variable name="sdswap_button_y" value="185" />
152 <variable name="sdswap_text_x" value="84" />
153 <variable name="sdswap_text_y" value="195" />
154 <variable name="sdfilesystem_text_y" value="240" />
155 <variable name="sdfilesystem_button_y" value="280" />
156 <variable name="lock_x" value="70" />
157 <variable name="lock_y" value="250" />
158 <variable name="filemanager_select_x" value="405" />
159 <variable name="filemanager_select_y" value="825" />
160 <variable name="backup_name_y" value="420" />
161 <variable name="terminal_console_height" value="530" />
162 <variable name="terminal_text_y" value="550" />
163 <variable name="terminal_button_y" value="525" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400164 <variable name="row_dst_text_y" value="540" />
165 <variable name="row_offset_text_y" value="580" />
166 <variable name="row_offset_medium_y" value="630" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500167 <variable name="button_fill_color" value="#303030" />
168 <variable name="button_fill_full_width" value="520" />
169 <variable name="button_fill_main_width" value="253" />
170 <variable name="button_fill_main_height" value="162" />
171 <variable name="button_fill_half_height" value="81" />
172 <variable name="button_fill_quarter_height" value="40" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000173 <variable name="backup_list_height" value="410" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500174 <variable name="backup_button_row1" value="600" />
175 <variable name="backup_button_row2" value="645" />
176 <variable name="mount_list_height" value="500" />
177 <variable name="mount_storage_row" value="630" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000178 <variable name="storage_list_height" value="575" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500179 <variable name="wipe_list_height" value="670" />
180 <variable name="wipe_button_y" value="475" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200181 <variable name="slidervalue_w" value="520" />
182 <variable name="slidervalue_line_clr" value="#FFFFFF" />
183 <variable name="slidervalue_slider_clr" value="#33B5E5" />
184 <variable name="slidervalue_lineh" value="2" />
185 <variable name="slidervalue_padding" value="15" />
186 <variable name="slidervalue_sliderw" value="8" />
187 <variable name="slidervalue_sliderh" value="45" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400188 </variables>
189
Vojtech Bocek1fc30fc2014-01-29 18:37:19 +0100190 <mousecursor>
191 <placement w="15" h="15" />
192 <background color="#FFFF00FF" resource="cursor" />
193 <speed multiplier="1.5" />
194 </mousecursor>
195
Dees_Troy51a0e822012-09-05 15:24:24 -0400196 <templates>
197 <template name="header">
198 <background color="#000000FF" />
199
200 <object type="image">
201 <image resource="top_bar" />
202 <placement x="0" y="0" />
203 </object>
204
205 <object type="text" color="%text_color%">
206 <font resource="font" />
207 <placement x="100" y="10" />
208 <text>Team Win Recovery Project v%tw_version%</text>
209 </object>
210
211 <object type="text" color="%text_color%">
212 <condition var1="tw_simulate_actions" var2="1" />
213 <font resource="font" />
214 <placement x="100" y="40" />
215 <text>SIMULATING ACTIONS</text>
216 </object>
217
218 <object type="text" color="%text_color%">
219 <font resource="font" />
220 <placement x="100" y="70" />
221 <text>%tw_time%</text>
222 </object>
223
224 <object type="text" color="%text_color%">
225 <font resource="font" />
226 <placement x="250" y="70" />
227 <conditions>
228 <condition var1="tw_no_battery_percent" var2="0" />
229 <condition var1="tw_battery" op=">" var2="0" />
230 <condition var1="tw_battery" op="<" var2="101" />
231 </conditions>
232 <text>Battery: %tw_battery%</text>
233 </object>
234
235 <object type="button">
236 <placement x="%home_button_x%" y="%home_button_y%" />
237 <font resource="font" color="%button_text_color%" />
238 <text></text>
239 <image resource="home_icon" />
240 <condition var1="tw_busy" var2="0" />
241 <action function="key">home</action>
242 </object>
243
244 <object type="button">
245 <placement x="%back_button_x%" y="%back_button_y%" />
246 <font resource="font" color="%button_text_color%" />
247 <text></text>
248 <image resource="back_icon" />
249 <condition var1="tw_busy" var2="0" />
250 <action function="key">back</action>
251 </object>
252
253 <object type="action">
254 <touch key="power" />
255 <action function="overlay">lock</action>
256 </object>
257 </template>
258
259 <template name="progress_bar">
260 <object type="progressbar">
261 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
262 <resource empty="progress_empty" full="progress_full" />
263 <data name="ui_progress" />
264 </object>
265
266 <object type="animation">
267 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
268 <resource name="progress" />
269 <speed fps="15" render="2" />
270 <loop frame="1" />
271 </object>
272 </template>
273
274 <template name="action_page_console">
275 <object type="console">
276 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
277 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
278 <font resource="fixed" />
279 </object>
280 </template>
281
282 <template name="sort_options">
283 <object type="text" color="%text_color%">
284 <font resource="font" />
285 <placement x="%col1_x%" y="%sort_asc_text_y%" />
286 <text>Sort Ascending:</text>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
291 <font resource="UItext" color="%button_text_color%" />
292 <text>Name</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=1</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
299 <font resource="UItext" color="%button_text_color%" />
300 <text>Date</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=2</action>
303 </object>
304
305 <object type="button">
306 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
307 <font resource="UItext" color="%button_text_color%" />
308 <text>Size</text>
309 <image resource="sort_button" />
310 <action function="set">tw_gui_sort_order=3</action>
311 </object>
312
313 <object type="text" color="%text_color%">
314 <font resource="font" />
315 <placement x="%col1_x%" y="%sort_desc_text_y%" />
316 <text>Sort Descending:</text>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
321 <font resource="UItext" color="%button_text_color%" />
322 <text>Name</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=-1</action>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
329 <font resource="UItext" color="%button_text_color%" />
330 <text>Date</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-2</action>
333 </object>
334
335 <object type="button">
336 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
337 <font resource="UItext" color="%button_text_color%" />
338 <text>Size</text>
339 <image resource="sort_button" />
340 <action function="set">tw_gui_sort_order=-3</action>
341 </object>
342 </template>
343
344 <template name="footer">
345 <object type="console">
346 <slideout resource="slideout" x="240" y="920" />
347 <placement x="%console_x%" y="0" w="%console_width%" h="920" />
348 <color foreground="#A0A0A0" background="#303030" scroll="#303030" />
349 <font resource="fixed" />
350 </object>
351 </template>
352
353 <template name="keyboardtemplate">
354 <object type="keyboard">
355 <placement x="0" y="600" />
356 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600357 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400358 <layout1>
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:layout2" 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:a:action" />
364 </layout1>
365 <layout2>
366 <keysize height="78" width="54" />
367 <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" />
368 <row2 key01="81:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="81:L" />
369 <row3 key01="81:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="81:c:8" />
370 <row4 key01="81:layout3" key02="54:/" key03="270: " key04="54:." key05="81:action" />
371 </layout2>
372 <layout3>
373 <keysize height="78" width="54" />
374 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
375 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
376 <row3 key01="81:layout4" key02="!" key03="54:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="81:c:8" />
377 <row4 key01="81:layout1" key02="54:," key03="270: " key04="54:." key05="81:action" />
378 </layout3>
379 <layout4>
380 <keysize height="78" width="54" />
381 <row1 key01="~" key02="`" key03="|" key04="54:" key05="54:" key06="54:" key07="%" key08="54:" key09="{" key10="}" />
382 <row2 key01="54:" key02="54:" key03="54:" key04="54:" key05="54:" key06="^" key07="_" key08="=" key09="[" key10="]" />
383 <row3 key01="81:layout3" key02="54:" key03="54:" key04="54:" key05="54:" key06="\" key07="<" key08=">" key09="81:c:8" />
384 <row4 key01="81:layout1" key02="54:c:34" key03="270: " key04="54:." key05="81:action" />
385 </layout4>
386 </object>
387 </template>
388 </templates>
389
390 <pages>
391 <page name="main">
392 <object type="action">
393 <actions>
394 <action function="set">tw_clear_destination=main2</action>
395 <action function="page">clear_vars</action>
396 </actions>
397 </object>
398 </page>
399
400 <page name="main2">
401 <object type="template" name="header" />
402
403 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600404 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400405 <placement x="%col1_x%" y="%row1_y%" />
406 <font resource="font" color="%button_text_color%" />
407 <text>Install</text>
408 <image resource="main_button" />
409 <actions>
410 <action function="queueclear"></action>
411 <action function="page">install</action>
412 </actions>
413 </object>
414
415 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600416 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400417 <placement x="%col2_x%" y="%row1_y%" />
418 <font resource="font" color="%button_text_color%" />
419 <text>Wipe</text>
420 <image resource="main_button" />
421 <action function="page">wipe</action>
422 </object>
423
424 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600425 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400426 <placement x="%col1_x%" y="%row2_y%" />
427 <font resource="font" color="%button_text_color%" />
428 <text>Backup</text>
429 <image resource="main_button" />
430 <action function="page">backup</action>
431 </object>
432
433 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600434 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400435 <placement x="%col2_x%" y="%row2_y%" />
436 <font resource="font" color="%button_text_color%" />
437 <text>Restore</text>
438 <image resource="main_button" />
439 <action function="page">restore</action>
440 </object>
441
442 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600443 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400444 <placement x="%col1_x%" y="%row3_y%" />
445 <font resource="font" color="%button_text_color%" />
446 <text>Mount</text>
447 <image resource="main_button" />
448 <action function="page">mount</action>
449 </object>
450
451 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600452 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400453 <placement x="%col2_x%" y="%row3_y%" />
454 <font resource="font" color="%button_text_color%" />
455 <text>Settings</text>
456 <image resource="main_button" />
457 <action function="page">settings</action>
458 </object>
459
460
461 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600462 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400463 <placement x="%col1_x%" y="%row4_y%" />
464 <font resource="font" color="%button_text_color%" />
465 <text>Advanced</text>
466 <image resource="main_button" />
467 <action function="page">advanced</action>
468 </object>
469
470 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600471 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400472 <placement x="%col2_x%" y="%row4_y%" />
473 <font resource="font" color="%button_text_color%" />
474 <text>Reboot</text>
475 <image resource="main_button" />
476 <action function="page">reboot</action>
477 </object>
478
479 <object type="template" name="footer" />
480 </page>
481
482 <page name="install">
483 <object type="template" name="header" />
484
485 <object type="text" color="%text_color%">
486 <font resource="font" />
487 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
488 <text>Select Zip to Install</text>
489 </object>
490
491 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500492 <highlight color="%highlight_color%" />
493 <fill color="%button_fill_color%" />
494 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
495 <font resource="font" color="%button_text_color%" />
496 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
497 <actions>
498 <action function="set">tw_back=install</action>
499 <action function="page">selectstorage</action>
500 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400501 </object>
502
503 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600504 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500505 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100507 <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 -0400508 <text>%tw_zip_location%</text>
509 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
510 <sort name="tw_gui_sort_order" />
511 <icon folder="folder_icon" file="file_icon" />
512 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600513 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400514 <filter extn=".zip" folders="1" files="1" />
515 <path name="tw_zip_location" default="/sdcard" />
516 <data name="tw_filename" />
517 <selection name="tw_file" />
518 </object>
519
520 <object type="template" name="sort_options" />
521
522 <object type="action">
523 <condition var1="tw_filename" op="modified" />
524 <actions>
525 <action function="queuezip"></action>
526 <action function="page">flash_confirm</action>
527 </actions>
528 </object>
529
530 <object type="action">
531 <touch key="back" />
532 <action function="page">main</action>
533 </object>
534
535 <object type="action">
536 <touch key="home" />
537 <action function="page">main</action>
538 </object>
539
540 <object type="template" name="footer" />
541 </page>
542
543 <page name="flash_confirm">
544 <object type="template" name="header" />
545
546 <object type="text" color="%text_color%">
547 <font resource="font" />
548 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
549 <text>This operation may install incompatible</text>
550 </object>
551
552 <object type="text" color="%text_color%">
553 <font resource="font" />
554 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
555 <text>software and render your device unusable.</text>
556 </object>
557
558 <object type="text" color="%text_color%">
559 <font resource="font" />
560 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
561 <text>Folder:</text>
562 </object>
563
564 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400565 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400566 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
567 <text>%tw_zip_location%</text>
568 </object>
569
570 <object type="text" color="%text_color%">
571 <font resource="font" />
572 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
573 <text>File to flash:</text>
574 </object>
575
576 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400577 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400578 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
579 <text>%tw_file%</text>
580 </object>
581
582 <object type="text" color="%text_color%">
583 <font resource="font" />
584 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
585 <text>Press back to cancel adding this zip.</text>
586 </object>
587
588 <object type="checkbox">
589 <placement x="%col1_x%" y="%row8_text_y%" />
590 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400591 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400592 <data variable="tw_signed_zip_verify" />
593 <image checked="checkbox_true" unchecked="checkbox_false" />
594 </object>
595
596 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400597 <condition var1="tw_has_injecttwrp" var2="1" />
598 <placement x="%col1_x%" y="%row10_text_y%" />
599 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400600 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400601 <data variable="tw_inject_after_zip" />
602 <image checked="checkbox_true" unchecked="checkbox_false" />
603 </object>
604
605 <object type="text" color="%text_color%">
606 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400607 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400608 <text>File %tw_zip_queue_count% of max of 10</text>
609 </object>
610
611 <object type="slider">
612 <placement x="%slider_x%" y="%slider_y%" placement="5" />
613 <resource base="slider" used="slider-used" touch="slider-touch" />
614 <action function="flash">flash_zip</action>
615 </object>
616
617 <object type="text" color="%text_color%">
618 <font resource="font" />
619 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
620 <text>Swipe to Confirm Flash</text>
621 </object>
622
623 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600624 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400625 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
626 <placement x="%col1_x%" y="%row_queue_y%" />
627 <font resource="font" color="%button_text_color%" />
628 <text>Add More Zips</text>
629 <image resource="main_button" />
630 <action function="page">install</action>
631 </object>
632
633 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600634 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400635 <placement x="%col2_x%" y="%row_queue_y%" />
636 <font resource="font" color="%button_text_color%" />
637 <text>Clear Zip Queue</text>
638 <image resource="main_button" />
639 <actions>
640 <action function="queueclear"></action>
641 <action function="page">install</action>
642 </actions>
643 </object>
644
645 <object type="action">
646 <touch key="back" />
647 <actions>
648 <action function="cancelzip"></action>
649 <action function="page">install</action>
650 </actions>
651 </object>
652
653 <object type="action">
654 <touch key="home" />
655 <action function="page">main</action>
656 </object>
657
658 <object type="template" name="footer" />
659 </page>
660
661 <page name="flash_zip">
662 <object type="template" name="header" />
663
664 <object type="console">
665 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
666 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
667 <font resource="fixed" />
668 </object>
669
670 <object type="text" color="%text_color%">
671 <font resource="font" />
672 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
673 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
674 </object>
675
676 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400677 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400678 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
679 <text>%tw_filename%</text>
680 </object>
681
682 <object type="template" name="progress_bar" />
683
684 <object type="action">
685 <condition var1="tw_operation_state" var2="1" />
686 <action function="page">flash_done</action>
687 </object>
688 </page>
689
690 <page name="flash_done">
691 <object type="template" name="header" />
692
693 <object type="text" color="%text_color%">
694 <font resource="font" />
695 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
696 <text>Zip Install Complete</text>
697 </object>
698
699 <object type="console">
700 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
701 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
702 <font resource="fixed" />
703 </object>
704
705 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600706 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400707 <placement x="%col1_x%" y="%row4_y%" />
708 <font resource="font" color="%button_text_color%" />
709 <text>Wipe cache/dalvik</text>
710 <image resource="main_button" />
711 <actions>
712 <action function="set">tw_back=flash_done</action>
713 <action function="set">tw_action=wipe</action>
714 <action function="set">tw_action_param=/cache</action>
715 <action function="set">tw_has_action2=1</action>
716 <action function="set">tw_action2=wipe</action>
717 <action function="set">tw_action2_param=dalvik</action>
718 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
719 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
720 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
721 <action function="set">tw_slider_text=Swipe to Wipe</action>
722 <action function="page">confirm_action</action>
723 </actions>
724 </object>
725
726 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600727 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400728 <placement x="%col2_x%" y="%row4_y%" />
729 <font resource="font" color="%button_text_color%" />
730 <text>Reboot System</text>
731 <image resource="main_button" />
732 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400733 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400734 <action function="set">tw_action=reboot</action>
735 <action function="set">tw_action_param=system</action>
736 <action function="set">tw_has_action2=0</action>
737 <action function="set">tw_text1=No OS Installed! Are you</action>
738 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400739 <action function="set">tw_text3=</action>
740 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400741 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400742 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <action function="set">tw_complete_text1=Rebooting...</action>
744 <action function="set">tw_slider_text=Swipe to Reboot</action>
745 <action function="page">rebootcheck</action>
746 </actions>
747 </object>
748
749 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600750 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400751 <placement x="%col_center_x%" y="%row3_y%" />
752 <font resource="font" color="%button_text_color%" />
753 <text>Home</text>
754 <image resource="main_button" />
755 <actions>
756 <action function="set">tw_clear_destination=main2</action>
757 <action function="page">clear_vars</action>
758 </actions>
759 </object>
760
761 <object type="text" color="%text_fail_color%">
762 <condition var1="tw_operation_status" op="!=" var2="0" />
763 <font resource="font" />
764 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
765 <text>Failed</text>
766 </object>
767
768 <object type="text" color="%text_success_color%">
769 <condition var1="tw_operation_status" var2="0" />
770 <font resource="font" />
771 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
772 <text>Successful</text>
773 </object>
774
775 <object type="action">
776 <touch key="back" />
777 <actions>
778 <action function="set">tw_clear_destination=install</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782
783 <object type="action">
784 <touch key="home" />
785 <actions>
786 <action function="set">tw_clear_destination=main2</action>
787 <action function="page">clear_vars</action>
788 </actions>
789 </object>
790 </page>
791
792 <page name="clear_vars">
793 <object type="action">
794 <action function="set">tw_operation_state=0</action>
795 <action function="set">tw_text1=</action>
796 <action function="set">tw_text2=</action>
797 <action function="set">tw_text3=</action>
798 <action function="set">tw_text4=</action>
799 <action function="set">tw_action_text1=</action>
800 <action function="set">tw_action_text2=</action>
801 <action function="set">tw_action_param=</action>
802 <action function="set">tw_has_action2=0</action>
803 <action function="set">tw_action2=</action>
804 <action function="set">tw_action2_param=</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -0400805 <action function="set">tw_has_cancel=0</action>
806 <action function="set">tw_cancel_action=</action>
807 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400808 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400809 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400810 <action function="page">%tw_clear_destination%</action>
811 </object>
812 </page>
813
814 <page name="confirm_action">
815 <object type="template" name="header" />
816
817 <object type="text" color="%text_color%">
818 <font resource="font" />
819 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
820 <text>%tw_text1%</text>
821 </object>
822
823 <object type="text" color="%text_color%">
824 <font resource="font" />
825 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
826 <text>%tw_text2%</text>
827 </object>
828
829 <object type="text" color="%text_color%">
830 <font resource="font" />
831 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
832 <text>%tw_text3%</text>
833 </object>
834
835 <object type="text" color="%text_color%">
836 <font resource="font" />
837 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
838 <text>%tw_text4%</text>
839 </object>
840
841 <object type="text" color="%text_color%">
842 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400843 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400844 <text>Press back button to cancel.</text>
845 </object>
846
847 <object type="slider">
848 <placement x="%slider_x%" y="%slider_y%" />
849 <resource base="slider" used="slider-used" touch="slider-touch" />
850 <action function="page">action_page</action>
851 </object>
852
853 <object type="text" color="%text_color%">
854 <font resource="font" />
855 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
856 <text>%tw_slider_text%</text>
857 </object>
858
859 <object type="action">
860 <touch key="back" />
861 <actions>
862 <action function="set">tw_clear_destination=%tw_back%</action>
863 <action function="page">clear_vars</action>
864 </actions>
865 </object>
866
867 <object type="action">
868 <touch key="home" />
869 <action function="page">main</action>
870 </object>
871
872 <object type="template" name="footer" />
873 </page>
874
875 <page name="action_page">
876 <object type="template" name="header" />
877
878 <object type="text" color="%text_color%">
879 <font resource="font" />
880 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
881 <text>%tw_action_text1%</text>
882 </object>
883
884 <object type="text" color="%text_color%">
885 <font resource="font" />
886 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
887 <text>%tw_action_text2%</text>
888 </object>
889
890 <object type="template" name="action_page_console" />
891
Dees_Troyc51f1f92012-09-20 15:32:13 -0400892 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600893 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -0400894 <condition var1="tw_has_cancel" var2="1" />
895 <placement x="%col_center_medium_x%" y="%row4_y%" />
896 <font resource="font" color="%button_text_color%" />
897 <text>Cancel</text>
898 <image resource="medium_button" />
899 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
900 </object>
901
Dees_Troy51a0e822012-09-05 15:24:24 -0400902 <object type="template" name="progress_bar" />
903
904 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400905 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400906 <actions>
907 <action function="page">action_complete</action>
908 </actions>
909 </object>
910
911 <object type="action">
912 <condition var1="tw_has_action2" var2="0" />
913 <actions>
914 <action function="%tw_action%">%tw_action_param%</action>
915 </actions>
916 </object>
917
918 <object type="action">
919 <condition var1="tw_has_action2" var2="1" />
920 <actions>
921 <action function="%tw_action%">%tw_action_param%</action>
922 <action function="%tw_action2%">%tw_action2_param%</action>
923 </actions>
924 </object>
925 </page>
926
Dees_Troy82111022013-02-21 21:13:09 +0000927 <page name="singleaction_page">
928 <object type="template" name="header" />
929
930 <object type="text" color="%text_color%">
931 <font resource="font" />
932 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
933 <text>%tw_action_text1%</text>
934 </object>
935
936 <object type="text" color="%text_color%">
937 <font resource="font" />
938 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
939 <text>%tw_action_text2%</text>
940 </object>
941
942 <object type="template" name="action_page_console" />
943
944 <object type="template" name="progress_bar" />
945
946 <object type="action">
947 <condition var1="tw_operation_state" var2="1" />
948 <actions>
949 <action function="set">tw_page_done=1</action>
950 </actions>
951 </object>
952
953 <object type="action">
954 <condition var1="tw_has_action2" var2="0" />
955 <actions>
956 <action function="%tw_action%">%tw_action_param%</action>
957 </actions>
958 </object>
959
960 <object type="action">
961 <condition var1="tw_has_action2" var2="1" />
962 <actions>
963 <action function="%tw_action%">%tw_action_param%</action>
964 <action function="%tw_action2%">%tw_action2_param%</action>
965 </actions>
966 </object>
967 </page>
968
Dees_Troy51a0e822012-09-05 15:24:24 -0400969 <page name="action_complete">
970 <object type="template" name="header" />
971
972 <object type="text" color="%text_color%">
973 <font resource="font" />
974 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
975 <text>%tw_complete_text1%</text>
976 </object>
977
978 <object type="text" color="%text_fail_color%">
979 <condition var1="tw_operation_status" op="!=" var2="0" />
980 <font resource="font" />
981 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
982 <text>Failed</text>
983 </object>
984
985 <object type="text" color="%text_success_color%">
986 <condition var1="tw_operation_status" var2="0" />
987 <font resource="font" />
988 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
989 <text>Successful</text>
990 </object>
991
992 <object type="template" name="action_page_console" />
993
994 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600995 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400996 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400997 <placement x="%col_center_x%" y="%row4_y%" />
998 <font resource="font" color="%button_text_color%" />
999 <text>Back</text>
1000 <image resource="main_button" />
1001 <actions>
1002 <action function="set">tw_clear_destination=%tw_back%</action>
1003 <action function="page">clear_vars</action>
1004 </actions>
1005 </object>
1006
Dees_Troya3f81542012-10-08 10:58:53 -04001007 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001008 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001009 <condition var1="tw_show_reboot" var2="1" />
1010 <placement x="%col_center_x%" y="%row4_y%" />
1011 <font resource="font" color="%button_text_color%" />
1012 <text>Reboot System</text>
1013 <image resource="main_button" />
1014 <actions>
1015 <action function="set">tw_back=main2</action>
1016 <action function="set">tw_action=reboot</action>
1017 <action function="set">tw_action_param=system</action>
1018 <action function="set">tw_has_action2=0</action>
1019 <action function="set">tw_text1=No OS Installed! Are you</action>
1020 <action function="set">tw_text2=sure you wish to reboot?</action>
1021 <action function="set">tw_text3=</action>
1022 <action function="set">tw_text4=</action>
1023 <action function="set">tw_action_text1=Rebooting...</action>
1024 <action function="set">tw_action_text2=</action>
1025 <action function="set">tw_complete_text1=Rebooting...</action>
1026 <action function="set">tw_slider_text=Swipe to Reboot</action>
1027 <action function="page">rebootcheck</action>
1028 </actions>
1029 </object>
1030
Dees_Troy51a0e822012-09-05 15:24:24 -04001031 <object type="action">
1032 <touch key="home" />
1033 <actions>
1034 <action function="set">tw_clear_destination=main2</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </object>
1038
1039 <object type="action">
1040 <touch key="back" />
1041 <actions>
1042 <action function="set">tw_clear_destination=%tw_back%</action>
1043 <action function="page">clear_vars</action>
1044 </actions>
1045 </object>
1046 </page>
1047
1048 <page name="filecheck">
1049 <object type="action">
1050 <action function="fileexists">%tw_filecheck%</action>
1051 </object>
1052
1053 <object type="action">
1054 <conditions>
1055 <condition var1="tw_operation_state" var2="1" />
1056 <condition var1="tw_operation_status" var2="0" />
1057 </conditions>
1058 <actions>
1059 <action function="set">tw_fileexists=1</action>
1060 <action function="page">%tw_existpage%</action>
1061 </actions>
1062 </object>
1063
1064 <object type="action">
1065 <conditions>
1066 <condition var1="tw_operation_state" var2="1" />
1067 <condition var1="tw_operation_status" var2="1" />
1068 </conditions>
1069 <actions>
1070 <action function="set">tw_fileexists=0</action>
1071 <action function="page">%tw_notexistpage%</action>
1072 </actions>
1073 </object>
1074 </page>
1075
1076 <page name="rebootcheck">
1077 <object type="action">
1078 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1079 <action function="reboot">%tw_action_param%</action>
1080 </object>
1081
1082 <object type="action">
1083 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1084 <action function="page">confirm_action</action>
1085 </object>
1086 </page>
1087
1088 <page name="wipe">
1089 <object type="template" name="header" />
1090
1091 <object type="text" color="%text_color%">
1092 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001093 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001094 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001095 </object>
1096
1097 <object type="text" color="%text_color%">
1098 <font resource="font" />
1099 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1100 <text>Wipes Data, Cache, and Dalvik</text>
1101 </object>
1102
1103 <object type="text" color="%text_color%">
1104 <condition var1="tw_has_data_media" var2="0" />
1105 <font resource="font" />
1106 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1107 <text>.android_secure</text>
1108 </object>
1109
1110 <object type="text" color="%text_color%">
1111 <condition var1="tw_has_data_media" var2="1" />
1112 <font resource="font" />
1113 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1114 <text>(not including internal storage)</text>
1115 </object>
1116
1117 <object type="text" color="%text_color%">
1118 <condition var1="tw_has_sdext_partition" var2="1" />
1119 <font resource="font" />
1120 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1121 <text>SD-EXT</text>
1122 </object>
1123
1124 <object type="text" color="%text_color%">
1125 <font resource="font" />
1126 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1127 <text>Most of the time this is</text>
1128 </object>
1129
1130 <object type="text" color="%text_color%">
1131 <font resource="font" />
1132 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1133 <text>the only wipe that you need.</text>
1134 </object>
1135
1136 <object type="text" color="%text_color%">
1137 <font resource="font" />
1138 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1139 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001140 </object>
1141
1142 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001143 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001144 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001145 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001146 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001147 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001149 </object>
1150
1151 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001152 <conditions>
1153 <condition var1="tw_has_internal" var2="1" />
1154 <condition var1="tw_has_data_media" var2="1" />
1155 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001156 <highlight color="%highlight_color%" />
1157 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001158 <font resource="font" color="%button_text_color%" />
1159 <text>Format Data</text>
1160 <image resource="main_button" />
1161 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001162 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001163 </actions>
1164 </object>
1165
Dees_Troya13d74f2013-03-24 08:54:55 -05001166 <object type="slider">
1167 <placement x="%slider_x%" y="%slider_y%" />
1168 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001169 <actions>
1170 <action function="set">tw_back=wipe</action>
1171 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001172 <action function="set">tw_action_param=data</action>
1173 <action function="set">tw_action_text1=Factory Reset...</action>
1174 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1175 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001176 </actions>
1177 </object>
1178
Dees_Troya13d74f2013-03-24 08:54:55 -05001179 <object type="text" color="%text_color%">
1180 <font resource="font" />
1181 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1182 <text>Swipe to Factory Reset</text>
1183 </object>
1184
1185 <object type="action">
1186 <touch key="back" />
1187 <action function="page">main</action>
1188 </object>
1189
1190 <object type="action">
1191 <touch key="home" />
1192 <action function="page">main</action>
1193 </object>
1194
1195 <object type="template" name="footer" />
1196 </page>
1197
1198 <page name="advancedwipe">
1199 <object type="template" name="header" />
1200
1201 <object type="text" color="%text_color%">
1202 <font resource="font" />
1203 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1204 <text>Wipe Menu</text>
1205 </object>
1206
1207 <object type="partitionlist">
1208 <highlight color="%fileselector_highlight_color%" />
1209 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1210 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1211 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1212 <text>Select Partitions to Wipe:</text>
1213 <icon selected="checkbox_true" unselected="checkbox_false" />
1214 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1215 <background color="%listbox_background%" />
1216 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1217 <data name="tw_wipe_list" />
1218 <listtype name="wipe" />
1219 </object>
1220
1221 <object type="slider">
1222 <placement x="%slider_x%" y="%slider_y%" />
1223 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001224 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001225 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001226 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <action function="set">tw_action_param=LIST</action>
1228 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1229 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1230 <action function="set">tw_complete_text1=Wipe Complete</action>
1231 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001232 </actions>
1233 </object>
1234
Dees_Troya13d74f2013-03-24 08:54:55 -05001235 <object type="text" color="%text_color%">
1236 <font resource="font" />
1237 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1238 <text>Swipe to Wipe</text>
1239 </object>
1240
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 <object type="action">
1242 <touch key="home" />
1243 <action function="page">main</action>
1244 </object>
1245
1246 <object type="action">
1247 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001248 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001249 </object>
1250
1251 <object type="template" name="footer" />
1252 </page>
1253
Dees_Troya13d74f2013-03-24 08:54:55 -05001254 <page name="formatdata">
1255 <object type="template" name="header" />
1256
1257 <object type="text" color="%text_color%">
1258 <font resource="font" />
1259 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1260 <text>Format Data will wipe all of your apps,</text>
1261 </object>
1262
1263 <object type="text" color="%text_color%">
1264 <font resource="font" />
1265 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1266 <text>backups, pictures, videos, media, and</text>
1267 </object>
1268
1269 <object type="text" color="%text_color%">
1270 <font resource="font" />
1271 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1272 <text>removes encryption on internal storage.</text>
1273 </object>
1274
1275 <object type="text" color="%text_color%">
1276 <font resource="font" />
1277 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1278 <text>This cannot be undone. Press back to cancel.</text>
1279 </object>
1280
1281 <object type="text" color="%text_color%">
1282 <font resource="font" />
1283 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1284 <text>Type yes to continue.</text>
1285 </object>
1286
1287 <object type="input">
1288 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1289 <background color="%input_background_color%" />
1290 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1291 <font resource="font" color="%text_color%" />
1292 <text>%tw_confirm_formatdata%</text>
1293 <data name="tw_confirm_formatdata" />
1294 <restrict minlen="3" maxlen="3" allow="yes" />
1295 <action function="page">formatdata_confirm</action>
1296 </object>
1297
1298 <object type="template" name="keyboardtemplate" />
1299
1300 <object type="action">
1301 <touch key="home" />
1302 <action function="page">main</action>
1303 </object>
1304
1305 <object type="action">
1306 <touch key="back" />
1307 <action function="page">wipe</action>
1308 </object>
1309
1310 <object type="template" name="footer" />
1311 </page>
1312
1313 <page name="formatdata_confirm">
1314 <object type="action">
1315 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1316 <actions>
1317 <action function="set">tw_back=formatdata</action>
1318 <action function="set">tw_action=wipe</action>
1319 <action function="set">tw_action_param=DATAMEDIA</action>
1320 <action function="set">tw_action_text1=Formatting Data...</action>
1321 <action function="set">tw_complete_text1=Data Format Complete</action>
1322 <action function="page">action_page</action>
1323 </actions>
1324 </object>
1325
1326 <object type="action">
1327 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1328 <action function="page">formatdata</function>
1329 </object>
1330 </page>
1331
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 <page name="backup">
1333 <object type="template" name="header" />
1334
Dees_Troy83bd4832013-05-04 12:39:56 +00001335 <object type="button">
1336 <highlight color="%highlight_color%" />
1337 <fill color="%button_fill_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001338 <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 +00001339 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001340 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001341 <actions>
1342 <action function="set">tw_fileexists=0</action>
1343 <action function="page">backupname1</action>
1344 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001345 </object>
1346
Dees_Troya13d74f2013-03-24 08:54:55 -05001347 <object type="partitionlist">
1348 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001349 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001350 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1351 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1352 <text>Select Partitions to Back Up:</text>
1353 <icon selected="checkbox_true" unselected="checkbox_false" />
1354 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1355 <background color="%listbox_background%" />
1356 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1357 <data name="tw_backup_list" />
1358 <listtype name="backup" />
1359 </object>
1360
1361 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001362 <conditions>
1363 <condition var1="tw_include_encrypted_backup" var2="1" />
1364 <condition var1="tw_encrypt_backup" var2="0" />
1365 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001366 <highlight color="%highlight_color%" />
1367 <fill color="%button_fill_color%" />
1368 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1369 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001370 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001371 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001372 <action function="page">backupencryption</action>
1373 </actions>
1374 </object>
1375
1376 <object type="button">
1377 <conditions>
1378 <condition var1="tw_include_encrypted_backup" var2="1" />
1379 <condition var1="tw_encrypt_backup" var2="1" />
1380 </conditions>
1381 <highlight color="%highlight_color%" />
1382 <fill color="%button_fill_color%" />
1383 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1384 <font resource="font" color="%button_text_color%" />
1385 <text>Using Encryption</text>
1386 <actions>
1387 <action function="set">tw_password_not_match=0</action>
1388 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001389 </actions>
1390 </object>
1391
1392 <object type="button">
1393 <highlight color="%highlight_color%" />
1394 <fill color="%button_fill_color%" />
1395 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1396 <font resource="font" color="%button_text_color%" />
1397 <text>Refresh Sizes</text>
1398 <action function="refreshsizes"></action>
1399 </object>
1400
1401 <object type="button">
1402 <highlight color="%highlight_color%" />
1403 <fill color="%button_fill_color%" />
1404 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1405 <font resource="font" color="%button_text_color%" />
1406 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1407 <actions>
1408 <action function="set">tw_back=backup</action>
1409 <action function="page">selectstorage</action>
1410 </actions>
1411 </object>
1412
1413 <object type="checkbox">
1414 <placement x="%col1_x%" y="%row15_text_y%" />
1415 <font resource="font" color="%text_color%" />
1416 <text>Enable compression.</text>
1417 <data variable="tw_use_compression" />
1418 <image checked="checkbox_true" unchecked="checkbox_false" />
1419 </object>
1420
1421 <object type="checkbox">
1422 <placement x="%col1_x%" y="%row16_text_y%" />
1423 <font resource="font" color="%text_color%" />
1424 <text>Skip MD5 generation during backup.</text>
1425 <data variable="tw_skip_md5_generate" />
1426 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001427 </object>
1428
1429 <object type="slider">
1430 <placement x="%slider_x%" y="slider_y" />
1431 <resource base="slider" used="slider-used" touch="slider-touch" />
1432 <action function="page">backup_run</action>
1433 </object>
1434
1435 <object type="text" color="%text_color%">
1436 <font resource="font" />
1437 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1438 <text>Swipe to Back Up</text>
1439 </object>
1440
Dees_Troy51a0e822012-09-05 15:24:24 -04001441 <object type="action">
1442 <touch key="home" />
1443 <action function="page">main</action>
1444 </object>
1445
1446 <object type="action">
1447 <touch key="back" />
1448 <action function="page">main</action>
1449 </object>
1450
1451 <object type="template" name="footer" />
1452 </page>
1453
1454 <page name="backupname1">
1455 <object type="action">
Dees Troyb21cc642013-09-10 17:36:41 +00001456 <condition var1="tw_backup_name" op="=" var2="(Auto Generate)" />
1457 <action function="generatebackupname"></function>
Dees_Troy51a0e822012-09-05 15:24:24 -04001458 </object>
1459
1460 <object type="action">
1461 <action function="page">backupname2</function>
1462 </object>
1463 </page>
1464
1465 <page name="backupname2">
1466 <object type="template" name="header" />
1467
1468 <object type="text" color="%text_color%">
1469 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1470 <font resource="font" />
1471 <text>Please Enter a Backup Name</text>
1472 </object>
1473
1474 <object type="input">
1475 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1476 <background color="%input_background_color%" />
1477 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1478 <font resource="font" color="%text_color%" />
1479 <text>%tw_backup_name%</text>
1480 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001481 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001482 <actions>
1483 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1484 <action function="set">tw_existpage=backupname2</action>
1485 <action function="set">tw_notexistpage=backup</action>
1486 <action function="page">filecheck</action>
1487 </actions>
1488 </object>
1489
1490 <object type="text" color="%text_fail_color%">
1491 <condition var1="tw_fileexists" var2="1" />
1492 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1493 <font resource="font" />
1494 <text>A backup with that name already exists!</text>
1495 </object>
1496
1497 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001498 <highlight color="%highlight_color%" />
Dees Troyb21cc642013-09-10 17:36:41 +00001499 <placement x="%col1_x%" y="%row2_y%" />
1500 <font resource="font" color="%button_text_color%" />
1501 <text>Append Date</text>
1502 <image resource="main_button" />
1503 <action function="appenddatetobackupname"></action>
1504 </object>
1505
1506 <object type="button">
1507 <highlight color="%highlight_color%" />
1508 <placement x="%col2_x%" y="%row2_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001509 <font resource="font" color="%button_text_color%" />
1510 <text>Cancel</text>
1511 <image resource="main_button" />
1512 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001513 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001514 <action function="page">backup</action>
1515 </actions>
1516 </object>
1517
1518 <object type="template" name="keyboardtemplate" />
1519
1520 <object type="action">
1521 <touch key="home" />
1522 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001523 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001524 <action function="page">main</action>
1525 </actions>
1526 </object>
1527
1528 <object type="action">
1529 <touch key="back" />
1530 <actions>
Dees Troyb21cc642013-09-10 17:36:41 +00001531 <action function="set">tw_backup_name=(Auto Generate)</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001532 <action function="page">backup</action>
1533 </actions>
1534 </object>
1535
1536 <object type="template" name="footer" />
1537 </page>
1538
Dees_Troy83bd4832013-05-04 12:39:56 +00001539 <page name="backupencryption">
1540 <object type="template" name="header" />
1541
1542 <object type="text" color="%text_color%">
1543 <font resource="font" />
1544 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1545 <text>Encrypt your backup?</text>
1546 </object>
1547
1548 <object type="text" color="%text_color%">
1549 <font resource="font" />
1550 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1551 <text>Please Enter A Password:</text>
1552 </object>
1553
1554 <object type="input">
1555 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1556 <background color="%input_background_color%" />
1557 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1558 <font resource="font" color="%text_color%" />
1559 <text>%tw_backup_encrypt_display%</text>
1560 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1561 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1562 <action function="page">backupencryption2</action>
1563 </object>
1564
1565 <object type="text" color="%text_fail_color%">
1566 <condition var1="tw_password_not_match" var2="1" />
1567 <font resource="font" />
1568 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1569 <text>Passwords Do Not Match</text>
1570 </object>
1571
1572 <object type="button">
1573 <highlight color="%highlight_color%" />
1574 <placement x="%col_center_x%" y="%row2_y%" />
1575 <font resource="font" color="%button_text_color%" />
1576 <text>Cancel</text>
1577 <image resource="main_button" />
1578 <actions>
1579 <action function="set">tw_encrypt_backup=0</action>
1580 <action function="set">tw_backup_password=</action>
1581 <action function="set">tw_backup_password2=</action>
1582 <action function="set">tw_backup_encrypt_display=</action>
1583 <action function="set">tw_backup_encrypt_display2=</action>
1584 <action function="page">backup</action>
1585 </actions>
1586 </object>
1587
1588 <object type="template" name="keyboardtemplate" />
1589
1590 <object type="action">
1591 <touch key="home" />
1592 <action function="page">main</action>
1593 </object>
1594
1595 <object type="action">
1596 <touch key="back" />
1597 <action function="page">backup</action>
1598 </object>
1599
1600 <object type="template" name="footer" />
1601 </page>
1602
1603 <page name="backupencryption2">
1604 <object type="template" name="header" />
1605
1606 <object type="text" color="%text_color%">
1607 <font resource="font" />
1608 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1609 <text>Encrypt your backup?</text>
1610 </object>
1611
1612 <object type="text" color="%text_color%">
1613 <font resource="font" />
1614 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1615 <text>Please Enter Password Again:</text>
1616 </object>
1617
1618 <object type="input">
1619 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1620 <background color="%input_background_color%" />
1621 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1622 <font resource="font" color="%text_color%" />
1623 <text>%tw_backup_encrypt_display2%</text>
1624 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1625 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1626 <actions>
1627 <action function="page">checkbackuppassword</action>
1628 </actions>
1629 </object>
1630
1631 <object type="button">
1632 <highlight color="%highlight_color%" />
1633 <placement x="%col_center_x%" y="%row2_y%" />
1634 <font resource="font" color="%button_text_color%" />
1635 <text>Cancel</text>
1636 <image resource="main_button" />
1637 <actions>
1638 <action function="set">tw_encrypt_backup=0</action>
1639 <action function="set">tw_backup_password=</action>
1640 <action function="set">tw_backup_password2=</action>
1641 <action function="set">tw_backup_encrypt_display=</action>
1642 <action function="set">tw_backup_encrypt_display2=</action>
1643 <action function="page">backup</action>
1644 </actions>
1645 </object>
1646
1647 <object type="template" name="keyboardtemplate" />
1648
1649 <object type="action">
1650 <touch key="home" />
1651 <action function="page">main</action>
1652 </object>
1653
1654 <object type="action">
1655 <touch key="back" />
1656 <action function="page">backup</action>
1657 </object>
1658
1659 <object type="template" name="footer" />
1660 </page>
1661
1662 <page name="checkbackuppassword">
1663 <object type="action">
1664 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1665 <actions>
1666 <action function="set">tw_encrypt_backup=1</action>
1667 <action function="page">backup</action>
1668 </actions>
1669 </object>
1670
1671 <object type="action">
1672 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1673 <actions>
1674 <action function="set">tw_encrypt_backup=0</action>
1675 <action function="set">tw_password_not_match=1</action>
1676 <action function="set">tw_backup_password=</action>
1677 <action function="set">tw_backup_password2=</action>
1678 <action function="set">tw_backup_encrypt_display=</action>
1679 <action function="set">tw_backup_encrypt_display2=</action>
1680 <action function="page">backupencryption</action>
1681 </actions>
1682 </object>
1683 </page>
1684
Dees_Troy51a0e822012-09-05 15:24:24 -04001685 <page name="backup_run">
1686 <object type="template" name="header" />
1687
1688 <object type="text" color="%text_color%">
1689 <font resource="font" />
1690 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1691 <text>%tw_operation% %tw_partition%</text>
1692 </object>
1693
1694 <object type="template" name="action_page_console" />
1695
1696 <object type="template" name="progress_bar" />
1697
1698 <object type="action">
1699 <action function="nandroid">backup</action>
1700 </object>
1701
1702 <object type="action">
1703 <condition var1="tw_operation_state" var2="1" />
1704 <actions>
1705 <action function="set">tw_back=backup</action>
1706 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001707 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001708 <action function="page">action_complete</action>
1709 </actions>
1710 </object>
1711 </page>
1712
1713 <page name="restore">
1714 <object type="template" name="header" />
1715
1716 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001717 <highlight color="%highlight_color%" />
1718 <fill color="%button_fill_color%" />
1719 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1720 <font resource="font" color="%button_text_color%" />
1721 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1722 <actions>
1723 <action function="set">tw_back=restore</action>
1724 <action function="page">selectstorage</action>
1725 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001726 </object>
1727
1728 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001729 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001730 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001731 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001732 <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 -04001733 <text>Select Package to Restore:</text>
1734 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1735 <sort name="tw_gui_sort_order" />
1736 <icon folder="folder_icon" file="file_icon" />
1737 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001738 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001739 <filter folders="1" files="0" nav="0" />
1740 <path name="tw_backups_folder" />
1741 <data name="tw_restore" default="" />
1742 <selection name="tw_restore_name" />
1743 </object>
1744
1745 <object type="template" name="sort_options" />
1746
1747 <object type="action">
1748 <condition var1="tw_restore" op="modified" />
1749 <actions>
1750 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001751 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001752 </actions>
1753 </object>
1754
1755 <object type="action">
1756 <touch key="home" />
1757 <action function="page">main</action>
1758 </object>
1759
1760 <object type="action">
1761 <touch key="back" />
1762 <action function="page">main</action>
1763 </object>
1764
1765 <object type="template" name="footer" />
1766 </page>
1767
Dees_Troy83bd4832013-05-04 12:39:56 +00001768 <page name="restore_read">
1769 <object type="action">
1770 <condition var1="tw_restore_encrypted" var2="1" />
1771 <actions>
1772 <action function="set">tw_password_fail=0</action>
1773 <action function="page">restore_decrypt</action>
1774 </actions>
1775 </object>
1776
1777 <object type="action">
1778 <condition var1="tw_restore_encrypted" var2="0" />
1779 <actions>
1780 <action function="page">restore_select</action>
1781 </actions>
1782 </object>
1783 </page>
1784
1785 <page name="restore_decrypt">
1786 <object type="template" name="header" />
1787
1788 <object type="text" color="%text_color%">
1789 <font resource="font" />
1790 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1791 <text>Backup Encrypted</text>
1792 </object>
1793
1794 <object type="text" color="%text_color%">
1795 <font resource="font" />
1796 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1797 <text>Please Enter Your Password:</text>
1798 </object>
1799
1800 <object type="input">
1801 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1802 <background color="%input_background_color%" />
1803 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1804 <font resource="font" color="%text_color%" />
1805 <text>%tw_restore_display%</text>
1806 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1807 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1808 <actions>
1809 <action function="page">try_restore_decrypt</action>
1810 </actions>
1811 </object>
1812
1813 <object type="text" color="%text_fail_color%">
1814 <condition var1="tw_password_fail" var2="1" />
1815 <font resource="font" />
1816 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1817 <text>Password Failed, Please Try Again</text>
1818 </object>
1819
1820 <object type="button">
1821 <highlight color="%highlight_color%" />
1822 <placement x="%col1_x%" y="%row2_y%" />
1823 <font resource="font" color="%button_text_color%" />
1824 <text>Cancel</text>
1825 <image resource="main_button" />
1826 <actions>
1827 <action function="set">tw_page_done=1</action>
1828 <action function="page">restore</action>
1829 </actions>
1830 </object>
1831
1832 <object type="button">
1833 <highlight color="%highlight_color%" />
1834 <placement x="%col2_x%" y="%row2_y%" />
1835 <font resource="font" color="%button_text_color%" />
1836 <text>Delete</text>
1837 <image resource="main_button" />
1838 <actions>
1839 <action function="set">tw_back=restore</action>
1840 <action function="set">tw_action=cmd</action>
1841 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1842 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1843 <action function="set">tw_text2=This cannot be undone!</action>
1844 <action function="set">tw_action_text1=Deleting Backup...</action>
1845 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1846 <action function="set">tw_slider_text=Swipe to Delete</action>
1847 <action function="page">confirm_action</action>
1848 </actions>
1849 </object>
1850
1851 <object type="template" name="keyboardtemplate" />
1852
1853 <object type="action">
1854 <touch key="home" />
1855 <action function="page">main</action>
1856 </object>
1857
1858 <object type="action">
1859 <touch key="back" />
1860 <action function="page">restore</action>
1861 </object>
1862
1863 <object type="template" name="footer" />
1864 </page>
1865
1866 <page name="try_restore_decrypt">
1867 <object type="template" name="header" />
1868
1869 <object type="text" color="%text_color%">
1870 <font resource="font" />
1871 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1872 <text>Trying Decryption with Your Password</text>
1873 </object>
1874
1875 <object type="template" name="action_page_console" />
1876
1877 <object type="template" name="progress_bar" />
1878
1879 <object type="action">
1880 <action function="decrypt_backup"></action>
1881 </object>
1882
1883 <object type="action">
1884 <conditions>
1885 <condition var1="tw_operation_state" var2="1" />
1886 <condition var1="tw_operation_status" op="!=" var2="0" />
1887 </conditions>
1888 <actions>
1889 <action function="set">tw_password_fail=1</action>
1890 <action function="page">restore_decrypt</action>
1891 </actions>
1892 </object>
1893
1894 <object type="action">
1895 <conditions>
1896 <condition var1="tw_operation_state" var2="1" />
1897 <condition var1="tw_operation_status" op="=" var2="0" />
1898 </conditions>
1899 <actions>
1900 <action function="set">tw_page_done=1</action>
1901 <action function="page">restore_select</action>
1902 </actions>
1903 </object>
1904 </page>
1905
Dees_Troy51a0e822012-09-05 15:24:24 -04001906 <page name="restore_select">
1907 <object type="template" name="header" />
1908
Dees_Troya13d74f2013-03-24 08:54:55 -05001909 <object type="partitionlist">
1910 <highlight color="%fileselector_highlight_color%" />
1911 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1912 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1913 <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 -04001914 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001915 <icon selected="checkbox_true" unselected="checkbox_false" />
1916 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1917 <background color="%listbox_background%" />
1918 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1919 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1920 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001921 </object>
1922
1923 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001924 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001925 <fill color="%button_fill_color%" />
1926 <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 -04001927 <font resource="font" color="%button_text_color%" />
1928 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001929 <actions>
1930 <action function="set">tw_backup_rename=</action>
1931 <action function="set">tw_fileexists=0</action>
1932 <action function="page">renamebackup</action>
1933 </actions>
1934 </object>
1935
1936 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001937 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001938 <fill color="%button_fill_color%" />
1939 <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 -04001940 <font resource="font" color="%button_text_color%" />
1941 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001942 <actions>
1943 <action function="set">tw_back=restore</action>
1944 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001945 <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 -04001946 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1947 <action function="set">tw_text2=This cannot be undone!</action>
1948 <action function="set">tw_action_text1=Deleting Backup...</action>
1949 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1950 <action function="set">tw_slider_text=Swipe to Delete</action>
1951 <action function="page">confirm_action</action>
1952 </actions>
1953 </object>
1954
Dees_Troya13d74f2013-03-24 08:54:55 -05001955 <object type="checkbox">
1956 <placement x="%col1_x%" y="%row15_text_y%" />
1957 <font resource="font" color="%text_color%" />
1958 <text>Enable MD5 verification of backup files.</text>
1959 <data variable="tw_skip_md5_check" />
1960 <image checked="checkbox_true" unchecked="checkbox_false" />
1961 </object>
1962
1963 <object type="text" color="%text_color%">
1964 <font resource="font" />
1965 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1966 <text>Package Date: %tw_restore_file_date%</text>
1967 </object>
1968
Dees_Troy51a0e822012-09-05 15:24:24 -04001969 <object type="slider">
1970 <placement x="%slider_x%" y="%slider_y%" />
1971 <resource base="slider" used="slider-used" touch="slider-touch" />
1972 <action function="page">restore_run</action>
1973 </object>
1974
1975 <object type="text" color="%text_color%">
1976 <font resource="font" />
1977 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1978 <text>Swipe to Restore</text>
1979 </object>
1980
Dees_Troy51a0e822012-09-05 15:24:24 -04001981 <object type="action">
1982 <touch key="home" />
1983 <action function="page">main</action>
1984 </object>
1985
1986 <object type="action">
1987 <touch key="back" />
1988 <action function="page">restore</action>
1989 </object>
1990
1991 <object type="template" name="footer" />
1992 </page>
1993
1994 <page name="renamebackup">
1995 <object type="template" name="header" />
1996
1997 <object type="text" color="%text_color%">
1998 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1999 <font resource="font" />
2000 <text>Please Enter a New Backup Name</text>
2001 </object>
2002
2003 <object type="input">
2004 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
2005 <background color="%input_background_color%" />
2006 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
2007 <font resource="font" color="%text_color%" />
2008 <text>%tw_backup_rename%</text>
2009 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04002010 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002011 <actions>
2012 <action function="set">tw_back=restore</action>
2013 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00002014 <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 -04002015 <action function="set">tw_text1=Rename Backup?</action>
2016 <action function="set">tw_text2=This cannot be undone!</action>
2017 <action function="set">tw_action_text1=Renaming Backup...</action>
2018 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2019 <action function="set">tw_slider_text=Swipe to Rename</action>
2020 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2021 <action function="set">tw_existpage=renamebackup</action>
2022 <action function="set">tw_notexistpage=confirm_action</action>
2023 <action function="page">filecheck</action>
2024 </actions>
2025 </object>
2026
2027 <object type="text" color="%text_fail_color%">
2028 <condition var1="tw_fileexists" var2="1" />
2029 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2030 <font resource="font" />
2031 <text>A backup with that name already exists!</text>
2032 </object>
2033
2034 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002035 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002036 <placement x="%col_center_x%" y="%row2_y%" />
2037 <font resource="font" color="%button_text_color%" />
2038 <text>Cancel</text>
2039 <image resource="main_button" />
2040 <action function="page">restore_select</action>
2041 </object>
2042
2043 <object type="template" name="keyboardtemplate" />
2044
2045 <object type="action">
2046 <touch key="home" />
2047 <action function="page">main</action>
2048 </object>
2049
2050 <object type="action">
2051 <touch key="back" />
2052 <action function="page">restore_select</action>
2053 </object>
2054
2055 <object type="template" name="footer" />
2056 </page>
2057
2058 <page name="restore_run">
2059 <object type="template" name="header" />
2060
2061 <object type="text" color="%text_color%">
2062 <font resource="font" />
2063 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2064 <text>%tw_operation% %tw_partition%</text>
2065 </object>
2066
2067 <object type="template" name="action_page_console" />
2068
2069 <object type="template" name="progress_bar" />
2070
2071 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002072 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002073 <actions>
2074 <action function="set">tw_back=restore_select</action>
2075 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002076 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002077 <action function="page">action_complete</action>
2078 </actions>
2079 </object>
2080
2081 <object type="action">
2082 <action function="nandroid">restore</action>
2083 </object>
2084 </page>
2085
Dees_Troya13d74f2013-03-24 08:54:55 -05002086 <page name="selectstorage">
2087 <object type="template" name="header" />
2088
2089 <object type="partitionlist">
2090 <highlight color="%fileselector_highlight_color%" />
2091 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2092 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2093 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2094 <text>Select Storage:</text>
2095 <icon selected="radio_true" unselected="radio_false" />
2096 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2097 <background color="%listbox_background%" />
2098 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2099 <data name="tw_storage_path" />
2100 <listtype name="storage" />
2101 </object>
2102
Dees_Troye7e0ae82013-07-05 14:46:07 +00002103 <object type="button">
2104 <highlight color="%highlight_color%" />
2105 <placement x="%col_center_x%" y="%row4_y%" />
2106 <font resource="font" color="%button_text_color%" />
2107 <text>OK</text>
2108 <image resource="main_button" />
2109 <actions>
2110 <action function="set">tw_clear_destination=%tw_back%</action>
2111 <action function="page">clear_vars</action>
2112 </actions>
2113 </object>
2114
Dees_Troya13d74f2013-03-24 08:54:55 -05002115 <object type="action">
2116 <touch key="home" />
2117 <action function="page">main</action>
2118 </object>
2119
2120 <object type="action">
2121 <touch key="back" />
2122 <actions>
2123 <action function="page">%tw_back%</action>
2124 </actions>
2125 </object>
2126
2127 <object type="template" name="footer" />
2128 </page>
2129
Dees_Troy51a0e822012-09-05 15:24:24 -04002130 <page name="mount">
2131 <object type="template" name="header" />
2132
Dees_Troya13d74f2013-03-24 08:54:55 -05002133 <object type="partitionlist">
2134 <highlight color="%fileselector_highlight_color%" />
2135 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2136 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2137 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2138 <text>Select Partitions to Mount:</text>
2139 <icon selected="checkbox_true" unselected="checkbox_false" />
2140 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2141 <background color="%listbox_background%" />
2142 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2143 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002144 </object>
2145
2146 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002147 <highlight color="%highlight_color%" />
2148 <fill color="%button_fill_color%" />
2149 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2150 <font resource="font" color="%button_text_color%" />
2151 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2152 <actions>
2153 <action function="set">tw_back=mount</action>
2154 <action function="page">selectstorage</action>
2155 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002156 </object>
2157
2158 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002159 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002160 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002161 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002162 <font resource="font" color="%button_text_color%" />
2163 <text>Mount USB Storage</text>
2164 <image resource="main_button" />
2165 <action function="page">usb_mount</action>
2166 </object>
2167
Gary Peckffdc6ae2012-11-21 18:02:02 -08002168 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002169 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002170 <conditions>
2171 <condition var1="tw_is_encrypted" var2="1" />
2172 <condition var1="tw_is_decrypted" var2="0" />
2173 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002174 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002175 <font resource="font" color="%button_text_color%" />
2176 <text>Decrypt Data</text>
2177 <image resource="main_button" />
2178 <action function="page">decrypt</action>
2179 </object>
2180
Dees_Troy51a0e822012-09-05 15:24:24 -04002181 <object type="action">
2182 <touch key="home" />
2183 <action function="page">main</action>
2184 </object>
2185
2186 <object type="action">
2187 <touch key="back" />
2188 <action function="page">main</action>
2189 </object>
2190
2191 <object type="template" name="footer" />
2192 </page>
2193
2194 <page name="usb_mount">
2195 <object type="template" name="header" />
2196
2197 <object type="text" color="%text_color%">
2198 <font resource="font" />
2199 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2200 <text>USB Storage Mounted</text>
2201 </object>
2202
2203 <object type="text" color="%text_color%">
2204 <placement x="%col1_x%" y="%row1_text_y%" />
2205 <font resource="font" />
2206 <text>Be sure to safely remove your device</text>
2207 </object>
2208
2209 <object type="text" color="%text_color%">
2210 <placement x="%col1_x%" y="%row2_text_y%" />
2211 <font resource="font" />
2212 <text>from your computer before unmounting!</text>
2213 </object>
2214
2215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002217 <placement x="%col1_x%" y="%row3_y%" />
2218 <font resource="font" color="%button_text_color%" />
2219 <text>Unmount</text>
2220 <image resource="main_button" />
2221 <action function="page">usb_umount</action>
2222 </object>
2223
2224 <object type="action">
2225 <action function="mount">usb</action>
2226 </object>
2227
2228 <object type="template" name="footer" />
2229 </page>
2230
2231 <page name="usb_umount">
2232 <object type="action">
2233 <action function="unmount">usb</action>
2234 </object>
2235
2236 <object type="action">
2237 <action function="page">mount</action>
2238 </object>
2239 </page>
2240
2241 <page name="reboot">
2242 <object type="template" name="header" />
2243
2244 <object type="text" color="%text_color%">
2245 <font resource="font" />
2246 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2247 <text>Reboot Menu</text>
2248 </object>
2249
2250 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002251 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002252 <condition var1="tw_reboot_system" var2="1" />
2253 <placement x="%col1_x%" y="%row1_y%" />
2254 <font resource="font" color="%button_text_color%" />
2255 <text>System</text>
2256 <image resource="main_button" />
2257 <actions>
2258 <action function="set">tw_back=reboot</action>
2259 <action function="set">tw_action=reboot</action>
2260 <action function="set">tw_action_param=system</action>
2261 <action function="set">tw_has_action2=0</action>
2262 <action function="set">tw_text1=No OS Installed! Are you</action>
2263 <action function="set">tw_text2=sure you wish to reboot?</action>
2264 <action function="set">tw_action_text1=Rebooting...</action>
2265 <action function="set">tw_complete_text1=Rebooting...</action>
2266 <action function="set">tw_slider_text=Swipe to Reboot</action>
2267 <action function="page">rebootcheck</action>
2268 </actions>
2269 </object>
2270
2271 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002272 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002273 <condition var1="tw_reboot_poweroff" var2="1" />
2274 <placement x="%col2_x%" y="%row1_y%" />
2275 <font resource="font" color="%button_text_color%" />
2276 <text>Power Off</text>
2277 <image resource="main_button" />
2278 <actions>
2279 <action function="set">tw_back=reboot</action>
2280 <action function="set">tw_action=reboot</action>
2281 <action function="set">tw_action_param=poweroff</action>
2282 <action function="set">tw_has_action2=0</action>
2283 <action function="set">tw_text1=No OS Installed! Are you</action>
2284 <action function="set">tw_text2=sure you wish to power off?</action>
2285 <action function="set">tw_action_text1=Turning Off...</action>
2286 <action function="set">tw_complete_text1=Turning Off...</action>
2287 <action function="set">tw_slider_text=Swipe to Power Off</action>
2288 <action function="page">rebootcheck</action>
2289 </actions>
2290 </object>
2291
2292 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002293 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002294 <condition var1="tw_reboot_recovery" var2="1" />
2295 <placement x="%col1_x%" y="%row2_y%" />
2296 <font resource="font" color="%button_text_color%" />
2297 <text>Recovery</text>
2298 <image resource="main_button" />
2299 <actions>
2300 <action function="set">tw_back=reboot</action>
2301 <action function="set">tw_action=reboot</action>
2302 <action function="set">tw_action_param=recovery</action>
2303 <action function="set">tw_has_action2=0</action>
2304 <action function="set">tw_text1=No OS Installed! Are you</action>
2305 <action function="set">tw_text2=sure you wish to reboot?</action>
2306 <action function="set">tw_action_text1=Rebooting...</action>
2307 <action function="set">tw_complete_text1=Rebooting...</action>
2308 <action function="set">tw_slider_text=Swipe to Reboot</action>
2309 <action function="page">rebootcheck</action>
2310 </actions>
2311 </object>
2312
2313 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002314 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002315 <condition var1="tw_reboot_bootloader" var2="1" />
2316 <placement x="%col2_x%" y="%row2_y%" />
2317 <font resource="font" color="%button_text_color%" />
2318 <text>Bootloader</text>
2319 <image resource="main_button" />
2320 <actions>
2321 <action function="set">tw_back=reboot</action>
2322 <action function="set">tw_action=reboot</action>
2323 <action function="set">tw_action_param=bootloader</action>
2324 <action function="set">tw_has_action2=0</action>
2325 <action function="set">tw_text1=No OS Installed! Are you</action>
2326 <action function="set">tw_text2=sure you wish to reboot?</action>
2327 <action function="set">tw_action_text1=Rebooting...</action>
2328 <action function="set">tw_complete_text1=Rebooting...</action>
2329 <action function="set">tw_slider_text=Swipe to Reboot</action>
2330 <action function="page">rebootcheck</action>
2331 </actions>
2332 </object>
2333
2334 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002335 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002336 <condition var1="tw_download_mode" var2="1" />
2337 <placement x="%col1_x%" y="%row3_y%" />
2338 <font resource="font" color="%button_text_color%" />
2339 <text>Download</text>
2340 <image resource="main_button" />
2341 <actions>
2342 <action function="set">tw_back=reboot</action>
2343 <action function="set">tw_action=reboot</action>
2344 <action function="set">tw_action_param=download</action>
2345 <action function="set">tw_has_action2=0</action>
2346 <action function="set">tw_text1=No OS Installed! Are you</action>
2347 <action function="set">tw_text2=sure you wish to reboot?</action>
2348 <action function="set">tw_action_text1=Rebooting...</action>
2349 <action function="set">tw_complete_text1=Rebooting...</action>
2350 <action function="set">tw_slider_text=Swipe to Reboot</action>
2351 <action function="page">rebootcheck</action>
2352 </actions>
2353 </object>
2354
2355 <object type="action">
2356 <touch key="home" />
2357 <action function="page">main</action>
2358 </object>
2359
2360 <object type="action">
2361 <touch key="back" />
2362 <action function="page">main</action>
2363 </object>
2364
2365 <object type="template" name="footer" />
2366 </page>
2367
2368 <page name="settings">
2369 <object type="template" name="header" />
2370
2371 <object type="text" color="%text_color%">
2372 <font resource="font" />
2373 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2374 <text>Settings</text>
2375 </object>
2376
2377 <object type="checkbox">
2378 <placement x="%col1_x%" y="%row1_text_y%" />
2379 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002380 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002381 <data variable="tw_signed_zip_verify" />
2382 <image checked="checkbox_true" unchecked="checkbox_false" />
2383 </object>
2384
2385 <object type="checkbox">
2386 <placement x="%col1_x%" y="%row2_text_y%" />
2387 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002388 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002389 <data variable="tw_rm_rf" />
2390 <image checked="checkbox_true" unchecked="checkbox_false" />
2391 </object>
2392
2393 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002394 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002395 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002396 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <data variable="tw_skip_md5_generate" />
2398 <image checked="checkbox_true" unchecked="checkbox_false" />
2399 </object>
2400
2401 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002402 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002403 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002404 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002405 <data variable="tw_skip_md5_check" />
2406 <image checked="checkbox_true" unchecked="checkbox_false" />
2407 </object>
2408
2409 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002410 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002412 <text>Use Military Time.</text>
2413 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002418 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002420 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002421 <data variable="tw_simulate_actions" />
2422 <image checked="checkbox_true" unchecked="checkbox_false" />
2423 </object>
2424
2425 <object type="checkbox">
2426 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002427 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002428 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002429 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002430 <data variable="tw_simulate_fail" />
2431 <image checked="checkbox_true" unchecked="checkbox_false" />
2432 </object>
2433
2434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <placement x="%col1_x%" y="%row3_y%" />
2437 <font resource="font" color="%button_text_color%" />
2438 <text>Time Zone</text>
2439 <image resource="main_button" />
2440 <action function="page">timezone</action>
2441 </object>
2442
2443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002444 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002445 <placement x="%col2_x%" y="%row3_y%" />
2446 <font resource="font" color="%button_text_color%" />
2447 <text>Screen</text>
2448 <image resource="main_button" />
2449 <action function="page">screen</action>
2450 </object>
2451
2452 <object type="button">
Ethan Yonker03db3262014-02-05 08:02:06 -06002453 <highlight color="%highlight_color%" />
2454 <placement x="%col2_x%" y="%row4_y%" />
2455 <font resource="font" color="%button_text_color%" />
2456 <text>Vibration Duration</text>
2457 <image resource="main_button" />
2458 <action function="page">Vibrate</action>
2459 </object>
2460
2461 <object type="button">
2462 <placement x="%col_x%" y="%row4_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002463 <font resource="font" color="%button_text_color%" />
2464 <text>Restore Defaults</text>
2465 <image resource="main_button" />
2466 <action function="restoredefaultsettings"></action>
2467 </object>
2468
2469 <object type="action">
2470 <touch key="home" />
2471 <action function="page">main</action>
2472 </object>
2473
2474 <object type="action">
2475 <touch key="back" />
2476 <action function="page">main</action>
2477 </object>
2478
2479 <object type="template" name="footer" />
2480 </page>
2481
2482 <page name="timezone">
2483 <object type="template" name="header" />
2484
Dees_Troy51a0e822012-09-05 15:24:24 -04002485 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002486 <highlight color="%fileselector_highlight_color%" />
2487 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2488 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002489 <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 -06002490 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002491 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002492 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002493 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002494 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002495 <data name="tw_time_zone_guisel" />
2496 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2497 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2498 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2499 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2500 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2501 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2502 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2503 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2504 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2505 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2506 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2507 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2508 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2509 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2510 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2511 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2512 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2513 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2514 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2515 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2516 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2517 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2518 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2519 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2520 </object>
2521
2522 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002523 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002524 <font resource="font" color="%text_color%" />
2525 <text>Do you use daylight savings time (DST)?</text>
2526 <data variable="tw_time_zone_guidst" />
2527 <image checked="checkbox_true" unchecked="checkbox_false" />
2528 </object>
2529
2530 <object type="text" color="%text_color%">
2531 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002532 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002533 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2534 </object>
2535
2536 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002537 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002538 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002539 <font resource="font" color="%button_text_color%" />
2540 <text>None</text>
2541 <image resource="medium_button" />
2542 <action function="set">tw_time_zone_guioffset=0</action>
2543 </object>
2544
2545 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002546 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002547 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <font resource="font" color="%button_text_color%" />
2549 <text>15</text>
2550 <image resource="medium_button" />
2551 <action function="set">tw_time_zone_guioffset=15</action>
2552 </object>
2553
2554 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002555 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002556 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002557 <font resource="font" color="%button_text_color%" />
2558 <text>30</text>
2559 <image resource="medium_button" />
2560 <action function="set">tw_time_zone_guioffset=30</action>
2561 </object>
2562
2563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002564 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002565 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002566 <font resource="font" color="%button_text_color%" />
2567 <text>45</text>
2568 <image resource="medium_button" />
2569 <action function="set">tw_time_zone_guioffset=45</action>
2570 </object>
2571
2572 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002573 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002574 <placement x="%col_center_x%" y="%tz_set_y%" />
2575 <font resource="font" color="%button_text_color%" />
2576 <text>Set Time Zone</text>
2577 <image resource="main_button" />
2578 <action function="setguitimezone"></action>
2579 </object>
2580
2581 <object type="text" color="%text_color%">
2582 <font resource="font" />
2583 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2584 <text>Current Time Zone: %tw_time_zone%</text>
2585 </object>
2586
2587 <object type="action">
2588 <touch key="home" />
2589 <action function="page">main</action>
2590 </object>
2591
2592 <object type="action">
2593 <touch key="back" />
2594 <action function="page">settings</action>
2595 </object>
2596
2597 <object type="template" name="footer" />
2598 </page>
2599
Dees_Troy2f9117a2013-02-17 19:52:09 -06002600 <page name="screen">
2601 <object type="template" name="header" />
2602
2603 <object type="text" color="%text_color%">
2604 <font resource="font" />
2605 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2606 <text>Screen Settings</text>
2607 </object>
2608
Dees_Troy2f9117a2013-02-17 19:52:09 -06002609 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002610 <placement x="%col1_x%" y="%row2_text_y%" />
2611 <font resource="font" color="%text_color%" />
2612 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002613 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002614 <text>Enable screen timeout.</text>
2615 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002616 <action function="set">tw_screen_timeout_secs=60</action>
2617 </object>
2618
2619 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002620 <placement x="%col1_x%" y="%row2_text_y%" />
2621 <font resource="font" color="%text_color%" />
2622 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002623 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002624 <text>Enable screen timeout.</text>
2625 <image resource="checkbox_true" />
2626 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002627 </object>
2628
Vojtech Bocek85932342013-04-01 22:11:33 +02002629 <object type="slidervalue">
2630 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002631 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002632 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2633 <font resource="font" color="%text_color%" />
2634 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2635 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2636 <text>Screen timeout in seconds:</text>
2637 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002638 </object>
2639
Vojtech Bocek85932342013-04-01 22:11:33 +02002640 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002641 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002642 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2643 <font resource="font" color="%text_color%" />
2644 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2645 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2646 <text>Brightness: %tw_brightness_pct%%</text>
2647 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002648 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002649 <action function="set">tw_brightness=%tw_brightness_max%</action>
2650 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2651 <action function="compute">tw_brightness/100</action>
2652 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002653 </actions>
2654 </object>
2655
2656 <object type="action">
2657 <touch key="home" />
2658 <action function="page">main</action>
2659 </object>
2660
2661 <object type="action">
2662 <touch key="back" />
2663 <action function="page">settings</action>
2664 </object>
2665
2666 <object type="template" name="footer" />
2667 </page>
2668
Ethan Yonker03db3262014-02-05 08:02:06 -06002669 <page name="Vibrate">
2670 <object type="template" name="header" />
2671
2672 <object type="text" color="%text_color%">
2673 <font resource="font" />
2674 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2675 <text>Vibration Settings :</text>
2676 </object>
2677
2678 <object type="slidervalue">
2679 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2680 <font resource="font" color="%text_color%" />
2681 <text>Button Vibration:</text>
2682 <data variable="tw_button_vibrate" min="0" max="300" />
2683 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2684 </object>
2685
2686 <object type="slidervalue">
2687 <placement x="col1_x" y="%row8_text_y%" w="%slidervalue_w%" />
2688 <font resource="font" color="%text_color%" />
2689 <text>Keyboard Vibration:</text>
2690 <data variable="tw_keyboard_vibrate" min="0" max="300" />
2691 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2692 </object>
2693
2694 <object type="slidervalue">
2695 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2696 <font resource="font" color="%text_color%" />
2697 <text>Action Vibration:</text>
2698 <data variable="tw_action_vibrate" min="0" max="500" />
2699 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2700 </object>
2701
2702 <object type="action">
2703 <touch key="home" />
2704 <action function="page">main</action>
2705 </object>
2706
2707 <object type="action">
2708 <touch key="back" />
2709 <action function="page">settings</action>
2710 </object>
2711
2712 <object type="template" name="footer" />
2713 </page>
2714
Dees_Troy51a0e822012-09-05 15:24:24 -04002715 <page name="advanced">
2716 <object type="template" name="header" />
2717
2718 <object type="text" color="%text_color%">
2719 <font resource="font" />
2720 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2721 <text>Advanced</text>
2722 </object>
2723
2724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002725 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002726 <placement x="%col1_x%" y="%row1_y%" />
2727 <font resource="font" color="%button_text_color%" />
2728 <text>Copy Log to SD</text>
2729 <image resource="main_button" />
2730 <actions>
2731 <action function="set">tw_back=advanced</action>
2732 <action function="set">tw_action=copylog</action>
2733 <action function="set">tw_text1=Copy Log to SD Card?</action>
2734 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2735 <action function="set">tw_complete_text1=Log Copy Complete</action>
2736 <action function="set">tw_slider_text=Swipe to Confirm</action>
2737 <action function="page">confirm_action</action>
2738 </actions>
2739 </object>
2740
2741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002743 <placement x="%col2_x%" y="%row1_y%" />
2744 <font resource="font" color="%button_text_color%" />
2745 <text>Fix Permissions</text>
2746 <image resource="main_button" />
2747 <actions>
2748 <action function="set">tw_back=advanced</action>
2749 <action function="set">tw_action=fixpermissions</action>
2750 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002751 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002752 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2753 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002754 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002755 <action function="page">confirm_action</action>
2756 </actions>
2757 </object>
2758
2759 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002760 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002761 <condition var1="tw_allow_partition_sdcard" var2="1" />
2762 <placement x="%col1_x%" y="%row2_y%" />
2763 <font resource="font" color="%button_text_color%" />
2764 <text>Partition SD Card</text>
2765 <image resource="main_button" />
2766 <action function="page">partsdcard</action>
2767 </object>
2768
2769 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002770 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002771 <placement x="%col2_x%" y="%row2_y%" />
2772 <font resource="font" color="%button_text_color%" />
2773 <text>File Manager</text>
2774 <image resource="main_button" />
2775 <action function="page">filemanagerlist</action>
2776 </object>
2777
2778 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002779 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002780 <placement x="%col1_x%" y="%row3_y%" />
2781 <font resource="font" color="%button_text_color%" />
2782 <text>Terminal Command</text>
2783 <image resource="main_button" />
2784 <action function="page">terminalfolder</action>
2785 </object>
2786
2787 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002788 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002789 <placement x="%col2_x%" y="%row3_y%" />
2790 <font resource="font" color="%button_text_color%" />
2791 <text>Reload Theme</text>
2792 <image resource="main_button" />
2793 <action function="reload"></action>
2794 </object>
2795
2796 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002797 <highlight color="%highlight_color%" />
Dees_Troyc51f1f92012-09-20 15:32:13 -04002798 <placement x="%col1_x%" y="%row4_y%" />
2799 <font resource="font" color="%button_text_color%" />
2800 <text>ADB Sideload</text>
2801 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002802 <action function="page">sideload</action>
Dees_Troyc51f1f92012-09-20 15:32:13 -04002803 </object>
2804
2805 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002806 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002807 <condition var1="tw_show_dumlock" var2="1" />
2808 <placement x="%col2_x%" y="%row4_y%" />
2809 <font resource="font" color="%button_text_color%" />
2810 <text>HTC Dumlock</text>
2811 <image resource="main_button" />
2812 <action function="page">htcdumlock</action>
2813 </object>
2814
2815 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002816 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002817 <condition var1="tw_has_injecttwrp" var2="1" />
2818 <placement x="%col2_x%" y="%row4_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text>Re-Inject TWRP</text>
2821 <image resource="main_button" />
2822 <actions>
2823 <action function="set">tw_back=advanced</action>
2824 <action function="set">tw_action=reinjecttwrp</action>
2825 <action function="set">tw_text1=Re-Inject TWRP?</action>
2826 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2827 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2828 <action function="set">tw_slider_text=Swipe to Confirm</action>
2829 <action function="page">confirm_action</action>
2830 </actions>
2831 </object>
2832
2833 <object type="action">
2834 <touch key="home" />
2835 <action function="page">main</action>
2836 </object>
2837
2838 <object type="action">
2839 <touch key="back" />
2840 <action function="page">main</action>
2841 </object>
2842
2843 <object type="template" name="footer" />
2844 </page>
2845
2846 <page name="partsdcard">
2847 <object type="template" name="header" />
2848
2849 <object type="text" color="%text_color%">
2850 <font resource="font" />
2851 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2852 <text>Partition SD Card</text>
2853 </object>
2854
2855 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002856 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002857 <placement x="%col1_x%" y="%row1_y%" />
2858 <font resource="font" color="%button_text_color%" />
2859 <text></text>
2860 <image resource="minus_button" />
2861 <action function="addsubtract">tw_sdext_size-128</action>
2862 </object>
2863
2864 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002865 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002866 <placement x="%sd_plus_x%" y="%row1_y%" />
2867 <font resource="font" color="%button_text_color%" />
2868 <text></text>
2869 <image resource="plus_button" />
2870 <action function="addsubtract">tw_sdext_size+128</action>
2871 </object>
2872
2873 <object type="text" color="%text_color%">
2874 <font resource="font" />
2875 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2876 <text>EXT Size: %tw_sdext_size%</text>
2877 </object>
2878
2879 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002880 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <placement x="%col1_x%" y="%sdswap_button_y%" />
2882 <font resource="font" color="%button_text_color%" />
2883 <text></text>
2884 <image resource="minus_button" />
2885 <action function="addsubtract">tw_swap_size-32</action>
2886 </object>
2887
2888 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002889 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002890 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2891 <font resource="font" color="%button_text_color%" />
2892 <text></text>
2893 <image resource="plus_button" />
2894 <action function="addsubtract">tw_swap_size+32</action>
2895 </object>
2896
2897 <object type="text" color="%text_color%">
2898 <font resource="font" />
2899 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2900 <text>Swap Size: %tw_swap_size%</text>
2901 </object>
2902
2903 <object type="text" color="%text_color%">
2904 <font resource="font" />
2905 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2906 <text>File system: %tw_sdpart_file_system%</text>
2907 </object>
2908
2909 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002910 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002911 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2912 <font resource="font" color="%button_text_color%" />
2913 <text>EXT3</text>
2914 <image resource="main_button" />
2915 <action function="set">tw_sdpart_file_system=ext3</action>
2916 </object>
2917
2918 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002919 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002920 <condition var1="tw_sdext_disable_ext4" var2="0" />
2921 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2922 <font resource="font" color="%button_text_color%" />
2923 <text>EXT4</text>
2924 <image resource="main_button" />
2925 <action function="set">tw_sdpart_file_system=ext4</action>
2926 </object>
2927
2928 <object type="text" color="%text_color%">
2929 <font resource="font" />
2930 <placement x="%col1_x%" y="%row12_text_y%" />
2931 <text>You will lose all files on your SD card!</text>
2932 </object>
2933
2934 <object type="text" color="%text_color%">
2935 <font resource="font" />
2936 <placement x="%col1_x%" y="%row13_text_y%" />
2937 <text>This action cannot be undone!</text>
2938 </object>
2939
2940 <object type="slider">
2941 <placement x="%slider_x%" y="%slider_y%" />
2942 <resource base="slider" used="slider-used" touch="slider-touch" />
2943 <action function="page">partsdcardaction</action>
2944 <actions>
2945 <action function="set">tw_back=partsdcard</action>
2946 <action function="set">tw_action=partitionsd</action>
2947 <action function="set">tw_has_action2=1</action>
2948 <action function="set">tw_action2=set</action>
2949 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2950 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2951 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002952 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002953 <action function="page">action_page</action>
2954 </actions>
2955 </object>
2956
2957 <object type="text" color="%text_color%">
2958 <font resource="font" />
2959 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2960 <text>Swipe to Partition</text>
2961 </object>
2962
2963 <object type="action">
2964 <touch key="home" />
2965 <action function="page">main</action>
2966 </object>
2967
2968 <object type="action">
2969 <touch key="back" />
2970 <action function="page">advanced</action>
2971 </object>
2972
2973 <object type="template" name="footer" />
2974 </page>
2975
2976 <page name="htcdumlock">
2977 <object type="template" name="header" />
2978
2979 <object type="text" color="%text_color%">
2980 <font resource="font" />
2981 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2982 <text>HTC Dumlock</text>
2983 </object>
2984
2985 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002986 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002987 <condition var1="tw_show_dumlock" var2="1" />
2988 <placement x="%col1_x%" y="%row1_y%" />
2989 <font resource="font" color="%button_text_color%" />
2990 <text>Restore Original Boot</text>
2991 <image resource="main_button" />
2992 <actions>
2993 <action function="set">tw_back=htcdumlock</action>
2994 <action function="set">tw_action=htcdumlockrestoreboot</action>
2995 <action function="set">tw_text1=Restore original boot image?</action>
2996 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2997 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2998 <action function="set">tw_slider_text=Swipe to Confirm</action>
2999 <action function="page">confirm_action</action>
3000 </actions>
3001 </object>
3002
3003 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003004 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003005 <condition var1="tw_show_dumlock" var2="1" />
3006 <placement x="%col2_x%" y="%row1_y%" />
3007 <font resource="font" color="%button_text_color%" />
3008 <text>Reflash Recovery</text>
3009 <image resource="main_button" />
3010 <actions>
3011 <action function="set">tw_back=htcdumlock</action>
3012 <action function="set">tw_action=htcdumlockreflashrecovery</action>
3013 <action function="set">tw_text1=Reflash recovery to boot?</action>
3014 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
3015 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
3016 <action function="set">tw_slider_text=Swipe to Confirm</action>
3017 <action function="page">confirm_action</action>
3018 </actions>
3019 </object>
3020
3021 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003022 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003023 <condition var1="tw_show_dumlock" var2="1" />
3024 <placement x="%col1_x%" y="%row2_y%" />
3025 <font resource="font" color="%button_text_color%" />
3026 <text>Install HTC Dumlock</text>
3027 <image resource="main_button" />
3028 <actions>
3029 <action function="set">tw_back=htcdumlock</action>
3030 <action function="set">tw_action=installhtcdumlock</action>
3031 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
3032 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
3033 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
3034 <action function="set">tw_slider_text=Swipe to Confirm</action>
3035 <action function="page">confirm_action</action>
3036 </actions>
3037 </object>
3038
3039 <object type="action">
3040 <touch key="home" />
3041 <action function="page">main</action>
3042 </object>
3043
3044 <object type="action">
3045 <touch key="back" />
3046 <action function="page">advanced</action>
3047 </object>
3048
3049 <object type="template" name="footer" />
3050 </page>
3051
3052 <page name="lock">
3053 <background color="#000000A0" />
3054
3055 <object type="image">
3056 <image resource="unlock-icon" />
3057 <placement x="%lock_x%" y="%lock_y%" />
3058 </object>
3059
3060 <object type="slider">
3061 <placement x="%slider_x%" y="%slider_y%" />
3062 <resource base="slider" used="slider-used" touch="slider-touch" />
3063 <action function="overlay"></action>
3064 </object>
3065
3066 <object type="text" color="%text_color%">
3067 <font resource="font" />
3068 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3069 <text>Swipe to Unlock</text>
3070 </object>
3071 </page>
3072
3073 <page name="filemanagerlist">
3074 <object type="template" name="header" />
3075
3076 <object type="text" color="%text_color%">
3077 <font resource="font" />
3078 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3079 <text>File Manager: Select a File or Folder</text>
3080 </object>
3081
3082 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003083 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003084 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3085 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003086 <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 -04003087 <text>%tw_file_location1%</text>
3088 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3089 <sort name="tw_gui_sort_order" />
3090 <icon folder="folder_icon" file="file_icon" />
3091 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003092 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003093 <folders="1" files="1" />
3094 <path name="tw_file_location1" default="/" />
3095 <data name="tw_filename1" />
3096 <selection name="tw_selection1" />
3097 </object>
3098
3099 <object type="template" name="sort_options" />
3100
3101 <object type="action">
3102 <actions>
3103 <action function="set">tw_fm_type=File</action>
3104 <action function="set">tw_fm_isfolder=0</action>
3105 </actions>
3106 </object>
3107
3108 <object type="action">
3109 <touch key="home" />
3110 <action function="page">main</action>
3111 </object>
3112
3113 <object type="action">
3114 <touch key="back" />
3115 <action function="page">advanced</action>
3116 </object>
3117
3118 <object type="action">
3119 <condition var1="tw_filename1" op="modified" />
3120 <actions>
3121 <action function="page">filemanageroptions</action>
3122 </actions>
3123 </object>
3124
3125 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003126 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003127 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3128 <font resource="font" color="%button_text_color%" />
3129 <text>Select</text>
3130 <image resource="medium_button" />
3131 <actions>
3132 <action function="set">tw_filename1=tw_file_location1</action>
3133 <action function="set">tw_fm_isfolder=1</action>
3134 <action function="set">tw_fm_type=Folder</action>
3135 <action function="page">filemanageroptions</action>
3136 </actions>
3137 </object>
3138
3139 <object type="template" name="footer" />
3140 </page>
3141
3142 <page name="filemanageroptions">
3143 <object type="template" name="header" />
3144
3145 <object type="text" color="%text_color%">
3146 <font resource="font" />
3147 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3148 <text>%tw_fm_type% Selected:</text>
3149 </object>
3150
3151 <object type="text" color="%text_color%">
3152 <font resource="font" />
3153 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3154 <text>%tw_filename1%</text>
3155 </object>
3156
3157 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003158 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003159 <condition var1="tw_fm_isfolder" var2="0" />
3160 <placement x="%col1_x%" y="%row2_y%" />
3161 <font resource="font" color="%button_text_color%" />
3162 <text>Copy File</text>
3163 <image resource="main_button" />
3164 <actions>
3165 <action function="set">tw_filemanager_command=cp</action>
3166 <action function="set">tw_fm_text1=Copying</action>
3167 <action function="page">choosedestinationfolder</action>
3168 </actions>
3169 </object>
3170
3171 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003172 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003173 <condition var1="tw_fm_isfolder" var2="1" />
3174 <placement x="%col1_x%" y="%row2_y%" />
3175 <font resource="font" color="%button_text_color%" />
3176 <text>Copy Folder</text>
3177 <image resource="main_button" />
3178 <actions>
3179 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3180 <action function="set">tw_fm_text1=Copying</action>
3181 <action function="page">choosedestinationfolder</action>
3182 </actions>
3183 </object>
3184
3185 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003186 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003187 <placement x="%col2_x%" y="%row2_y%" />
3188 <font resource="font" color="%button_text_color%" />
3189 <text>Move</text>
3190 <image resource="main_button" />
3191 <actions>
3192 <action function="set">tw_filemanager_command=mv</action>
3193 <action function="set">tw_fm_text1=Moving</action>
3194 <action function="page">choosedestinationfolder</action>
3195 </actions>
3196 </object>
3197
3198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003199 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003200 <placement x="%col1_x%" y="%row3_y%" />
3201 <font resource="font" color="%button_text_color%" />
3202 <text>chmod 755</text>
3203 <image resource="main_button" />
3204 <actions>
3205 <action function="set">tw_filemanager_command=chmod 755</action>
3206 <action function="set">tw_fm_text1=chmod 755</action>
3207 <action function="set">tw_fm_text2=</action>
3208 <action function="set">tw_fm_text3=</action>
3209 <action function="set">tw_include_text3=0</action>
3210 <action function="set">tw_back=filemanageroptions</action>
3211 <action function="page">filemanagerconfirm</action>
3212 </actions>
3213 </object>
3214
3215 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003216 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003217 <placement x="%col2_x%" y="%row3_y%" />
3218 <font resource="font" color="%button_text_color%" />
3219 <text>chmod</text>
3220 <image resource="main_button" />
3221 <actions>
3222 <action function="set">tw_filemanager_rename=0000</action>
3223 <action function="set">tw_fm_text2=</action>
3224 <action function="set">tw_fm_text3=</action>
3225 <action function="set">tw_include_text3=0</action>
3226 <action function="set">tw_back=filemanageroptions</action>
3227 <action function="page">filemanagerchmod</action>
3228 </actions>
3229 </object>
3230
3231 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003232 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003233 <placement x="%col1_x%" y="%row4_y%" />
3234 <font resource="font" color="%button_text_color%" />
3235 <text>Delete</text>
3236 <image resource="main_button" />
3237 <actions>
3238 <action function="set">tw_filemanager_command=rm -rf</action>
3239 <action function="set">tw_fm_text1=Deleting</action>
3240 <action function="set">tw_fm_text2=</action>
3241 <action function="set">tw_fm_text3=</action>
3242 <action function="set">tw_include_text3=0</action>
3243 <action function="set">tw_back=filemanageroptions</action>
3244 <action function="page">filemanagerconfirm</action>
3245 </actions>
3246 </object>
3247
3248 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003249 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003250 <condition var1="tw_fm_isfolder" var2="0" />
3251 <placement x="%col2_x%" y="%row4_y%" />
3252 <font resource="font" color="%button_text_color%" />
3253 <text>Rename File</text>
3254 <image resource="main_button" />
3255 <actions>
3256 <action function="set">tw_filemanager_rename=tw_selection1</action>
3257 <action function="set">tw_fm_text1=Renaming</action>
3258 <action function="set">tw_filemanager_command=mv</action>
3259 <action function="page">filemanagerrenamefile</action>
3260 </actions>
3261 </object>
3262
3263 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003264 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003265 <condition var1="tw_fm_isfolder" var2="1" />
3266 <placement x="%col2_x%" y="%row4_y%" />
3267 <font resource="font" color="%button_text_color%" />
3268 <text>Rename Folder</text>
3269 <image resource="main_button" />
3270 <actions>
3271 <action function="set">tw_filemanager_rename=tw_selection1</action>
3272 <action function="set">tw_fm_text1=Renaming</action>
3273 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3274 <action function="page">filemanagerrenamefolder</action>
3275 </actions>
3276 </object>
3277
3278 <object type="action">
3279 <touch key="home" />
3280 <action function="page">main</action>
3281 </object>
3282
3283 <object type="action">
3284 <touch key="back" />
3285 <action function="page">filemanagerlist</action>
3286 </object>
3287
3288 <object type="template" name="footer" />
3289 </page>
3290
3291 <page name="choosedestinationfolder">
3292 <object type="template" name="header" />
3293
3294 <object type="text" color="%text_color%">
3295 <font resource="font" />
3296 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3297 <text>Browse to Destination Folder & Press Select</text>
3298 </object>
3299
3300 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003301 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003302 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3303 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003304 <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 -04003305 <text>%tw_file_location2%</text>
3306 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3307 <sort name="tw_gui_sort_order" />
3308 <icon folder="folder_icon" file="file_icon" />
3309 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003310 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003311 <filter folders="1" files="0" />
3312 <path name="tw_file_location2" default="/" />
3313 <data name="tw_filename2" />
3314 <selection name="tw_selection2" />
3315 </object>
3316
3317 <object type="template" name="sort_options" />
3318
3319 <object type="action">
3320 <touch key="home" />
3321 <action function="page">main</action>
3322 </object>
3323
3324 <object type="action">
3325 <touch key="back" />
3326 <action function="page">filemanageroptions</action>
3327 </object>
3328
3329 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003330 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003331 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3332 <font resource="font" color="%button_text_color%" />
3333 <text>Select</text>
3334 <image resource="medium_button" />
3335 <actions>
3336 <action function="set">tw_fm_text2=to</action>
3337 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3338 <action function="set">tw_include_text3=1</action>
3339 <action function="set">tw_back=filemanageroptions</action>
3340 <action function="page">filemanagerconfirm</action>
3341 </actions>
3342 </object>
3343
3344 <object type="template" name="footer" />
3345 </page>
3346
3347 <page name="filemanagerrenamefile">
3348 <object type="template" name="header" />
3349
3350 <object type="text" color="%text_color%">
3351 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3352 <font resource="font" />
3353 <text>Please Enter a New %tw_fm_type% Name</text>
3354 </object>
3355
3356 <object type="input">
3357 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3358 <background color="%input_background_color%" />
3359 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3360 <font resource="font" color="%text_color%" />
3361 <text>%tw_filemanager_rename%</text>
3362 <data name="tw_filemanager_rename" />
3363 <restrict minlen="1" maxlen="128" />
3364 <actions>
3365 <action function="set">tw_fm_text2=to</action>
3366 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3367 <action function="set">tw_include_text3=1</action>
3368 <action function="set">tw_back=filemanageroptions</action>
3369 <action function="page">filemanagerconfirm</action>
3370 </actions>
3371 </object>
3372
3373 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003374 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003375 <placement x="%col_center_x%" y="%row2_y%" />
3376 <font resource="font" color="%button_text_color%" />
3377 <text>Cancel</text>
3378 <image resource="main_button" />
3379 <action function="page">filemanageroptions</action>
3380 </object>
3381
3382 <object type="template" name="keyboardtemplate" />
3383
3384 <object type="action">
3385 <touch key="home" />
3386 <action function="page">main</action>
3387 </object>
3388
3389 <object type="action">
3390 <touch key="back" />
3391 <action function="page">filemanageroptions</action>
3392 </object>
3393
3394 <object type="template" name="footer" />
3395 </page>
3396
3397 <page name="filemanagerrenamefolder">
3398 <object type="template" name="header" />
3399
3400 <object type="text" color="%text_color%">
3401 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3402 <font resource="font" />
3403 <text>Please Enter a New %tw_fm_type% Name</text>
3404 </object>
3405
3406 <object type="input">
3407 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3408 <background color="%input_background_color%" />
3409 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3410 <font resource="font" color="%text_color%" />
3411 <text>%tw_filemanager_rename%</text>
3412 <data name="tw_filemanager_rename" />
3413 <restrict minlen="1" maxlen="128" />
3414 <actions>
3415 <action function="set">tw_fm_text2=to</action>
3416 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3417 <action function="set">tw_include_text3=1</action>
3418 <action function="set">tw_back=filemanageroptions</action>
3419 <action function="page">filemanagerconfirm</action>
3420 </actions>
3421 </object>
3422
3423 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003424 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003425 <placement x="%col_center_x%" y="%row2_y%" />
3426 <font resource="font" color="%button_text_color%" />
3427 <text>Cancel</text>
3428 <image resource="main_button" />
3429 <action function="page">filemanageroptions</action>
3430 </object>
3431
3432 <object type="template" name="keyboardtemplate" />
3433
3434 <object type="action">
3435 <touch key="home" />
3436 <action function="page">main</action>
3437 </object>
3438
3439 <object type="action">
3440 <touch key="back" />
3441 <action function="page">filemanageroptions</action>
3442 </object>
3443
3444 <object type="template" name="footer" />
3445 </page>
3446
3447 <page name="filemanagerchmod">
3448 <object type="template" name="header" />
3449
3450 <object type="text" color="%text_color%">
3451 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3452 <font resource="font" />
3453 <text>Please Enter New Permissions</text>
3454 </object>
3455
3456 <object type="input">
3457 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3458 <background color="%input_background_color%" />
3459 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3460 <font resource="font" color="%text_color%" />
3461 <text>%tw_filemanager_rename%</text>
3462 <data name="tw_filemanager_rename" />
3463 <restrict minlen="3" maxlen="4" allow="0123456789" />
3464 <actions>
3465 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3466 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3467 <action function="set">tw_back=filemanageroptions</action>
3468 <action function="page">filemanagerconfirm</action>
3469 </actions>
3470 </object>
3471
3472 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003473 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003474 <placement x="%col_center_x%" y="%row2_y%" />
3475 <font resource="font" color="%button_text_color%" />
3476 <text>Cancel</text>
3477 <image resource="main_button" />
3478 <action function="page">filemanageroptions</action>
3479 </object>
3480
3481 <object type="template" name="keyboardtemplate" />
3482
3483 <object type="action">
3484 <touch key="home" />
3485 <action function="page">main</action>
3486 </object>
3487
3488 <object type="action">
3489 <touch key="back" />
3490 <action function="page">filemanageroptions</action>
3491 </object>
3492
3493 <object type="template" name="footer" />
3494 </page>
3495
3496 <page name="filemanagerconfirm">
3497 <object type="template" name="header" />
3498
3499 <object type="text" color="%text_color%">
3500 <font resource="font" />
3501 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3502 <text>%tw_fm_text1%</text>
3503 </object>
3504
3505 <object type="text" color="%text_color%">
3506 <font resource="font" />
3507 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3508 <text>%tw_filename1%</text>
3509 </object>
3510
3511 <object type="text" color="%text_color%">
3512 <font resource="font" />
3513 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3514 <text>%tw_fm_text2%</text>
3515 </object>
3516
3517 <object type="text" color="%text_color%">
3518 <font resource="font" />
3519 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3520 <text>%tw_fm_text3%</text>
3521 </object>
3522
3523 <object type="text" color="%text_color%">
3524 <font resource="font" />
3525 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3526 <text>Press back button to cancel.</text>
3527 </object>
3528
3529 <object type="slider">
3530 <placement x="%slider_x%" y="%slider_y%" />
3531 <resource base="slider" used="slider-used" touch="slider-touch" />
3532 <action function="page">filemanageracction</action>
3533 </object>
3534
3535 <object type="text" color="%text_color%">
3536 <font resource="font" />
3537 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3538 <text>Swipe to Confirm</text>
3539 </object>
3540
3541 <object type="action">
3542 <touch key="back" />
3543 <action function="page">%tw_back%</action>
3544 </object>
3545
3546 <object type="action">
3547 <touch key="home" />
3548 <action function="page">main</action>
3549 </object>
3550
3551 <object type="template" name="footer" />
3552 </page>
3553
3554 <page name="filemanageracction">
3555 <object type="template" name="header" />
3556
3557 <object type="text" color="%text_color%">
3558
3559 <font resource="font" />
3560 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3561 <text>%tw_fm_text1%</text>
3562 </object>
3563
3564 <object type="template" name="action_page_console" />
3565
3566 <object type="template" name="progress_bar" />
3567
3568 <object type="action">
3569 <conditions>
3570 <condition var1="tw_operation_state" var2="1" />
3571 <condition var1="tw_operation_status" var2="0" />
3572 </conditions>
3573 <actions>
3574 <action function="set">tw_back=filemanagerlist</action>
3575 <action function="set">tw_complete_text1=File Operation Complete</action>
3576 <action function="page">action_complete</action>
3577 </actions>
3578 </object>
3579
3580 <object type="action">
3581 <conditions>
3582 <condition var1="tw_operation_state" var2="1" />
3583 <condition var1="tw_operation_status" op="!=" var2="0" />
3584 </conditions>
3585 <actions>
3586 <action function="set">tw_complete_text1=File Operation Complete</action>
3587 <action function="page">action_complete</action>
3588 </actions>
3589 </object>
3590
3591 <object type="action">
3592 <condition var1="tw_include_text3" var2="0" />
3593 <actions>
3594 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3595 </actions>
3596 </object>
3597
3598 <object type="action">
3599 <condition var1="tw_include_text3" var2="1" />
3600 <actions>
3601 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3602 </actions>
3603 </object>
3604 </page>
3605
3606 <page name="decrypt">
3607 <object type="template" name="header" />
3608
3609 <object type="text" color="%text_color%">
3610 <font resource="font" />
3611 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3612 <text>Please Enter Your Password</text>
3613 </object>
3614
3615 <object type="input">
3616 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3617 <background color="%input_background_color%" />
3618 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3619 <font resource="font" color="%text_color%" />
3620 <text>%tw_crypto_display%</text>
3621 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3622 <restrict minlen="1" maxlen="254" />
3623 <actions>
3624 <action function="page">trydecrypt</action>
3625 </actions>
3626 </object>
3627
3628 <object type="text" color="%text_fail_color%">
3629 <condition var1="tw_password_fail" var2="1" />
3630 <font resource="font" />
3631 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3632 <text>Password Failed, Please Try Again</text>
3633 </object>
3634
3635 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003636 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003637 <placement x="%col_center_x%" y="%row2_y%" />
3638 <font resource="font" color="%button_text_color%" />
3639 <text>Cancel</text>
3640 <image resource="main_button" />
3641 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003642 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003643 <action function="page">main</action>
3644 </actions>
3645 </object>
3646
3647 <object type="template" name="keyboardtemplate" />
3648
Dees_Troy51a0e822012-09-05 15:24:24 -04003649 <object type="template" name="footer" />
3650 </page>
3651
3652 <page name="trydecrypt">
3653 <object type="template" name="header" />
3654
3655 <object type="text" color="%text_color%">
3656 <font resource="font" />
3657 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3658 <text>Trying Decryption with Your Password</text>
3659 </object>
3660
3661 <object type="template" name="action_page_console" />
3662
3663 <object type="template" name="progress_bar" />
3664
3665 <object type="action">
3666 <action function="decrypt"></action>
3667 </object>
3668
3669 <object type="action">
3670 <conditions>
3671 <condition var1="tw_operation_state" var2="1" />
3672 <condition var1="tw_operation_status" op="!=" var2="0" />
3673 </conditions>
3674 <actions>
3675 <action function="set">tw_password_fail=1</action>
3676 <action function="page">decrypt</action>
3677 </actions>
3678 </object>
3679
3680 <object type="action">
3681 <conditions>
3682 <condition var1="tw_operation_state" var2="1" />
3683 <condition var1="tw_operation_status" op="=" var2="0" />
3684 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003685 <actions>
3686 <action function="set">tw_page_done=1</action>
3687 <action function="page">main</action>
3688 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003689 </object>
3690 </page>
3691
3692 <page name="terminalfolder">
3693 <object type="template" name="header" />
3694
3695 <object type="text" color="%text_color%">
3696 <font resource="font" />
3697 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3698 <text>Browse to Starting Folder</text>
3699 </object>
3700
3701 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003702 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003703 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3704 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003705 <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 -04003706 <text>%tw_terminal_location%</text>
3707 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3708 <sort name="tw_gui_sort_order" />
3709 <icon folder="folder_icon" file="file_icon" />
3710 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003711 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003712 <filter folders="1" files="0" />
3713 <path name="tw_terminal_location" default="/" />
3714 <data name="tw_terminal" />
3715 <selection name="tw_terminal_selection" />
3716 </object>
3717
3718 <object type="template" name="sort_options" />
3719
3720 <object type="action">
3721 <touch key="home" />
3722 <action function="page">main</action>
3723 </object>
3724
3725 <object type="action">
3726 <touch key="back" />
3727 <action function="page">advanced</action>
3728 </object>
3729
3730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003732 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3733 <font resource="font" color="%button_text_color%" />
3734 <text>Select</text>
3735 <image resource="medium_button" />
3736 <actions>
3737 <action function="page">terminalcommand</action>
3738 </actions>
3739 </object>
3740
3741 <object type="template" name="footer" />
3742 </page>
3743
3744 <page name="terminalcommand">
3745 <object type="template" name="header" />
3746
3747 <object type="console">
3748 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3749 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3750 <font resource="fixed" />
3751 </object>
3752
3753 <object type="text" color="%text_color%">
3754 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3755 <font resource="font" />
3756 <text>Starting Path: %tw_terminal_location%</text>
3757 </object>
3758
3759 <object type="input">
3760 <condition var1="tw_terminal_state" var2="0" />
3761 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3762 <background color="%input_background_color%" />
3763 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3764 <font resource="font" color="%text_color%" />
3765 <text>%tw_terminal_command%</text>
3766 <data name="tw_terminal_command" />
3767 <restrict minlen="1" />
3768 <action function="terminalcommand">%tw_terminal_command%</action>
3769 </object>
3770
3771 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003772 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003773 <condition var1="tw_terminal_state" var2="1" />
3774 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3775 <font resource="font" color="%button_text_color%" />
3776 <text>KILL</text>
3777 <image resource="medium_button" />
3778 <action function="killterminal"></action>
3779 </object>
3780
3781 <object type="template" name="keyboardtemplate" />
3782
3783 <object type="action">
3784 <touch key="home" />
3785 <action function="page">main</action>
3786 </object>
3787
3788 <object type="action">
3789 <touch key="back" />
3790 <action function="page">terminalfolder</action>
3791 </object>
3792 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003793
3794 <page name="sideload">
3795 <object type="template" name="header" />
3796
3797 <object type="text" color="%text_color%">
3798 <font resource="font" />
3799 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3800 <text>ADB Sideload</text>
3801 </object>
3802
3803 <object type="checkbox">
3804 <placement x="%col1_x%" y="%row2_text_y%" />
3805 <font resource="font" color="%text_color%" />
3806 <text>Wipe Dalvik Cache.</text>
3807 <data variable="tw_wipe_dalvik" />
3808 <image checked="checkbox_true" unchecked="checkbox_false" />
3809 </object>
3810
3811 <object type="checkbox">
3812 <placement x="%col1_x%" y="%row3_text_y%" />
3813 <font resource="font" color="%text_color%" />
3814 <text>Wipe Cache.</text>
3815 <data variable="tw_wipe_cache" />
3816 <image checked="checkbox_true" unchecked="checkbox_false" />
3817 </object>
3818
3819 <object type="slider">
3820 <placement x="%slider_x%" y="%slider_y%" />
3821 <resource base="slider" used="slider-used" touch="slider-touch" />
3822 <actions>
3823 <action function="set">tw_back=advanced</action>
3824 <action function="set">tw_action=adbsideload</action>
3825 <action function="set">tw_action_text1=ADB Sideload</action>
3826 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3827 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3828 <action function="set">tw_has_cancel=1</action>
3829 <action function="set">tw_show_reboot=1</action>
3830 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3831 <action function="page">action_page</action>
3832 </actions>
3833 </object>
3834
3835 <object type="text" color="%text_color%">
3836 <font resource="font" />
3837 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3838 <text>Swipe to Start Sideload</text>
3839 </object>
3840
3841 <object type="action">
3842 <touch key="home" />
3843 <action function="page">main</action>
3844 </object>
3845
3846 <object type="action">
3847 <touch key="back" />
3848 <action function="page">advanced</action>
3849 </object>
3850
3851 <object type="template" name="footer" />
3852 </page>
Dees_Troy82111022013-02-21 21:13:09 +00003853
3854 <page name="installsu">
3855 <object type="template" name="header" />
3856
3857 <object type="text" color="%text_color%">
3858 <font resource="font" />
3859 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3860 <text>Install SuperSU?</text>
3861 </object>
3862
3863 <object type="text" color="%text_color%">
3864 <font resource="font" />
3865 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3866 <text>Your device does not appear to be rooted.</text>
3867 </object>
3868
3869 <object type="text" color="%text_color%">
3870 <font resource="font" />
3871 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3872 <text>Install SuperSU now?</text>
3873 </object>
3874
3875 <object type="text" color="%text_color%">
3876 <font resource="font" />
3877 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3878 <text>This will root your device.</text>
3879 </object>
3880
3881 <object type="button">
3882 <highlight color="%highlight_color%" />
3883 <placement x="%col_center_x%" y="%row3_y%" />
3884 <font resource="font" color="%button_text_color%" />
3885 <text>Do Not Install</text>
3886 <image resource="main_button" />
3887 <action function="set">tw_page_done=1</action>
3888 </object>
3889
3890 <object type="slider">
3891 <placement x="%slider_x%" y="%slider_y%" />
3892 <resource base="slider" used="slider-used" touch="slider-touch" />
3893 <actions>
3894 <action function="set">tw_action=installsu</action>
3895 <action function="set">tw_action_text1=Installing SuperSU</action>
3896 <action function="set">tw_action_text2=</action>
3897 <action function="page">singleaction_page</action>
3898 </actions>
3899 </object>
3900
3901 <object type="text" color="%text_color%">
3902 <font resource="font" />
3903 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3904 <text>Swipe to Install</text>
3905 </object>
3906 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003907 </pages>
3908</recovery>