Could be that the codes are keeping it from hitting lift.
Among those here who have had lift problems, the more common issues that have caused 2ZZs to not go into lift are the oil control valves (OCVs) and filters, and lift bolts.
See
viewtopic.php?p=497734 for one discussion about the OCVs and filters. Pretty sure there are other threads here about them. The screen filters can get gunked up.
There's a good youtube on changing the lift bolts on a 2ZZ at
https://www.youtube.com/watch?v=Kg1CvcrYegw. If they wear too much they can break.