i beleve that the obd I m3 uses the same ecu as the vanos m50, i think you are going to need a engine harness for a vanos e34 as the non vanos also doesn't have knock sensors, the e36 harness is way different from the layout of the e34 harness too. with the right combo of parts it will drop in, i've not done this swap personally so i can't give advice much beyond what i know of the seperate cars systems