Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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.

share|improve this question
    
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. –  Dielson Sales 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 ? –  George Profenza 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. –  Dielson Sales Jun 20 '13 at 23:12

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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