Not tested the injectors for back pressure but if i walk out to it cold it would fire up and run after a bit of chugging. After about 4 mins it would stop.......this was repeatable so we suspected a sensor.Is this a pd engine or common rail ? if CR Have you tested the injectors for back leakage ? if it is hard to start that can be a leaking injector, that is causing low fuel rail pressure at start up, if it doesnt achieve the pressure required it wont even attempt to start or may start and will cut out, sometimes if they are given a sniff, it helps them fire, that increases speed helps the pressure get up and they run.
To test you need to disconnect the returns and put them EACH into same sized containers and check for different amounts of back flow, the one that is leaking pressure will pass more back to tank.
Well to be honest the coding doesnt make a massive difference and wont stop the car from running, and many will adjust themselves to the right settings after a while anyway, using knock sensor etc if the engine doesnt knock,
it may not be far out.
that sounds like a leaky injector to me.
does it crank and crank and not try, but if you bump it it starts immediately?
But my son unplugged the cam sensor and since then it ran for 30 mins without cutting out after he plugged it back in.
Still has lumpy idle....he says its subaru (ing) because of the sound.