Does any body tryed to change the OEM halogen headligths for the OEM xenon headlights....???
If helps to specify for what car.
If it's for the Passat, then you need an adapter harness, then run some wires to the BCM/CECM, recode it... but that's just for the bixenons. To get AFS working, you need additional wiring and control modules for it.