P0016 should be crank/cam shaft sensor.
P0077 is Intake Valve Control Solenoid Circuit High Bank 1
Seems like you changed something you didn't need to causing another issue. I would go back and check the wiring for the VVT now that you have an error for it. Then fix the original issue.
P0077 is Intake Valve Control Solenoid Circuit High Bank 1
Seems like you changed something you didn't need to causing another issue. I would go back and check the wiring for the VVT now that you have an error for it. Then fix the original issue.