Chosen Solution
I just replaced the charging port in iphone 8, the phone is now turning off when I put phone to ear when making a call. Also the lock button is turning off the phone too. Any idea what I need to do?
The problems you are describing are somewhat generic and could be interpreted as normal functions on the iPhone. We need more details about what specifically the phone is doing that it shouldn’t. Looking at them as a problem, they shouldn’t be related to the charging port replacement itself. The malfunction may have been caused by improper installation on the other parts when reassembling the device. Recheck your work following this guide to see if anything doesn’t look right.