Camera crash when switching video back from slowmo - Nexus 5X Q&A, Help & Troubleshooting

For me stock camera disconnects and can't connect again without reboot, when I got video to slow motion and than turning back. This only happend to me when using franco.Kernel. The dev is sure though, that the problem can't be in the kernel.
ATM on latest stock rom, latest vendor flashed.
I attached a logcat, so hopefully somebody can help me find the reason for my problem.View attachment camproblem.log

Found the problem. It was enabeled EIS on system level. Just toggeling in the camera was not enough to be rid of it. Had to be handled via build prop.

Related

[Q] Camera Broken Upon Update?

Anyone else have the camera load to a blank black screen with no buttons in any and all apps that utilize the camera? Camera, Barcode Scanner, Sniper Shot, and all other programs that use the camera fail to load since the update. Anyone have any idea as to why?
DanielWGK said:
Anyone else have the camera load to a blank black screen with no buttons in any and all apps that utilize the camera? Camera, Barcode Scanner, Sniper Shot, and all other programs that use the camera fail to load since the update. Anyone have any idea as to why?
Click to expand...
Click to collapse
Did you try a restart, I have heard of camera problems like this before (i think first FroYo update) and all it needed was a simple reboot.
Reboot didn't work. I reflashed the rom and BAM, it worked again. Crisis averted.
I have the same problem.
I'm running the following:
Azreal 3.0
circular battery widget update
removed HTC lock screen
superior battery charging kernel
wifi hotspot patch
I'm currently trying things to figure out what will fix it.
Here are the current things I have tried that did NOT fix the problem:
Reboot
Wipe cache/davlik cache
fix UID mismatches
I then reflashed azreal 3.0
At this point the camera worked again but everything was wiped. I then reapplied the following patches:
Circular battery
remove HTC lock screen
wifi/hotspot patch
after this everything continued to work
I then applied:
superior battery charging kernel and it broke again
I think the problem is the superior battery charging kernel
i am having the same problem and have not been successful yet fixing it. switched from cm7 back to stock to update my prl and tryed to use the camera while stock when the black blank screen happened. flashed to evdo(sense) and same result. flashed back to cm7 and the 1st time i opened camera it opened the ffc. when i tried to switch and everytime i have tried to open it since i get "camera error cannot connect to camera" help plz!
If you have HW 0004 phone or HW003 with the new camera, you have to make sure your rom has a kernel with the NEW drivers. The kernel in my signature has the new drivers for ASOP roms (like cm 7).
just flashed Savaged-Zen-V002-CFS-HAVS-SBC-WiMAX - GB.zip
with the same result running cm7. seems like ive tried 20 different things with no success. everything i have flashed has been off my sd meaning i have had all of it running before at one time or another with no problem. i really cant think of what ive done new to have caused this
Same here
Happened to me right after I flashed calkulins_format_all.zip and then the MikFroyo4.4.zip yesterday. I thought it was a problem with mikfroyo so I flashed Azraelz 3.1 and still the same issue (i was using azrael 3.0 with no prob prior to mikfroyo).
I'll post if I find anything that works, please also give any suggestions i'm willing to try anything b4 i take her to sprint.
I also flashed calkulins evio rom. When I flash back to stock it will start running again sometimes. Not even right away though. It will be black for a while then if I just let the phone sleep for a bit and come back to it bam. Camera again. For a little while. Then back to the same thing an hour later without doing anything! This is very frustrating! Someone plz help!
Sent from my PC36100 using XDA App
UPDATE
I turned my phone off and switched SD cards to one that has an old backup (3.29, kernel#11), when I booted into recovery, I could hear clicking noices coming from the lens, at a super fast rate (say 2-3 clicks a second).
Not wanting to do any more damage I turned off the phone.
I did just take my phone to sprint to fix my kick stand, maybe they did something to mess with me (thats just my paranoid side speaking)...
But what gives? What would make the camera shutter do that while im in recovery (btw using latest amon ra recovery)?

[Q] PLEASE Help!!!!

I am currently running CyanogenMod 11 (M3) for t-mobile. I really need help fixing my camera. I was having problems with my camera earlier but now it is constantly force closing. Just recently the camera updated to Google camera and I was hoping the force would not occur anymore, but now it's even worse. If any ideas how to fix PLEASE tell me because I have many needs for the camera. This how the problem occurs: I try to take a picture and it will take it then it will freeze and I have to kill the app. Then I try to restart the app but I get an "Camera error: cannot connect to the camera." The problem was really bad after I flashed the ROM so I deleted that camera and flashed a "better" one. I try to use the other features of this updated Google camera but none of them work such as: lens blur, panorama or photo sphere . I would really love having these features working or even taking regular pictures without any force closes. I have to use the camera everyday so please help as soon as possible. Please anyone help me solve this problem!!!! (Current Phone: Samsung Galaxy S3 SGH-T999)
Thanks for the help in advance!! 
Sent from my SGH-T999 using XDA Premium 4 mobile app
First thing I'd do is make a nandroid backup, then factory reset. If it fixes it then some data you had was causing the issue.
Next thing to try is copy the cameradata folder from a stock rom to yours. Reboot and test.
If that doesnt help i would then Odin flash stock/root66 firmware and factory reset. Then test the camera. If its still not working it may be hardware. If it works, you can be certain its software/firmware related. No sense in more troubleshooting if you determine its hardware related.
If it works on stock but not after a clean rom flash, the rom is likely the problem. Search its thread for similar issues.
Good luck!
DocHoliday77 said:
First thing I'd do is make a nandroid backup, then factory reset. If it fixes it then some data you had was causing the issue.
Next thing to try is copy the cameradata folder from a stock rom to yours. Reboot and test.
If that doesnt help i would then Odin flash stock/root66 firmware and factory reset. Then test the camera. If its still not working it may be hardware. If it works, you can be certain its software/firmware related. No sense in more troubleshooting if you determine its hardware related.
If it works on stock but not after a clean rom flash, the rom is likely the problem. Search its thread for similar issues.
Good luck!
Click to expand...
Click to collapse
Thank you so much for the reply I will try this! If the factory reset does not work do you where I would able to find the camera data folder for Stock S3 Rom?
Unzip any stock based rom such as StockMod and its in the system folder.
Help?!
DocHoliday77 said:
Unzip any stock based rom such as StockMod and its in the system folder.
Click to expand...
Click to collapse
The reset didn't work...I', trying to fix this camera https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
This camera keeps freezing and then I have to end the task. After I end the task and try to go back to camera I get an "Camera error: Can't connect to camera." The lens blur and photo sphere and panorama are not working. Also, the camera is not taking the full screen when in rear facing camera but when I change to front facing the size becomes even smaller. Any idea how I can fix these problems? I am getting frustrated
me too!!
tennispro820 said:
The reset didn't work...I', trying to fix this camera https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
This camera keeps freezing and then I have to end the task. After I end the task and try to go back to camera I get an "Camera error: Can't connect to camera." The lens blur and photo sphere and panorama are not working. Also, the camera is not taking the full screen when in rear facing camera but when I change to front facing the size becomes even smaller. Any idea how I can fix these problems? I am getting frustrated
Click to expand...
Click to collapse
Me too! Facing all that errors and don't still know how to fix them.
Solved
Soe Min Thu said:
Me too! Facing all that errors and don't still know how to fix them.
Click to expand...
Click to collapse
I figured it out...it was a ROM problem. I flashed liquid smooth 4.4.2 and it worked perfectly.
tennispro820 said:
I figured it out...it was a ROM problem. I flashed liquid smooth 4.4.2 and it worked perfectly.
Click to expand...
Click to collapse
Ok, then, that issue would be fixed if I flash the latest nightly CM 11 Rom??
Soe Min Thu said:
Ok, then, that issue would be fixed if I flash the latest nightly CM 11 Rom??
Click to expand...
Click to collapse
It is a possibility, you can try and see. I flashed a completely different ROM.

UNSOLVABLE camera error on Lineage/CM

Hello,
I'm using a Z008, and everytime I take a picture with PixelMaster, it returns a green picture (only Auto mode and Manual mode, HDR works fine). I tried to make PixelMaster a system app, turn off Optimizations, still no help. It happens on EVERY custom rom, on both LPblobs and MMblobs builds. It used to work partially before, and now it doesn't work anymore. Have anyone experienced this?
Thanks in advance.

Back camera not working/Flashlight not activating on stock, custom ROM or safe mode

Hi all,
I've been having quite a few problems with my month-old HTC 10, specifically with the camera (and the WLAN coverage, but at least that's working somewhat!) I finally unpacked it last week and have spent the whole week since attempting to fix the "Camera has stopped/Unable to connect to camera" problem. The selfie camera, however, is perfect and can be used in other apps, but attempting to switch to the camera on the back results in a freeze/force close. Considering I decided on the HTC 10 because of the camera quality, I'm a bit disappointed so far. A google search reveal a number of people having the same problem, but no real solution. Here's what I've done so far:
- Set up phone, comes with Nougat 7.0. Camera works at first, though seems to have problems with the auto focus. Camera app then updates overnight and stops working. Clear data/cache, remove updates, hard reset - no good. Flashlight does not work either, simply says "loading..." and stays like this indefinitely until closed.
- Factory reset, no change. Switch to safe mode, no change. Decided to unlock bootloader and install custom ROM after hearing that would fix it (I know, I know...I should have just sent it back at this point). Install Viper 5.10 + root with magisk, camera and flashlight still not working. Safe mode, not working. Full wipe in TWRP, RUU back to stock firmware (CID: HTC_034, flashed 2.41.401.3 signed firmware). Set up phone again on stock firmware, still no change in camera or flashlight.
- Install LeeDroid 10 3.7.0 custom ROM, root with magisk. I get a breakthrough here; turning off "OK Google" in settings gets the camera and flashlight working again! Still have the "laser autofocus blocked" issue, but I figure I'll deal with that later. Backed up with TiBu.
- Next day, decide to use a ROM that includes the latest security patches (got a bit annoyed waiting for HTC to push out the European updates, still on 1st January patch) so went for Resurrection Remix. Wipe, clean install etc. Camera stops working again, no change in safe mode. Wipe, clean flash back to LeeDroid, camera is no longer working, in normal mode or safe mode.
- Went through a bunch of custom ROMs at this point; ICE, Dirty Unicorns, LineageOS, then decided to try RR, LeeDroid and Viper again - camera still not working in normal mode or safe mode. With the ROMs that required GApps, used every package in both Open GApps and Dynamic GApps to install. No change to camera, Google Camera was unable to start as well.
- Flashed upgraded RUU (2.41.401.4 signed firmware) and went through the process of wipe/clean install custom ROM/test camera with all the above custom ROMs in normal mode and safe mode. No change in camera, though the ROMs were all excellently made
At this point I'm pretty stumped If it was a hardware problem, why did it work when I first installed LeeDroid, but not after? It's not been mishandled, it's just been sitting on my desk since I got it. The fact that it doesn't work in safe mode would suggest to me that ,maybe, a camera driver has been deleted somewhere along the way? I also tried a load of other methods I found on various message boards; flash it with no SD card inserted, flash without SIM card installed, etc. but absolutely nothing works.
Third party camera apps also don't work; most simply crash on starting. Open Camera says "Unable to access camera. Maybe being used by another app?", so I tried removing the permissions of all apps that had access to the camera except the camera itself - no change. Deleted cache/data/preferences of all apps - no change.
Finally, I had a look at the HTC diagnostics test using *#*# 3424 #*#* on the dialler - the camera test doesn't even show up! :crying:
I've run out of things to try at this point, so I'm posting this here to see if anyone can possibly shed some light on this very strange situation. Is there something I can do to fix it? Or should I start begging Amazon to give me a refund? Unfortunately I'm a week outside their 30 day return window...lesson learned for next time; if in doubt, send it back!
Oops, meant to post this in the Q and A forum. Don't want to spam a duplicate, is it possible to move it over?
Hardware issue. Contact HTC for a replacement. sounds like it may just not be connected. I had one with no working vibration notification, the motor would turn on, you could hear it, but the phone wouldn't vibrate. Got it replaced ASAP! I recommend you do the same!
FinnMacKool said:
Hi all,
I've been having quite a few problems with my month-old HTC 10, specifically with the camera (and the WLAN coverage, but at least that's working somewhat!) I finally unpacked it last week and have spent the whole week since attempting to fix the "Camera has stopped/Unable to connect to camera" problem. The selfie camera, however, is perfect and can be used in other apps, but attempting to switch to the camera on the back results in a freeze/force close. Considering I decided on the HTC 10 because of the camera quality, I'm a bit disappointed so far. A google search reveal a number of people having the same problem, but no real solution. Here's what I've done so far:
- !
Click to expand...
Click to collapse
Same issue here. The only thing that works for me (so far) is flashing back to a Marshmallow rom. HTC has been completely silent on this issue in terms of actually fixing the problem. They know the problem is there for only a small number of us and so aren't going to do anything about it. Fine. This was my first and will be my LAST htc phone. Buh bye htc, you'll never get another dime from me.
Did you fix the issue, coz i have the same in my HTC 10
Hi
follow my post in anildsouza73 blog..I will show how to fix it if someone really spoiled it...have a good day..
from yesterday morning the problem appeared to me. Initially, the difficulty in focusing, then rebooting the impossibility of opening the camera app and the flashlight. I found on Youtube the videos that showed the same problem. Is there a solution today?
Hi all
I found if I cleared my flashlight cache and then the camera cache, soft reset phone I could get the camera working again. Only problem now is the autofocus is not working properly. Any ideas for that?
Same problem. Focus stopped working, then I cannot launch camera app. Anyone found a solution?

Camera issues- help needed

Hi all, I have tried hard to figure out my camera issues but I'm just going to have to reach out and ask for help. I have wiped/factory rest etc, I have completely reflashed the OEM image, I have flashed twrp and currently am running carbon rom and have root access to try to figure the issue out. When I launch the camera app it launches normally but there is no image just a black screen. If I flip the camera to front facing, same issue and same issue with video. It crashes shortly after launching. I have tried different camera apps and have not had any luck. Is there a permission I need to fix or a file that's corrupt and needs fixed/replaced? I can't seem to find anything about my specific problem. Seems most are third party app issues. Oh, speaking of which, the results are the same in safe mode. Sorry if this is not the right forum, hopefully I'm asking in the right place.
If the black screen occurs in both the stock ROM and custom ROM, then yours is a hardware issue. Otherwise, the custom ROM is the likely culprit.

Categories

Resources