Have you seen this on the B7 section. I think this should work on the b6 aswell.
http://www.audi-sport.net/xf/threads/how-to-b7-avant-auto-boot-opening.240812/
http://www.audi-sport.net/xf/threads/how-to-b7-avant-auto-boot-opening.240812/