detonation sounds like a popcorn machine. if its detonating, take it to a dyno at once and stop driving it. detnation is a good way to melt pistons and crack sleeves.
sound sliek you either got fuel or timing issues.
get a timing light, set the base BTDC timing to factory spec (16* i think for most b-series... consult your manual). if its way off, perhaps the timing belt was installed wrong. if all the clears, and the cam gears are on 0 and 0, time to go to fuel.
make sure your injectors aren't clogged... swap out for the d-seires ones... they are the same thing/size given the same obd. if its still pinging, i dunno man.. something is fucked...