If it didn't work in Safe Mode, then there's either something wrong with the camera hardware, or with the system firmware. You may have to try a full factory reset. If that doesn't help, then contact a Samsung service center. Is the phone still under warranty?