blob: f8d6da167b301735fca110929370ec992a865320 [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" />
2587 <text>Enable screen timeout.</text>
2588 <image resource="checkbox_false" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002589 <action function="set">tw_screen_timeout_secs=60</action>
2590 </object>
2591
2592 <object type="button">
Vojtech Bocek85932342013-04-01 22:11:33 +02002593 <placement x="%col1_x%" y="%row2_text_y%" />
2594 <font resource="font" color="%text_color%" />
2595 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2596 <text>Enable screen timeout.</text>
2597 <image resource="checkbox_true" />
2598 <action function="set">tw_screen_timeout_secs=0</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002599 </object>
2600
Vojtech Bocek85932342013-04-01 22:11:33 +02002601 <object type="slidervalue">
2602 <condition var1="tw_screen_timeout_secs" op="!=" var2="0" />
2603 <placement x="col1_x" y="%row4_text_y%" w="%slidervalue_w%" />
2604 <font resource="font" color="%text_color%" />
2605 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2606 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2607 <text>Screen timeout in seconds:</text>
2608 <data variable="tw_screen_timeout_secs" min="15" max="300" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002609 </object>
2610
Vojtech Bocek85932342013-04-01 22:11:33 +02002611 <object type="slidervalue">
Dees_Troy2f9117a2013-02-17 19:52:09 -06002612 <condition var1="tw_has_brightnesss_file" var2="1" />
Vojtech Bocek85932342013-04-01 22:11:33 +02002613 <placement x="col1_x" y="%row12_text_y%" w="%slidervalue_w%" />
2614 <font resource="font" color="%text_color%" />
2615 <colors line="%slidervalue_line_clr%" slider="%slidervalue_slider_clr%" />
2616 <dimensions lineh="%slidervalue_lineh%" linepadding="%slidervalue_padding%" sliderw="%slidervalue_sliderw%" sliderh="%slidervalue_sliderh%" />
2617 <text>Brightness: %tw_brightness_pct%%</text>
2618 <data variable="tw_brightness_pct" min="10" max="100" />
Dees_Troy2f9117a2013-02-17 19:52:09 -06002619 <actions>
Vojtech Bocek85932342013-04-01 22:11:33 +02002620 <action function="set">tw_brightness=%tw_brightness_max%</action>
2621 <action function="compute">tw_brightness*%tw_brightness_pct%</action>
2622 <action function="compute">tw_brightness/100</action>
2623 <action function="cmd">echo %tw_brightness% > &quot;%tw_brightness_file%&quot;</action>
Dees_Troy2f9117a2013-02-17 19:52:09 -06002624 </actions>
2625 </object>
2626
2627 <object type="action">
2628 <touch key="home" />
2629 <action function="page">main</action>
2630 </object>
2631
2632 <object type="action">
2633 <touch key="back" />
2634 <action function="page">settings</action>
2635 </object>
2636
2637 <object type="template" name="footer" />
2638 </page>
2639
Dees_Troy51a0e822012-09-05 15:24:24 -04002640 <page name="advanced">
2641 <object type="template" name="header" />
2642
2643 <object type="text" color="%text_color%">
2644 <font resource="font" />
2645 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2646 <text>Advanced</text>
2647 </object>
2648
2649 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002650 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002651 <placement x="%col1_x%" y="%row1_y%" />
2652 <font resource="font" color="%button_text_color%" />
2653 <text>Copy Log to SD</text>
2654 <image resource="main_button" />
2655 <actions>
2656 <action function="set">tw_back=advanced</action>
2657 <action function="set">tw_action=copylog</action>
2658 <action function="set">tw_text1=Copy Log to SD Card?</action>
2659 <action function="set">tw_action_text1=Copying Log to SD Card...</action>
2660 <action function="set">tw_complete_text1=Log Copy Complete</action>
2661 <action function="set">tw_slider_text=Swipe to Confirm</action>
2662 <action function="page">confirm_action</action>
2663 </actions>
2664 </object>
2665
2666 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002667 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002668 <placement x="%col2_x%" y="%row1_y%" />
2669 <font resource="font" color="%button_text_color%" />
2670 <text>Fix Permissions</text>
2671 <image resource="main_button" />
2672 <actions>
2673 <action function="set">tw_back=advanced</action>
2674 <action function="set">tw_action=fixpermissions</action>
2675 <action function="set">tw_text1=Fix Permissions?</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002676 <action function="set">tw_action_text1=Fixing Permissions...</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002677 <action function="set">tw_complete_text1=Fix Permissions Complete</action>
2678 <action function="set">tw_slider_text=Swipe to Confirm</action>
Dees_Troya3f81542012-10-08 10:58:53 -04002679 <action function="set">tw_show_reboot=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002680 <action function="page">confirm_action</action>
2681 </actions>
2682 </object>
2683
2684 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002685 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002686 <condition var1="tw_allow_partition_sdcard" var2="1" />
2687 <placement x="%col1_x%" y="%row2_y%" />
2688 <font resource="font" color="%button_text_color%" />
2689 <text>Partition SD Card</text>
2690 <image resource="main_button" />
2691 <action function="page">partsdcard</action>
2692 </object>
2693
2694 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002695 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002696 <placement x="%col2_x%" y="%row2_y%" />
2697 <font resource="font" color="%button_text_color%" />
2698 <text>File Manager</text>
2699 <image resource="main_button" />
2700 <action function="page">filemanagerlist</action>
2701 </object>
2702
2703 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002704 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002705 <placement x="%col1_x%" y="%row3_y%" />
2706 <font resource="font" color="%button_text_color%" />
2707 <text>Terminal Command</text>
2708 <image resource="main_button" />
2709 <action function="page">terminalfolder</action>
2710 </object>
2711
2712 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002713 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002714 <placement x="%col2_x%" y="%row3_y%" />
2715 <font resource="font" color="%button_text_color%" />
2716 <text>Reload Theme</text>
2717 <image resource="main_button" />
2718 <action function="reload"></action>
2719 </object>
2720
2721 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002722 <highlight color="%highlight_color%" />
Dees_Troyb46a6842012-09-25 11:06:46 -04002723 <placement x="%col1_x%" y="%row4_y%" />
2724 <font resource="font" color="%button_text_color%" />
2725 <text>ADB Sideload</text>
2726 <image resource="main_button" />
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05002727 <action function="page">sideload</action>
Dees_Troyb46a6842012-09-25 11:06:46 -04002728 </object>
2729
2730 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002731 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002732 <condition var1="tw_show_dumlock" var2="1" />
2733 <placement x="%col2_x%" y="%row4_y%" />
2734 <font resource="font" color="%button_text_color%" />
2735 <text>HTC Dumlock</text>
2736 <image resource="main_button" />
2737 <action function="page">htcdumlock</action>
2738 </object>
2739
2740 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002741 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002742 <condition var1="tw_has_injecttwrp" var2="1" />
2743 <placement x="%col2_x%" y="%row4_y%" />
2744 <font resource="font" color="%button_text_color%" />
2745 <text>Re-Inject TWRP</text>
2746 <image resource="main_button" />
2747 <actions>
2748 <action function="set">tw_back=advanced</action>
2749 <action function="set">tw_action=reinjecttwrp</action>
2750 <action function="set">tw_text1=Re-Inject TWRP?</action>
2751 <action function="set">tw_action_text1=Re-Injecting TWRP...</action>
2752 <action function="set">tw_complete_text1=TWRP Injection Complete</action>
2753 <action function="set">tw_slider_text=Swipe to Confirm</action>
2754 <action function="page">confirm_action</action>
2755 </actions>
2756 </object>
2757
2758 <object type="action">
2759 <touch key="home" />
2760 <action function="page">main</action>
2761 </object>
2762
2763 <object type="action">
2764 <touch key="back" />
2765 <action function="page">main</action>
2766 </object>
2767
2768 <object type="template" name="footer" />
2769 </page>
2770
2771 <page name="partsdcard">
2772 <object type="template" name="header" />
2773
2774 <object type="text" color="%text_color%">
2775 <font resource="font" />
2776 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2777 <text>Partition SD Card</text>
2778 </object>
2779
2780 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002781 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002782 <placement x="%col1_x%" y="%row1_y%" />
2783 <font resource="font" color="%button_text_color%" />
2784 <text></text>
2785 <image resource="minus_button" />
2786 <action function="addsubtract">tw_sdext_size-128</action>
2787 </object>
2788
2789 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002790 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002791 <placement x="%sd_plus_x%" y="%row1_y%" />
2792 <font resource="font" color="%button_text_color%" />
2793 <text></text>
2794 <image resource="plus_button" />
2795 <action function="addsubtract">tw_sdext_size+128</action>
2796 </object>
2797
2798 <object type="text" color="%text_color%">
2799 <font resource="font" />
2800 <placement x="%sdext_text_x%" y="%sdext_text_y%" />
2801 <text>EXT Size: %tw_sdext_size%</text>
2802 </object>
2803
2804 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002805 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002806 <placement x="%col1_x%" y="%sdswap_button_y%" />
2807 <font resource="font" color="%button_text_color%" />
2808 <text></text>
2809 <image resource="minus_button" />
2810 <action function="addsubtract">tw_swap_size-32</action>
2811 </object>
2812
2813 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002814 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002815 <placement x="%sd_plus_x%" y="%sdswap_button_y%" />
2816 <font resource="font" color="%button_text_color%" />
2817 <text></text>
2818 <image resource="plus_button" />
2819 <action function="addsubtract">tw_swap_size+32</action>
2820 </object>
2821
2822 <object type="text" color="%text_color%">
2823 <font resource="font" />
2824 <placement x="%sdswap_text_x%" y="%sdswap_text_y%" />
2825 <text>Swap Size: %tw_swap_size%</text>
2826 </object>
2827
2828 <object type="text" color="%text_color%">
2829 <font resource="font" />
2830 <placement x="%col1_x%" y="%sdfilesystem_text_y%" />
2831 <text>File system: %tw_sdpart_file_system%</text>
2832 </object>
2833
2834 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002835 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002836 <placement x="%col1_x%" y="%sdfilesystem_button_y%" />
2837 <font resource="font" color="%button_text_color%" />
2838 <text>EXT3</text>
2839 <image resource="main_button" />
2840 <action function="set">tw_sdpart_file_system=ext3</action>
2841 </object>
2842
2843 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002844 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002845 <condition var1="tw_sdext_disable_ext4" var2="0" />
2846 <placement x="%col2_x%" y="%sdfilesystem_button_y%" />
2847 <font resource="font" color="%button_text_color%" />
2848 <text>EXT4</text>
2849 <image resource="main_button" />
2850 <action function="set">tw_sdpart_file_system=ext4</action>
2851 </object>
2852
2853 <object type="text" color="%text_color%">
2854 <font resource="font" />
2855 <placement x="%col1_x%" y="%row12_text_y%" />
2856 <text>You will lose all files on your SD card!</text>
2857 </object>
2858
2859 <object type="text" color="%text_color%">
2860 <font resource="font" />
2861 <placement x="%col1_x%" y="%row13_text_y%" />
2862 <text>This action cannot be undone!</text>
2863 </object>
2864
2865 <object type="slider">
2866 <placement x="%slider_x%" y="%slider_y%" />
2867 <resource base="slider" used="slider-used" touch="slider-touch" />
2868 <action function="page">partsdcardaction</action>
2869 <actions>
2870 <action function="set">tw_back=partsdcard</action>
2871 <action function="set">tw_action=partitionsd</action>
2872 <action function="set">tw_has_action2=1</action>
2873 <action function="set">tw_action2=set</action>
2874 <action function="set">tw_action2_param=tw_zip_location=/sdcard</action>
2875 <action function="set">tw_action_text1=Partitioning SD Card...</action>
2876 <action function="set">tw_action_text2=This will take a few minutes.</action>
Dees_Troya2ac96a2012-09-26 13:07:22 -04002877 <action function="set">tw_complete_text1=Partitioning Complete</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04002878 <action function="page">action_page</action>
2879 </actions>
2880 </object>
2881
2882 <object type="text" color="%text_color%">
2883 <font resource="font" />
2884 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2885 <text>Swipe to Partition</text>
2886 </object>
2887
2888 <object type="action">
2889 <touch key="home" />
2890 <action function="page">main</action>
2891 </object>
2892
2893 <object type="action">
2894 <touch key="back" />
2895 <action function="page">advanced</action>
2896 </object>
2897
2898 <object type="template" name="footer" />
2899 </page>
2900
2901 <page name="htcdumlock">
2902 <object type="template" name="header" />
2903
2904 <object type="text" color="%text_color%">
2905 <font resource="font" />
2906 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
2907 <text>HTC Dumlock</text>
2908 </object>
2909
2910 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002911 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002912 <condition var1="tw_show_dumlock" var2="1" />
2913 <placement x="%col1_x%" y="%row1_y%" />
2914 <font resource="font" color="%button_text_color%" />
2915 <text>Restore Original Boot</text>
2916 <image resource="main_button" />
2917 <actions>
2918 <action function="set">tw_back=htcdumlock</action>
2919 <action function="set">tw_action=htcdumlockrestoreboot</action>
2920 <action function="set">tw_text1=Restore original boot image?</action>
2921 <action function="set">tw_action_text1=Restoring Original Boot...</action>
2922 <action function="set">tw_complete_text1=Restore Original Boot Complete</action>
2923 <action function="set">tw_slider_text=Swipe to Confirm</action>
2924 <action function="page">confirm_action</action>
2925 </actions>
2926 </object>
2927
2928 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002929 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002930 <condition var1="tw_show_dumlock" var2="1" />
2931 <placement x="%col2_x%" y="%row1_y%" />
2932 <font resource="font" color="%button_text_color%" />
2933 <text>Reflash Recovery</text>
2934 <image resource="main_button" />
2935 <actions>
2936 <action function="set">tw_back=htcdumlock</action>
2937 <action function="set">tw_action=htcdumlockreflashrecovery</action>
2938 <action function="set">tw_text1=Reflash recovery to boot?</action>
2939 <action function="set">tw_action_text1=Flashing recovery to boot...</action>
2940 <action function="set">tw_complete_text1=Recovery Flash to Boot Complete</action>
2941 <action function="set">tw_slider_text=Swipe to Confirm</action>
2942 <action function="page">confirm_action</action>
2943 </actions>
2944 </object>
2945
2946 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06002947 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04002948 <condition var1="tw_show_dumlock" var2="1" />
2949 <placement x="%col1_x%" y="%row2_y%" />
2950 <font resource="font" color="%button_text_color%" />
2951 <text>Install HTC Dumlock</text>
2952 <image resource="main_button" />
2953 <actions>
2954 <action function="set">tw_back=htcdumlock</action>
2955 <action function="set">tw_action=installhtcdumlock</action>
2956 <action function="set">tw_text1=Install HTC dumlock files to ROM?</action>
2957 <action function="set">tw_action_text1=Installing HTC Dumlock...</action>
2958 <action function="set">tw_complete_text1=HTC Dumlock Install Complete</action>
2959 <action function="set">tw_slider_text=Swipe to Confirm</action>
2960 <action function="page">confirm_action</action>
2961 </actions>
2962 </object>
2963
2964 <object type="action">
2965 <touch key="home" />
2966 <action function="page">main</action>
2967 </object>
2968
2969 <object type="action">
2970 <touch key="back" />
2971 <action function="page">advanced</action>
2972 </object>
2973
2974 <object type="template" name="footer" />
2975 </page>
2976
2977 <page name="lock">
2978 <background color="#000000A0" />
2979
2980 <object type="image">
2981 <image resource="unlock-icon" />
2982 <placement x="%lock_x%" y="%lock_y%" />
2983 </object>
2984
2985 <object type="slider">
2986 <placement x="%slider_x%" y="%slider_y%" />
2987 <resource base="slider" used="slider-used" touch="slider-touch" />
2988 <action function="overlay"></action>
2989 </object>
2990
2991 <object type="text" color="%text_color%">
2992 <font resource="font" />
2993 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
2994 <text>Swipe to Unlock</text>
2995 </object>
2996 </page>
2997
2998 <page name="filemanagerlist">
2999 <object type="template" name="header" />
3000
3001 <object type="text" color="%text_color%">
3002 <font resource="font" />
3003 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3004 <text>File Manager: Select a File or Folder</text>
3005 </object>
3006
3007 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003008 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003009 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3010 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003011 <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 -04003012 <text>%tw_file_location1%</text>
3013 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3014 <sort name="tw_gui_sort_order" />
3015 <icon folder="folder_icon" file="file_icon" />
3016 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003017 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003018 <folders="1" files="1" />
3019 <path name="tw_file_location1" default="/" />
3020 <data name="tw_filename1" />
3021 <selection name="tw_selection1" />
3022 </object>
3023
3024 <object type="template" name="sort_options" />
3025
3026 <object type="action">
3027 <actions>
3028 <action function="set">tw_fm_type=File</action>
3029 <action function="set">tw_fm_isfolder=0</action>
3030 </actions>
3031 </object>
3032
3033 <object type="action">
3034 <touch key="home" />
3035 <action function="page">main</action>
3036 </object>
3037
3038 <object type="action">
3039 <touch key="back" />
3040 <action function="page">advanced</action>
3041 </object>
3042
3043 <object type="action">
3044 <condition var1="tw_filename1" op="modified" />
3045 <actions>
3046 <action function="page">filemanageroptions</action>
3047 </actions>
3048 </object>
3049
3050 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003051 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003052 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3053 <font resource="font" color="%button_text_color%" />
3054 <text>Select</text>
3055 <image resource="medium_button" />
3056 <actions>
3057 <action function="set">tw_filename1=tw_file_location1</action>
3058 <action function="set">tw_fm_isfolder=1</action>
3059 <action function="set">tw_fm_type=Folder</action>
3060 <action function="page">filemanageroptions</action>
3061 </actions>
3062 </object>
3063
3064 <object type="template" name="footer" />
3065 </page>
3066
3067 <page name="filemanageroptions">
3068 <object type="template" name="header" />
3069
3070 <object type="text" color="%text_color%">
3071 <font resource="font" />
3072 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3073 <text>%tw_fm_type% Selected:</text>
3074 </object>
3075
3076 <object type="text" color="%text_color%">
3077 <font resource="font" />
3078 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3079 <text>%tw_filename1%</text>
3080 </object>
3081
3082 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003083 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003084 <condition var1="tw_fm_isfolder" var2="0" />
3085 <placement x="%col1_x%" y="%row2_y%" />
3086 <font resource="font" color="%button_text_color%" />
3087 <text>Copy File</text>
3088 <image resource="main_button" />
3089 <actions>
3090 <action function="set">tw_filemanager_command=cp</action>
3091 <action function="set">tw_fm_text1=Copying</action>
3092 <action function="page">choosedestinationfolder</action>
3093 </actions>
3094 </object>
3095
3096 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003097 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003098 <condition var1="tw_fm_isfolder" var2="1" />
3099 <placement x="%col1_x%" y="%row2_y%" />
3100 <font resource="font" color="%button_text_color%" />
3101 <text>Copy Folder</text>
3102 <image resource="main_button" />
3103 <actions>
3104 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && cp -R</action>
3105 <action function="set">tw_fm_text1=Copying</action>
3106 <action function="page">choosedestinationfolder</action>
3107 </actions>
3108 </object>
3109
3110 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003111 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003112 <placement x="%col2_x%" y="%row2_y%" />
3113 <font resource="font" color="%button_text_color%" />
3114 <text>Move</text>
3115 <image resource="main_button" />
3116 <actions>
3117 <action function="set">tw_filemanager_command=mv</action>
3118 <action function="set">tw_fm_text1=Moving</action>
3119 <action function="page">choosedestinationfolder</action>
3120 </actions>
3121 </object>
3122
3123 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003124 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003125 <placement x="%col1_x%" y="%row3_y%" />
3126 <font resource="font" color="%button_text_color%" />
3127 <text>chmod 755</text>
3128 <image resource="main_button" />
3129 <actions>
3130 <action function="set">tw_filemanager_command=chmod 755</action>
3131 <action function="set">tw_fm_text1=chmod 755</action>
3132 <action function="set">tw_fm_text2=</action>
3133 <action function="set">tw_fm_text3=</action>
3134 <action function="set">tw_include_text3=0</action>
3135 <action function="set">tw_back=filemanageroptions</action>
3136 <action function="page">filemanagerconfirm</action>
3137 </actions>
3138 </object>
3139
3140 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003141 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003142 <placement x="%col2_x%" y="%row3_y%" />
3143 <font resource="font" color="%button_text_color%" />
3144 <text>chmod</text>
3145 <image resource="main_button" />
3146 <actions>
3147 <action function="set">tw_filemanager_rename=0000</action>
3148 <action function="set">tw_fm_text2=</action>
3149 <action function="set">tw_fm_text3=</action>
3150 <action function="set">tw_include_text3=0</action>
3151 <action function="set">tw_back=filemanageroptions</action>
3152 <action function="page">filemanagerchmod</action>
3153 </actions>
3154 </object>
3155
3156 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003157 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003158 <placement x="%col1_x%" y="%row4_y%" />
3159 <font resource="font" color="%button_text_color%" />
3160 <text>Delete</text>
3161 <image resource="main_button" />
3162 <actions>
3163 <action function="set">tw_filemanager_command=rm -rf</action>
3164 <action function="set">tw_fm_text1=Deleting</action>
3165 <action function="set">tw_fm_text2=</action>
3166 <action function="set">tw_fm_text3=</action>
3167 <action function="set">tw_include_text3=0</action>
3168 <action function="set">tw_back=filemanageroptions</action>
3169 <action function="page">filemanagerconfirm</action>
3170 </actions>
3171 </object>
3172
3173 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003174 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003175 <condition var1="tw_fm_isfolder" var2="0" />
3176 <placement x="%col2_x%" y="%row4_y%" />
3177 <font resource="font" color="%button_text_color%" />
3178 <text>Rename File</text>
3179 <image resource="main_button" />
3180 <actions>
3181 <action function="set">tw_filemanager_rename=tw_selection1</action>
3182 <action function="set">tw_fm_text1=Renaming</action>
3183 <action function="set">tw_filemanager_command=mv</action>
3184 <action function="page">filemanagerrenamefile</action>
3185 </actions>
3186 </object>
3187
3188 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003189 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003190 <condition var1="tw_fm_isfolder" var2="1" />
3191 <placement x="%col2_x%" y="%row4_y%" />
3192 <font resource="font" color="%button_text_color%" />
3193 <text>Rename Folder</text>
3194 <image resource="main_button" />
3195 <actions>
3196 <action function="set">tw_filemanager_rename=tw_selection1</action>
3197 <action function="set">tw_fm_text1=Renaming</action>
3198 <action function="set">tw_filemanager_command=cd &quot;%tw_file_location1%&quot; && cd .. && mv</action>
3199 <action function="page">filemanagerrenamefolder</action>
3200 </actions>
3201 </object>
3202
3203 <object type="action">
3204 <touch key="home" />
3205 <action function="page">main</action>
3206 </object>
3207
3208 <object type="action">
3209 <touch key="back" />
3210 <action function="page">filemanagerlist</action>
3211 </object>
3212
3213 <object type="template" name="footer" />
3214 </page>
3215
3216 <page name="choosedestinationfolder">
3217 <object type="template" name="header" />
3218
3219 <object type="text" color="%text_color%">
3220 <font resource="font" />
3221 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3222 <text>Browse to Destination Folder & Press Select</text>
3223 </object>
3224
3225 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003226 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003227 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3228 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003229 <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 -04003230 <text>%tw_file_location2%</text>
3231 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3232 <sort name="tw_gui_sort_order" />
3233 <icon folder="folder_icon" file="file_icon" />
3234 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003235 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003236 <filter folders="1" files="0" />
3237 <path name="tw_file_location2" default="/" />
3238 <data name="tw_filename2" />
3239 <selection name="tw_selection2" />
3240 </object>
3241
3242 <object type="template" name="sort_options" />
3243
3244 <object type="action">
3245 <touch key="home" />
3246 <action function="page">main</action>
3247 </object>
3248
3249 <object type="action">
3250 <touch key="back" />
3251 <action function="page">filemanageroptions</action>
3252 </object>
3253
3254 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003255 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003256 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3257 <font resource="font" color="%button_text_color%" />
3258 <text>Select</text>
3259 <image resource="medium_button" />
3260 <actions>
3261 <action function="set">tw_fm_text2=to</action>
3262 <action function="set">tw_fm_text3=%tw_file_location2%</action>
3263 <action function="set">tw_include_text3=1</action>
3264 <action function="set">tw_back=filemanageroptions</action>
3265 <action function="page">filemanagerconfirm</action>
3266 </actions>
3267 </object>
3268
3269 <object type="template" name="footer" />
3270 </page>
3271
3272 <page name="filemanagerrenamefile">
3273 <object type="template" name="header" />
3274
3275 <object type="text" color="%text_color%">
3276 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3277 <font resource="font" />
3278 <text>Please Enter a New %tw_fm_type% Name</text>
3279 </object>
3280
3281 <object type="input">
3282 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3283 <background color="%input_background_color%" />
3284 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3285 <font resource="font" color="%text_color%" />
3286 <text>%tw_filemanager_rename%</text>
3287 <data name="tw_filemanager_rename" />
3288 <restrict minlen="1" maxlen="128" />
3289 <actions>
3290 <action function="set">tw_fm_text2=to</action>
3291 <action function="set">tw_fm_text3=&quot;%tw_file_location1%/%tw_filemanager_rename%&quot;</action>
3292 <action function="set">tw_include_text3=1</action>
3293 <action function="set">tw_back=filemanageroptions</action>
3294 <action function="page">filemanagerconfirm</action>
3295 </actions>
3296 </object>
3297
3298 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003299 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003300 <placement x="%col_center_x%" y="%row2_y%" />
3301 <font resource="font" color="%button_text_color%" />
3302 <text>Cancel</text>
3303 <image resource="main_button" />
3304 <action function="page">filemanageroptions</action>
3305 </object>
3306
3307 <object type="template" name="keyboardtemplate" />
3308
3309 <object type="action">
3310 <touch key="home" />
3311 <action function="page">main</action>
3312 </object>
3313
3314 <object type="action">
3315 <touch key="back" />
3316 <action function="page">filemanageroptions</action>
3317 </object>
3318
3319 <object type="template" name="footer" />
3320 </page>
3321
3322 <page name="filemanagerrenamefolder">
3323 <object type="template" name="header" />
3324
3325 <object type="text" color="%text_color%">
3326 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3327 <font resource="font" />
3328 <text>Please Enter a New %tw_fm_type% Name</text>
3329 </object>
3330
3331 <object type="input">
3332 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3333 <background color="%input_background_color%" />
3334 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3335 <font resource="font" color="%text_color%" />
3336 <text>%tw_filemanager_rename%</text>
3337 <data name="tw_filemanager_rename" />
3338 <restrict minlen="1" maxlen="128" />
3339 <actions>
3340 <action function="set">tw_fm_text2=to</action>
3341 <action function="set">tw_fm_text3=%tw_filemanager_rename%</action>
3342 <action function="set">tw_include_text3=1</action>
3343 <action function="set">tw_back=filemanageroptions</action>
3344 <action function="page">filemanagerconfirm</action>
3345 </actions>
3346 </object>
3347
3348 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003349 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003350 <placement x="%col_center_x%" y="%row2_y%" />
3351 <font resource="font" color="%button_text_color%" />
3352 <text>Cancel</text>
3353 <image resource="main_button" />
3354 <action function="page">filemanageroptions</action>
3355 </object>
3356
3357 <object type="template" name="keyboardtemplate" />
3358
3359 <object type="action">
3360 <touch key="home" />
3361 <action function="page">main</action>
3362 </object>
3363
3364 <object type="action">
3365 <touch key="back" />
3366 <action function="page">filemanageroptions</action>
3367 </object>
3368
3369 <object type="template" name="footer" />
3370 </page>
3371
3372 <page name="filemanagerchmod">
3373 <object type="template" name="header" />
3374
3375 <object type="text" color="%text_color%">
3376 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3377 <font resource="font" />
3378 <text>Please Enter New Permissions</text>
3379 </object>
3380
3381 <object type="input">
3382 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3383 <background color="%input_background_color%" />
3384 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3385 <font resource="font" color="%text_color%" />
3386 <text>%tw_filemanager_rename%</text>
3387 <data name="tw_filemanager_rename" />
3388 <restrict minlen="3" maxlen="4" allow="0123456789" />
3389 <actions>
3390 <action function="set">tw_filemanager_command=chmod %tw_filemanager_rename%</action>
3391 <action function="set">tw_fm_text1=chmod %tw_filemanager_rename%</action>
3392 <action function="set">tw_back=filemanageroptions</action>
3393 <action function="page">filemanagerconfirm</action>
3394 </actions>
3395 </object>
3396
3397 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003398 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003399 <placement x="%col_center_x%" y="%row2_y%" />
3400 <font resource="font" color="%button_text_color%" />
3401 <text>Cancel</text>
3402 <image resource="main_button" />
3403 <action function="page">filemanageroptions</action>
3404 </object>
3405
3406 <object type="template" name="keyboardtemplate" />
3407
3408 <object type="action">
3409 <touch key="home" />
3410 <action function="page">main</action>
3411 </object>
3412
3413 <object type="action">
3414 <touch key="back" />
3415 <action function="page">filemanageroptions</action>
3416 </object>
3417
3418 <object type="template" name="footer" />
3419 </page>
3420
3421 <page name="filemanagerconfirm">
3422 <object type="template" name="header" />
3423
3424 <object type="text" color="%text_color%">
3425 <font resource="font" />
3426 <placement x="%center_x%" y="%row1_text_y%" placement="5"/>
3427 <text>%tw_fm_text1%</text>
3428 </object>
3429
3430 <object type="text" color="%text_color%">
3431 <font resource="font" />
3432 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3433 <text>%tw_filename1%</text>
3434 </object>
3435
3436 <object type="text" color="%text_color%">
3437 <font resource="font" />
3438 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3439 <text>%tw_fm_text2%</text>
3440 </object>
3441
3442 <object type="text" color="%text_color%">
3443 <font resource="font" />
3444 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3445 <text>%tw_fm_text3%</text>
3446 </object>
3447
3448 <object type="text" color="%text_color%">
3449 <font resource="font" />
3450 <placement x="%center_x%" y="%row10_text_y%" placement="5"/>
3451 <text>Press back button to cancel.</text>
3452 </object>
3453
3454 <object type="slider">
3455 <placement x="%slider_x%" y="%slider_y%" />
3456 <resource base="slider" used="slider-used" touch="slider-touch" />
3457 <action function="page">filemanageracction</action>
3458 </object>
3459
3460 <object type="text" color="%text_color%">
3461 <font resource="font" />
3462 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3463 <text>Swipe to Confirm</text>
3464 </object>
3465
3466 <object type="action">
3467 <touch key="back" />
3468 <action function="page">%tw_back%</action>
3469 </object>
3470
3471 <object type="action">
3472 <touch key="home" />
3473 <action function="page">main</action>
3474 </object>
3475
3476 <object type="template" name="footer" />
3477 </page>
3478
3479 <page name="filemanageracction">
3480 <object type="template" name="header" />
3481
3482 <object type="text" color="%text_color%">
3483
3484 <font resource="font" />
3485 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3486 <text>%tw_fm_text1%</text>
3487 </object>
3488
3489 <object type="template" name="action_page_console" />
3490
3491 <object type="template" name="progress_bar" />
3492
3493 <object type="action">
3494 <conditions>
3495 <condition var1="tw_operation_state" var2="1" />
3496 <condition var1="tw_operation_status" var2="0" />
3497 </conditions>
3498 <actions>
3499 <action function="set">tw_back=filemanagerlist</action>
3500 <action function="set">tw_complete_text1=File Operation Complete</action>
3501 <action function="page">action_complete</action>
3502 </actions>
3503 </object>
3504
3505 <object type="action">
3506 <conditions>
3507 <condition var1="tw_operation_state" var2="1" />
3508 <condition var1="tw_operation_status" op="!=" var2="0" />
3509 </conditions>
3510 <actions>
3511 <action function="set">tw_complete_text1=File Operation Complete</action>
3512 <action function="page">action_complete</action>
3513 </actions>
3514 </object>
3515
3516 <object type="action">
3517 <condition var1="tw_include_text3" var2="0" />
3518 <actions>
3519 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot;</action>
3520 </actions>
3521 </object>
3522
3523 <object type="action">
3524 <condition var1="tw_include_text3" var2="1" />
3525 <actions>
3526 <action function="cmd">%tw_filemanager_command% &quot;%tw_filename1%&quot; &quot;%tw_fm_text3%&quot;</action>
3527 </actions>
3528 </object>
3529 </page>
3530
3531 <page name="decrypt">
3532 <object type="template" name="header" />
3533
3534 <object type="text" color="%text_color%">
3535 <font resource="font" />
3536 <placement x="%center_x%" y="%row1_header_y%" placement="5" />
3537 <text>Please Enter Your Password</text>
3538 </object>
3539
3540 <object type="input">
3541 <placement x="%col1_x%" y="%row3_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3542 <background color="%input_background_color%" />
3543 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3544 <font resource="font" color="%text_color%" />
3545 <text>%tw_crypto_display%</text>
3546 <data name="tw_crypto_password" mask="*" maskvariable="tw_crypto_display" />
3547 <restrict minlen="1" maxlen="254" />
3548 <actions>
3549 <action function="page">trydecrypt</action>
3550 </actions>
3551 </object>
3552
3553 <object type="text" color="%text_fail_color%">
3554 <condition var1="tw_password_fail" var2="1" />
3555 <font resource="font" />
3556 <placement x="%center_x%" y="%row4_text_y%" placement="5" />
3557 <text>Password Failed, Please Try Again</text>
3558 </object>
3559
3560 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003561 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003562 <placement x="%col_center_x%" y="%row2_y%" />
3563 <font resource="font" color="%button_text_color%" />
3564 <text>Cancel</text>
3565 <image resource="main_button" />
3566 <actions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003567 <action function="set">tw_page_done=1</action>
Dees_Troy51a0e822012-09-05 15:24:24 -04003568 <action function="page">main</action>
3569 </actions>
3570 </object>
3571
3572 <object type="template" name="keyboardtemplate" />
3573
Dees_Troy51a0e822012-09-05 15:24:24 -04003574 <object type="template" name="footer" />
3575 </page>
3576
3577 <page name="trydecrypt">
3578 <object type="template" name="header" />
3579
3580 <object type="text" color="%text_color%">
3581 <font resource="font" />
3582 <placement x="%center_x%" y="%row1_text_y%" placement="5" />
3583 <text>Trying Decryption with Your Password</text>
3584 </object>
3585
3586 <object type="template" name="action_page_console" />
3587
3588 <object type="template" name="progress_bar" />
3589
3590 <object type="action">
3591 <action function="decrypt"></action>
3592 </object>
3593
3594 <object type="action">
3595 <conditions>
3596 <condition var1="tw_operation_state" var2="1" />
3597 <condition var1="tw_operation_status" op="!=" var2="0" />
3598 </conditions>
3599 <actions>
3600 <action function="set">tw_password_fail=1</action>
3601 <action function="page">decrypt</action>
3602 </actions>
3603 </object>
3604
3605 <object type="action">
3606 <conditions>
3607 <condition var1="tw_operation_state" var2="1" />
3608 <condition var1="tw_operation_status" op="=" var2="0" />
3609 </conditions>
Dees_Troy6ed34b72013-01-25 15:01:29 +00003610 <actions>
3611 <action function="set">tw_page_done=1</action>
3612 <action function="page">main</action>
3613 </actions>
Dees_Troy51a0e822012-09-05 15:24:24 -04003614 </object>
3615 </page>
3616
3617 <page name="terminalfolder">
3618 <object type="template" name="header" />
3619
3620 <object type="text" color="%text_color%">
3621 <font resource="font" />
3622 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3623 <text>Browse to Starting Folder</text>
3624 </object>
3625
3626 <object type="fileselector">
Dees_Troye7585ca2013-02-15 11:42:29 -06003627 <highlight color="%fileselector_highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003628 <placement x="%fileselector_x%" y="%row1_y%" w="%fileselector_width%" h="%fileselector_install_height%" />
3629 <header background="%fileselector_header_background%" textcolor="%fileselector_header_textcolor%" separatorcolor="%fileselector_header_separatorcolor%" separatorheight="%fileselector_header_separatorheight%" />
Vojtech Bocek7cc278b2013-02-24 01:40:19 +01003630 <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 -04003631 <text>%tw_terminal_location%</text>
3632 <separator color="%fileselector_separatorcolor%" height="%fileselector_separatorheight%" />
3633 <sort name="tw_gui_sort_order" />
3634 <icon folder="folder_icon" file="file_icon" />
3635 <background color="%fileselector_background%" />
Dees_Troye7585ca2013-02-15 11:42:29 -06003636 <font resource="filelist" spacing="%fileselector_spacing%" color="%text_color%" highlightcolor="%fileselector_highlight_font_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003637 <filter folders="1" files="0" />
3638 <path name="tw_terminal_location" default="/" />
3639 <data name="tw_terminal" />
3640 <selection name="tw_terminal_selection" />
3641 </object>
3642
3643 <object type="template" name="sort_options" />
3644
3645 <object type="action">
3646 <touch key="home" />
3647 <action function="page">main</action>
3648 </object>
3649
3650 <object type="action">
3651 <touch key="back" />
3652 <action function="page">advanced</action>
3653 </object>
3654
3655 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003656 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003657 <placement x="%filemanager_select_x%" y="%filemanager_select_y%" />
3658 <font resource="font" color="%button_text_color%" />
3659 <text>Select</text>
3660 <image resource="medium_button" />
3661 <actions>
3662 <action function="page">terminalcommand</action>
3663 </actions>
3664 </object>
3665
3666 <object type="template" name="footer" />
3667 </page>
3668
3669 <page name="terminalcommand">
3670 <object type="template" name="header" />
3671
3672 <object type="console">
3673 <placement x="%console_x%" y="0" w="%console_width%" h="%terminal_console_height%" />
3674 <color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
3675 <font resource="fixed" />
3676 </object>
3677
3678 <object type="text" color="%text_color%">
3679 <placement x="%col1_x%" y="%terminal_text_y%" placement="0" />
3680 <font resource="font" />
3681 <text>Starting Path: %tw_terminal_location%</text>
3682 </object>
3683
3684 <object type="input">
3685 <condition var1="tw_terminal_state" var2="0" />
3686 <placement x="%col1_x%" y="%terminal_text_y%" w="%input_width%" h="%input_height%" placement="0" />
3687 <background color="%input_background_color%" />
3688 <cursor color="%input_cursor_color%" hasfocus="1" width="%input_cursor_width%" />
3689 <font resource="font" color="%text_color%" />
3690 <text>%tw_terminal_command%</text>
3691 <data name="tw_terminal_command" />
3692 <restrict minlen="1" />
3693 <action function="terminalcommand">%tw_terminal_command%</action>
3694 </object>
3695
3696 <object type="button">
Dees_Troy1a7a6672013-02-15 09:39:07 -06003697 <highlight color="%highlight_color%" />
Dees_Troy51a0e822012-09-05 15:24:24 -04003698 <condition var1="tw_terminal_state" var2="1" />
3699 <placement x="%filemanager_select_x%" y="%terminal_button_y%" />
3700 <font resource="font" color="%button_text_color%" />
3701 <text>KILL</text>
3702 <image resource="medium_button" />
3703 <action function="killterminal"></action>
3704 </object>
3705
3706 <object type="template" name="keyboardtemplate" />
3707
3708 <object type="action">
3709 <touch key="home" />
3710 <action function="page">main</action>
3711 </object>
3712
3713 <object type="action">
3714 <touch key="back" />
3715 <action function="page">terminalfolder</action>
3716 </object>
3717 </page>
bigbiff bigbiff7ce7f0c2013-01-25 09:54:04 -05003718
3719 <page name="sideload">
3720 <object type="template" name="header" />
3721
3722 <object type="text" color="%text_color%">
3723 <font resource="font" />
3724 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3725 <text>ADB Sideload</text>
3726 </object>
3727
3728 <object type="checkbox">
3729 <placement x="%col1_x%" y="%row2_text_y%" />
3730 <font resource="font" color="%text_color%" />
3731 <text>Wipe Dalvik Cache.</text>
3732 <data variable="tw_wipe_dalvik" />
3733 <image checked="checkbox_true" unchecked="checkbox_false" />
3734 </object>
3735
3736 <object type="checkbox">
3737 <placement x="%col1_x%" y="%row3_text_y%" />
3738 <font resource="font" color="%text_color%" />
3739 <text>Wipe Cache.</text>
3740 <data variable="tw_wipe_cache" />
3741 <image checked="checkbox_true" unchecked="checkbox_false" />
3742 </object>
3743
3744 <object type="slider">
3745 <placement x="%slider_x%" y="%slider_y%" />
3746 <resource base="slider" used="slider-used" touch="slider-touch" />
3747 <actions>
3748 <action function="set">tw_back=advanced</action>
3749 <action function="set">tw_action=adbsideload</action>
3750 <action function="set">tw_action_text1=ADB Sideload</action>
3751 <action function="set">tw_action_text2=Usage: adb sideload filename.zip</action>
3752 <action function="set">tw_complete_text1=ADB Sideload Complete</action>
3753 <action function="set">tw_has_cancel=1</action>
3754 <action function="set">tw_show_reboot=1</action>
3755 <action function="set">tw_cancel_action=adbsideloadcancel</action>
3756 <action function="page">action_page</action>
3757 </actions>
3758 </object>
3759
3760 <object type="text" color="%text_color%">
3761 <font resource="font" />
3762 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3763 <text>Swipe to Start Sideload</text>
3764 </object>
3765
3766 <object type="action">
3767 <touch key="home" />
3768 <action function="page">main</action>
3769 </object>
3770
3771 <object type="action">
3772 <touch key="back" />
3773 <action function="page">advanced</action>
3774 </object>
3775
3776 <object type="template" name="footer" />
3777 </page>
Dees_Troy6ef66352013-02-21 08:26:57 -06003778
3779 <page name="installsu">
3780 <object type="template" name="header" />
3781
3782 <object type="text" color="%text_color%">
3783 <font resource="font" />
3784 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3785 <text>Install SuperSU?</text>
3786 </object>
3787
3788 <object type="text" color="%text_color%">
3789 <font resource="font" />
3790 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3791 <text>Your device does not appear to be rooted.</text>
3792 </object>
3793
3794 <object type="text" color="%text_color%">
3795 <font resource="font" />
3796 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3797 <text>Install SuperSU now?</text>
3798 </object>
3799
3800 <object type="text" color="%text_color%">
3801 <font resource="font" />
3802 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3803 <text>This will root your device.</text>
3804 </object>
3805
3806 <object type="button">
3807 <highlight color="%highlight_color%" />
3808 <placement x="%col_center_x%" y="%row3_y%" />
3809 <font resource="font" color="%button_text_color%" />
3810 <text>Do Not Install</text>
3811 <image resource="main_button" />
3812 <action function="set">tw_page_done=1</action>
3813 </object>
3814
3815 <object type="slider">
3816 <placement x="%slider_x%" y="%slider_y%" />
3817 <resource base="slider" used="slider-used" touch="slider-touch" />
3818 <actions>
3819 <action function="set">tw_action=installsu</action>
3820 <action function="set">tw_action_text1=Installing SuperSU</action>
3821 <action function="set">tw_action_text2=</action>
3822 <action function="page">singleaction_page</action>
3823 </actions>
3824 </object>
3825
3826 <object type="text" color="%text_color%">
3827 <font resource="font" />
3828 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3829 <text>Swipe to Install</text>
3830 </object>
3831 </page>
3832
3833 <page name="fixsu">
3834 <object type="template" name="header" />
3835
3836 <object type="text" color="%text_color%">
3837 <font resource="font" />
3838 <placement x="%center_x%" y="%row1_header_y%" placement="5"/>
3839 <text>Fix Superuser Permissions?</text>
3840 </object>
3841
3842 <object type="text" color="%text_color%">
3843 <font resource="font" />
3844 <placement x="%center_x%" y="%row2_text_y%" placement="5"/>
3845 <text>Root permissions appear to be lost.</text>
3846 </object>
3847
3848 <object type="text" color="%text_color%">
3849 <font resource="font" />
3850 <placement x="%center_x%" y="%row3_text_y%" placement="5"/>
3851 <text>Fix root permissions now?</text>
3852 </object>
3853
3854 <object type="text" color="%text_color%">
3855 <font resource="font" />
3856 <placement x="%center_x%" y="%row4_text_y%" placement="5"/>
3857 <text>(Fixes permissions on su binary & app)</text>
3858 </object>
3859
3860 <object type="button">
3861 <highlight color="%highlight_color%" />
3862 <placement x="%col_center_x%" y="%row3_y%" />
3863 <font resource="font" color="%button_text_color%" />
3864 <text>Do Not Fix</text>
3865 <image resource="main_button" />
3866 <action function="set">tw_page_done=1</action>
3867 </object>
3868
3869 <object type="slider">
3870 <placement x="%slider_x%" y="%slider_y%" />
3871 <resource base="slider" used="slider-used" touch="slider-touch" />
3872 <actions>
3873 <action function="set">tw_action=fixsu</action>
3874 <action function="set">tw_action_text1=Fixing Root Permissions</action>
3875 <action function="set">tw_action_text2=</action>
3876 <action function="page">singleaction_page</action>
3877 </actions>
3878 </object>
3879
3880 <object type="text" color="%text_color%">
3881 <font resource="font" />
3882 <placement x="%center_x%" y="%slider_text_y%" placement="4" />
3883 <text>Swipe to Fix Root</text>
3884 </object>
3885 </page>
Dees_Troy51a0e822012-09-05 15:24:24 -04003886 </pages>
3887</recovery>