do.you.have.wiring.diagrams.for.everything?
There's the connections that go from the ecu to the engine
There's the connections that go from the ecu to the car
Based on your issue, decide on a few suspect causes, and trace continuity and voltage.
O-Scope? How about logging in with VCDS and look for rpm while cranking? Check for faults yet?
yes i have the bentley manuals for both vehicles with full wiring diagrams. i have gone through the wiring with a multimeter several time and i even borrowed a friends B5.5 passat to trace out everything in the body connectors to see how its supposed to act and than try to simulate that in the A4. when i wire it how the B5.5 is with the ECU control relay (j271) in play my dash and everything now stays constantly powered instead of my fuel pump. when cranking in VCDS it doesnt show an RPM, injector pulsewidth, or spark advance. O-scope= oscilliscope. i use this to actually see the wavelength from VR crank sensor because that is the only way to visually see the signal from that sensor as it is not a pulse like the cam sensor. the cam is hall effect which is an on/off switch and can be seen with a test light. i will test the crank and cam sensor again today and post pictures of what my scope displays.
i do keep getting a fault still from time to time for the crank sensor and no signal but i know that can be a phantom fault. i figure the sensor is good because the car ran on the M5.9 on that sensor and when i scoped it where the sensor connects to the harness it had a good wavelength like i said above. what i said a few posts back is i put the square connector from the original harness on the new one so i didnt have to change sensor itself, i assume the crank sensors are the aside from the connectors. i may try to swap it out with another AEB crank sensor and if that doesnt work than i will install the original D connector back on the harness and put the later crank sensor back on it to see if that makes any difference.
EDIT: here is a screen grab attached from my oscilloscope of the 60-2 VR crank sensor. you can see the tooth count and the large dip is the 2 missing teeth. i have check the signal from the B5.5 to compare the signals.