Chosen Solution

I have an iPhone 5 with a non functional back camera. I have replaced it, and it still doesn’t work. I’m stumped!

try a third party camera app and see if it works. If it does, then you know its a software issue and reinstalling iOS would fix it. If the third party app doesn’t work, then you know its hardware. You already replaced the camera, so then keep moving back and inspect the camera connector very carefully under a scope or high magnification. If the connector is fine, then its time to break out the schematics and move farther back. Try the camera app and inspect the connector very carefully. Update us with results and we can try to help more.