Jump to content

Rear/main camera focus to infinity not work on LineageOS


Recommended Posts

Hey there,
one of the first things I noticed when I flashed LineageOS was, that the camera does not focus anymore to infinity. (While it did work before, with stock ROM.)
(So you actually can't take sharp pictures on anything that is not right in front of the cam.)

I flashed back to stock ROM and the focus worked again.
As I like to use LineageOS I wonder what tweaks there are in stock ROM to cope with the Pro1's main camera. Perhaps someone can commit those tweaks to LineageOS as a patch? If that is the problem at all?

Anyone experienced the same?

Edit: Dirty lens is NOT the problem. Camera App is NOT the problem. Selfie cam works fine. I tried the alpha-test-versions of LineageOS and also the official LineageOS that is available now.

Edited by fxtec-preorder-47xx
  • Thanks 1
Link to post
Share on other sites

Hi, I use Camera FV-5 app on LineageOS (the last) and it seems to be the same. I found the original photo app was not very good, so I have installed Camera FV-5, and I confirm : no autofocus. Focus come when you push to take a picture. Not very practical yet.

As I don't take much picture yet, I never think it could be a Lineage bug. But why not ?

Also as we are here, I found stock picture app far better, is it possible implement stock picure-app in Lineage or is this idea stupid ?

  • Like 1
Link to post
Share on other sites
1 hour ago, raymo said:

no autofocus

Well, in my case, I HAVE autofocus. But it only works for near objects. Far objects I cannot focus automatically nor manually. I tried 'Open Camera' app and MANY OTHERS and far objects (infinity focus) do not get sharp. If I change from CameraApi to CameraAPI2 I can focus manually, and the counter goes up to 1000 meter, but actually at like 20 centimeter it is done.. everything else is in the fog. With stock ROM: no such problem.

  • Like 2
Link to post
Share on other sites
1 hour ago, fxtec-preorder-47xx said:

Well, in my case, I HAVE autofocus. But it only works for near objects. Far objects I cannot focus automatically nor manually. I tried 'Open Camera' app and MANY OTHERS and far objects (infinity focus) do not get sharp. If I change from CameraApi to CameraAPI2 I can focus manually, and the counter goes up to 1000 meter, but actually at like 20 centimeter it is done.. everything else is in the fog. With stock ROM: no such problem.

I have exactly the same issue on LOS. and it doesn't depend on camera app used. Also I have wiped my system several times, which doesn't help. Seems like not everyone has this issue on LOS though, because it isn't listed to 'official' bugs in Github..

  • Like 1
Link to post
Share on other sites
6 minutes ago, auvo.salmi said:

I have exactly the same issue on LOS. and it doesn't depend on camera app used. Also I have wiped my system several times, which doesn't help. Seems like not everyone has this issue on LOS though, because it isn't listed to 'official' bugs in Github..

I tested earlier today, and seem to have it too - honestly I never tried to take outdoor photos with it on Lineage before at all (three indoors between March and June), so have no idea if it is a new bug or something that goes back to the beginning.

  • Like 1
Link to post
Share on other sites

Can someone confirm this? Does someone have their rear camera focus working properly on LOS? Also, I wonder if @tdm has seen this thread or has any idea what's wrong with the camera. Can we help somehow by producing some data/logs/tests?

  • Like 1
Link to post
Share on other sites
3 minutes ago, auvo.salmi said:

Can someone confirm this? Does someone have their rear camera focus working properly on LOS? Also, I wonder if @tdm has seen this thread or has any idea what's wrong with the camera. Can we help somehow by producing some data/logs/tests?

 

I see the thread.  I don't know what could be wrong, and neither does @npjohnson.  And the camera focus seems to work fine on my device, so I can't test it myself.

 

If someone wants to send me a pair of logs showing stock camera focus and lineage camera focus I can take a look.

 

 

  • Like 1
Link to post
Share on other sites
7 minutes ago, tdm said:

 

I see the thread.  I don't know what could be wrong, and neither does @npjohnson.  And the camera focus seems to work fine on my device, so I can't test it myself.

 

If someone wants to send me a pair of logs showing stock camera focus and lineage camera focus I can take a look.

 

 

Just to clarify: So if you try to shoot a landscape photo outdoors, it will correctly focus to infinity and result as a focused image? My photos look like the attached image.

Could the devices have slightly different camera modules or something like that, if the issue exists only on handful of devices?

Could @EskeRahn or @fxtec-preorder-47xx provide the logs? I would rather not flash stock if I can avoid it 😄

IMG_20200803_204854.jpg

Edited by auvo.salmi
  • Like 1
Link to post
Share on other sites
7 minutes ago, auvo.salmi said:

Just to clarify: So if you try to shoot a landscape photo outdoors, it will correctly focus to infinity and result as a focused image?

See for yourself:

https://photos.app.goo.gl/bXsZoydGZnEyzUNK8

I did tap the screen to focus, as I was not patient enough to wait for auto-focus.

7 minutes ago, auvo.salmi said:

Could the devices have slightly different camera modules or something like that, if the issue exists only on handful of devices?

It is unlikely the sensor is a different brand or model, as I removed support for most of the unused sensors.  But perhaps there could be some differences, I guess.  Kernel logs from boot may help identify the exact sensor.

  • Like 2
Link to post
Share on other sites
8 minutes ago, tdm said:

See for yourself:

https://photos.app.goo.gl/bXsZoydGZnEyzUNK8

I did tap the screen to focus, as I was not patient enough to wait for auto-focus.

The tapping doesn't work on my device in this situation. Although it tries to focus to tapped point, it doesn't really get there at all or/and focuses back to close again, and continues sawing the focus back and forth for few seconds. But looks like it really can't focus to infinity, and that's why it never gets it to focus outdoors.

  • Like 1
Link to post
Share on other sites

I usually can take pictures just fine but sometimes the autofocus doesn't work for me either. Then it only focuses on very nearby things. Not sure what causes this nor what fixes it. It is usually gone when I try to use the camera the next time. Maybe rebooting helps? I'll try that next time I notice.

Link to post
Share on other sites
On 8/3/2020 at 5:45 PM, auvo.salmi said:

Could @EskeRahn or @fxtec-preorder-47xx provide the logs? I would rather not flash stock if I can avoid it 

I would do this! Where would I find the logs? When someone could explain to me, how to get useful log info about focussing... As soon as I have some instructions, I'll start.

Another thing that proved interesting for testing:

Get OpenCamera-App and switch to CameraApi2 (two!) in the settings.

You can then choose 'manual' focus mode and focus with a slider.

On BOTH (Stock and LOS) if you slide to 'infinity' the far objects get less sharp. Best result for both is stopping right before infinity, lets say at 1000m. (It's displayed that way.) Even when the object is just 5m away, this gets the best result for both. 'Best' meaning: sharp on stock and the least blurry on LOS. Anyway it may be a problem of the App/Api2 that:
a) Meter count is totally unrealistic.
b) The actual 'infinity' setting is worse than the farest meter setting.
But these two errors are annoying, yes, but that is NOT the actual problem. Actual problem is, that with LOS there is no sharp setting at all.

 

  • Like 1
Link to post
Share on other sites
52 minutes ago, fxtec-preorder-47xx said:

The actual 'infinity' setting is worse than the farest meter setting.

I got that on pocket cameras too. I have to choose shorter than "infinity" with manual focus taking photos of the moon...

So not unusual on "Manual", but obviously the AF should not go that far.

  • Like 2
Link to post
Share on other sites

When I noticed the problem of blurred pictures, I initially thought it was a bug in the camera app. Then I used another app and I did some more tests at home and I thought the problem was solved...

Since a few days, I am on vacation and the problem jumped in my face again!

My solution: always have someone in the foreground when I take a landscape photo! Well, not really a solution, but for now, it's okay.

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms