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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Lg Optimus one(LG-P509) running CyanogenMod7 stable. Apparently there is a bug with the camera device. If the screen is turned off while the camera is active, the camera won't initialize again. If I try to start the camera up, it freezes up and crashes with a "Camera not responding" popup. It kicks me back to the home screen afterwards.

The camera is usable again after a reboot, however it can still happen again. I've found that the bug is not limited to the stock camera app, it still happens with other apps that use the camera.

I thought that if it's possible to reload the device for the camera with the command line, I could automate it with a script. I just can't seem to find any documentation on the subject.

What do I need to do to accomplish this?

share|improve this question

closed as too localized by ce4, Flow, Zuul, Izzy, roxan Sep 25 '12 at 8:21

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Seems too localized for me, voting to close. (Reason: asking for a workaround for a bug for a specific phone/Cyanogenmod combination instead of getting a fix in the first place). Have you tried CM9/10 inofficial builds yet ( – ce4 Sep 24 '12 at 17:19
I've heard that the bug is partially fixed in the current nightly. However I've had CM7 running very stable since install, this is the only bug I've encountered so far. I'm not going to risk instability for fixing a single bug. – Zachary Sep 24 '12 at 17:31