Chosen Solution

Iphone 6s where the homebutton diddnt work with pressning function but touch id did work. Replaced The homebutton. But if i press 5he poser button so The screen gets black, for a little while The home button work but if i wait about 30 secounds The homebutton wont work. If I lift The Phone up so screen Lights up or press power button so The screen lights up The home button works fine. Any ideas?

Possibly damaged the flex cables on the screen during the replacement process or the button is just faulty.