Huawei Ascend P1 — camera problems

Hi there. So my camera on my huawei asend p1 has had a "camera error: cannot connect to camera" message since I got the screen replaced dye to a crack. But, I took it back and they checked and the camera was connected properly so they don't know what it is. I have done a factory reset numerous times as well as a hard reset and nothing works. The camera would work every now and then and then the error message comes back? A few days ago it worked all of a sudden it is back to the error message. I'm really upset because I don't want to get a new phone as I love this one. Huawei themselves can't even give my an answer which is quite suprising..