Chosen Solution

Hello to everyone! I have replaced the screen with a new one in my Iphone7 as the glass was broken and the proximity sensor didn’t work. Right after the replacement everything seemed to work ok but after 5 minutes the home button stopped to work along with the haptic feedback and sound (touch ID works). So I reopened the phone, unplugged the screen and I got the same behavior. So I reset all the settings of the iPhone and at the boot i got the message to check the home button. Since it works after been plugged it seems that the error is a software one, am I right? How can I fix it? Thank you!!!

This would be a parts problem. If you are lucky it might be a small tear in the home button flex cable the one coming off the screen it usually occurs at the 90 degree bend and can be very tiny. If it is not that flex cable you have most likely damaged the home button assembly when transferring the home button and this is not an easy fix. You could try installing your old screen again to determine which part is faulty.