You need frm 3 with AHL compatability or a frm that can accept coding for AHL.
Sensors are the same but you need to tap into the steering angle sensor loom for adaptive to work.
You also need to change build date of car to 2009 to code the lights correctly.
Not sure about ballasts being the same as I bought my lights complete
330d M Sport / Sapphire Black / Sunroof / Heated Leather Seats / Active Steering / Comfort Access / Split Folding Rear Seats / Performance Diffuser / Performance Sideskirts / Petformance front bumper / M3 Lip Spoiler / Privacy Glass / 313 Alloys / Electrchromatic Folding Mirrors / Bluetooth / cic nav/ Dab / Combox Media / Freeview Tv / Autologic Remap / Xenon Headlights / Auto Lights & Wipers / Front Park Control / Full Lci Conversion