A couple weeks ago my camera stopped working. When starting the camera app on CM 10.1.3 I get a message that says "Camera Error. Can't connect to the camera" and then the app closes. Thinking this was a software issue, I reflashed CM 10.1.3 stable and 10.1.3 nightly 20130922 with no luck. I then flashed a stock v7 ROM with no luck. I am on CM 10.1.3 nightly 20131007 with no working camera. Just last night I tried to the use the flashlight (Torch) app and was having similar problems. The app will initialize but when I tap the lightbulb, the app closes and I get a "Unfortunately, Torch has stopped" message. I've done a little research and found issues with the camera app and the gallery app. My gallery app seems to work fine. I do have two gallery apps though (gallery4.apk and gallery2.apk). Also, I do not see a camera.apk however I am unsure if that exists or if the camera works under another process. I am about to order a replacement camera module on eBay for $10 but I was wondering if anyone else has had any issues like this. I haven't found anyone with the same problem that wasn't solved by reflashing (or flashing a stock ROM). Any help here is appreciated.