I have an issue with my Samsung S10+ which has 3 rear cameras and 2 front.
OpenCamera by default detects 5 cameras: 2 rear and 3 front. The rear telephoto isn't detected, and one of the front cameras is duplicated.
But if I enable the Camera2 API, then OpenCamera sees 7 rear cameras and 5 on the front.
Among them there are all 5 cameras (even the depth sensor individually).
The issue is that some of this cameras throws a "serious camera error" while something clicks inside the phone, and not in a good way.
Could be possible to add an option to configure which cameras are available?
Last edit: IzK 2021-11-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the update. It's on my TODO to skip cameras like depth sensors to avoid such problems.
Just to clarify, was the original post also when running a custom ROM?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-07
Yes. All my tests/issues where running different custom ROMs
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-22
Hello, I have the same on my OnePlus 7Pro (guacamole) with three back and one front camera.
Flashing ArrowOS12 (custom ROM) OpenCamera detects only one front and one back camera.
Since it's rooted, I edited build.prop with Magisk to readvendor.camera.aux.packagelist=net.sourceforge.opencamera,com.android.camera2 and now it detects six cameras and lets me cycle through them. Only two of them seem duplicated - and switching to camera #5 (a duplicate) does show a preview picture, but if I want to make a photo, OpenCamera hangs. All other cameras work fine.
For the moment, it would sure be nice, to just put #5 on a blacklist (don't mind if I have to put that in a config file without GUI) to prevent OpenCamera from using it.
Thank you for your good work and the great app - I know that my case is not really the usual use-case, thus a hack-ish solution would do fine for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-29
yes, that's how I did it, thank you for pointing this out and clarifying it to anyone coming across here.
I've used props from the MagiskHidePropsConf to edit the prop, however the limit of four comma-separated apps is still valid. I've played for half an hour with 'delayed startup' of the prop, until realizing it was the amount of values, not the startup time/delay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-01-22
Oh, I forgot - if anyone stumbles across this post and wants to try the build.prop solution: the variable obviously can only hold four values.
I failed in the beginning, as it was already populated with four comma-separated values and I just added ,net.sourceforge.opencamera to the end.
Making it five values never worked, replacing one entry with opencamera did the trick.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2022-05-02
I have the same issue on my S20+5G but:
* the two front cameras are normal 4:3 and wide angle.
* No access to 3x telephoto
* Error accessing the depth camera.
What I wanted to know was if there was any fix to getting the 3x Telephoto supported and disabling access to the depth camera? Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an issue with my Samsung S10+ which has 3 rear cameras and 2 front.
OpenCamera by default detects 5 cameras: 2 rear and 3 front. The rear telephoto isn't detected, and one of the front cameras is duplicated.
But if I enable the Camera2 API, then OpenCamera sees 7 rear cameras and 5 on the front.
Among them there are all 5 cameras (even the depth sensor individually).
The issue is that some of this cameras throws a "serious camera error" while something clicks inside the phone, and not in a good way.
Could be possible to add an option to configure which cameras are available?
Last edit: IzK 2021-11-18
After flashing another ROM on the phone, opencamera detects the 5 cameras correctly.
Thanks for the update. It's on my TODO to skip cameras like depth sensors to avoid such problems.
Just to clarify, was the original post also when running a custom ROM?
Yes. All my tests/issues where running different custom ROMs
Hello, I have the same on my OnePlus 7Pro (guacamole) with three back and one front camera.
Flashing ArrowOS12 (custom ROM) OpenCamera detects only one front and one back camera.
Since it's rooted, I edited build.prop with Magisk to read
vendor.camera.aux.packagelist=net.sourceforge.opencamera,com.android.camera2
and now it detects six cameras and lets me cycle through them. Only two of them seem duplicated - and switching to camera #5 (a duplicate) does show a preview picture, but if I want to make a photo, OpenCamera hangs. All other cameras work fine.For the moment, it would sure be nice, to just put #5 on a blacklist (don't mind if I have to put that in a config file without GUI) to prevent OpenCamera from using it.
Thank you for your good work and the great app - I know that my case is not really the usual use-case, thus a hack-ish solution would do fine for me.
A better way to modify props is through https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf
yes, that's how I did it, thank you for pointing this out and clarifying it to anyone coming across here.
I've used props from the MagiskHidePropsConf to edit the prop, however the limit of four comma-separated apps is still valid. I've played for half an hour with 'delayed startup' of the prop, until realizing it was the amount of values, not the startup time/delay.
Oh, I forgot - if anyone stumbles across this post and wants to try the build.prop solution: the variable obviously can only hold four values.
I failed in the beginning, as it was already populated with four comma-separated values and I just added
,net.sourceforge.opencamera
to the end.Making it five values never worked, replacing one entry with opencamera did the trick.
I have the same issue on my S20+5G but: * the two front cameras are normal 4:3 and wide angle.
* No access to 3x telephoto * Error accessing the depth camera.
What I wanted to know was if there was any fix to getting the 3x Telephoto supported and disabling access to the depth camera? Thanks