Chosen Solution

So my camera cannot focus on near objects, it focuses on the background. I tried replacing but still the same, reset too. A tech said that it is in the board. Also, Awhen i removed the camera a blue part came out does this cause my compass and running apps not work screen rotates work. how do I fix that? my front speaker and mic won’t work either did I might have touched or moved anything in the process help please

Front speaker and mic will be related to an issue with the proximity flex cable, try making sure it is seated properly and take a look at the connector for any bent pins or anything like that. If that still doesn’t solve it you could try replacing the entire cable.

TLDR; If you do a housing swap on the 6s make sure you put the grounding bracket part in the new housing or the camera won’t focus. I have solved the issue in my iPhone 6s the camera not focusing after a Housing swap. The way I solved it is that I noticed that the new housing did not come with this bracket and I didn’t swap it since I thought it was just for protection purposes, but it turns out it is the grounding for the Focus voltage rail.