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 / lemans Blue / Lci Heated Leather / Folding Split Rear Seats/ Performance Diffuser / Privacy Glass / Mv3 Alloys / Folding Mirrors / Bluetooth / cic nav/ Dab / Lci Adaptive Xenon Headlights / Auto Lights & Wipers / Front Park Control / Lci Coversion Front & Rear