Question: Camera2API Does not See Aux Cams. Any Ideas Why? - Redmi Note 8 Questions & Answers

Long story short, my main back camera works fine. Yet neither the front cam nor aux cams work. Either they are non-responsive or the app force closes.
I am using crDroid now but it was the same with Paranoid Android as well. I cannot remember well but with LineageOS they were working. I once wiped everything in my internal memory, that might have left some mark - or with LineageOS it was raw10 while now it is raw_sensor. Yet I cannot get how these might be problematic.
Any ideas about what might be the problem, or even better, any solutions? Even the slightest hint would be more than welcome. I don't care about so-called macro or "selfie" cam but I liked wide-angle and I am trying to have it again.
I have tried SELinux permissive, did not work. I patched a fix from a Telegram group, something v2, did not work. I tried different cams, did not work. So far all my attempts failed. If I'll somehow find one, I'll just add it to the post.
Thanks in advance for reading, and even more importantly, caring to answer - if you have one.

Related

Disabling autofocus

Hello all,
I have an issue with the autofocus on my brand new phone. The camera work fine in video but when I take au picture, the app freeze and I have to reboot the phone. I've noticed that when i switch the setting of the camera app to infinite (i.e. no autofocus) it work well.
so the issue definitively comes from the autofocus.
I cannot bring back the camera to the shop now (I'm away for several weeks), so i was wondering if there is a possibility to disable globally the autofocus, allowing me to use the apps which do not have this setup in their parameters.
By the way, if you have any link to give which may help me to solve my problem myself, i would be grateful.
I have little hope though.... Just in case,, it may be worthwhile to know that, at the beginning, this problem happened only after charging, and was resolved after letting the phone switch off for several hours.

Camera freezing when recording video (LineageOS)

Hi all,
A colleage is having issues with the Wileyfox Swift on LineageOS Nightlies (currently running lineage-14.1-20170306-nightly-crackling). When recording video using either back- or front-camera, the camera freezes after 30-32 seconds and continues to record a frozen video. Even worse, the camera can no longer be initialised until the phone is rebooted.
- I have tried with the stock LineageOS camera, Google Camera, OpenCamera apps. Same problems.
- I have tried to reduce the resolution up until 480px but that's not the problem apparently.
- I have tried this with both the back and the front-camera
- I've cleaned Dalvik/Cache aswell.
- I've also turned off flashlight entirely.
This does not seem to be a known issue, I don't find any article anywhere. Can someone else please try if they can reproduce it on their Wileyfox Swift running LineageOS? Taking pictures seems to be fine. The user reported to me that it had initially worked using lineage-14.1-20170217-nightly-crackling. I did not dare to downgrade to try this myself though.
Any advice would be appreciated. If someone can reproduce this, please be so kind and mention this is the dev thread.
I just tried. Exactly the same here.
Same issue here.
Thought this would resolve it, but no : https://review.lineageos.org/#/c/165102
Jup. Same issue here.
Same issue for me with lineage-14.1-20170328-nightly-crackling-signed installed.
Bugreport on JIRA: https://jira.lineageos.org/browse/BUGBASH-395
Fixed
Fixed in 20170410 build. Enjoy.
it works with 20170410
I tried the 20170410 build and it is fixed indeed !

N7105 fresh Lineage 7.1.1 (2017/06/19) - Camera Error

Hey guys,
N7105 Lineage 7.1.2 (2017/06/20)
Pretty green to all this. Just reimaged with the latest Lineage, got that working - slick system - only foible this time around is Camera Error ("Can't connect to the camera")
Note, I replaced the back (rear facing) camera with an ebay special recently. The samsung image was ok with it, took photos & clear enough. Cyanogen and Lineage both error out as above on attempting to use the camera.
Pity the backup didn't work. I might end up reversing all the way back to stock at this rate; now, thoughts. Could it be the replacement camera? An N7100 camera, for example? Is there a possible workaround to that - or am I barking up the wrong tree?
I'd prefer Lineage to the stock OS, for sure - if the camera problem can be resolved.
Burt on the Hill said:
Hey guys,
N7105 Lineage 7.1.2 (2017/06/20)
Pretty green to all this. Just reimaged with the latest Lineage, got that working - slick system - only foible this time around is Camera Error ("Can't connect to the camera")
Note, I replaced the back (rear facing) camera with an ebay special recently. The samsung image was ok with it, took photos & clear enough. Cyanogen and Lineage both error out as above on attempting to use the camera.
Pity the backup didn't work. I might end up reversing all the way back to stock at this rate; now, thoughts. Could it be the replacement camera? An N7100 camera, for example? Is there a possible workaround to that - or am I barking up the wrong tree?
I'd prefer Lineage to the stock OS, for sure - if the camera problem can be resolved.
Click to expand...
Click to collapse
Can't connect to camera is an old cyanogen (now lineage) problem. To fix this i download mediaserver killer application from play store and this fixes the issue.
This error is usually faced if a third party camera app is messing with the main camera. Eg- snapchat.
Funny app that one. It demands SU, eventually #SuperSU notices and I grant it SU access... it continues to demand SU when you try to open it.
Also, it hasn't fixed the problem (yet). Is there a trick to this?
Tried it via Play Store and by APK download & manual install, same results.
*Edit: You've given me a new direction to look in though. Tried safe mode, camera still errors out. Will go through some more steps of this article later.
Burt on the Hill said:
Funny app that one. It demands SU, eventually #SuperSU notices and I grant it SU access... it continues to demand SU when you try to open it.
Also, it hasn't fixed the problem (yet). Is there a trick to this?
Tried it via Play Store and by APK download & manual install, same results.
*Edit: You've given me a new direction to look in though. Tried safe mode, camera still errors out. Will go through some more steps of this article later.
Click to expand...
Click to collapse
Do restarting phone solves the problem temporarily?
Nope, no affect from restarting.
Update: Popped the old camera back in, guess what. It works. Additionally, with the replacement camera in I lost Torch function along with rear camera; front camera did work in third party apps, just not rear. Re-installing the original rear camera regained all functions.
Of course, I replaced it for a reason - liberal use of solvents damaged the lens in that camera, I still have to find another replacement. Probably not from ebay though...
Really rocking 7.1.2 and having root access on tap, big cheers to the Lineage mob and the #SuperSU guy; these are great packages, and done just for the love? Crazy guys, good work.

[Android 9 Root] Front facing Camera can't take photos in other apps.

To start, I'm using stock ROM patched with Magisk. Root is fully working and all that jazz. This is quite a peculiar issue, I don't even know where to start. My A50 (W/Canada) is not able to use the front facing camera to take photos in any app other than the stock camera app. This is important to me as I use Snapchat and Instagram frequently. However, I am only unable to take photos with the front facing camera, videos still work perfectly fine, and the preview of the front facing camera also works perfectly fine. No issues with back camera, everything is fine there. I've tried launching Magisk as core only, and undone all my debloater settings. Every thread I see about camera issues said it's either a hardware issue (which I doubt is the case for me as the camera worked fine before root and still takes videos) or a software/kernel issue in which I should revert to stock. I would really prefer to find a solid solution to this rather than revert to stock, so I've come here hoping maybe somebody can possibly shed some light on something I may have missed out of frustration. The only thing I could think would possibly have an effect was the Magisk Samsung 4k60 Camera module which I uninstalled immediately after as it was crashing the camera app when I opened it. Could it have changed a file permanently?
To recap:
Front facing camera works perfectly as intended in stock camera app.
In any other app that uses Camera (including 3rd party camera HedgeCam) I am able to take videos but not photos.
Front facing camera preview always works fine.
Tried Magisk core only mode and reinstalled all debloated apps.
Snapchat gives error (when taking front facing photo) "Snap capture failed. Please try again." all other apps just freeze on (what would be) the photo/photo preview until I exit or switch out of the app then back in.
Any help is much appreciated, and I can share more information or logs if they'd help.

Front and Wide Angle Cams Don't Work

I once made a mistake and deleted the whole internal storage (not photos and such but everything). Ever since, neither front cam nor wide angle cam works. Macro does, but these two, which are "vital", don't.
I reverted to stock ROM now, but still even with original ROM neither of the two work. It shows 0.6x, but when I try to switch, it just doesn't do anything. The camera doesn't force close, it just doesn't do anything. I'll go back to custom ROM now again, but want to be able to use these two cams. I cannot talk to my family over any app, something is badly broken and reverting didn't solve the issue.
Anyone knows how I can fix it?
Thanks in advance for replies - if there'll be any.

Categories

Resources