I just got this 2010 with 155k, I initially had CEL with EGR error code, so I cleaned EGR intake, and changed the EGR magnetic motor following YT videos, but that code still there now I got CEL on with so many codes P0A80,P0113,P0102,P0401 I don't know what to do now?.
Does it run and drive? Did you clean the egr cooler? Did you pull the orange hv battery plug and fail to three step it when replacing it? Did you verify all engine connectors are clicked in? Did you try resetting the codes?
The codes labeled "permanent" can just be remembered from a past problem that has been fixed. If so, they should go away on their own as soon as the car has been driven enough for the ECM to re-run the corresponding monitor tests and confirm they've been fixed. If you want to hurry that process along, you can look up the "confirmation driving pattern" for each of those codes in the repair manual (more info).