Before you begin
If you have message "Camera failed" First of all try this: Open Camera app from the "Application manager" and do "Clear data", then restart the phone. Second: Do a Factory reset (of course save your data!). Third: Reinstall Android OS. If this not help you, you have a hardware problem. You need to change the camera. Also you can test the camera from the Hidden / Test menu. Enter this code at the dealer: *#0*# See also: Samsung Galaxy S4 Rear Facing Camera Replacement