| CyanogenMod Camera Bug | Solved | "Cannot connect to Camera?" Solved!

Justin Thought

Senior Member
May 5, 2013
426
308
0
Monterrey
It's funny how some of the same problems keep showing up time after time. I started experiencing the camera freeze on my favorite ROM, and so I dug this thread up and--viola!--it works like a charm! Thanks for sharing this!
 

gerguven

New member
Dec 11, 2014
1
0
0
I have the camera problem on my S3 Cyanogen rom, installed the Restart Camera.apk, but it doesn't help, the camera still crashes.

---------- Post added at 11:00 AM ---------- Previous post was at 10:54 AM ----------

Thanks a lot! Camera on SGS3 with CM11 works! Would be great if this could be somehow combined: If camera is in hang mode, execute script and start cam otherwhise only start cam...
Can you tell me how you managed to make it work? Mine still doesn't.
 

Razeer123

Member
Aug 20, 2013
33
6
0
I have the camera problem on my S3 Cyanogen rom, installed the Restart Camera.apk, but it doesn't help, the camera still crashes.

---------- Post added at 11:00 AM ---------- Previous post was at 10:54 AM ----------



Can you tell me how you managed to make it work? Mine still doesn't.
On CM11 I was using Camera (CMFix) for Cyanogenmod from Google Play and it was working perfectly (LINK - delete spaces, cause I don't have 10 posts yet: https:// play.google. com/store/apps/details?id=com.billgbennett.camerafix) Just follow the steps in app info:
1. Install this app.
2. Allow apps from unknown sources in your phones Settings>Security menu.
3. Download and install Restart Camera from IT WAS A LINK TO DOWNLOAD FILE FROM THIS TOPIC.
4. To use this app, just open it, but first time you use it, you will be asked for Superuser permissions. Select "allow every time" and "remember this choice forever".
5. Now, you can replace any camera shortcuts with a shortcut to this app on your homescreen if you want quicker access to your camera!
6. You'll also have the app "Restart Camera" in your menu, but it can be safely ignored, so long as you leave it installed.

//Topic

This app isn't working on CM12 by Temasek.
 
Last edited:
  • Like
Reactions: goofwear

Hbohd

Senior Member
Jul 10, 2012
1,338
1,592
0
Lodz
I noticed same thing, it doesn't work on 5.0.2 or 5.1

I don't know what the problem exactly is, however I found out that a shell command 'pkill -9 mediaserver' works just fine. I tried to simplify usage and set some home shortcut for a terminal command, but I failed. Therefore, I have a kind request if @temasek or anyone else could create an app which executes this one line. May be useful for others too ;)
 

whatsgood

Senior Member
Aug 19, 2012
380
115
0
I noticed same thing, it doesn't work on 5.0.2 or 5.1

I don't know what the problem exactly is, however I found out that a shell command 'pkill -9 mediaserver' works just fine. I tried to simplify usage and set some home shortcut for a terminal command, but I failed. Therefore, I have a kind request if @temasek or anyone else could create an app which executes this one line. May be useful for others too ;)
There is an app on play store called mediaserver killer. That does the same thing, and it works
 

measel

Senior Member
Jan 13, 2011
981
541
0
I noticed same thing, it doesn't work on 5.0.2 or 5.1

I don't know what the problem exactly is, however I found out that a shell command 'pkill -9 mediaserver' works just fine. I tried to simplify usage and set some home shortcut for a terminal command, but I failed. Therefore, I have a kind request if @temasek or anyone else could create an app which executes this one line. May be useful for others too ;)
Using your command on i9505-CM12.1-optimized doesn't help. Cannot open camera afterwards.