Info 2 [Q] Samsung Galaxy S4 i9500 camera failed?

Hi, this is what's happening to my phone:

Its Samsung Galaxy S4 I9500
I've used stock rom over a 3-4 months and install CRASH rom
and also CRASH rom worked also over 3-4 months and one day i got
CAMERA FAILED, i have read all kinds of threats about this problem
I can fix it when i do factory reset but after few days it happened again
so i install official rom without any root.. and it work for 2 weeks and it happened
again CAMERA FAILED, so is anybody have any advice what should I do
it's really frustrating, can't do factory reset all the time