I have answered this post elsewhere.
After solenoid, cam sensor etc I became very despondent.
I suddenly thought, the ECU remembers things. As the cam chain wore over a long period it thought this was ok. When the new chain was fitted the ECU thought it was too far advanced.
I pulled the fuse on the ECU and waited 20 minutes, put it back and all has been well for some weeks now.