Camera has stopped, please help - Nexus 5 Q&A, Help & Troubleshooting

Hi guys, Nexus 5, stock but rooted, 4.4.2
I tried installing a sony camera app (flashing the zip in CM recovery), it didn't work, but it also stopped the Google Camera from working (I get the "Camera has stopped" error).
I've removed the sony camera using toot explorer, I've tried uninstalling Google Camera updates and re-installing, I've also flashed Jishnu's "restore to stock" zip file from here: http://forum.xda-developers.com/google-nexus-5/development/mod-jishnus-camera-t2516061
Still no luck, can anyone help so I don't have to reinstall everything?
thanks

I've done a couple of factory resets and it's doing the same when it boots

Is the camera apk in the correct folder with correct permissions?
Permissions should be rw-r--r-- (have a look at other apps in the same folder and copy their permissions).
Once you've done that reboot to recovery and clear Cache and Dalvik.
Here's the correct locations for the two different cameras:
New Google camera (com.google.android.Googlecamera-1.apk) = /data/app/
Older "standard" camera (camera2.apk) = /system/app/
Also make sure no traces of the Sony camera are left... check through your folder
Not saying it will 100% work, but worth a try if nothing else does!

The zip might have deleted some of the stock camera libs which are needed to load the stock camera. If I were you, I would backup and flash the factory images and then re-root and restore the backup! (TiBu)
Edit: Since it's just the camera, you could try flashing just the system.img and see whether the camera is fixed or not!

Related

[Q] MIUI Camera

Sensation with Reverted AOSP
I was testing out the Miui Camera for CM7. (http://forum.xda-developers.com/showthread.php?p=15307536)
Installed via Root Explorer. Copied original Camera.apk>sdcard, MiuiCameramod>system/app renamed to Camera.apk, changed permissions and owners. Reboot
Camera works fine. Gave me an option to zoom in camera mode and camcorder mode, onscreen. Played around with features.
Decided to revert to Classis CM7 Camera.apk.
Removed Camera.apk (miuimod version), copied Original Camera.apk from sdcard to system/app changed permissions and owners.
Using the stock camera now, the ZOOM of the camcorder is permanently stuck to up. See attached picture.
The zoom bar doesnt move when touched. This only occurs on CM7 ROMs.
Steps Taken to resolve:
Using the Miui ROM, camera has full functionality. Took videos and pictures to try "kick" the hardware back into working order. No difference.
Using the Stock HTC Sense Rom, camera has full functionality. Took videos and pictures, same as above, no kick.
Using CM7 Roms, Video Recording is Zoomed permanently. Tried using different market video apps with mixed recording views. Some zoomed some not.
Reflashing the Same rom does NOT work. Even after Factory Reset + Cache + Dalvik clear.
Updated to bricked kernel. (I thought I might try it as some camera dependancies are from the kernel.
So basically im trying to kick my camera(video recording) hardware out of its permazoomed mode in CM7.
Anyone have any ideas? How would one reset/resolve camera issues?
Also: For you sensation users: DO NOT flash the Miui Camera mod to your phone. Unless you want to be like me, and have a permanently zoomed camcorder.
Any help appreciated, Thanks.
Bump. Any ideas?
Flash your RUU, then root again and flash the ROM you had before the mod buggered things up.
OR super wipe and restore your nandroid you took before flashing the mod

Stock gallery 3D

ok, i have unistalled and reinstalled many stock apps through root explore by just copying them back in the system/app folder and giving the the proper permissions and rebooting.
but i can not seem to get it to work with the stock gallery app. any ideas??
i have been reading and others say that you have to return to stock to get the Gallery to work again.
Nevermind i am just going to reflash red Sonja and take it from there.

Restoring a system app?

So here's the case- I used the zero camera mod, and don't have a recovery backup before that point, although I have made a backup copy of the two files, which the mod replaces. Now I want to restore the original camera app, but I can't.
Here is what I have tried:
Manual replacement with root explorer, after setting the right permissions, and the app just disappeared from drawer. After that, tried wiping cache and dalvik-didn't help.
So next thing-replaced my original files with those from the zerocam zip and flashed them, again with wiping caches and fixing permissions, and again no luck....
Any ideas why the s##t isn't working, like it's supposed to, and how to get back the original camera app? I've done such things thousands of times on other phones, without any problems, and can't figure out what's the problem here....
Sent from my HTC One S using Tapatalk 2
Boot into recovery and replace the files through adb. You cant replace system apps while the system is running, in most cases.
Tried with the file manager of trwp - again, the app just disappeared... Fixing permissions and wiping caches didn't help either...
Sent from my HTC One S using Tapatalk 2

Camera App keeps crashing, error displayed

For some reason the Camera app on my galaxy 2 10.1 keeps throwing an error when I try to launch it.
It says can't connect to camera and I just get to close the APP.
I tried rebooting the tablet - it didn't help. Also tried clearing the cache for the APP and it didn't make a difference.
Running SlimKat rom 4.4.4.
Can someone shed some light for me on how to fix this issue?
DHeffernan said:
For some reason the Camera app on my galaxy 2 10.1 keeps throwing an error when I try to launch it.
It says can't connect to camera and I just get to close the APP.
I tried rebooting the tablet - it didn't help. Also tried clearing the cache for the APP and it didn't make a difference.
Running SlimKat rom 4.4.4.
Can someone shed some light for me on how to fix this issue?
Click to expand...
Click to collapse
Sometimes (this worked on a different ROM for the 7 inch version, but its worth trying) installing Google camera to system/app and removing stick camera works (always nandroid backup first so if something goes wrong you dont have to reflash.)
Sent from my SGH-T989
EDIT: also, did you clean flash or dirty flash SlimKat?
jrc2 said:
Sometimes (this worked on a different ROM for the 7 inch version, but its worth trying) installing Google camera to system/app and removing stick camera works (always nandroid backup first so if something goes wrong you dont have to reflash.)
Sent from my SGH-T989
EDIT: also, did you clean flash or dirty flash SlimKat?
Click to expand...
Click to collapse
Clean flash Kitkat, can't recall if the camera worked or not when I first flashed it but I'm pretty sure it did. So it just randomly stopped.
Where does one obtain Google Camera? Right in the playstore?
And can I just uninstall the stock Camera app using the Dev tools of the rom?
DHeffernan said:
Clean flash Kitkat, can't recall if the camera worked or not when I first flashed it but I'm pretty sure it did. So it just randomly stopped.
Where does one obtain Google Camera? Right in the playstore?
And can I just uninstall the stock Camera app using the Dev tools of the rom?
Click to expand...
Click to collapse
Yes, google camera is in the play store. It actually probably does not need to be installed as a system app. Idk what tools are in SlimKat ATM but I've always just gone into es file explorer as root or used root explorer, mounted / and /system as R/W and deleted the camera apk from /system/app. Then just wipe cache and Dalvik in recovery and reboot. This may or may not fix the problem, but it worked for me. Again, make a backup first.
Sent from my SGH-T989
jrc2 said:
Yes, google camera is in the play store. It actually probably does not need to be installed as a system app. Idk what tools are in SlimKat ATM but I've always just gone into es file explorer as root or used root explorer, mounted / and /system as R/W and deleted the camera apk from /system/app. Then just wipe cache and Dalvik in recovery and reboot. This may or may not fix the problem, but it worked for me. Again, make a backup first.
Sent from my SGH-T989
Click to expand...
Click to collapse
How do you install something as a system app?
DHeffernan said:
How do you install something as a system app?
Click to expand...
Click to collapse
Don't install it with package installer. If you installed it from the Play Store, cut the apk from /data/app and move it to /system/app and change the permissions to the same as the other apps in folder. Google camera shouldn't matter though.
Sent from my SGH-T989
jrc2 said:
Don't install it with package installer. If you installed it from the Play Store, cut the apk from /data/app and move it to /system/app and change the permissions to the same as the other apps in folder. Google camera shouldn't matter though.
Sent from my SGH-T989
Click to expand...
Click to collapse
Google camera does not come up on my device in the results from the playstore..
What I get for Google Camera is this here.. https://play.google.com/store/apps/details?id=com.netco.camera&hl=en
DHeffernan said:
Google camera does not come up on my device in the results from the playstore..
What I get for Google Camera is this here.. https://play.google.com/store/apps/details?id=com.netco.camera&hl=en
Click to expand...
Click to collapse
See if you can install this https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
Sent from my SGH-T989
jrc2 said:
See if you can install this https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
Sent from my SGH-T989
Click to expand...
Click to collapse
Don't get it in the search results at all.
DHeffernan said:
Don't get it in the search results at all.
Click to expand...
Click to collapse
Did you click the link? If you are not viewing this on your tablet, email the link to yourself and open it in your tablet.
Sent from my SGH-T989
google camera is not compatible with our tabs....even if you do get it installed its pretty useless IMO. Grab your ROM zip and go into it and find your camera.apk. unzip it to your sd card and then go back in and long press it and reinstall it. It may (did for me) work that way. If not try another (different) ROM. Grab zip file go in and find the camera apk under apps, unzip and then reinstall. NOTE: for me, I had to go into Titanium and completely remove the camera app that i had and then do the above procedure. I trial and errored it and it worked for me. Finally
Edit: and yes, please nandroid backup b4 trying anything
CSP III said:
google camera is not compatible with our tabs....even if you do get it installed its pretty useless IMO. Grab your ROM zip and go into it and find your camera.apk. unzip it to your sd card and then go back in and long press it and reinstall it. It may (did for me) work that way. If not try another (different) ROM. Grab zip file go in and find the camera apk under apps, unzip and then reinstall. NOTE: for me, I had to go into Titanium and completely remove the camera app that i had and then do the above procedure. I trial and errored it and it worked for me. Finally
Edit: and yes, please nandroid backup b4 trying anything
Click to expand...
Click to collapse
@Android-Andi posted in another tab2 thread that flashing next kernel (and vendor blobs) will fix the problem.
Sent from my SGH-T989
jrc2 said:
@Android-Andi posted in another tab2 thread that flashing next kernel (and vendor blobs) will fix the problem.
Sent from my SGH-T989
Click to expand...
Click to collapse
True, True....Andi is the man around here. (very thankful for him) Good luck bro!

[MOD] S8 Themed - Stock S4 Camera

Hey S4 users, I spared some time to work on theming the S4 camera with S8 themed and wanted to share this with all of you. This is V1 release, I will update when I have some free time.
Screenshot is in attached thumbnails
It's been tested working on MORPHOSE Nougat ROM V1 and V2, FirstFlight ROM, Ale95 ROM, WizCyan 4.1 and 5 ROM, PhoeniX Grace ROM and it's supposed to work on the rest of Touchwiz ROMs
Please do not take or use my files without my permission. If you want to include this on your ROM, just leave my name on credits
Instructions:
1. Delete SamsungCamera2 folder on root/system/app
2. Reboot to recovery and flash the zip
3. Go to settings -> applications -> clear app data & cache for camera
4. Launch camera and you're done
Please make a backup of your camera, just in case if something unexpected happens
Press thanks if you like it
Many, thanks, at the moment seems to work fine in s4i9505 with wizcyan rom, I need to try the modes, thank you very much for the effort
luiwii said:
Many, thanks, at the moment seems to work fine in s4i9505 with wizcyan rom, I need to try the modes, thank you very much for the effort
Click to expand...
Click to collapse
No problem mate
Does it work on Galaxy i9500?
Hi Guys,
Does this mod works on Galaxy i9500?
Need to know before flashing.
Thanks
chandarlin said:
Hi Guys,
Does this mod works on Galaxy i9500?
Need to know before flashing.
Thanks
Click to expand...
Click to collapse
Yes it does, my device is i9500
My camera always shows force close, I have installed first flight rom for S4 I9500, this happens after I changed location tag in camera's settings, I can't open the camera since then help. I tried changing the apk in system/app and it didn't work
ricardo_beatles said:
My camera always shows force close, I have installed first flight rom for S4 I9500, this happens after I changed location tag in camera's settings, I can't open the camera since then help. I tried changing the apk in system/app and it didn't work
Click to expand...
Click to collapse
Just clear camera data, it should work again. If it still doesn't work, delete the camera folder in system, flash my zip, then clear camera data again before opening the camera. It'll work
RafaelRivero16 said:
Just clear camera data, it should work again. If it still doesn't work, delete the camera folder in system, flash my zip, then clear camera data again before opening the camera. It'll work
Click to expand...
Click to collapse
It didn't work dude :crying: I don't know what else to do
ricardo_beatles said:
It didn't work dude :crying: I don't know what else to do
Click to expand...
Click to collapse
Did you follow my steps? What did not work? After flashing no camera app or what? Please explain clearly
RafaelRivero16 said:
Did you follow my steps? What did not work? After flashing no camera app or what? Please explain clearly
Click to expand...
Click to collapse
Well, Yes I followed the steps, I delete SamsungCamera2 folder in system/apps and next I flash the zip normally in recovery but when my phone started it didn't install anything, I flash it twice but nothing, so I decompressed the zip and I placed the camera's apk in the respective folder giving it the correct permissions for both, SamsungCamera2 folder and the apk, after my phone started the camera was there so I deleted the cache and camera data in settings and I opened it but the same, it shows "unfortunately camera has stopped" or something like that, I can't solve this, help. Thank you
ricardo_beatles said:
Well, Yes I followed the steps, I delete SamsungCamera2 folder in system/apps and next I flash the zip normally in recovery but when my phone started it didn't install anything, I flash it twice but nothing, so I decompressed the zip and I placed the camera's apk in the respective folder giving it the correct permissions for both, SamsungCamera2 folder and the apk, after my phone started the camera was there so I deleted the cache and camera data in settings and I opened it but the same, it shows "unfortunately camera has stopped" or something like that, I can't solve this, help. Thank you
Click to expand...
Click to collapse
Do you have a backup of your original camera? If yes try to use your backup if not, we'll have to ask for camera originally for FF to fix yours
RafaelRivero16 said:
Do you have a backup of your original camera? If yes try to use your backup if not, we'll have to ask for camera originally for FF to fix yours
Click to expand...
Click to collapse
No dude, I don't have a backup of my original camera, I had found a post where there was a zip claiming to be the stock camera, so I downloaded and installed it and it seemed to be the original but the problem was the same. The camera works, meanwhile I'm using Google Camera app and it works well, but I would like to have again the original Samsung Camera
ricardo_beatles said:
No dude, I don't have a backup of my original camera, I had found a post where there was a zip claiming to be the stock camera, so I downloaded and installed it and it seemed to be the original but the problem was the same. The camera works, meanwhile I'm using Google Camera app and it works well, but I would like to have again the original Samsung Camera
Click to expand...
Click to collapse
Your error started after enabling location tag right? But before that it did work right?
RafaelRivero16 said:
Your error started after enabling location tag right? But before that it did work right?
Click to expand...
Click to collapse
Yes, after I enabled location tag in camera settings it showed force close or camera has stopped working, before that it worked perfectly, I also tried erasing cache partition in recovery but nothing happens
can you port it to make it work on the I9506 ?
ricardo_beatles said:
Yes, after I enabled location tag in camera settings it showed force close or camera has stopped working, before that it worked perfectly, I also tried erasing cache partition in recovery but nothing happens
Click to expand...
Click to collapse
I see, then I suppose it is a ROM issue since the original camera happens to be the same. Try to ask on FF post how to fix camera error after enabling location tag, tell them that you had clear app data and others.
Hedi.Karray said:
can you port it to make it work on the I9506 ?
Click to expand...
Click to collapse
I think I can, I just need the original camera of I9506 but I cannot test it since I don't have the device, if you want I could try but you test, send me the original camera. However I couldn't work on it right now, I got 2 more exams, ends in 8th of June, so after that I can work on it.
RafaelRivero16 said:
Hey S4 users, I spared some time to work on theming the S4 camera with S8 themed and wanted to share with all of you. This is V1 release, I will update after I finish my exams.
Screenshot is in attached thumbnails
It's been tested working on MORPHOSE Nougat ROM V1.0, which I could guarantee that this will work on all Ale's ROM port and I think it's supposed to work on the rest of Touchwiz ROMs
Please do not take or use my files without my permission. If you want to include this on your ROM, just leave my name on credits
Instructions:
1. Delete SamsungCamera2 folder on root/system/app
2. Reboot to recovery and flash the zip
3. Go to settings -> applications -> clear app data & cache for camera
4. Launch camera and you're done
Please make a backup of your camera, just in case if something unexpected happens
Press thanks if you like it
Click to expand...
Click to collapse
but the camera icon not themed like s8 ?
adel alsayed said:
but the camera icon not themed like s8 ?
Click to expand...
Click to collapse
I can change that on next update
RafaelRivero16 said:
I can change that on next update
Click to expand...
Click to collapse
Okay we are waiting for that... thanks

Categories

Resources