blob: cb6577f2049a220362f4c1981809db5a1d5c4caf [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001<?xml version="1.0"?>
2
3<recovery>
4 <details>
5 <resolution width="480" height="854" />
6 <author>TeamWin</author>
7 <title>Backup Naowz</title>
8 <description>Default basic theme</description>
9 <preview>preview.jpg</preview>
10 </details>
11
12 <resources>
13 <resource name="font" type="font" filename="Roboto-Regular-20" />
Dees_Troyb46a6842012-09-25 11:06:46 -040014 <resource name="mediumfont" type="font" filename="Roboto-Regular-20" />
Dees_Troy51a0e822012-09-05 15:24:24 -040015 <resource name="filelist" type="font" filename="Roboto-Regular-20" />
16 <resource name="top_bar" type="image" filename="top-bar.jpg" />
17 <resource name="main_button" type="image" filename="menu-button" />
18 <resource name="file_icon" type="image" filename="file" />
19 <resource name="folder_icon" type="image" filename="folder" />
20 <resource name="slideout" type="image" filename="slideout" />
21 <resource name="progress" type="animation" filename="indeterminate" />
22 <resource name="progress_empty" type="image" filename="progress_empty" />
23 <resource name="progress_full" type="image" filename="progress_fill" />
24 <resource name="checkbox_false" type="image" filename="checkbox_empty" />
25 <resource name="checkbox_true" type="image" filename="checkbox_checked" />
26 <resource name="radio_false" type="image" filename="radio_empty" />
27 <resource name="radio_true" type="image" filename="radio_selected" />
28 <resource name="medium_button" type="image" filename="medium-button" />
29 <resource name="sort_button" type="image" filename="sort-button" />
30 <resource name="minus_button" type="image" filename="minus-button" />
31 <resource name="plus_button" type="image" filename="plus-button" />
32 <resource name="home_icon" type="image" filename="home-icon" />
33 <resource name="back_icon" type="image" filename="back-icon" />
34 <resource name="slider" type="image" filename="slider" />
35 <resource name="slider-used" type="image" filename="slider-used" />
36 <resource name="slider-touch" type="image" filename="slider-touch" />
37 <resource name="unlock-icon" type="image" filename="unlock" />
38 <resource name="keyboard1" type="image" filename="keyboard1" />
39 <resource name="keyboard2" type="image" filename="keyboard2" />
40 <resource name="keyboard3" type="image" filename="keyboard3" />
41 <resource name="keyboard4" type="image" filename="keyboard4" />
42 </resources>
43
44 <variables>
Dees_Troy51a0e822012-09-05 15:24:24 -040045 <variable name="col1_x" value="10" />
46 <variable name="col2_x" value="240" />
47 <variable name="col_center_x" value="128" />
48 <variable name="center_x" value="240" />
49 <variable name="row1_y" value="140" />
50 <variable name="row2_y" value="290" />
51 <variable name="row3_y" value="450" />
52 <variable name="row4_y" value="610" />
53 <variable name="row_queue_y" value="510" />
54 <variable name="row1_header_y" value="110" />
55 <variable name="row1_text_y" value="140" />
56 <variable name="row2_text_y" value="170" />
57 <variable name="row3_text_y" value="200" />
58 <variable name="row4_text_y" value="230" />
59 <variable name="row5_text_y" value="260" />
60 <variable name="row6_text_y" value="290" />
61 <variable name="row7_text_y" value="320" />
62 <variable name="row8_text_y" value="350" />
63 <variable name="row9_text_y" value="380" />
64 <variable name="row10_text_y" value="410" />
65 <variable name="row11_text_y" value="440" />
66 <variable name="row12_text_y" value="480" />
67 <variable name="row13_text_y" value="510" />
68 <variable name="row14_text_y" value="540" />
69 <variable name="row15_text_y" value="570" />
70 <variable name="row16_text_y" value="600" />
71 <variable name="row17_text_y" value="630" />
72 <variable name="row18_text_y" value="660" />
73 <variable name="zip_status_y" value="585" />
74 <variable name="tz_selected_y" value="110" />
75 <variable name="tz_set_y" value="580" />
76 <variable name="tz_current_y" value="730" />
77 <variable name="col_progressbar_x" value="114" />
78 <variable name="row_progressbar_y" value="720" />
79 <variable name="col1_medium_x" value="10" />
80 <variable name="col2_medium_x" value="125" />
81 <variable name="col3_medium_x" value="240" />
82 <variable name="col4_medium_x" value="355" />
83 <variable name="row1_medium_y" value="130" />
84 <variable name="row2_medium_y" value="205" />
85 <variable name="row3_medium_y" value="280" />
86 <variable name="row4_medium_y" value="355" />
87 <variable name="row5_medium_y" value="430" />
88 <variable name="row6_medium_y" value="505" />
89 <variable name="row7_medium_y" value="580" />
90 <variable name="slider_x" value="58" />
91 <variable name="slider_y" value="680" />
92 <variable name="slider_text_y" value="721" />
93 <variable name="button_text_color" value="#AAAAAA" />
94 <variable name="text_color" value="#FFFFFF" />
95 <variable name="text_success_color" value="#33B5E5" />
96 <variable name="text_fail_color" value="#FF0101" />
Dees_Troy1a7a6672013-02-15 09:39:07 -060097 <variable name="highlight_color" value="#90909080" />
Dees_Troy51a0e822012-09-05 15:24:24 -040098 <variable name="home_button_x" value="10" />
99 <variable name="home_button_y" value="820" />
100 <variable name="back_button_x" value="413" />
101 <variable name="back_button_y" value="820" />
102 <variable name="sort_asc_text_y" value="739" />
103 <variable name="sort_asc_button_y" value="739" />
104 <variable name="sort_desc_text_y" value="779" />
105 <variable name="sort_desc_button_y" value="779" />
106 <variable name="sort_col1_button_x" value="180" />
107 <variable name="sort_col2_button_x" value="240" />
108 <variable name="sort_col3_button_x" value="300" />
109 <variable name="input_width" value="460" />
110 <variable name="input_height" value="40" />
111 <variable name="input_background_color" value="#303030" />
112 <variable name="input_cursor_color" value="#33B5E5" />
113 <variable name="input_cursor_width" value="3" />
114 <variable name="console_x" value="0" />
115 <variable name="console_width" value="480" />
116 <variable name="console_foreground" value="#A0A0A0" />
117 <variable name="console_background" value="#303030" />
118 <variable name="console_scroll" value="#303030" />
119 <variable name="console_action_height" value="320" />
120 <variable name="console_install_height" value="440" />
121 <variable name="console_installdone_height" value="300" />
122 <variable name="fileselector_x" value="5" />
123 <variable name="fileselector_width" value="470" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500124 <variable name="fileselector_install_height" value="534" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400125 <variable name="fileselector_header_background" value="#202020" />
126 <variable name="fileselector_header_textcolor" value="#AAAAAA" />
127 <variable name="fileselector_header_separatorcolor" value="#33B5E5" />
128 <variable name="fileselector_header_separatorheight" value="3" />
129 <variable name="fileselector_separatorcolor" value="#505050" />
130 <variable name="fileselector_separatorheight" value="2" />
131 <variable name="fileselector_background" value="#303030" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600132 <variable name="fileselector_highlight_color" value="#505050" />
133 <variable name="fileselector_highlight_font_color" value="#33B5E5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400134 <variable name="fileselector_spacing" value="18" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100135 <variable name="fastscroll_linecolor" value="#808080" />
136 <variable name="fastscroll_rectcolor" value="#808080" />
137 <variable name="fastscroll_w" value="40" />
138 <variable name="fastscroll_linew" value="2" />
139 <variable name="fastscroll_rectw" value="27" />
140 <variable name="fastscroll_recth" value="47" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400141 <variable name="listbox_x" value="5" />
142 <variable name="listbox_width" value="470" />
Dees_Troyeead9852013-02-15 14:31:06 -0600143 <variable name="listbox_tz_height" value="310" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400144 <variable name="listbox_background" value="#303030" />
145 <variable name="listbox_spacing" value="18" />
146 <variable name="sd_plus_x" value="280" />
147 <variable name="sdext_text_x" value="84" />
148 <variable name="sdext_text_y" value="150" />
149 <variable name="sdswap_button_y" value="185" />
150 <variable name="sdswap_text_x" value="84" />
151 <variable name="sdswap_text_y" value="195" />
152 <variable name="sdfilesystem_text_y" value="240" />
153 <variable name="sdfilesystem_button_y" value="280" />
154 <variable name="lock_x" value="40" />
155 <variable name="lock_y" value="200" />
156 <variable name="filemanager_select_x" value="365" />
157 <variable name="filemanager_select_y" value="744" />
158 <variable name="backup_name_y" value="350" />
159 <variable name="terminal_console_height" value="424" />
160 <variable name="terminal_text_y" value="444" />
161 <variable name="terminal_button_y" value="434" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400162 <variable name="row_dst_text_y" value="440" />
163 <variable name="row_offset_text_y" value="480" />
164 <variable name="row_offset_medium_y" value="505" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500165 <variable name="button_fill_color" value="#303030" />
166 <variable name="button_fill_full_width" value="455" />
167 <variable name="button_fill_main_width" value="225" />
168 <variable name="button_fill_main_height" value="135" />
169 <variable name="button_fill_half_height" value="67" />
170 <variable name="button_fill_quarter_height" value="34" />
Dees_Troy83bd4832013-05-04 12:39:56 +0000171 <variable name="backup_list_height" value="300" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500172 <variable name="backup_button_row1" value="480" />
173 <variable name="backup_button_row2" value="520" />
174 <variable name="mount_list_height" value="380" />
175 <variable name="mount_storage_row" value="500" />
176 <variable name="storage_list_height" value="400" />
177 <variable name="wipe_list_height" value="550" />
178 <variable name="wipe_button_y" value="400" />
Vojtech Bocek85932342013-04-01 22:11:33 +0200179 <variable name="slidervalue_w" value="460" />
180 <variable name="slidervalue_line_clr" value="#FFFFFF" />
181 <variable name="slidervalue_slider_clr" value="#33B5E5" />
182 <variable name="slidervalue_lineh" value="1" />
183 <variable name="slidervalue_padding" value="13" />
184 <variable name="slidervalue_sliderw" value="7" />
185 <variable name="slidervalue_sliderh" value="40" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400186 </variables>
187
188 <templates>
189 <template name="header">
190 <background color="%backgroundcolor%" />
191
192 <object type="image">
193 <image resource="top_bar" />
194 <placement x="0" y="0" />
195 </object>
196
197 <object type="text" color="%text_color%">
198 <font resource="font" />
199 <placement x="100" y="10" />
200 <text>Team Win Recovery Project v%tw_version%</text>
201 </object>
202
203 <object type="text" color="%text_color%">
204 <condition var1="tw_simulate_actions" var2="1" />
205 <font resource="font" />
206 <placement x="100" y="40" />
207 <text>SIMULATING ACTIONS</text>
208 </object>
209
210 <object type="text" color="%text_color%">
211 <font resource="font" />
212 <placement x="100" y="70" />
213 <text>%tw_time%</text>
214 </object>
215
216 <object type="text" color="%text_color%">
217 <font resource="font" />
218 <placement x="250" y="70" />
219 <conditions>
220 <condition var1="tw_no_battery_percent" var2="0" />
221 <condition var1="tw_battery" op=">" var2="0" />
222 <condition var1="tw_battery" op="<" var2="101" />
223 </conditions>
224 <text>Battery: %tw_battery%</text>
225 </object>
226
227 <object type="button">
228 <placement x="%home_button_x%" y="%home_button_y%" />
229 <font resource="font" color="%button_text_color%" />
230 <text></text>
231 <image resource="home_icon" />
232 <condition var1="tw_busy" var2="0" />
233 <action function="key">home</action>
234 </object>
235
236 <object type="button">
237 <placement x="%back_button_x%" y="%back_button_y%" />
238 <font resource="font" color="%button_text_color%" />
239 <text></text>
240 <image resource="back_icon" />
241 <condition var1="tw_busy" var2="0" />
242 <action function="key">back</action>
243 </object>
244
245 <object type="action">
246 <touch key="power" />
247 <action function="overlay">lock</action>
248 </object>
249 </template>
250
251 <template name="progress_bar">
252 <object type="progressbar">
253 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
254 <resource empty="progress_empty" full="progress_full" />
255 <data name="ui_progress" />
256 </object>
257
258 <object type="animation">
259 <placement x="%col_progressbar_x%" y="%row_progressbar_y%" />
260 <resource name="progress" />
261 <speed fps="15" render="2" />
262 <loop frame="1" />
263 </object>
264 </template>
265
266 <template name="action_page_console">
267 <object type="console">
268 <placement x="%console_x%" y="%row2_y%" w="%console_width%" h="%console_action_height%" />
269 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
270 <font resource="fixed" />
271 </object>
272 </template>
273
274 <template name="sort_options">
275 <object type="text" color="%text_color%">
276 <font resource="font" />
277 <placement x="%col1_x%" y="%sort_asc_text_y%" />
278 <text>Sort Ascending:</text>
279 </object>
280
281 <object type="button">
282 <placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000283 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400284 <text>Name</text>
285 <image resource="sort_button" />
286 <action function="set">tw_gui_sort_order=1</action>
287 </object>
288
289 <object type="button">
290 <placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000291 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400292 <text>Date</text>
293 <image resource="sort_button" />
294 <action function="set">tw_gui_sort_order=2</action>
295 </object>
296
297 <object type="button">
298 <placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000299 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400300 <text>Size</text>
301 <image resource="sort_button" />
302 <action function="set">tw_gui_sort_order=3</action>
303 </object>
304
305 <object type="text" color="%text_color%">
306 <font resource="font" />
307 <placement x="%col1_x%" y="%sort_desc_text_y%" />
308 <text>Sort Descending:</text>
309 </object>
310
311 <object type="button">
312 <placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000313 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400314 <text>Name</text>
315 <image resource="sort_button" />
316 <action function="set">tw_gui_sort_order=-1</action>
317 </object>
318
319 <object type="button">
320 <placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000321 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400322 <text>Date</text>
323 <image resource="sort_button" />
324 <action function="set">tw_gui_sort_order=-2</action>
325 </object>
326
327 <object type="button">
328 <placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
Dees_Troye7e0ae82013-07-05 14:46:07 +0000329 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400330 <text>Size</text>
331 <image resource="sort_button" />
332 <action function="set">tw_gui_sort_order=-3</action>
333 </object>
334 </template>
335
336 <template name="footer">
337 <object type="console">
338 <slideout resource="slideout" x="210" y="814" />
339 <placement x="%console_x%" y="0" w="%console_width%" h="814" />
340 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
341 <font resource="fixed" />
342 </object>
343 </template>
344
345 <template name="keyboardtemplate">
346 <object type="keyboard">
347 <placement x="0" y="504" />
348 <layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
Dees_Troy1a7a6672013-02-15 09:39:07 -0600349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400350 <layout1>
351 <keysize height="78" width="48" />
352 <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" />
353 <row2 key01="72:a" key02="s" key03="d" key04="f" key05="g" key06="h" key07="j" key08="k" key09="72:l" />
354 <row3 key01="72:layout2" key02="z" key03="x" key04="c" key05="v" key06="b" key07="n" key08="m" key09="72:c:8" />
355 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:a:action" />
356 </layout1>
357 <layout2>
358 <keysize height="78" width="48" />
359 <row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
360 <row2 key01="72:A" key02="S" key03="D" key04="F" key05="G" key06="H" key07="J" key08="K" key09="72:L" />
361 <row3 key01="72:layout1" key02="Z" key03="X" key04="C" key05="V" key06="B" key07="N" key08="M" key09="72:c:8" />
362 <row4 key01="72:layout3" key02="48:" key03="240: " key04="48:." key05="72:action" />
363 </layout2>
364 <layout3>
365 <keysize height="78" width="48" />
366 <row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
367 <row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
368 <row3 key01="72:layout4" key02="!" key03="48:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="72:c:8" />
369 <row4 key01="72:layout1" key02="48:," key03="240: " key04="48:." key05="72:action" />
370 </layout3>
371 <layout4>
372 <keysize height="78" width="48" />
373 <row1 key01="~" key02="`" key03="|" key04="48:" key05="48:" key06="48:" key07="%" key08="48:" key09="{" key10="}" />
374 <row2 key01="48:" key02="48:" key03="48:" key04="48:" key05="48:" key06="^" key07="_" key08="=" key09="[" key10="]" />
375 <row3 key01="72:layout3" key02="48:" key03="48:" key04="48:" key05="48:" key06="\" key07="<" key08=">" key09="72:c:8" />
376 <row4 key01="72:layout1" key02="48:c:34" key03="240: " key04="48:." key05="72:action" />
377 </layout4>
378 </object>
379 </template>
380 </templates>
381
382 <pages>
383 <page name="main">
384 <object type="action">
385 <actions>
386 <action function="set">tw_clear_destination=main2</action>
387 <action function="page">clear_vars</action>
388 </actions>
389 </object>
390 </page>
391
392 <page name="main2">
393 <object type="template" name="header" />
394
395 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600396 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400397 <placement x="%col1_x%" y="%row1_y%" />
398 <font resource="font" color="%button_text_color%" />
399 <text>Install</text>
400 <image resource="main_button" />
401 <actions>
402 <action function="queueclear"></action>
403 <action function="page">install</action>
404 </actions>
405 </object>
406
407 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600408 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400409 <placement x="%col2_x%" y="%row1_y%" />
410 <font resource="font" color="%button_text_color%" />
411 <text>Wipe</text>
412 <image resource="main_button" />
413 <action function="page">wipe</action>
414 </object>
415
416 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600417 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400418 <placement x="%col1_x%" y="%row2_y%" />
419 <font resource="font" color="%button_text_color%" />
420 <text>Backup</text>
421 <image resource="main_button" />
422 <action function="page">backup</action>
423 </object>
424
425 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600426 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400427 <placement x="%col2_x%" y="%row2_y%" />
428 <font resource="font" color="%button_text_color%" />
429 <text>Restore</text>
430 <image resource="main_button" />
431 <action function="page">restore</action>
432 </object>
433
434 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600435 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400436 <placement x="%col1_x%" y="%row3_y%" />
437 <font resource="font" color="%button_text_color%" />
438 <text>Mount</text>
439 <image resource="main_button" />
440 <action function="page">mount</action>
441 </object>
442
443 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600444 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400445 <placement x="%col2_x%" y="%row3_y%" />
446 <font resource="font" color="%button_text_color%" />
447 <text>Settings</text>
448 <image resource="main_button" />
449 <action function="page">settings</action>
450 </object>
451
452
453 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600454 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400455 <placement x="%col1_x%" y="%row4_y%" />
456 <font resource="font" color="%button_text_color%" />
457 <text>Advanced</text>
458 <image resource="main_button" />
459 <action function="page">advanced</action>
460 </object>
461
462 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600463 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400464 <placement x="%col2_x%" y="%row4_y%" />
465 <font resource="font" color="%button_text_color%" />
466 <text>Reboot</text>
467 <image resource="main_button" />
468 <action function="page">reboot</action>
469 </object>
470
471 <object type="template" name="footer" />
472 </page>
473
474 <page name="install">
475 <object type="template" name="header" />
476
477 <object type="text" color="%text_color%">
478 <font resource="font" />
479 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
480 <text>Select Zip to Install</text>
481 </object>
482
483 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -0500484 <highlight color="%highlight_color%" />
485 <fill color="%button_fill_color%" />
486 <placement x="%col1_x%" y="%row1_text_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
487 <font resource="font" color="%button_text_color%" />
488 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
489 <actions>
490 <action function="set">tw_back=install</action>
491 <action function="page">selectstorage</action>
492 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -0400493 </object>
494
495 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -0600496 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -0500497 <placement x="%fileselector_x%" y="%row3_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400498 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +0100499 <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 -0400500 <text>%tw_zip_location%</text>
501 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
502 <sort name="tw_gui_sort_order" />
503 <icon folder="folder_icon" file="file_icon" />
504 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -0600505 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400506 <filter extn=".zip" folders="1" files="1" />
507 <path name="tw_zip_location" default="/sdcard" />
508 <data name="tw_filename" />
509 <selection name="tw_file" />
510 </object>
511
512 <object type="template" name="sort_options" />
513
514 <object type="action">
515 <condition var1="tw_filename" op="modified" />
516 <actions>
517 <action function="queuezip"></action>
518 <action function="page">flash_confirm</action>
519 </actions>
520 </object>
521
522 <object type="action">
523 <touch key="back" />
524 <action function="page">main</action>
525 </object>
526
527 <object type="action">
528 <touch key="home" />
529 <action function="page">main</action>
530 </object>
531
532 <object type="template" name="footer" />
533 </page>
534
535 <page name="flash_confirm">
536 <object type="template" name="header" />
537
538 <object type="text" color="%text_color%">
539 <font resource="font" />
540 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
541 <text>This operation may install incompatible</text>
542 </object>
543
544 <object type="text" color="%text_color%">
545 <font resource="font" />
546 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
547 <text>software and render your device unusable.</text>
548 </object>
549
550 <object type="text" color="%text_color%">
551 <font resource="font" />
552 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
553 <text>Folder:</text>
554 </object>
555
556 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400557 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400558 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
559 <text>%tw_zip_location%</text>
560 </object>
561
562 <object type="text" color="%text_color%">
563 <font resource="font" />
564 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
565 <text>File to flash:</text>
566 </object>
567
568 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400569 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400570 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
571 <text>%tw_file%</text>
572 </object>
573
574 <object type="text" color="%text_color%">
575 <font resource="font" />
576 <placement x="%center_x%" y="%row7_text_y%" placement="5" />
577 <text>Press back to cancel adding this zip.</text>
578 </object>
579
580 <object type="checkbox">
581 <placement x="%col1_x%" y="%row8_text_y%" />
582 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400583 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400584 <data variable="tw_signed_zip_verify" />
585 <image checked="checkbox_true" unchecked="checkbox_false" />
586 </object>
587
588 <object type="checkbox">
Dees_Troy51a0e822012-09-05 15:24:24 -0400589 <condition var1="tw_has_injecttwrp" var2="1" />
590 <placement x="%col1_x%" y="%row10_text_y%" />
591 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400592 <text>Inject TWRP after install.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -0400593 <data variable="tw_inject_after_zip" />
594 <image checked="checkbox_true" unchecked="checkbox_false" />
595 </object>
596
597 <object type="text" color="%text_color%">
598 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400599 <placement x="%center_x%" y="%row11_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400600 <text>File %tw_zip_queue_count% of max of 10</text>
601 </object>
602
603 <object type="slider">
604 <placement x="%slider_x%" y="%slider_y%" placement="5" />
605 <resource base="slider" used="slider-used" touch="slider-touch" />
606 <action function="flash">flash_zip</action>
607 </object>
608
609 <object type="text" color="%text_color%">
610 <font resource="font" />
611 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
612 <text>Swipe to Confirm Flash</text>
613 </object>
614
615 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600616 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400617 <condition var1="tw_zip_queue_count" op="!=" var2="10"></condition>
618 <placement x="%col1_x%" y="%row_queue_y%" />
619 <font resource="font" color="%button_text_color%" />
620 <text>Add More Zips</text>
621 <image resource="main_button" />
622 <action function="page">install</action>
623 </object>
624
625 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600626 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400627 <placement x="%col2_x%" y="%row_queue_y%" />
628 <font resource="font" color="%button_text_color%" />
629 <text>Clear Zip Queue</text>
630 <image resource="main_button" />
631 <actions>
632 <action function="queueclear"></action>
633 <action function="page">install</action>
634 </actions>
635 </object>
636
637 <object type="action">
638 <touch key="back" />
639 <actions>
640 <action function="cancelzip"></action>
641 <action function="page">install</action>
642 </actions>
643 </object>
644
645 <object type="action">
646 <touch key="home" />
647 <action function="page">main</action>
648 </object>
649
650 <object type="template" name="footer" />
651 </page>
652
653 <page name="flash_zip">
654 <object type="template" name="header" />
655
656 <object type="console">
657 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_install_height%" />
658 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
659 <font resource="fixed" />
660 </object>
661
662 <object type="text" color="%text_color%">
663 <font resource="font" />
664 <placement x="%center_x%" y="%row17_text_y%" placement="5" />
665 <text>Flashing file %tw_zip_index% of %tw_zip_queue_count%</text>
666 </object>
667
668 <object type="text" color="%text_color%">
Dees_Troyb46a6842012-09-25 11:06:46 -0400669 <font resource="mediumfont" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400670 <placement x="%center_x%" y="%row18_text_y%" placement="5" />
671 <text>%tw_filename%</text>
672 </object>
673
674 <object type="template" name="progress_bar" />
675
676 <object type="action">
677 <condition var1="tw_operation_state" var2="1" />
678 <action function="page">flash_done</action>
679 </object>
680 </page>
681
682 <page name="flash_done">
683 <object type="template" name="header" />
684
685 <object type="text" color="%text_color%">
686 <font resource="font" />
687 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
688 <text>Zip Install Complete</text>
689 </object>
690
691 <object type="console">
692 <placement x="%console_x%" y="%row1_y%" w="%console_width%" h="%console_installdone_height%" />
693 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
694 <font resource="fixed" />
695 </object>
696
697 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600698 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400699 <placement x="%col1_x%" y="%row4_y%" />
700 <font resource="font" color="%button_text_color%" />
701 <text>Wipe cache/dalvik</text>
702 <image resource="main_button" />
703 <actions>
704 <action function="set">tw_back=flash_done</action>
705 <action function="set">tw_action=wipe</action>
706 <action function="set">tw_action_param=/cache</action>
707 <action function="set">tw_has_action2=1</action>
708 <action function="set">tw_action2=wipe</action>
709 <action function="set">tw_action2_param=dalvik</action>
710 <action function="set">tw_text1=Wipe Cache & Dalvik?</action>
711 <action function="set">tw_action_text1=Wiping Cache & Dalvik...</action>
712 <action function="set">tw_complete_text1=Cache & Dalvik Wipe Complete</action>
713 <action function="set">tw_slider_text=Swipe to Wipe</action>
714 <action function="page">confirm_action</action>
715 </actions>
716 </object>
717
718 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600719 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400720 <placement x="%col2_x%" y="%row4_y%" />
721 <font resource="font" color="%button_text_color%" />
722 <text>Reboot System</text>
723 <image resource="main_button" />
724 <actions>
Dees_Troya3f81542012-10-08 10:58:53 -0400725 <action function="set">tw_back=main2</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400726 <action function="set">tw_action=reboot</action>
727 <action function="set">tw_action_param=system</action>
728 <action function="set">tw_has_action2=0</action>
729 <action function="set">tw_text1=No OS Installed! Are you</action>
730 <action function="set">tw_text2=sure you wish to reboot?</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400731 <action function="set">tw_text3=</action>
732 <action function="set">tw_text4=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400733 <action function="set">tw_action_text1=Rebooting...</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400734 <action function="set">tw_action_text2=</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400735 <action function="set">tw_complete_text1=Rebooting...</action>
736 <action function="set">tw_slider_text=Swipe to Reboot</action>
737 <action function="page">rebootcheck</action>
738 </actions>
739 </object>
740
741 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600742 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400743 <placement x="%col_center_x%" y="%row3_y%" />
744 <font resource="font" color="%button_text_color%" />
745 <text>Home</text>
746 <image resource="main_button" />
747 <actions>
748 <action function="set">tw_clear_destination=main2</action>
749 <action function="page">clear_vars</action>
750 </actions>
751 </object>
752
753 <object type="text" color="%text_fail_color%">
754 <condition var1="tw_operation_status" op="!=" var2="0" />
755 <font resource="font" />
756 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
757 <text>Failed</text>
758 </object>
759
760 <object type="text" color="%text_success_color%">
761 <condition var1="tw_operation_status" var2="0" />
762 <font resource="font" />
763 <placement x="%center_x%" y="%zip_status_y%" placement="5" />
764 <text>Successful</text>
765 </object>
766
767 <object type="action">
768 <touch key="back" />
769 <actions>
770 <action function="set">tw_clear_destination=install</action>
771 <action function="page">clear_vars</action>
772 </actions>
773 </object>
774
775 <object type="action">
776 <touch key="home" />
777 <actions>
778 <action function="set">tw_clear_destination=main2</action>
779 <action function="page">clear_vars</action>
780 </actions>
781 </object>
782 </page>
783
784 <page name="clear_vars">
785 <object type="action">
786 <action function="set">tw_operation_state=0</action>
787 <action function="set">tw_text1=</action>
788 <action function="set">tw_text2=</action>
789 <action function="set">tw_text3=</action>
790 <action function="set">tw_text4=</action>
791 <action function="set">tw_action_text1=</action>
792 <action function="set">tw_action_text2=</action>
793 <action function="set">tw_action_param=</action>
794 <action function="set">tw_has_action2=0</action>
795 <action function="set">tw_action2=</action>
796 <action function="set">tw_action2_param=</action>
Dees_Troyb46a6842012-09-25 11:06:46 -0400797 <action function="set">tw_has_cancel=0</action>
798 <action function="set">tw_cancel_action=</action>
799 <action function="set">tw_cancel_param=</action>
Dees_Troyce2fe772012-09-28 12:34:33 -0400800 <action function="set">tw_show_exclamation=0</action>
Dees_Troya3f81542012-10-08 10:58:53 -0400801 <action function="set">tw_show_reboot=0</action>
Dees_Troy51a0e822012-09-05 15:24:24 -0400802 <action function="page">%tw_clear_destination%</action>
803 </object>
804 </page>
805
806 <page name="confirm_action">
807 <object type="template" name="header" />
808
809 <object type="text" color="%text_color%">
810 <font resource="font" />
811 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
812 <text>%tw_text1%</text>
813 </object>
814
815 <object type="text" color="%text_color%">
816 <font resource="font" />
817 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
818 <text>%tw_text2%</text>
819 </object>
820
821 <object type="text" color="%text_color%">
822 <font resource="font" />
823 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
824 <text>%tw_text3%</text>
825 </object>
826
827 <object type="text" color="%text_color%">
828 <font resource="font" />
829 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
830 <text>%tw_text4%</text>
831 </object>
832
833 <object type="text" color="%text_color%">
834 <font resource="font" />
Dees_Troyce2fe772012-09-28 12:34:33 -0400835 <placement x="%center_x%" y="%row15_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400836 <text>Press back button to cancel.</text>
837 </object>
838
839 <object type="slider">
840 <placement x="%slider_x%" y="%slider_y%" />
841 <resource base="slider" used="slider-used" touch="slider-touch" />
842 <action function="page">action_page</action>
843 </object>
844
845 <object type="text" color="%text_color%">
846 <font resource="font" />
847 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
848 <text>%tw_slider_text%</text>
849 </object>
850
851 <object type="action">
852 <touch key="back" />
853 <actions>
854 <action function="set">tw_clear_destination=%tw_back%</action>
855 <action function="page">clear_vars</action>
856 </actions>
857 </object>
858
859 <object type="action">
860 <touch key="home" />
861 <action function="page">main</action>
862 </object>
863
864 <object type="template" name="footer" />
865 </page>
866
867 <page name="action_page">
868 <object type="template" name="header" />
869
870 <object type="text" color="%text_color%">
871 <font resource="font" />
872 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
873 <text>%tw_action_text1%</text>
874 </object>
875
876 <object type="text" color="%text_color%">
877 <font resource="font" />
878 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
879 <text>%tw_action_text2%</text>
880 </object>
881
882 <object type="template" name="action_page_console" />
883
Dees_Troyb46a6842012-09-25 11:06:46 -0400884 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600885 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -0400886 <condition var1="tw_has_cancel" var2="1" />
887 <placement x="%col_center_medium_x%" y="%row4_y%" />
888 <font resource="font" color="%button_text_color%" />
889 <text>Cancel</text>
890 <image resource="medium_button" />
891 <action function="%tw_cancel_action%">%tw_cancel_param%</action>
892 </object>
893
Dees_Troy51a0e822012-09-05 15:24:24 -0400894 <object type="template" name="progress_bar" />
895
896 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -0400897 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400898 <actions>
899 <action function="page">action_complete</action>
900 </actions>
901 </object>
902
903 <object type="action">
904 <condition var1="tw_has_action2" var2="0" />
905 <actions>
906 <action function="%tw_action%">%tw_action_param%</action>
907 </actions>
908 </object>
909
910 <object type="action">
911 <condition var1="tw_has_action2" var2="1" />
912 <actions>
913 <action function="%tw_action%">%tw_action_param%</action>
914 <action function="%tw_action2%">%tw_action2_param%</action>
915 </actions>
916 </object>
917 </page>
918
Dees_Troy6ef66352013-02-21 08:26:57 -0600919 <page name="singleaction_page">
920 <object type="template" name="header" />
921
922 <object type="text" color="%text_color%">
923 <font resource="font" />
924 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
925 <text>%tw_action_text1%</text>
926 </object>
927
928 <object type="text" color="%text_color%">
929 <font resource="font" />
930 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
931 <text>%tw_action_text2%</text>
932 </object>
933
934 <object type="template" name="action_page_console" />
935
936 <object type="template" name="progress_bar" />
937
938 <object type="action">
939 <condition var1="tw_operation_state" var2="1" />
940 <actions>
941 <action function="set">tw_page_done=1</action>
942 </actions>
943 </object>
944
945 <object type="action">
946 <condition var1="tw_has_action2" var2="0" />
947 <actions>
948 <action function="%tw_action%">%tw_action_param%</action>
949 </actions>
950 </object>
951
952 <object type="action">
953 <condition var1="tw_has_action2" var2="1" />
954 <actions>
955 <action function="%tw_action%">%tw_action_param%</action>
956 <action function="%tw_action2%">%tw_action2_param%</action>
957 </actions>
958 </object>
959 </page>
960
Dees_Troy51a0e822012-09-05 15:24:24 -0400961 <page name="action_complete">
962 <object type="template" name="header" />
963
964 <object type="text" color="%text_color%">
965 <font resource="font" />
966 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
967 <text>%tw_complete_text1%</text>
968 </object>
969
970 <object type="text" color="%text_fail_color%">
971 <condition var1="tw_operation_status" op="!=" var2="0" />
972 <font resource="font" />
973 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
974 <text>Failed</text>
975 </object>
976
977 <object type="text" color="%text_success_color%">
978 <condition var1="tw_operation_status" var2="0" />
979 <font resource="font" />
980 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
981 <text>Successful</text>
982 </object>
983
984 <object type="template" name="action_page_console" />
985
986 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -0600987 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -0400988 <condition var1="tw_show_reboot" var2="0" />
Dees_Troy51a0e822012-09-05 15:24:24 -0400989 <placement x="%col_center_x%" y="%row4_y%" />
990 <font resource="font" color="%button_text_color%" />
991 <text>Back</text>
992 <image resource="main_button" />
993 <actions>
994 <action function="set">tw_clear_destination=%tw_back%</action>
995 <action function="page">clear_vars</action>
996 </actions>
997 </object>
998
Dees_Troya3f81542012-10-08 10:58:53 -0400999 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001000 <highlight color="%highlight_color%" />
Dees_Troya3f81542012-10-08 10:58:53 -04001001 <condition var1="tw_show_reboot" var2="1" />
1002 <placement x="%col_center_x%" y="%row4_y%" />
1003 <font resource="font" color="%button_text_color%" />
1004 <text>Reboot System</text>
1005 <image resource="main_button" />
1006 <actions>
1007 <action function="set">tw_back=main2</action>
1008 <action function="set">tw_action=reboot</action>
1009 <action function="set">tw_action_param=system</action>
1010 <action function="set">tw_has_action2=0</action>
1011 <action function="set">tw_text1=No OS Installed! Are you</action>
1012 <action function="set">tw_text2=sure you wish to reboot?</action>
1013 <action function="set">tw_text3=</action>
1014 <action function="set">tw_text4=</action>
1015 <action function="set">tw_action_text1=Rebooting...</action>
1016 <action function="set">tw_action_text2=</action>
1017 <action function="set">tw_complete_text1=Rebooting...</action>
1018 <action function="set">tw_slider_text=Swipe to Reboot</action>
1019 <action function="page">rebootcheck</action>
1020 </actions>
1021 </object>
1022
Dees_Troy51a0e822012-09-05 15:24:24 -04001023 <object type="action">
1024 <touch key="home" />
1025 <actions>
1026 <action function="set">tw_clear_destination=main2</action>
1027 <action function="page">clear_vars</action>
1028 </actions>
1029 </object>
1030
1031 <object type="action">
1032 <touch key="back" />
1033 <actions>
1034 <action function="set">tw_clear_destination=%tw_back%</action>
1035 <action function="page">clear_vars</action>
1036 </actions>
1037 </object>
1038 </page>
1039
1040 <page name="filecheck">
1041 <object type="action">
1042 <action function="fileexists">%tw_filecheck%</action>
1043 </object>
1044
1045 <object type="action">
1046 <conditions>
1047 <condition var1="tw_operation_state" var2="1" />
1048 <condition var1="tw_operation_status" var2="0" />
1049 </conditions>
1050 <actions>
1051 <action function="set">tw_fileexists=1</action>
1052 <action function="page">%tw_existpage%</action>
1053 </actions>
1054 </object>
1055
1056 <object type="action">
1057 <conditions>
1058 <condition var1="tw_operation_state" var2="1" />
1059 <condition var1="tw_operation_status" var2="1" />
1060 </conditions>
1061 <actions>
1062 <action function="set">tw_fileexists=0</action>
1063 <action function="page">%tw_notexistpage%</action>
1064 </actions>
1065 </object>
1066 </page>
1067
1068 <page name="rebootcheck">
1069 <object type="action">
1070 <condition var1="tw_backup_system_size" op=">=" var2="%tw_min_system%" />
1071 <action function="reboot">%tw_action_param%</action>
1072 </object>
1073
1074 <object type="action">
1075 <condition var1="tw_backup_system_size" op="<" var2="%tw_min_system%" />
1076 <action function="page">confirm_action</action>
1077 </object>
1078 </page>
1079
1080 <page name="wipe">
1081 <object type="template" name="header" />
1082
1083 <object type="text" color="%text_color%">
1084 <font resource="font" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001085 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001086 <text>Factory Reset</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001087 </object>
1088
1089 <object type="text" color="%text_color%">
1090 <font resource="font" />
1091 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1092 <text>Wipes Data, Cache, and Dalvik</text>
1093 </object>
1094
1095 <object type="text" color="%text_color%">
1096 <condition var1="tw_has_data_media" var2="0" />
1097 <font resource="font" />
1098 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1099 <text>.android_secure</text>
1100 </object>
1101
1102 <object type="text" color="%text_color%">
1103 <condition var1="tw_has_data_media" var2="1" />
1104 <font resource="font" />
1105 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1106 <text>(not including internal storage)</text>
1107 </object>
1108
1109 <object type="text" color="%text_color%">
1110 <condition var1="tw_has_sdext_partition" var2="1" />
1111 <font resource="font" />
1112 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1113 <text>SD-EXT</text>
1114 </object>
1115
1116 <object type="text" color="%text_color%">
1117 <font resource="font" />
1118 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1119 <text>Most of the time this is</text>
1120 </object>
1121
1122 <object type="text" color="%text_color%">
1123 <font resource="font" />
1124 <placement x="%center_x%" y="%row6_text_y%" placement="5" />
1125 <text>the only wipe that you need.</text>
1126 </object>
1127
1128 <object type="text" color="%text_color%">
1129 <font resource="font" />
1130 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1131 <text>Press back button to cancel.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001132 </object>
1133
1134 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001135 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001136 <placement x="%col1_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001137 <font resource="font" color="%button_text_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001138 <text>Advanced Wipe</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001139 <image resource="main_button" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001140 <action function="page">advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001141 </object>
1142
1143 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04001144 <conditions>
1145 <condition var1="tw_has_internal" var2="1" />
1146 <condition var1="tw_has_data_media" var2="1" />
1147 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001148 <highlight color="%highlight_color%" />
1149 <placement x="%col2_x%" y="%wipe_button_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001150 <font resource="font" color="%button_text_color%" />
1151 <text>Format Data</text>
1152 <image resource="main_button" />
1153 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001154 <action function="page">formatdata</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001155 </actions>
1156 </object>
1157
Dees_Troya13d74f2013-03-24 08:54:55 -05001158 <object type="slider">
1159 <placement x="%slider_x%" y="%slider_y%" />
1160 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001161 <actions>
1162 <action function="set">tw_back=wipe</action>
1163 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001164 <action function="set">tw_action_param=data</action>
1165 <action function="set">tw_action_text1=Factory Reset...</action>
1166 <action function="set">tw_complete_text1=Factory Reset Complete</action>
1167 <action function="page">action_page</action>
Dees_Troy2ff5a8d2012-09-26 14:53:02 -04001168 </actions>
1169 </object>
1170
Dees_Troya13d74f2013-03-24 08:54:55 -05001171 <object type="text" color="%text_color%">
1172 <font resource="font" />
1173 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1174 <text>Swipe to Factory Reset</text>
1175 </object>
1176
1177 <object type="action">
1178 <touch key="back" />
1179 <action function="page">main</action>
1180 </object>
1181
1182 <object type="action">
1183 <touch key="home" />
1184 <action function="page">main</action>
1185 </object>
1186
1187 <object type="template" name="footer" />
1188 </page>
1189
1190 <page name="advancedwipe">
1191 <object type="template" name="header" />
1192
1193 <object type="text" color="%text_color%">
1194 <font resource="font" />
1195 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1196 <text>Wipe Menu</text>
1197 </object>
1198
1199 <object type="partitionlist">
1200 <highlight color="%fileselector_highlight_color%" />
1201 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%wipe_list_height%" />
1202 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1203 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1204 <text>Select Partitions to Wipe:</text>
1205 <icon selected="checkbox_true" unselected="checkbox_false" />
1206 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1207 <background color="%listbox_background%" />
1208 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1209 <data name="tw_wipe_list" />
1210 <listtype name="wipe" />
1211 </object>
1212
1213 <object type="slider">
1214 <placement x="%slider_x%" y="%slider_y%" />
1215 <resource base="slider" used="slider-used" touch="slider-touch" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001216 <actions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001217 <action function="set">tw_back=advancedwipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001218 <action function="set">tw_action=wipe</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001219 <action function="set">tw_action_param=LIST</action>
1220 <action function="set">tw_text1=Wipe Selected Partition(s)?</action>
1221 <action function="set">tw_action_text1=Wiping Partition(s)...</action>
1222 <action function="set">tw_complete_text1=Wipe Complete</action>
1223 <action function="page">action_page</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001224 </actions>
1225 </object>
1226
Dees_Troya13d74f2013-03-24 08:54:55 -05001227 <object type="text" color="%text_color%">
1228 <font resource="font" />
1229 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1230 <text>Swipe to Wipe</text>
1231 </object>
1232
Dees_Troy51a0e822012-09-05 15:24:24 -04001233 <object type="action">
1234 <touch key="home" />
1235 <action function="page">main</action>
1236 </object>
1237
1238 <object type="action">
1239 <touch key="back" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001240 <action function="page">wipe</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001241 </object>
1242
1243 <object type="template" name="footer" />
1244 </page>
1245
Dees_Troya13d74f2013-03-24 08:54:55 -05001246 <page name="formatdata">
1247 <object type="template" name="header" />
1248
1249 <object type="text" color="%text_color%">
1250 <font resource="font" />
1251 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1252 <text>Format Data will wipe all of your apps,</text>
1253 </object>
1254
1255 <object type="text" color="%text_color%">
1256 <font resource="font" />
1257 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1258 <text>backups, pictures, videos, media, and</text>
1259 </object>
1260
1261 <object type="text" color="%text_color%">
1262 <font resource="font" />
1263 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1264 <text>removes encryption on internal storage.</text>
1265 </object>
1266
1267 <object type="text" color="%text_color%">
1268 <font resource="font" />
1269 <placement x="%center_x%" y="%row3_text_y%" placement="5" />
1270 <text>This cannot be undone. Press back to cancel.</text>
1271 </object>
1272
1273 <object type="text" color="%text_color%">
1274 <font resource="font" />
1275 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1276 <text>Type yes to continue.</text>
1277 </object>
1278
1279 <object type="input">
1280 <placement x="%col1_x%" y="%row6_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1281 <background color="%input_background_color%" />
1282 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1283 <font resource="font" color="%text_color%" />
1284 <text>%tw_confirm_formatdata%</text>
1285 <data name="tw_confirm_formatdata" />
1286 <restrict minlen="3" maxlen="3" allow="yes" />
1287 <action function="page">formatdata_confirm</action>
1288 </object>
1289
1290 <object type="template" name="keyboardtemplate" />
1291
1292 <object type="action">
1293 <touch key="home" />
1294 <action function="page">main</action>
1295 </object>
1296
1297 <object type="action">
1298 <touch key="back" />
1299 <action function="page">wipe</action>
1300 </object>
1301
1302 <object type="template" name="footer" />
1303 </page>
1304
1305 <page name="formatdata_confirm">
1306 <object type="action">
1307 <condition var1="tw_confirm_formatdata" op="=" var2="yes" />
1308 <actions>
1309 <action function="set">tw_back=formatdata</action>
1310 <action function="set">tw_action=wipe</action>
1311 <action function="set">tw_action_param=DATAMEDIA</action>
1312 <action function="set">tw_action_text1=Formatting Data...</action>
1313 <action function="set">tw_complete_text1=Data Format Complete</action>
1314 <action function="page">action_page</action>
1315 </actions>
1316 </object>
1317
1318 <object type="action">
1319 <condition var1="tw_confirm_formatdata" op="!=" var2="yes" />
1320 <action function="page">formatdata</function>
1321 </object>
1322 </page>
1323
Dees_Troy51a0e822012-09-05 15:24:24 -04001324 <page name="backup">
1325 <object type="template" name="header" />
1326
Dees_Troy83bd4832013-05-04 12:39:56 +00001327 <object type="button">
1328 <highlight color="%highlight_color%" />
1329 <fill color="%button_fill_color%" />
1330 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1331 <font resource="font" color="%button_text_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001332 <text>Backup Name: %tw_backup_name%</text>
Dees_Troy83bd4832013-05-04 12:39:56 +00001333 <actions>
1334 <action function="set">tw_fileexists=0</action>
1335 <action function="page">backupname1</action>
1336 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001337 </object>
1338
Dees_Troya13d74f2013-03-24 08:54:55 -05001339 <object type="partitionlist">
1340 <highlight color="%fileselector_highlight_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001341 <placement x="%listbox_x%" y="%row2_text_y%" w="%listbox_width%" h="%backup_list_height%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001342 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1343 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
1344 <text>Select Partitions to Back Up:</text>
1345 <icon selected="checkbox_true" unselected="checkbox_false" />
1346 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1347 <background color="%listbox_background%" />
1348 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1349 <data name="tw_backup_list" />
1350 <listtype name="backup" />
1351 </object>
1352
1353 <object type="button">
Dees_Troy83bd4832013-05-04 12:39:56 +00001354 <conditions>
1355 <condition var1="tw_include_encrypted_backup" var2="1" />
1356 <condition var1="tw_encrypt_backup" var2="0" />
1357 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05001358 <highlight color="%highlight_color%" />
1359 <fill color="%button_fill_color%" />
1360 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1361 <font resource="font" color="%button_text_color%" />
Dees_Troy83bd4832013-05-04 12:39:56 +00001362 <text>No Encryption</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001363 <actions>
Dees_Troy83bd4832013-05-04 12:39:56 +00001364 <action function="page">backupencryption</action>
1365 </actions>
1366 </object>
1367
1368 <object type="button">
1369 <conditions>
1370 <condition var1="tw_include_encrypted_backup" var2="1" />
1371 <condition var1="tw_encrypt_backup" var2="1" />
1372 </conditions>
1373 <highlight color="%highlight_color%" />
1374 <fill color="%button_fill_color%" />
1375 <placement x="%col1_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1376 <font resource="font" color="%button_text_color%" />
1377 <text>Using Encryption</text>
1378 <actions>
1379 <action function="set">tw_password_not_match=0</action>
1380 <action function="page">backupencryption</action>
Dees_Troya13d74f2013-03-24 08:54:55 -05001381 </actions>
1382 </object>
1383
1384 <object type="button">
1385 <highlight color="%highlight_color%" />
1386 <fill color="%button_fill_color%" />
1387 <placement x="%col2_x%" y="%backup_button_row1%" w="%button_fill_main_width%" h="%button_fill_quarter_height%" />
1388 <font resource="font" color="%button_text_color%" />
1389 <text>Refresh Sizes</text>
1390 <action function="refreshsizes"></action>
1391 </object>
1392
1393 <object type="button">
1394 <highlight color="%highlight_color%" />
1395 <fill color="%button_fill_color%" />
1396 <placement x="%col1_x%" y="%backup_button_row2%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1397 <font resource="font" color="%button_text_color%" />
1398 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1399 <actions>
1400 <action function="set">tw_back=backup</action>
1401 <action function="page">selectstorage</action>
1402 </actions>
1403 </object>
1404
1405 <object type="checkbox">
1406 <placement x="%col1_x%" y="%row15_text_y%" />
1407 <font resource="font" color="%text_color%" />
1408 <text>Enable compression.</text>
1409 <data variable="tw_use_compression" />
1410 <image checked="checkbox_true" unchecked="checkbox_false" />
1411 </object>
1412
1413 <object type="checkbox">
1414 <placement x="%col1_x%" y="%row16_text_y%" />
1415 <font resource="font" color="%text_color%" />
1416 <text>Skip MD5 generation during backup.</text>
1417 <data variable="tw_skip_md5_generate" />
1418 <image checked="checkbox_true" unchecked="checkbox_false" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001419 </object>
1420
1421 <object type="slider">
1422 <placement x="%slider_x%" y="slider_y" />
1423 <resource base="slider" used="slider-used" touch="slider-touch" />
1424 <action function="page">backup_run</action>
1425 </object>
1426
1427 <object type="text" color="%text_color%">
1428 <font resource="font" />
1429 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1430 <text>Swipe to Back Up</text>
1431 </object>
1432
Dees_Troy51a0e822012-09-05 15:24:24 -04001433 <object type="action">
1434 <touch key="home" />
1435 <action function="page">main</action>
1436 </object>
1437
1438 <object type="action">
1439 <touch key="back" />
1440 <action function="page">main</action>
1441 </object>
1442
1443 <object type="template" name="footer" />
1444 </page>
1445
1446 <page name="backupname1">
1447 <object type="action">
1448 <condition var1="tw_backup_name" op="=" var2="(Current Date)" />
1449 <action function="set">tw_backup_name=</function>
1450 </object>
1451
1452 <object type="action">
1453 <action function="page">backupname2</function>
1454 </object>
1455 </page>
1456
1457 <page name="backupname2">
1458 <object type="template" name="header" />
1459
1460 <object type="text" color="%text_color%">
1461 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1462 <font resource="font" />
1463 <text>Please Enter a Backup Name</text>
1464 </object>
1465
1466 <object type="input">
1467 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1468 <background color="%input_background_color%" />
1469 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1470 <font resource="font" color="%text_color%" />
1471 <text>%tw_backup_name%</text>
1472 <data name="tw_backup_name" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001473 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001474 <actions>
1475 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_name%</action>
1476 <action function="set">tw_existpage=backupname2</action>
1477 <action function="set">tw_notexistpage=backup</action>
1478 <action function="page">filecheck</action>
1479 </actions>
1480 </object>
1481
1482 <object type="text" color="%text_fail_color%">
1483 <condition var1="tw_fileexists" var2="1" />
1484 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
1485 <font resource="font" />
1486 <text>A backup with that name already exists!</text>
1487 </object>
1488
1489 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001490 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001491 <placement x="%col_center_x%" y="%row2_y%" />
1492 <font resource="font" color="%button_text_color%" />
1493 <text>Cancel</text>
1494 <image resource="main_button" />
1495 <actions>
1496 <action function="set">tw_backup_name=(Current Date)</action>
1497 <action function="page">backup</action>
1498 </actions>
1499 </object>
1500
1501 <object type="template" name="keyboardtemplate" />
1502
1503 <object type="action">
1504 <touch key="home" />
1505 <actions>
1506 <action function="set">tw_backup_name=(Current Date)</action>
1507 <action function="page">main</action>
1508 </actions>
1509 </object>
1510
1511 <object type="action">
1512 <touch key="back" />
1513 <actions>
1514 <action function="set">tw_backup_name=(Current Date)</action>
1515 <action function="page">backup</action>
1516 </actions>
1517 </object>
1518
1519 <object type="template" name="footer" />
1520 </page>
1521
Dees_Troy83bd4832013-05-04 12:39:56 +00001522 <page name="backupencryption">
1523 <object type="template" name="header" />
1524
1525 <object type="text" color="%text_color%">
1526 <font resource="font" />
1527 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1528 <text>Encrypt your backup?</text>
1529 </object>
1530
1531 <object type="text" color="%text_color%">
1532 <font resource="font" />
1533 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1534 <text>Please Enter A Password:</text>
1535 </object>
1536
1537 <object type="input">
1538 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1539 <background color="%input_background_color%" />
1540 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1541 <font resource="font" color="%text_color%" />
1542 <text>%tw_backup_encrypt_display%</text>
1543 <data name="tw_backup_password" mask="*" maskvariable="tw_backup_encrypt_display" />
1544 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1545 <action function="page">backupencryption2</action>
1546 </object>
1547
1548 <object type="text" color="%text_fail_color%">
1549 <condition var1="tw_password_not_match" var2="1" />
1550 <font resource="font" />
1551 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1552 <text>Passwords Do Not Match</text>
1553 </object>
1554
1555 <object type="button">
1556 <highlight color="%highlight_color%" />
1557 <placement x="%col_center_x%" y="%row2_y%" />
1558 <font resource="font" color="%button_text_color%" />
1559 <text>Cancel</text>
1560 <image resource="main_button" />
1561 <actions>
1562 <action function="set">tw_encrypt_backup=0</action>
1563 <action function="set">tw_backup_password=</action>
1564 <action function="set">tw_backup_password2=</action>
1565 <action function="set">tw_backup_encrypt_display=</action>
1566 <action function="set">tw_backup_encrypt_display2=</action>
1567 <action function="page">backup</action>
1568 </actions>
1569 </object>
1570
1571 <object type="template" name="keyboardtemplate" />
1572
1573 <object type="action">
1574 <touch key="home" />
1575 <action function="page">main</action>
1576 </object>
1577
1578 <object type="action">
1579 <touch key="back" />
1580 <action function="page">backup</action>
1581 </object>
1582
1583 <object type="template" name="footer" />
1584 </page>
1585
1586 <page name="backupencryption2">
1587 <object type="template" name="header" />
1588
1589 <object type="text" color="%text_color%">
1590 <font resource="font" />
1591 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1592 <text>Encrypt your backup?</text>
1593 </object>
1594
1595 <object type="text" color="%text_color%">
1596 <font resource="font" />
1597 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1598 <text>Please Enter Password Again:</text>
1599 </object>
1600
1601 <object type="input">
1602 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1603 <background color="%input_background_color%" />
1604 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1605 <font resource="font" color="%text_color%" />
1606 <text>%tw_backup_encrypt_display2%</text>
1607 <data name="tw_backup_password2" mask="*" maskvariable="tw_backup_encrypt_display2" />
1608 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1609 <actions>
1610 <action function="page">checkbackuppassword</action>
1611 </actions>
1612 </object>
1613
1614 <object type="button">
1615 <highlight color="%highlight_color%" />
1616 <placement x="%col_center_x%" y="%row2_y%" />
1617 <font resource="font" color="%button_text_color%" />
1618 <text>Cancel</text>
1619 <image resource="main_button" />
1620 <actions>
1621 <action function="set">tw_encrypt_backup=0</action>
1622 <action function="set">tw_backup_password=</action>
1623 <action function="set">tw_backup_password2=</action>
1624 <action function="set">tw_backup_encrypt_display=</action>
1625 <action function="set">tw_backup_encrypt_display2=</action>
1626 <action function="page">backup</action>
1627 </actions>
1628 </object>
1629
1630 <object type="template" name="keyboardtemplate" />
1631
1632 <object type="action">
1633 <touch key="home" />
1634 <action function="page">main</action>
1635 </object>
1636
1637 <object type="action">
1638 <touch key="back" />
1639 <action function="page">backup</action>
1640 </object>
1641
1642 <object type="template" name="footer" />
1643 </page>
1644
1645 <page name="checkbackuppassword">
1646 <object type="action">
1647 <condition var1="tw_backup_password2" var2="tw_backup_password" />
1648 <actions>
1649 <action function="set">tw_encrypt_backup=1</action>
1650 <action function="page">backup</action>
1651 </actions>
1652 </object>
1653
1654 <object type="action">
1655 <condition var1="tw_backup_password2" op="!=" var2="tw_backup_password" />
1656 <actions>
1657 <action function="set">tw_encrypt_backup=0</action>
1658 <action function="set">tw_password_not_match=1</action>
1659 <action function="set">tw_backup_password=</action>
1660 <action function="set">tw_backup_password2=</action>
1661 <action function="set">tw_backup_encrypt_display=</action>
1662 <action function="set">tw_backup_encrypt_display2=</action>
1663 <action function="page">backupencryption</action>
1664 </actions>
1665 </object>
1666 </page>
1667
Dees_Troy51a0e822012-09-05 15:24:24 -04001668 <page name="backup_run">
1669 <object type="template" name="header" />
1670
1671 <object type="text" color="%text_color%">
1672 <font resource="font" />
1673 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1674 <text>%tw_operation% %tw_partition%</text>
1675 </object>
1676
1677 <object type="template" name="action_page_console" />
1678
1679 <object type="template" name="progress_bar" />
1680
1681 <object type="action">
1682 <action function="nandroid">backup</action>
1683 </object>
1684
1685 <object type="action">
1686 <condition var1="tw_operation_state" var2="1" />
1687 <actions>
1688 <action function="set">tw_back=backup</action>
1689 <action function="set">tw_complete_text1=Backup Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04001690 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001691 <action function="page">action_complete</action>
1692 </actions>
1693 </object>
1694 </page>
1695
1696 <page name="restore">
1697 <object type="template" name="header" />
1698
1699 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05001700 <highlight color="%highlight_color%" />
1701 <fill color="%button_fill_color%" />
1702 <placement x="%col1_x%" y="%row1_header_y%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
1703 <font resource="font" color="%button_text_color%" />
1704 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
1705 <actions>
1706 <action function="set">tw_back=restore</action>
1707 <action function="page">selectstorage</action>
1708 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04001709 </object>
1710
1711 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06001712 <highlight color="%fileselector_highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001713 <placement x="%fileselector_x%" y="%row2_text_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001714 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01001715 <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 -04001716 <text>Select Package to Restore:</text>
1717 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1718 <sort name="tw_gui_sort_order" />
1719 <icon folder="folder_icon" file="file_icon" />
1720 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06001721 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001722 <filter folders="1" files="0" nav="0" />
1723 <path name="tw_backups_folder" />
1724 <data name="tw_restore" default="" />
1725 <selection name="tw_restore_name" />
1726 </object>
1727
1728 <object type="template" name="sort_options" />
1729
1730 <object type="action">
1731 <condition var1="tw_restore" op="modified" />
1732 <actions>
1733 <action function="readBackup"></action>
Dees_Troy83bd4832013-05-04 12:39:56 +00001734 <action function="page">restore_read</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04001735 </actions>
1736 </object>
1737
1738 <object type="action">
1739 <touch key="home" />
1740 <action function="page">main</action>
1741 </object>
1742
1743 <object type="action">
1744 <touch key="back" />
1745 <action function="page">main</action>
1746 </object>
1747
1748 <object type="template" name="footer" />
1749 </page>
1750
Dees_Troy83bd4832013-05-04 12:39:56 +00001751 <page name="restore_read">
1752 <object type="action">
1753 <condition var1="tw_restore_encrypted" var2="1" />
1754 <actions>
1755 <action function="set">tw_password_fail=0</action>
1756 <action function="page">restore_decrypt</action>
1757 </actions>
1758 </object>
1759
1760 <object type="action">
1761 <condition var1="tw_restore_encrypted" var2="0" />
1762 <actions>
1763 <action function="page">restore_select</action>
1764 </actions>
1765 </object>
1766 </page>
1767
1768 <page name="restore_decrypt">
1769 <object type="template" name="header" />
1770
1771 <object type="text" color="%text_color%">
1772 <font resource="font" />
1773 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1774 <text>Backup Encrypted</text>
1775 </object>
1776
1777 <object type="text" color="%text_color%">
1778 <font resource="font" />
1779 <placement x="%center_x%" y="%row2_text_y%" placement="5" />
1780 <text>Please Enter Your Password:</text>
1781 </object>
1782
1783 <object type="input">
1784 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1785 <background color="%input_background_color%" />
1786 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1787 <font resource="font" color="%text_color%" />
1788 <text>%tw_restore_display%</text>
1789 <data name="tw_restore_password" mask="*" maskvariable="tw_restore_display" />
1790 <restrict minlen="1" maxlen="32" allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_" />
1791 <actions>
1792 <action function="page">try_restore_decrypt</action>
1793 </actions>
1794 </object>
1795
1796 <object type="text" color="%text_fail_color%">
1797 <condition var1="tw_password_fail" var2="1" />
1798 <font resource="font" />
1799 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
1800 <text>Password Failed, Please Try Again</text>
1801 </object>
1802
1803 <object type="button">
1804 <highlight color="%highlight_color%" />
1805 <placement x="%col1_x%" y="%row2_y%" />
1806 <font resource="font" color="%button_text_color%" />
1807 <text>Cancel</text>
1808 <image resource="main_button" />
1809 <actions>
1810 <action function="set">tw_page_done=1</action>
1811 <action function="page">restore</action>
1812 </actions>
1813 </object>
1814
1815 <object type="button">
1816 <highlight color="%highlight_color%" />
1817 <placement x="%col2_x%" y="%row2_y%" />
1818 <font resource="font" color="%button_text_color%" />
1819 <text>Delete</text>
1820 <image resource="main_button" />
1821 <actions>
1822 <action function="set">tw_back=restore</action>
1823 <action function="set">tw_action=cmd</action>
1824 <action function="set">tw_action_param=cd %tw_backups_folder% && rm -rf &quot;%tw_restore_name%&quot;</action>
1825 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1826 <action function="set">tw_text2=This cannot be undone!</action>
1827 <action function="set">tw_action_text1=Deleting Backup...</action>
1828 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1829 <action function="set">tw_slider_text=Swipe to Delete</action>
1830 <action function="page">confirm_action</action>
1831 </actions>
1832 </object>
1833
1834 <object type="template" name="keyboardtemplate" />
1835
1836 <object type="action">
1837 <touch key="home" />
1838 <action function="page">main</action>
1839 </object>
1840
1841 <object type="action">
1842 <touch key="back" />
1843 <action function="page">restore</action>
1844 </object>
1845
1846 <object type="template" name="footer" />
1847 </page>
1848
1849 <page name="try_restore_decrypt">
1850 <object type="template" name="header" />
1851
1852 <object type="text" color="%text_color%">
1853 <font resource="font" />
1854 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
1855 <text>Trying Decryption with Your Password</text>
1856 </object>
1857
1858 <object type="template" name="action_page_console" />
1859
1860 <object type="template" name="progress_bar" />
1861
1862 <object type="action">
1863 <action function="decrypt_backup"></action>
1864 </object>
1865
1866 <object type="action">
1867 <conditions>
1868 <condition var1="tw_operation_state" var2="1" />
1869 <condition var1="tw_operation_status" op="!=" var2="0" />
1870 </conditions>
1871 <actions>
1872 <action function="set">tw_password_fail=1</action>
1873 <action function="page">restore_decrypt</action>
1874 </actions>
1875 </object>
1876
1877 <object type="action">
1878 <conditions>
1879 <condition var1="tw_operation_state" var2="1" />
1880 <condition var1="tw_operation_status" op="=" var2="0" />
1881 </conditions>
1882 <actions>
1883 <action function="set">tw_page_done=1</action>
1884 <action function="page">restore_select</action>
1885 </actions>
1886 </object>
1887 </page>
1888
Dees_Troy51a0e822012-09-05 15:24:24 -04001889 <page name="restore_select">
1890 <object type="template" name="header" />
1891
Dees_Troya13d74f2013-03-24 08:54:55 -05001892 <object type="partitionlist">
1893 <highlight color="%fileselector_highlight_color%" />
1894 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%backup_list_height%" />
1895 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
1896 <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 -04001897 <text>Restoring: %tw_restore_name%</text>
Dees_Troya13d74f2013-03-24 08:54:55 -05001898 <icon selected="checkbox_true" unselected="checkbox_false" />
1899 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
1900 <background color="%listbox_background%" />
1901 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
1902 <data name="tw_restore_list" selectedlist="tw_restore_selected" />
1903 <listtype name="restore" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001904 </object>
1905
1906 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001907 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001908 <fill color="%button_fill_color%" />
1909 <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 -04001910 <font resource="font" color="%button_text_color%" />
1911 <text>Rename Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001912 <actions>
1913 <action function="set">tw_backup_rename=</action>
1914 <action function="set">tw_fileexists=0</action>
1915 <action function="page">renamebackup</action>
1916 </actions>
1917 </object>
1918
1919 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06001920 <highlight color="%highlight_color%" />
Dees_Troya13d74f2013-03-24 08:54:55 -05001921 <fill color="%button_fill_color%" />
1922 <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 -04001923 <font resource="font" color="%button_text_color%" />
1924 <text>Delete Backup</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04001925 <actions>
1926 <action function="set">tw_back=restore</action>
1927 <action function="set">tw_action=cmd</action>
Dees_Troy16b74352012-11-14 22:27:31 +00001928 <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 -04001929 <action function="set">tw_text1=Delete Backup? %tw_restore_name%</action>
1930 <action function="set">tw_text2=This cannot be undone!</action>
1931 <action function="set">tw_action_text1=Deleting Backup...</action>
1932 <action function="set">tw_complete_text1=Backup Delete Complete</action>
1933 <action function="set">tw_slider_text=Swipe to Delete</action>
1934 <action function="page">confirm_action</action>
1935 </actions>
1936 </object>
1937
Dees_Troya13d74f2013-03-24 08:54:55 -05001938 <object type="checkbox">
1939 <placement x="%col1_x%" y="%row15_text_y%" />
1940 <font resource="font" color="%text_color%" />
1941 <text>Enable MD5 verification of backup files.</text>
1942 <data variable="tw_skip_md5_check" />
1943 <image checked="checkbox_true" unchecked="checkbox_false" />
1944 </object>
1945
1946 <object type="text" color="%text_color%">
1947 <font resource="font" />
1948 <placement x="%center_x%" y="%row16_text_y%" placement="5" />
1949 <text>Package Date: %tw_restore_file_date%</text>
1950 </object>
1951
Dees_Troy51a0e822012-09-05 15:24:24 -04001952 <object type="slider">
1953 <placement x="%slider_x%" y="%slider_y%" />
1954 <resource base="slider" used="slider-used" touch="slider-touch" />
1955 <action function="page">restore_run</action>
1956 </object>
1957
1958 <object type="text" color="%text_color%">
1959 <font resource="font" />
1960 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
1961 <text>Swipe to Restore</text>
1962 </object>
1963
Dees_Troy51a0e822012-09-05 15:24:24 -04001964 <object type="action">
1965 <touch key="home" />
1966 <action function="page">main</action>
1967 </object>
1968
1969 <object type="action">
1970 <touch key="back" />
1971 <action function="page">restore</action>
1972 </object>
1973
1974 <object type="template" name="footer" />
1975 </page>
1976
1977 <page name="renamebackup">
1978 <object type="template" name="header" />
1979
1980 <object type="text" color="%text_color%">
1981 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
1982 <font resource="font" />
1983 <text>Please Enter a New Backup Name</text>
1984 </object>
1985
1986 <object type="input">
1987 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
1988 <background color="%input_background_color%" />
1989 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
1990 <font resource="font" color="%text_color%" />
1991 <text>%tw_backup_rename%</text>
1992 <data name="tw_backup_rename" />
Dees_Troyb9d1c6d2012-09-26 10:07:14 -04001993 <restrict minlen="1" maxlen="64" allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-_.{}[]" />
Dees_Troy51a0e822012-09-05 15:24:24 -04001994 <actions>
1995 <action function="set">tw_back=restore</action>
1996 <action function="set">tw_action=cmd</action>
Dees_Troyf94f9ac2012-11-19 17:16:17 +00001997 <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 -04001998 <action function="set">tw_text1=Rename Backup?</action>
1999 <action function="set">tw_text2=This cannot be undone!</action>
2000 <action function="set">tw_action_text1=Renaming Backup...</action>
2001 <action function="set">tw_complete_text1=Backup Rename Complete</action>
2002 <action function="set">tw_slider_text=Swipe to Rename</action>
2003 <action function="set">tw_filecheck=%tw_backups_folder%/%tw_backup_rename%</action>
2004 <action function="set">tw_existpage=renamebackup</action>
2005 <action function="set">tw_notexistpage=confirm_action</action>
2006 <action function="page">filecheck</action>
2007 </actions>
2008 </object>
2009
2010 <object type="text" color="%text_fail_color%">
2011 <condition var1="tw_fileexists" var2="1" />
2012 <placement x="%center_x%" y="%row5_text_y%" placement="5" />
2013 <font resource="font" />
2014 <text>A backup with that name already exists!</text>
2015 </object>
2016
2017 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002018 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002019 <placement x="%col_center_x%" y="%row2_y%" />
2020 <font resource="font" color="%button_text_color%" />
2021 <text>Cancel</text>
2022 <image resource="main_button" />
2023 <action function="page">restore_select</action>
2024 </object>
2025
2026 <object type="template" name="keyboardtemplate" />
2027
2028 <object type="action">
2029 <touch key="home" />
2030 <action function="page">main</action>
2031 </object>
2032
2033 <object type="action">
2034 <touch key="back" />
2035 <action function="page">restore_select</action>
2036 </object>
2037
2038 <object type="template" name="footer" />
2039 </page>
2040
2041 <page name="restore_run">
2042 <object type="template" name="header" />
2043
2044 <object type="text" color="%text_color%">
2045 <font resource="font" />
2046 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
2047 <text>%tw_operation% %tw_partition%</text>
2048 </object>
2049
2050 <object type="template" name="action_page_console" />
2051
2052 <object type="template" name="progress_bar" />
2053
2054 <object type="action">
Dees_Troya3f81542012-10-08 10:58:53 -04002055 <condition var1="tw_operation_state" var2="1" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002056 <actions>
2057 <action function="set">tw_back=restore_select</action>
2058 <action function="set">tw_complete_text1=Restore Complete</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002059 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002060 <action function="page">action_complete</action>
2061 </actions>
2062 </object>
2063
2064 <object type="action">
2065 <action function="nandroid">restore</action>
2066 </object>
2067 </page>
2068
Dees_Troya13d74f2013-03-24 08:54:55 -05002069 <page name="selectstorage">
2070 <object type="template" name="header" />
2071
2072 <object type="partitionlist">
2073 <highlight color="%fileselector_highlight_color%" />
2074 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%storage_list_height%" />
2075 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2076 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2077 <text>Select Storage:</text>
2078 <icon selected="radio_true" unselected="radio_false" />
2079 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2080 <background color="%listbox_background%" />
2081 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2082 <data name="tw_storage_path" />
2083 <listtype name="storage" />
2084 </object>
2085
Dees_Troye7e0ae82013-07-05 14:46:07 +00002086 <object type="button">
2087 <highlight color="%highlight_color%" />
2088 <placement x="%col_center_x%" y="%row4_y%" />
2089 <font resource="font" color="%button_text_color%" />
2090 <text>OK</text>
2091 <image resource="main_button" />
2092 <actions>
2093 <action function="set">tw_clear_destination=%tw_back%</action>
2094 <action function="page">clear_vars</action>
2095 </actions>
2096 </object>
2097
Dees_Troya13d74f2013-03-24 08:54:55 -05002098 <object type="action">
2099 <touch key="home" />
2100 <action function="page">main</action>
2101 </object>
2102
2103 <object type="action">
2104 <touch key="back" />
2105 <actions>
2106 <action function="page">%tw_back%</action>
2107 </actions>
2108 </object>
2109
2110 <object type="template" name="footer" />
2111 </page>
2112
Dees_Troy51a0e822012-09-05 15:24:24 -04002113 <page name="mount">
2114 <object type="template" name="header" />
2115
Dees_Troya13d74f2013-03-24 08:54:55 -05002116 <object type="partitionlist">
2117 <highlight color="%fileselector_highlight_color%" />
2118 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%mount_list_height%" />
2119 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
2120 <fastscroll linecolor="%fastscroll_linecolor%" rectcolor="%fastscroll_rectcolor%" w="%fastscroll_w%" linew="%fastscroll_linew%" rectw="%fastscroll_rectw%" recth="%fastscroll_recth%" />
2121 <text>Select Partitions to Mount:</text>
2122 <icon selected="checkbox_true" unselected="checkbox_false" />
2123 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
2124 <background color="%listbox_background%" />
2125 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
2126 <listtype name="mount" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002127 </object>
2128
2129 <object type="button">
Dees_Troya13d74f2013-03-24 08:54:55 -05002130 <highlight color="%highlight_color%" />
2131 <fill color="%button_fill_color%" />
2132 <placement x="%col1_x%" y="%mount_storage_row%" w="%button_fill_full_width%" h="%button_fill_quarter_height%" />
2133 <font resource="font" color="%button_text_color%" />
2134 <text>Storage: %tw_storage_display_name% (%tw_storage_free_size% MB)</text>
2135 <actions>
2136 <action function="set">tw_back=mount</action>
2137 <action function="page">selectstorage</action>
2138 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04002139 </object>
2140
2141 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002142 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002143 <condition var1="tw_has_usb_storage" var2="1" />
Dees_Troya13d74f2013-03-24 08:54:55 -05002144 <placement x="%col1_x%" y="row4_y" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002145 <font resource="font" color="%button_text_color%" />
2146 <text>Mount USB Storage</text>
2147 <image resource="main_button" />
2148 <action function="page">usb_mount</action>
2149 </object>
2150
Gary Peckffdc6ae2012-11-21 18:02:02 -08002151 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002152 <highlight color="%highlight_color%" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002153 <conditions>
2154 <condition var1="tw_is_encrypted" var2="1" />
2155 <condition var1="tw_is_decrypted" var2="0" />
2156 </conditions>
Dees_Troya13d74f2013-03-24 08:54:55 -05002157 <placement x="%col2_x%" y="row4_y" />
Gary Peckffdc6ae2012-11-21 18:02:02 -08002158 <font resource="font" color="%button_text_color%" />
2159 <text>Decrypt Data</text>
2160 <image resource="main_button" />
2161 <action function="page">decrypt</action>
2162 </object>
2163
Dees_Troy51a0e822012-09-05 15:24:24 -04002164 <object type="action">
2165 <touch key="home" />
2166 <action function="page">main</action>
2167 </object>
2168
2169 <object type="action">
2170 <touch key="back" />
2171 <action function="page">main</action>
2172 </object>
2173
2174 <object type="template" name="footer" />
2175 </page>
2176
2177 <page name="usb_mount">
2178 <object type="template" name="header" />
2179
2180 <object type="text" color="%text_color%">
2181 <font resource="font" />
2182 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2183 <text>USB Storage Mounted</text>
2184 </object>
2185
2186 <object type="text" color="%text_color%">
2187 <placement x="%col1_x%" y="%row1_text_y%" />
2188 <font resource="font" />
2189 <text>Be sure to safely remove your device</text>
2190 </object>
2191
2192 <object type="text" color="%text_color%">
2193 <placement x="%col1_x%" y="%row2_text_y%" />
2194 <font resource="font" />
2195 <text>from your computer before unmounting!</text>
2196 </object>
2197
2198 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002199 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002200 <placement x="%col1_x%" y="%row3_y%" />
2201 <font resource="font" color="%button_text_color%" />
2202 <text>Unmount</text>
2203 <image resource="main_button" />
2204 <action function="page">usb_umount</action>
2205 </object>
2206
2207 <object type="action">
2208 <action function="mount">usb</action>
2209 </object>
2210
2211 <object type="template" name="footer" />
2212 </page>
2213
2214 <page name="usb_umount">
2215 <object type="action">
2216 <action function="unmount">usb</action>
2217 </object>
2218
2219 <object type="action">
2220 <action function="page">mount</action>
2221 </object>
2222 </page>
2223
2224 <page name="reboot">
2225 <object type="template" name="header" />
2226
2227 <object type="text" color="%text_color%">
2228 <font resource="font" />
2229 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2230 <text>Reboot Menu</text>
2231 </object>
2232
2233 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002234 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002235 <condition var1="tw_reboot_system" var2="1" />
2236 <placement x="%col1_x%" y="%row1_y%" />
2237 <font resource="font" color="%button_text_color%" />
2238 <text>System</text>
2239 <image resource="main_button" />
2240 <actions>
2241 <action function="set">tw_back=reboot</action>
2242 <action function="set">tw_action=reboot</action>
2243 <action function="set">tw_action_param=system</action>
2244 <action function="set">tw_has_action2=0</action>
2245 <action function="set">tw_text1=No OS Installed! Are you</action>
2246 <action function="set">tw_text2=sure you wish to reboot?</action>
2247 <action function="set">tw_action_text1=Rebooting...</action>
2248 <action function="set">tw_complete_text1=Rebooting...</action>
2249 <action function="set">tw_slider_text=Swipe to Reboot</action>
2250 <action function="page">rebootcheck</action>
2251 </actions>
2252 </object>
2253
2254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002256 <condition var1="tw_reboot_poweroff" var2="1" />
2257 <placement x="%col2_x%" y="%row1_y%" />
2258 <font resource="font" color="%button_text_color%" />
2259 <text>Power Off</text>
2260 <image resource="main_button" />
2261 <actions>
2262 <action function="set">tw_back=reboot</action>
2263 <action function="set">tw_action=reboot</action>
2264 <action function="set">tw_action_param=poweroff</action>
2265 <action function="set">tw_has_action2=0</action>
2266 <action function="set">tw_text1=No OS Installed! Are you</action>
2267 <action function="set">tw_text2=sure you wish to power off?</action>
2268 <action function="set">tw_action_text1=Turning Off...</action>
2269 <action function="set">tw_complete_text1=Turning Off...</action>
2270 <action function="set">tw_slider_text=Swipe to Power Off</action>
2271 <action function="page">rebootcheck</action>
2272 </actions>
2273 </object>
2274
2275 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002276 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002277 <condition var1="tw_reboot_recovery" var2="1" />
2278 <placement x="%col1_x%" y="%row2_y%" />
2279 <font resource="font" color="%button_text_color%" />
2280 <text>Recovery</text>
2281 <image resource="main_button" />
2282 <actions>
2283 <action function="set">tw_back=reboot</action>
2284 <action function="set">tw_action=reboot</action>
2285 <action function="set">tw_action_param=recovery</action>
2286 <action function="set">tw_has_action2=0</action>
2287 <action function="set">tw_text1=No OS Installed! Are you</action>
2288 <action function="set">tw_text2=sure you wish to reboot?</action>
2289 <action function="set">tw_action_text1=Rebooting...</action>
2290 <action function="set">tw_complete_text1=Rebooting...</action>
2291 <action function="set">tw_slider_text=Swipe to Reboot</action>
2292 <action function="page">rebootcheck</action>
2293 </actions>
2294 </object>
2295
2296 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002297 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002298 <condition var1="tw_reboot_bootloader" var2="1" />
2299 <placement x="%col2_x%" y="%row2_y%" />
2300 <font resource="font" color="%button_text_color%" />
2301 <text>Bootloader</text>
2302 <image resource="main_button" />
2303 <actions>
2304 <action function="set">tw_back=reboot</action>
2305 <action function="set">tw_action=reboot</action>
2306 <action function="set">tw_action_param=bootloader</action>
2307 <action function="set">tw_has_action2=0</action>
2308 <action function="set">tw_text1=No OS Installed! Are you</action>
2309 <action function="set">tw_text2=sure you wish to reboot?</action>
2310 <action function="set">tw_action_text1=Rebooting...</action>
2311 <action function="set">tw_complete_text1=Rebooting...</action>
2312 <action function="set">tw_slider_text=Swipe to Reboot</action>
2313 <action function="page">rebootcheck</action>
2314 </actions>
2315 </object>
2316
2317 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002318 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002319 <condition var1="tw_download_mode" var2="1" />
2320 <placement x="%col1_x%" y="%row3_y%" />
2321 <font resource="font" color="%button_text_color%" />
2322 <text>Download</text>
2323 <image resource="main_button" />
2324 <actions>
2325 <action function="set">tw_back=reboot</action>
2326 <action function="set">tw_action=reboot</action>
2327 <action function="set">tw_action_param=download</action>
2328 <action function="set">tw_has_action2=0</action>
2329 <action function="set">tw_text1=No OS Installed! Are you</action>
2330 <action function="set">tw_text2=sure you wish to reboot?</action>
2331 <action function="set">tw_action_text1=Rebooting...</action>
2332 <action function="set">tw_complete_text1=Rebooting...</action>
2333 <action function="set">tw_slider_text=Swipe to Reboot</action>
2334 <action function="page">rebootcheck</action>
2335 </actions>
2336 </object>
2337
2338 <object type="action">
2339 <touch key="home" />
2340 <action function="page">main</action>
2341 </object>
2342
2343 <object type="action">
2344 <touch key="back" />
2345 <action function="page">main</action>
2346 </object>
2347
2348 <object type="template" name="footer" />
2349 </page>
2350
2351 <page name="settings">
2352 <object type="template" name="header" />
2353
2354 <object type="text" color="%text_color%">
2355 <font resource="font" />
2356 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2357 <text>Settings</text>
2358 </object>
2359
2360 <object type="checkbox">
2361 <placement x="%col1_x%" y="%row1_text_y%" />
2362 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002363 <text>Zip file signature verification.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002364 <data variable="tw_signed_zip_verify" />
2365 <image checked="checkbox_true" unchecked="checkbox_false" />
2366 </object>
2367
2368 <object type="checkbox">
2369 <placement x="%col1_x%" y="%row2_text_y%" />
2370 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002371 <text>Use rm -rf instead of formatting.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002372 <data variable="tw_rm_rf" />
2373 <image checked="checkbox_true" unchecked="checkbox_false" />
2374 </object>
2375
2376 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002377 <placement x="%col1_x%" y="%row3_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002378 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002379 <text>Skip MD5 generation during backup.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002380 <data variable="tw_skip_md5_generate" />
2381 <image checked="checkbox_true" unchecked="checkbox_false" />
2382 </object>
2383
2384 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002385 <placement x="%col1_x%" y="%row4_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002386 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002387 <text>Enable MD5 verification of backup files.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002388 <data variable="tw_skip_md5_check" />
2389 <image checked="checkbox_true" unchecked="checkbox_false" />
2390 </object>
2391
2392 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002393 <placement x="%col1_x%" y="%row5_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002394 <font resource="font" color="%text_color%" />
Dees_Troy82111022013-02-21 21:13:09 +00002395 <text>Use Military Time.</text>
2396 <data variable="tw_military_time" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002397 <image checked="checkbox_true" unchecked="checkbox_false" />
2398 </object>
2399
2400 <object type="checkbox">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002401 <placement x="%col1_x%" y="%row6_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002402 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002403 <text>Simulate actions for theme testing.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002404 <data variable="tw_simulate_actions" />
2405 <image checked="checkbox_true" unchecked="checkbox_false" />
2406 </object>
2407
2408 <object type="checkbox">
2409 <condition var1="tw_simulate_actions" var2="1" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002410 <placement x="%col1_x%" y="%row7_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002411 <font resource="font" color="%text_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002412 <text>Simulate failure for actions.</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002413 <data variable="tw_simulate_fail" />
2414 <image checked="checkbox_true" unchecked="checkbox_false" />
2415 </object>
2416
2417 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002418 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002419 <placement x="%col1_x%" y="%row3_y%" />
2420 <font resource="font" color="%button_text_color%" />
2421 <text>Time Zone</text>
2422 <image resource="main_button" />
2423 <action function="page">timezone</action>
2424 </object>
2425
2426 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002427 <highlight color="%highlight_color%" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002428 <placement x="%col2_x%" y="%row3_y%" />
2429 <font resource="font" color="%button_text_color%" />
2430 <text>Screen</text>
2431 <image resource="main_button" />
2432 <action function="page">screen</action>
2433 </object>
2434
2435 <object type="button">
Dees_Troy51a0e822012-09-05 15:24:24 -04002436 <placement x="%col_center_x%" y="%row4_y%" />
2437 <font resource="font" color="%button_text_color%" />
2438 <text>Restore Defaults</text>
2439 <image resource="main_button" />
2440 <action function="restoredefaultsettings"></action>
2441 </object>
2442
2443 <object type="action">
2444 <touch key="home" />
2445 <action function="page">main</action>
2446 </object>
2447
2448 <object type="action">
2449 <touch key="back" />
2450 <action function="page">main</action>
2451 </object>
2452
2453 <object type="template" name="footer" />
2454 </page>
2455
2456 <page name="timezone">
2457 <object type="template" name="header" />
2458
Dees_Troy51a0e822012-09-05 15:24:24 -04002459 <object type="listbox">
Dees_Troyeead9852013-02-15 14:31:06 -06002460 <highlight color="%fileselector_highlight_color%" />
2461 <placement x="%listbox_x%" y="%row1_header_y%" w="%listbox_width%" h="%listbox_tz_height%" />
2462 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01002463 <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 -06002464 <text>Select Time Zone:</text>
Dees_Troy51a0e822012-09-05 15:24:24 -04002465 <icon selected="radio_true" unselected="radio_false" />
Dees_Troyeead9852013-02-15 14:31:06 -06002466 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002467 <background color="%listbox_background%" />
Dees_Troyeead9852013-02-15 14:31:06 -06002468 <font resource="font" spacing="%listbox_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002469 <data name="tw_time_zone_guisel" />
2470 <listitem name="(UTC -11) Samoa, Midway Island">BST11;BDT</listitem>
2471 <listitem name="(UTC -10) Hawaii">HST10;HDT</listitem>
2472 <listitem name="(UTC -9) Alaska">AST9;ADT</listitem>
2473 <listitem name="(UTC -8) Pacific Time">PST8;PDT</listitem>
2474 <listitem name="(UTC -7) Mountain Time">MST7;MDT</listitem>
2475 <listitem name="(UTC -6) Central Time">CST6;CDT</listitem>
2476 <listitem name="(UTC -5) Eastern Time">EST5;EDT</listitem>
2477 <listitem name="(UTC -4) Atlantic Time">AST4;ADT</listitem>
2478 <listitem name="(UTC -3) Brazil, Buenos Aires">GRNLNDST3;GRNLNDDT</listitem>
2479 <listitem name="(UTC -2) Mid-Atlantic">FALKST2;FALKDT</listitem>
2480 <listitem name="(UTC -1) Azores, Cape Verde">AZOREST1;AZOREDT</listitem>
2481 <listitem name="(UTC 0) London, Dublin, Lisbon">GMT0;BST</listitem>
2482 <listitem name="(UTC +1) Berlin, Brussels, Paris">NFT-1;DFT</listitem>
2483 <listitem name="(UTC +2) Athens, Istanbul, South Africa">WET-2;WET</listitem>
2484 <listitem name="(UTC +3) Moscow, Baghdad">SAUST-3;SAUDT</listitem>
2485 <listitem name="(UTC +4) Abu Dhabi, Tbilisi, Muscat">WST-4;WDT</listitem>
2486 <listitem name="(UTC +5) Yekaterinburg, Islamabad">PAKST-5;PAKDT</listitem>
2487 <listitem name="(UTC +6) Almaty, Dhaka, Colombo">TASHST-6;TASHDT</listitem>
2488 <listitem name="(UTC +7) Bangkok, Hanoi, Jakarta">THAIST-7;THAIDT</listitem>
2489 <listitem name="(UTC +8) Beijing, Singapore, Hong Kong">TAIST-8;TAIDT</listitem>
2490 <listitem name="(UTC +9) Tokyo, Seoul, Yakutsk">JST-9;JSTDT</listitem>
2491 <listitem name="(UTC +10) Eastern Australia, Guam">EET-10;EETDT</listitem>
2492 <listitem name="(UTC +11) Vladivostok, Solomon Islands">MET-11;METDT</listitem>
2493 <listitem name="(UTC +12) Auckland, Wellington, Fiji">NZST-12;NZDT</listitem>
2494 </object>
2495
2496 <object type="checkbox">
Dees_Troyb46a6842012-09-25 11:06:46 -04002497 <placement x="%col1_x%" y="%row_dst_text_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002498 <font resource="font" color="%text_color%" />
2499 <text>Do you use daylight savings time (DST)?</text>
2500 <data variable="tw_time_zone_guidst" />
2501 <image checked="checkbox_true" unchecked="checkbox_false" />
2502 </object>
2503
2504 <object type="text" color="%text_color%">
2505 <font resource="font" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002506 <placement x="%center_x%" y="%row_offset_text_y%" placement="5" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002507 <text>Offset (usually 0): %tw_time_zone_guioffset%</text>
2508 </object>
2509
2510 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002511 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002512 <placement x="%col1_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002513 <font resource="font" color="%button_text_color%" />
2514 <text>None</text>
2515 <image resource="medium_button" />
2516 <action function="set">tw_time_zone_guioffset=0</action>
2517 </object>
2518
2519 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002520 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002521 <placement x="%col2_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002522 <font resource="font" color="%button_text_color%" />
2523 <text>15</text>
2524 <image resource="medium_button" />
2525 <action function="set">tw_time_zone_guioffset=15</action>
2526 </object>
2527
2528 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002529 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002530 <placement x="%col3_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002531 <font resource="font" color="%button_text_color%" />
2532 <text>30</text>
2533 <image resource="medium_button" />
2534 <action function="set">tw_time_zone_guioffset=30</action>
2535 </object>
2536
2537 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002538 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002539 <placement x="%col4_medium_x%" y="%row_offset_medium_y%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002540 <font resource="font" color="%button_text_color%" />
2541 <text>45</text>
2542 <image resource="medium_button" />
2543 <action function="set">tw_time_zone_guioffset=45</action>
2544 </object>
2545
2546 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002547 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002548 <placement x="%col_center_x%" y="%tz_set_y%" />
2549 <font resource="font" color="%button_text_color%" />
2550 <text>Set Time Zone</text>
2551 <image resource="main_button" />
2552 <action function="setguitimezone"></action>
2553 </object>
2554
2555 <object type="text" color="%text_color%">
2556 <font resource="font" />
2557 <placement x="%center_x%" y="%tz_current_y%" placement="5" />
2558 <text>Current Time Zone: %tw_time_zone%</text>
2559 </object>
2560
2561 <object type="action">
2562 <touch key="home" />
2563 <action function="page">main</action>
2564 </object>
2565
2566 <object type="action">
2567 <touch key="back" />
2568 <action function="page">settings</action>
2569 </object>
2570
2571 <object type="template" name="footer" />
2572 </page>
2573
Dees_Troy2f9117a2013-02-17 19:52:09 -06002574 <page name="screen">
2575 <object type="template" name="header" />
2576
2577 <object type="text" color="%text_color%">
2578 <font resource="font" />
2579 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2580 <text>Screen Settings</text>
2581 </object>
2582
Dees_Troy2f9117a2013-02-17 19:52:09 -06002583 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002584 <placement x="%col1_x%" y="%row2_text_y%" />
2585 <font resource="font" color="%text_color%" />
2586 <condition var1="tw_screen_timeout_secs" op="=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002587 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002588 <text>Enable screen timeout.</text>
2589 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002590 <action function="set">tw_screen_timeout_secs=60</action>
2591 </object>
2592
2593 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002594 <placement x="%col1_x%" y="%row2_text_y%" />
2595 <font resource="font" color="%text_color%" />
2596 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002597 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002598 <text>Enable screen timeout.</text>
2599 <image resource="checkbox_true" />
2600 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002601 </object>
2602
Vojtech Bocek85932342013-04-01 22:11:33 +02002603 <object type="slidervalue">
2604 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
Ricardo Gomezc9ecd442013-07-05 16:13:52 -07002605 <condition var1="tw_no_screen_timeout" op="!=" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002606 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2607 <font resource="font" color="%text_color%" />
2608 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2609 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2610 <text>Screen timeout in seconds:</text>
2611 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 </object>
2613
Vojtech Bocek85932342013-04-01 22:11:33 +02002614 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002615 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002616 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2617 <font resource="font" color="%text_color%" />
2618 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2619 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2620 <text>Brightness: %tw_brightness_pct%%</text>
2621 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002622 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002623 <action function="set">tw_brightness=%tw_brightness_max%</action>
2624 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2625 <action function="compute">tw_brightness/100</action>
2626 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002627 </actions>
2628 </object>
2629
2630 <object type="action">
2631 <touch key="home" />
2632 <action function="page">main</action>
2633 </object>
2634
2635 <object type="action">
2636 <touch key="back" />
2637 <action function="page">settings</action>
2638 </object>
2639
2640 <object type="template" name="footer" />
2641 </page>
2642
Dees_Troy51a0e822012-09-05 15:24:24 -04002643 <page name="advanced">
2644 <object type="template" name="header" />
2645
2646 <object type="text" color="%text_color%">
2647 <font resource="font" />
2648 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2649 <text>Advanced</text>
2650 </object>
2651
2652 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002653 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002654 <placement x="%col1_x%" y="%row1_y%" />
2655 <font resource="font" color="%button_text_color%" />
2656 <text>Copy Log to SD</text>
2657 <image resource="main_button" />
2658 <actions>
2659 <action function="set">tw_back=advanced</action>
2660 <action function="set">tw_action=copylog</action>
2661 <action function="set">tw_text1=Copy Log to SD Card?</action>
2662 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2663 <action function="set">tw_complete_text1=Log Copy Complete</action>
2664 <action function="set">tw_slider_text=Swipe to Confirm</action>
2665 <action function="page">confirm_action</action>
2666 </actions>
2667 </object>
2668
2669 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002670 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002671 <placement x="%col2_x%" y="%row1_y%" />
2672 <font resource="font" color="%button_text_color%" />
2673 <text>Fix Permissions</text>
2674 <image resource="main_button" />
2675 <actions>
2676 <action function="set">tw_back=advanced</action>
2677 <action function="set">tw_action=fixpermissions</action>
2678 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002679 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002680 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2681 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002682 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002683 <action function="page">confirm_action</action>
2684 </actions>
2685 </object>
2686
2687 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002688 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002689 <condition var1="tw_allow_partition_sdcard" var2="1" />
2690 <placement x="%col1_x%" y="%row2_y%" />
2691 <font resource="font" color="%button_text_color%" />
2692 <text>Partition SD Card</text>
2693 <image resource="main_button" />
2694 <action function="page">partsdcard</action>
2695 </object>
2696
2697 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002698 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002699 <placement x="%col2_x%" y="%row2_y%" />
2700 <font resource="font" color="%button_text_color%" />
2701 <text>File Manager</text>
2702 <image resource="main_button" />
2703 <action function="page">filemanagerlist</action>
2704 </object>
2705
2706 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002707 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002708 <placement x="%col1_x%" y="%row3_y%" />
2709 <font resource="font" color="%button_text_color%" />
2710 <text>Terminal Command</text>
2711 <image resource="main_button" />
2712 <action function="page">terminalfolder</action>
2713 </object>
2714
2715 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002716 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002717 <placement x="%col2_x%" y="%row3_y%" />
2718 <font resource="font" color="%button_text_color%" />
2719 <text>Reload Theme</text>
2720 <image resource="main_button" />
2721 <action function="reload"></action>
2722 </object>
2723
2724 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002725 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002726 <placement x="%col1_x%" y="%row4_y%" />
2727 <font resource="font" color="%button_text_color%" />
2728 <text>ADB Sideload</text>
2729 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002730 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002731 </object>
2732
2733 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002734 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002735 <condition var1="tw_show_dumlock" var2="1" />
2736 <placement x="%col2_x%" y="%row4_y%" />
2737 <font resource="font" color="%button_text_color%" />
2738 <text>HTC Dumlock</text>
2739 <image resource="main_button" />
2740 <action function="page">htcdumlock</action>
2741 </object>
2742
2743 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002744 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002745 <condition var1="tw_has_injecttwrp" var2="1" />
2746 <placement x="%col2_x%" y="%row4_y%" />
2747 <font resource="font" color="%button_text_color%" />
2748 <text>Re-Inject TWRP</text>
2749 <image resource="main_button" />
2750 <actions>
2751 <action function="set">tw_back=advanced</action>
2752 <action function="set">tw_action=reinjecttwrp</action>
2753 <action function="set">tw_text1=Re-Inject TWRP?</action>
2754 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2755 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2756 <action function="set">tw_slider_text=Swipe to Confirm</action>
2757 <action function="page">confirm_action</action>
2758 </actions>
2759 </object>
2760
2761 <object type="action">
2762 <touch key="home" />
2763 <action function="page">main</action>
2764 </object>
2765
2766 <object type="action">
2767 <touch key="back" />
2768 <action function="page">main</action>
2769 </object>
2770
2771 <object type="template" name="footer" />
2772 </page>
2773
2774 <page name="partsdcard">
2775 <object type="template" name="header" />
2776
2777 <object type="text" color="%text_color%">
2778 <font resource="font" />
2779 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2780 <text>Partition SD Card</text>
2781 </object>
2782
2783 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002784 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002785 <placement x="%col1_x%" y="%row1_y%" />
2786 <font resource="font" color="%button_text_color%" />
2787 <text></text>
2788 <image resource="minus_button" />
2789 <action function="addsubtract">tw_sdext_size-128</action>
2790 </object>
2791
2792 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002793 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002794 <placement x="%sd_plus_x%" y="%row1_y%" />
2795 <font resource="font" color="%button_text_color%" />
2796 <text></text>
2797 <image resource="plus_button" />
2798 <action function="addsubtract">tw_sdext_size+128</action>
2799 </object>
2800
2801 <object type="text" color="%text_color%">
2802 <font resource="font" />
2803 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2804 <text>EXT Size: %tw_sdext_size%</text>
2805 </object>
2806
2807 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002808 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002809 <placement x="%col1_x%" y="%sdswap_button_y%" />
2810 <font resource="font" color="%button_text_color%" />
2811 <text></text>
2812 <image resource="minus_button" />
2813 <action function="addsubtract">tw_swap_size-32</action>
2814 </object>
2815
2816 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002817 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002818 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2819 <font resource="font" color="%button_text_color%" />
2820 <text></text>
2821 <image resource="plus_button" />
2822 <action function="addsubtract">tw_swap_size+32</action>
2823 </object>
2824
2825 <object type="text" color="%text_color%">
2826 <font resource="font" />
2827 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2828 <text>Swap Size: %tw_swap_size%</text>
2829 </object>
2830
2831 <object type="text" color="%text_color%">
2832 <font resource="font" />
2833 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2834 <text>File system: %tw_sdpart_file_system%</text>
2835 </object>
2836
2837 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002838 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002839 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2840 <font resource="font" color="%button_text_color%" />
2841 <text>EXT3</text>
2842 <image resource="main_button" />
2843 <action function="set">tw_sdpart_file_system=ext3</action>
2844 </object>
2845
2846 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002847 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002848 <condition var1="tw_sdext_disable_ext4" var2="0" />
2849 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2850 <font resource="font" color="%button_text_color%" />
2851 <text>EXT4</text>
2852 <image resource="main_button" />
2853 <action function="set">tw_sdpart_file_system=ext4</action>
2854 </object>
2855
2856 <object type="text" color="%text_color%">
2857 <font resource="font" />
2858 <placement x="%col1_x%" y="%row12_text_y%" />
2859 <text>You will lose all files on your SD card!</text>
2860 </object>
2861
2862 <object type="text" color="%text_color%">
2863 <font resource="font" />
2864 <placement x="%col1_x%" y="%row13_text_y%" />
2865 <text>This action cannot be undone!</text>
2866 </object>
2867
2868 <object type="slider">
2869 <placement x="%slider_x%" y="%slider_y%" />
2870 <resource base="slider" used="slider-used" touch="slider-touch" />
2871 <action function="page">partsdcardaction</action>
2872 <actions>
2873 <action function="set">tw_back=partsdcard</action>
2874 <action function="set">tw_action=partitionsd</action>
2875 <action function="set">tw_has_action2=1</action>
2876 <action function="set">tw_action2=set</action>
2877 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2878 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2879 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002880 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002881 <action function="page">action_page</action>
2882 </actions>
2883 </object>
2884
2885 <object type="text" color="%text_color%">
2886 <font resource="font" />
2887 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2888 <text>Swipe to Partition</text>
2889 </object>
2890
2891 <object type="action">
2892 <touch key="home" />
2893 <action function="page">main</action>
2894 </object>
2895
2896 <object type="action">
2897 <touch key="back" />
2898 <action function="page">advanced</action>
2899 </object>
2900
2901 <object type="template" name="footer" />
2902 </page>
2903
2904 <page name="htcdumlock">
2905 <object type="template" name="header" />
2906
2907 <object type="text" color="%text_color%">
2908 <font resource="font" />
2909 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2910 <text>HTC Dumlock</text>
2911 </object>
2912
2913 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002914 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002915 <condition var1="tw_show_dumlock" var2="1" />
2916 <placement x="%col1_x%" y="%row1_y%" />
2917 <font resource="font" color="%button_text_color%" />
2918 <text>Restore Original Boot</text>
2919 <image resource="main_button" />
2920 <actions>
2921 <action function="set">tw_back=htcdumlock</action>
2922 <action function="set">tw_action=htcdumlockrestoreboot</action>
2923 <action function="set">tw_text1=Restore original boot image?</action>
2924 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2925 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2926 <action function="set">tw_slider_text=Swipe to Confirm</action>
2927 <action function="page">confirm_action</action>
2928 </actions>
2929 </object>
2930
2931 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002932 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002933 <condition var1="tw_show_dumlock" var2="1" />
2934 <placement x="%col2_x%" y="%row1_y%" />
2935 <font resource="font" color="%button_text_color%" />
2936 <text>Reflash Recovery</text>
2937 <image resource="main_button" />
2938 <actions>
2939 <action function="set">tw_back=htcdumlock</action>
2940 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2941 <action function="set">tw_text1=Reflash recovery to boot?</action>
2942 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2943 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2944 <action function="set">tw_slider_text=Swipe to Confirm</action>
2945 <action function="page">confirm_action</action>
2946 </actions>
2947 </object>
2948
2949 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002950 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002951 <condition var1="tw_show_dumlock" var2="1" />
2952 <placement x="%col1_x%" y="%row2_y%" />
2953 <font resource="font" color="%button_text_color%" />
2954 <text>Install HTC Dumlock</text>
2955 <image resource="main_button" />
2956 <actions>
2957 <action function="set">tw_back=htcdumlock</action>
2958 <action function="set">tw_action=installhtcdumlock</action>
2959 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2960 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2961 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2962 <action function="set">tw_slider_text=Swipe to Confirm</action>
2963 <action function="page">confirm_action</action>
2964 </actions>
2965 </object>
2966
2967 <object type="action">
2968 <touch key="home" />
2969 <action function="page">main</action>
2970 </object>
2971
2972 <object type="action">
2973 <touch key="back" />
2974 <action function="page">advanced</action>
2975 </object>
2976
2977 <object type="template" name="footer" />
2978 </page>
2979
2980 <page name="lock">
2981 <background color="#000000A0" />
2982
2983 <object type="image">
2984 <image resource="unlock-icon" />
2985 <placement x="%lock_x%" y="%lock_y%" />
2986 </object>
2987
2988 <object type="slider">
2989 <placement x="%slider_x%" y="%slider_y%" />
2990 <resource base="slider" used="slider-used" touch="slider-touch" />
2991 <action function="overlay"></action>
2992 </object>
2993
2994 <object type="text" color="%text_color%">
2995 <font resource="font" />
2996 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2997 <text>Swipe to Unlock</text>
2998 </object>
2999 </page>
3000
3001 <page name="filemanagerlist">
3002 <object type="template" name="header" />
3003
3004 <object type="text" color="%text_color%">
3005 <font resource="font" />
3006 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3007 <text>File Manager: Select a File or Folder</text>
3008 </object>
3009
3010 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003011 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003012 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3013 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003014 <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 -04003015 <text>%tw_file_location1%</text>
3016 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3017 <sort name="tw_gui_sort_order" />
3018 <icon folder="folder_icon" file="file_icon" />
3019 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003020 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003021 <folders="1" files="1" />
3022 <path name="tw_file_location1" default="/" />
3023 <data name="tw_filename1" />
3024 <selection name="tw_selection1" />
3025 </object>
3026
3027 <object type="template" name="sort_options" />
3028
3029 <object type="action">
3030 <actions>
3031 <action function="set">tw_fm_type=File</action>
3032 <action function="set">tw_fm_isfolder=0</action>
3033 </actions>
3034 </object>
3035
3036 <object type="action">
3037 <touch key="home" />
3038 <action function="page">main</action>
3039 </object>
3040
3041 <object type="action">
3042 <touch key="back" />
3043 <action function="page">advanced</action>
3044 </object>
3045
3046 <object type="action">
3047 <condition var1="tw_filename1" op="modified" />
3048 <actions>
3049 <action function="page">filemanageroptions</action>
3050 </actions>
3051 </object>
3052
3053 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003054 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003055 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3056 <font resource="font" color="%button_text_color%" />
3057 <text>Select</text>
3058 <image resource="medium_button" />
3059 <actions>
3060 <action function="set">tw_filename1=tw_file_location1</action>
3061 <action function="set">tw_fm_isfolder=1</action>
3062 <action function="set">tw_fm_type=Folder</action>
3063 <action function="page">filemanageroptions</action>
3064 </actions>
3065 </object>
3066
3067 <object type="template" name="footer" />
3068 </page>
3069
3070 <page name="filemanageroptions">
3071 <object type="template" name="header" />
3072
3073 <object type="text" color="%text_color%">
3074 <font resource="font" />
3075 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3076 <text>%tw_fm_type% Selected:</text>
3077 </object>
3078
3079 <object type="text" color="%text_color%">
3080 <font resource="font" />
3081 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3082 <text>%tw_filename1%</text>
3083 </object>
3084
3085 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003086 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003087 <condition var1="tw_fm_isfolder" var2="0" />
3088 <placement x="%col1_x%" y="%row2_y%" />
3089 <font resource="font" color="%button_text_color%" />
3090 <text>Copy File</text>
3091 <image resource="main_button" />
3092 <actions>
3093 <action function="set">tw_filemanager_command=cp</action>
3094 <action function="set">tw_fm_text1=Copying</action>
3095 <action function="page">choosedestinationfolder</action>
3096 </actions>
3097 </object>
3098
3099 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003100 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003101 <condition var1="tw_fm_isfolder" var2="1" />
3102 <placement x="%col1_x%" y="%row2_y%" />
3103 <font resource="font" color="%button_text_color%" />
3104 <text>Copy Folder</text>
3105 <image resource="main_button" />
3106 <actions>
3107 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3108 <action function="set">tw_fm_text1=Copying</action>
3109 <action function="page">choosedestinationfolder</action>
3110 </actions>
3111 </object>
3112
3113 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003114 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003115 <placement x="%col2_x%" y="%row2_y%" />
3116 <font resource="font" color="%button_text_color%" />
3117 <text>Move</text>
3118 <image resource="main_button" />
3119 <actions>
3120 <action function="set">tw_filemanager_command=mv</action>
3121 <action function="set">tw_fm_text1=Moving</action>
3122 <action function="page">choosedestinationfolder</action>
3123 </actions>
3124 </object>
3125
3126 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003127 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003128 <placement x="%col1_x%" y="%row3_y%" />
3129 <font resource="font" color="%button_text_color%" />
3130 <text>chmod 755</text>
3131 <image resource="main_button" />
3132 <actions>
3133 <action function="set">tw_filemanager_command=chmod 755</action>
3134 <action function="set">tw_fm_text1=chmod 755</action>
3135 <action function="set">tw_fm_text2=</action>
3136 <action function="set">tw_fm_text3=</action>
3137 <action function="set">tw_include_text3=0</action>
3138 <action function="set">tw_back=filemanageroptions</action>
3139 <action function="page">filemanagerconfirm</action>
3140 </actions>
3141 </object>
3142
3143 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003144 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003145 <placement x="%col2_x%" y="%row3_y%" />
3146 <font resource="font" color="%button_text_color%" />
3147 <text>chmod</text>
3148 <image resource="main_button" />
3149 <actions>
3150 <action function="set">tw_filemanager_rename=0000</action>
3151 <action function="set">tw_fm_text2=</action>
3152 <action function="set">tw_fm_text3=</action>
3153 <action function="set">tw_include_text3=0</action>
3154 <action function="set">tw_back=filemanageroptions</action>
3155 <action function="page">filemanagerchmod</action>
3156 </actions>
3157 </object>
3158
3159 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003160 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003161 <placement x="%col1_x%" y="%row4_y%" />
3162 <font resource="font" color="%button_text_color%" />
3163 <text>Delete</text>
3164 <image resource="main_button" />
3165 <actions>
3166 <action function="set">tw_filemanager_command=rm -rf</action>
3167 <action function="set">tw_fm_text1=Deleting</action>
3168 <action function="set">tw_fm_text2=</action>
3169 <action function="set">tw_fm_text3=</action>
3170 <action function="set">tw_include_text3=0</action>
3171 <action function="set">tw_back=filemanageroptions</action>
3172 <action function="page">filemanagerconfirm</action>
3173 </actions>
3174 </object>
3175
3176 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003177 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003178 <condition var1="tw_fm_isfolder" var2="0" />
3179 <placement x="%col2_x%" y="%row4_y%" />
3180 <font resource="font" color="%button_text_color%" />
3181 <text>Rename File</text>
3182 <image resource="main_button" />
3183 <actions>
3184 <action function="set">tw_filemanager_rename=tw_selection1</action>
3185 <action function="set">tw_fm_text1=Renaming</action>
3186 <action function="set">tw_filemanager_command=mv</action>
3187 <action function="page">filemanagerrenamefile</action>
3188 </actions>
3189 </object>
3190
3191 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003192 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003193 <condition var1="tw_fm_isfolder" var2="1" />
3194 <placement x="%col2_x%" y="%row4_y%" />
3195 <font resource="font" color="%button_text_color%" />
3196 <text>Rename Folder</text>
3197 <image resource="main_button" />
3198 <actions>
3199 <action function="set">tw_filemanager_rename=tw_selection1</action>
3200 <action function="set">tw_fm_text1=Renaming</action>
3201 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3202 <action function="page">filemanagerrenamefolder</action>
3203 </actions>
3204 </object>
3205
3206 <object type="action">
3207 <touch key="home" />
3208 <action function="page">main</action>
3209 </object>
3210
3211 <object type="action">
3212 <touch key="back" />
3213 <action function="page">filemanagerlist</action>
3214 </object>
3215
3216 <object type="template" name="footer" />
3217 </page>
3218
3219 <page name="choosedestinationfolder">
3220 <object type="template" name="header" />
3221
3222 <object type="text" color="%text_color%">
3223 <font resource="font" />
3224 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3225 <text>Browse to Destination Folder & Press Select</text>
3226 </object>
3227
3228 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003229 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003230 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3231 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003232 <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 -04003233 <text>%tw_file_location2%</text>
3234 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3235 <sort name="tw_gui_sort_order" />
3236 <icon folder="folder_icon" file="file_icon" />
3237 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003238 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003239 <filter folders="1" files="0" />
3240 <path name="tw_file_location2" default="/" />
3241 <data name="tw_filename2" />
3242 <selection name="tw_selection2" />
3243 </object>
3244
3245 <object type="template" name="sort_options" />
3246
3247 <object type="action">
3248 <touch key="home" />
3249 <action function="page">main</action>
3250 </object>
3251
3252 <object type="action">
3253 <touch key="back" />
3254 <action function="page">filemanageroptions</action>
3255 </object>
3256
3257 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003258 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003259 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3260 <font resource="font" color="%button_text_color%" />
3261 <text>Select</text>
3262 <image resource="medium_button" />
3263 <actions>
3264 <action function="set">tw_fm_text2=to</action>
3265 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3266 <action function="set">tw_include_text3=1</action>
3267 <action function="set">tw_back=filemanageroptions</action>
3268 <action function="page">filemanagerconfirm</action>
3269 </actions>
3270 </object>
3271
3272 <object type="template" name="footer" />
3273 </page>
3274
3275 <page name="filemanagerrenamefile">
3276 <object type="template" name="header" />
3277
3278 <object type="text" color="%text_color%">
3279 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3280 <font resource="font" />
3281 <text>Please Enter a New %tw_fm_type% Name</text>
3282 </object>
3283
3284 <object type="input">
3285 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3286 <background color="%input_background_color%" />
3287 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3288 <font resource="font" color="%text_color%" />
3289 <text>%tw_filemanager_rename%</text>
3290 <data name="tw_filemanager_rename" />
3291 <restrict minlen="1" maxlen="128" />
3292 <actions>
3293 <action function="set">tw_fm_text2=to</action>
3294 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3295 <action function="set">tw_include_text3=1</action>
3296 <action function="set">tw_back=filemanageroptions</action>
3297 <action function="page">filemanagerconfirm</action>
3298 </actions>
3299 </object>
3300
3301 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003302 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003303 <placement x="%col_center_x%" y="%row2_y%" />
3304 <font resource="font" color="%button_text_color%" />
3305 <text>Cancel</text>
3306 <image resource="main_button" />
3307 <action function="page">filemanageroptions</action>
3308 </object>
3309
3310 <object type="template" name="keyboardtemplate" />
3311
3312 <object type="action">
3313 <touch key="home" />
3314 <action function="page">main</action>
3315 </object>
3316
3317 <object type="action">
3318 <touch key="back" />
3319 <action function="page">filemanageroptions</action>
3320 </object>
3321
3322 <object type="template" name="footer" />
3323 </page>
3324
3325 <page name="filemanagerrenamefolder">
3326 <object type="template" name="header" />
3327
3328 <object type="text" color="%text_color%">
3329 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3330 <font resource="font" />
3331 <text>Please Enter a New %tw_fm_type% Name</text>
3332 </object>
3333
3334 <object type="input">
3335 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3336 <background color="%input_background_color%" />
3337 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3338 <font resource="font" color="%text_color%" />
3339 <text>%tw_filemanager_rename%</text>
3340 <data name="tw_filemanager_rename" />
3341 <restrict minlen="1" maxlen="128" />
3342 <actions>
3343 <action function="set">tw_fm_text2=to</action>
3344 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3345 <action function="set">tw_include_text3=1</action>
3346 <action function="set">tw_back=filemanageroptions</action>
3347 <action function="page">filemanagerconfirm</action>
3348 </actions>
3349 </object>
3350
3351 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003352 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003353 <placement x="%col_center_x%" y="%row2_y%" />
3354 <font resource="font" color="%button_text_color%" />
3355 <text>Cancel</text>
3356 <image resource="main_button" />
3357 <action function="page">filemanageroptions</action>
3358 </object>
3359
3360 <object type="template" name="keyboardtemplate" />
3361
3362 <object type="action">
3363 <touch key="home" />
3364 <action function="page">main</action>
3365 </object>
3366
3367 <object type="action">
3368 <touch key="back" />
3369 <action function="page">filemanageroptions</action>
3370 </object>
3371
3372 <object type="template" name="footer" />
3373 </page>
3374
3375 <page name="filemanagerchmod">
3376 <object type="template" name="header" />
3377
3378 <object type="text" color="%text_color%">
3379 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3380 <font resource="font" />
3381 <text>Please Enter New Permissions</text>
3382 </object>
3383
3384 <object type="input">
3385 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3386 <background color="%input_background_color%" />
3387 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3388 <font resource="font" color="%text_color%" />
3389 <text>%tw_filemanager_rename%</text>
3390 <data name="tw_filemanager_rename" />
3391 <restrict minlen="3" maxlen="4" allow="0123456789" />
3392 <actions>
3393 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3394 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3395 <action function="set">tw_back=filemanageroptions</action>
3396 <action function="page">filemanagerconfirm</action>
3397 </actions>
3398 </object>
3399
3400 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003401 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003402 <placement x="%col_center_x%" y="%row2_y%" />
3403 <font resource="font" color="%button_text_color%" />
3404 <text>Cancel</text>
3405 <image resource="main_button" />
3406 <action function="page">filemanageroptions</action>
3407 </object>
3408
3409 <object type="template" name="keyboardtemplate" />
3410
3411 <object type="action">
3412 <touch key="home" />
3413 <action function="page">main</action>
3414 </object>
3415
3416 <object type="action">
3417 <touch key="back" />
3418 <action function="page">filemanageroptions</action>
3419 </object>
3420
3421 <object type="template" name="footer" />
3422 </page>
3423
3424 <page name="filemanagerconfirm">
3425 <object type="template" name="header" />
3426
3427 <object type="text" color="%text_color%">
3428 <font resource="font" />
3429 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3430 <text>%tw_fm_text1%</text>
3431 </object>
3432
3433 <object type="text" color="%text_color%">
3434 <font resource="font" />
3435 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3436 <text>%tw_filename1%</text>
3437 </object>
3438
3439 <object type="text" color="%text_color%">
3440 <font resource="font" />
3441 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3442 <text>%tw_fm_text2%</text>
3443 </object>
3444
3445 <object type="text" color="%text_color%">
3446 <font resource="font" />
3447 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3448 <text>%tw_fm_text3%</text>
3449 </object>
3450
3451 <object type="text" color="%text_color%">
3452 <font resource="font" />
3453 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3454 <text>Press back button to cancel.</text>
3455 </object>
3456
3457 <object type="slider">
3458 <placement x="%slider_x%" y="%slider_y%" />
3459 <resource base="slider" used="slider-used" touch="slider-touch" />
3460 <action function="page">filemanageracction</action>
3461 </object>
3462
3463 <object type="text" color="%text_color%">
3464 <font resource="font" />
3465 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3466 <text>Swipe to Confirm</text>
3467 </object>
3468
3469 <object type="action">
3470 <touch key="back" />
3471 <action function="page">%tw_back%</action>
3472 </object>
3473
3474 <object type="action">
3475 <touch key="home" />
3476 <action function="page">main</action>
3477 </object>
3478
3479 <object type="template" name="footer" />
3480 </page>
3481
3482 <page name="filemanageracction">
3483 <object type="template" name="header" />
3484
3485 <object type="text" color="%text_color%">
3486
3487 <font resource="font" />
3488 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3489 <text>%tw_fm_text1%</text>
3490 </object>
3491
3492 <object type="template" name="action_page_console" />
3493
3494 <object type="template" name="progress_bar" />
3495
3496 <object type="action">
3497 <conditions>
3498 <condition var1="tw_operation_state" var2="1" />
3499 <condition var1="tw_operation_status" var2="0" />
3500 </conditions>
3501 <actions>
3502 <action function="set">tw_back=filemanagerlist</action>
3503 <action function="set">tw_complete_text1=File Operation Complete</action>
3504 <action function="page">action_complete</action>
3505 </actions>
3506 </object>
3507
3508 <object type="action">
3509 <conditions>
3510 <condition var1="tw_operation_state" var2="1" />
3511 <condition var1="tw_operation_status" op="!=" var2="0" />
3512 </conditions>
3513 <actions>
3514 <action function="set">tw_complete_text1=File Operation Complete</action>
3515 <action function="page">action_complete</action>
3516 </actions>
3517 </object>
3518
3519 <object type="action">
3520 <condition var1="tw_include_text3" var2="0" />
3521 <actions>
3522 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3523 </actions>
3524 </object>
3525
3526 <object type="action">
3527 <condition var1="tw_include_text3" var2="1" />
3528 <actions>
3529 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3530 </actions>
3531 </object>
3532 </page>
3533
3534 <page name="decrypt">
3535 <object type="template" name="header" />
3536
3537 <object type="text" color="%text_color%">
3538 <font resource="font" />
3539 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3540 <text>Please Enter Your Password</text>
3541 </object>
3542
3543 <object type="input">
3544 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3545 <background color="%input_background_color%" />
3546 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3547 <font resource="font" color="%text_color%" />
3548 <text>%tw_crypto_display%</text>
3549 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3550 <restrict minlen="1" maxlen="254" />
3551 <actions>
3552 <action function="page">trydecrypt</action>
3553 </actions>
3554 </object>
3555
3556 <object type="text" color="%text_fail_color%">
3557 <condition var1="tw_password_fail" var2="1" />
3558 <font resource="font" />
3559 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3560 <text>Password Failed, Please Try Again</text>
3561 </object>
3562
3563 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003564 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003565 <placement x="%col_center_x%" y="%row2_y%" />
3566 <font resource="font" color="%button_text_color%" />
3567 <text>Cancel</text>
3568 <image resource="main_button" />
3569 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003570 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003571 <action function="page">main</action>
3572 </actions>
3573 </object>
3574
3575 <object type="template" name="keyboardtemplate" />
3576
Dees_Troy51a0e822012-09-05 15:24:24 -04003577 <object type="template" name="footer" />
3578 </page>
3579
3580 <page name="trydecrypt">
3581 <object type="template" name="header" />
3582
3583 <object type="text" color="%text_color%">
3584 <font resource="font" />
3585 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3586 <text>Trying Decryption with Your Password</text>
3587 </object>
3588
3589 <object type="template" name="action_page_console" />
3590
3591 <object type="template" name="progress_bar" />
3592
3593 <object type="action">
3594 <action function="decrypt"></action>
3595 </object>
3596
3597 <object type="action">
3598 <conditions>
3599 <condition var1="tw_operation_state" var2="1" />
3600 <condition var1="tw_operation_status" op="!=" var2="0" />
3601 </conditions>
3602 <actions>
3603 <action function="set">tw_password_fail=1</action>
3604 <action function="page">decrypt</action>
3605 </actions>
3606 </object>
3607
3608 <object type="action">
3609 <conditions>
3610 <condition var1="tw_operation_state" var2="1" />
3611 <condition var1="tw_operation_status" op="=" var2="0" />
3612 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003613 <actions>
3614 <action function="set">tw_page_done=1</action>
3615 <action function="page">main</action>
3616 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003617 </object>
3618 </page>
3619
3620 <page name="terminalfolder">
3621 <object type="template" name="header" />
3622
3623 <object type="text" color="%text_color%">
3624 <font resource="font" />
3625 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3626 <text>Browse to Starting Folder</text>
3627 </object>
3628
3629 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003630 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003631 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3632 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003633 <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 -04003634 <text>%tw_terminal_location%</text>
3635 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3636 <sort name="tw_gui_sort_order" />
3637 <icon folder="folder_icon" file="file_icon" />
3638 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003639 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003640 <filter folders="1" files="0" />
3641 <path name="tw_terminal_location" default="/" />
3642 <data name="tw_terminal" />
3643 <selection name="tw_terminal_selection" />
3644 </object>
3645
3646 <object type="template" name="sort_options" />
3647
3648 <object type="action">
3649 <touch key="home" />
3650 <action function="page">main</action>
3651 </object>
3652
3653 <object type="action">
3654 <touch key="back" />
3655 <action function="page">advanced</action>
3656 </object>
3657
3658 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003659 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003660 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3661 <font resource="font" color="%button_text_color%" />
3662 <text>Select</text>
3663 <image resource="medium_button" />
3664 <actions>
3665 <action function="page">terminalcommand</action>
3666 </actions>
3667 </object>
3668
3669 <object type="template" name="footer" />
3670 </page>
3671
3672 <page name="terminalcommand">
3673 <object type="template" name="header" />
3674
3675 <object type="console">
3676 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3677 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3678 <font resource="fixed" />
3679 </object>
3680
3681 <object type="text" color="%text_color%">
3682 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3683 <font resource="font" />
3684 <text>Starting Path: %tw_terminal_location%</text>
3685 </object>
3686
3687 <object type="input">
3688 <condition var1="tw_terminal_state" var2="0" />
3689 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3690 <background color="%input_background_color%" />
3691 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3692 <font resource="font" color="%text_color%" />
3693 <text>%tw_terminal_command%</text>
3694 <data name="tw_terminal_command" />
3695 <restrict minlen="1" />
3696 <action function="terminalcommand">%tw_terminal_command%</action>
3697 </object>
3698
3699 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003700 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003701 <condition var1="tw_terminal_state" var2="1" />
3702 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3703 <font resource="font" color="%button_text_color%" />
3704 <text>KILL</text>
3705 <image resource="medium_button" />
3706 <action function="killterminal"></action>
3707 </object>
3708
3709 <object type="template" name="keyboardtemplate" />
3710
3711 <object type="action">
3712 <touch key="home" />
3713 <action function="page">main</action>
3714 </object>
3715
3716 <object type="action">
3717 <touch key="back" />
3718 <action function="page">terminalfolder</action>
3719 </object>
3720 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003721
3722 <page name="sideload">
3723 <object type="template" name="header" />
3724
3725 <object type="text" color="%text_color%">
3726 <font resource="font" />
3727 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3728 <text>ADB Sideload</text>
3729 </object>
3730
3731 <object type="checkbox">
3732 <placement x="%col1_x%" y="%row2_text_y%" />
3733 <font resource="font" color="%text_color%" />
3734 <text>Wipe Dalvik Cache.</text>
3735 <data variable="tw_wipe_dalvik" />
3736 <image checked="checkbox_true" unchecked="checkbox_false" />
3737 </object>
3738
3739 <object type="checkbox">
3740 <placement x="%col1_x%" y="%row3_text_y%" />
3741 <font resource="font" color="%text_color%" />
3742 <text>Wipe Cache.</text>
3743 <data variable="tw_wipe_cache" />
3744 <image checked="checkbox_true" unchecked="checkbox_false" />
3745 </object>
3746
3747 <object type="slider">
3748 <placement x="%slider_x%" y="%slider_y%" />
3749 <resource base="slider" used="slider-used" touch="slider-touch" />
3750 <actions>
3751 <action function="set">tw_back=advanced</action>
3752 <action function="set">tw_action=adbsideload</action>
3753 <action function="set">tw_action_text1=ADB Sideload</action>
3754 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3755 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3756 <action function="set">tw_has_cancel=1</action>
3757 <action function="set">tw_show_reboot=1</action>
3758 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3759 <action function="page">action_page</action>
3760 </actions>
3761 </object>
3762
3763 <object type="text" color="%text_color%">
3764 <font resource="font" />
3765 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3766 <text>Swipe to Start Sideload</text>
3767 </object>
3768
3769 <object type="action">
3770 <touch key="home" />
3771 <action function="page">main</action>
3772 </object>
3773
3774 <object type="action">
3775 <touch key="back" />
3776 <action function="page">advanced</action>
3777 </object>
3778
3779 <object type="template" name="footer" />
3780 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003781
3782 <page name="installsu">
3783 <object type="template" name="header" />
3784
3785 <object type="text" color="%text_color%">
3786 <font resource="font" />
3787 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3788 <text>Install SuperSU?</text>
3789 </object>
3790
3791 <object type="text" color="%text_color%">
3792 <font resource="font" />
3793 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3794 <text>Your device does not appear to be rooted.</text>
3795 </object>
3796
3797 <object type="text" color="%text_color%">
3798 <font resource="font" />
3799 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3800 <text>Install SuperSU now?</text>
3801 </object>
3802
3803 <object type="text" color="%text_color%">
3804 <font resource="font" />
3805 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3806 <text>This will root your device.</text>
3807 </object>
3808
3809 <object type="button">
3810 <highlight color="%highlight_color%" />
3811 <placement x="%col_center_x%" y="%row3_y%" />
3812 <font resource="font" color="%button_text_color%" />
3813 <text>Do Not Install</text>
3814 <image resource="main_button" />
3815 <action function="set">tw_page_done=1</action>
3816 </object>
3817
3818 <object type="slider">
3819 <placement x="%slider_x%" y="%slider_y%" />
3820 <resource base="slider" used="slider-used" touch="slider-touch" />
3821 <actions>
3822 <action function="set">tw_action=installsu</action>
3823 <action function="set">tw_action_text1=Installing SuperSU</action>
3824 <action function="set">tw_action_text2=</action>
3825 <action function="page">singleaction_page</action>
3826 </actions>
3827 </object>
3828
3829 <object type="text" color="%text_color%">
3830 <font resource="font" />
3831 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3832 <text>Swipe to Install</text>
3833 </object>
3834 </page>
3835
3836 <page name="fixsu">
3837 <object type="template" name="header" />
3838
3839 <object type="text" color="%text_color%">
3840 <font resource="font" />
3841 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3842 <text>Fix Superuser Permissions?</text>
3843 </object>
3844
3845 <object type="text" color="%text_color%">
3846 <font resource="font" />
3847 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3848 <text>Root permissions appear to be lost.</text>
3849 </object>
3850
3851 <object type="text" color="%text_color%">
3852 <font resource="font" />
3853 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3854 <text>Fix root permissions now?</text>
3855 </object>
3856
3857 <object type="text" color="%text_color%">
3858 <font resource="font" />
3859 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3860 <text>(Fixes permissions on su binary & app)</text>
3861 </object>
3862
3863 <object type="button">
3864 <highlight color="%highlight_color%" />
3865 <placement x="%col_center_x%" y="%row3_y%" />
3866 <font resource="font" color="%button_text_color%" />
3867 <text>Do Not Fix</text>
3868 <image resource="main_button" />
3869 <action function="set">tw_page_done=1</action>
3870 </object>
3871
3872 <object type="slider">
3873 <placement x="%slider_x%" y="%slider_y%" />
3874 <resource base="slider" used="slider-used" touch="slider-touch" />
3875 <actions>
3876 <action function="set">tw_action=fixsu</action>
3877 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3878 <action function="set">tw_action_text2=</action>
3879 <action function="page">singleaction_page</action>
3880 </actions>
3881 </object>
3882
3883 <object type="text" color="%text_color%">
3884 <font resource="font" />
3885 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3886 <text>Swipe to Fix Root</text>
3887 </object>
3888 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003889 </pages>
3890</recovery>