Hello I have a buddy who has asked me to check out and repair his 50000 mile 2007 350z. The intake cam bolt appeared to have back out causing the intake came to come loose and I’m assuming the torque from the rotation of the exhaust cam, snapped the end of cam off. Disassembled and inspected. No timing cove, phaser, phaser cover damage is evident. Used bore scope and found no damage to valves or pistons. Even filled inlet runners with brake clean and none leaked through. Installed a new cam shaft, verified lobe to cup/lifter clearance in Nissan spec. Reassembled using all new timing components and hardware. Performed compression test after reassembly and found all cylinders to have 180+ psi. Started car and in runs extremely rough and will eventually die. Prior to starting made sure to clear all codes. Codes present after starting are p1078 and p0300. Vvt and random misfire codes. Verified all electrical connections and vacuum line routing. Any thoughts? Also car sat apart for 9 months before I was asked to help.