I have a smartphone which the camera doesn't work very well with CyanogenMod.

Sometimes (and very often), after taking some picture the camera stops working until I restart the phone.

When I try to open it, it just says "Cannot connect to camera".

I'd like to know if there are some way to "restart" the camera service, or something like that, because it's very annoying to be obligated to restart the phone everytime it stops working.

If that's somehow useful, I have a modified version of CyanogenMod 7 installed.

  • What is your device?
    – t0mm13b
    Dec 30 '12 at 21:48
  • It's ZTE Racer. The problem is that the camera was modified by the carrier that sold it. Dec 30 '12 at 21:52
  • 2
    Might be best to check over on Modaco's ZTE Racer Forum Very likely the kernel has got a unstable driver for camera capture... head over there and you might find the answer :)
    – t0mm13b
    Dec 30 '12 at 21:55
  • @DielsonSales Have you managed to find a solution to this problem in the end ? Jun 20 '13 at 21:46
  • No, the only way to get the camera to work properly was coming back to the original version of Android. Jun 20 '13 at 23:12

If the problem is in the kernel driver, as t0mm13b suggests, then only resetting the kernel driver will help. There might be a hacky way to achieve this with rmmod from the command line, if the device is rooted and that driver was built as a module in that ROM. I wouldn't recommend it. Restarting the phone is probably the only way to reset the driver.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.