P0641 can set if a terminal was damaged in the connector C107. It’s the one on the driver side valve cover between upper coolant pipe and charge air pipe. Just unplug both those main connectors there and look for bent/damaged terminals. If you didn’t have the codes prior to the work, it’s...