You need to supply more info as far as what os, rom, what else isn't working before you get any input. If all is well and just the camera is borked you can always flash a camera apk. Reflashing the rom may also help.
Sent from my bluetooth equipped toaster using mind control.
Sent from my Ginger infused Asus G73.