Thank you for using Apple Support Communities. It's my understanding that the rear camera on your iPhone doesn't work. I know camera issues can be very concerning. Since the issue persists after erasing your iPhone, I recommend contacting Apple Support for further assistance.