fxtec-preorder-47xx 29 Posted November 19, 2020 Author Share Posted November 19, 2020 (edited) i got something! I got some system info using this App:https://f-droid.org/en/packages/com.oF2pks.kalturadeviceinfos/ I did this on freshly flashed Stock ROM, and also on freshly flashed LOS official. The resulting JSON files were mostly identical, but with a perhaps problemrelated difference: LOS-official: "#CAMERA2API=": { "0=back<LEVEL3>4048x3040([100, 800])": { [...] "android.lens.info.focusDistanceCalibration": "1", Pro1-Stock: "#CAMERA2API=": { "0=back<LEVEL3>4048x3040([100, 800])": { [...] "android.lens.info.focusDistanceCalibration": "2", See? Difference? 1 vs 2? Also, the similar section for the front camera has the same value on both systems. (Front cam working for me fine on either ROM.) Can you guys run this app and export that json on your LOS Pro1, please? So, I think THIS IS IT! How do we fix this? (I HOPE the value did not change as I might have used the cam app on the one rom before exporting the json, but I think this is a fixed value... Well this sort of testing woud be a lot easier if I had TWO pro1...) According to docs "2" stands for "CALIBRATED" and "1" for "APPROXIMATE". Edited November 19, 2020 by fxtec-preorder-47xx Quote Link to post Share on other sites
fxtec-preorder-47xx 29 Posted November 19, 2020 Author Share Posted November 19, 2020 @tdmWhat do you think about the differing values of android.lens.info.focusDistanceCalibration? Do you think you could add this to the LOS code? Or try if it improves focus? Quote Link to post Share on other sites
claude0001 83 Posted November 19, 2020 Share Posted November 19, 2020 (edited) On my LineagOS 16: "android.lens.info.focusDistanceCalibration": "1" just like on yours. However, if I understand the docs correctly, this calibration affects only the object distance that is saved in the EXIF header of the pictures and has no influence on the optical functioning of the camera itself. As far as I know, auto-focus works by optimising the FFT of the actual picture on the sensor and does not rely on somehow "knowing" the true distance to the object. The distance that is saved in the picture metatdata is then derived from the (optimised) position of the lens with respect to the sensor (which is where said calibration comes in). Edited November 19, 2020 by claude0001 Quote Link to post Share on other sites
tdm 2,248 Posted November 20, 2020 Share Posted November 20, 2020 10 hours ago, fxtec-preorder-47xx said: @tdmWhat do you think about the differing values of android.lens.info.focusDistanceCalibration? Do you think you could add this to the LOS code? Or try if it improves focus? You can try and let me know. Quote Link to post Share on other sites
fxtec-preorder-47xx 29 Posted November 20, 2020 Author Share Posted November 20, 2020 Fair enough... Quote Link to post Share on other sites
Jacob_S 75 Posted January 2 Share Posted January 2 Seems like I have the same problem on LineageOS 17.1. My device has a serial number in the 300 range, so maybe it is really something with early models. Tried it with the preinstalled camera and Open Camera. 1 Quote Link to post Share on other sites
Jacob_S 75 Posted January 3 Share Posted January 3 If there's something I can do to help locating the problem, just let me know. But ideally the description of steps should be for stupid people then, as I am not very knowledgeable in this field. Quote Link to post Share on other sites
Jacob_S 75 Posted January 9 Share Posted January 9 Could it just be a problem with the mounting of the camera that was then somehow fixed softwarewise on Stock? The upper (main) lense seems to be a bit off-centered in the black hole/ compared to the lower lens on my phone. Quote Link to post Share on other sites
Jacob_S 75 Posted Thursday at 01:22 PM Share Posted Thursday at 01:22 PM (edited) Further observations in Open Camera: Very near objects (around 0.50m away): Get sharp when sliding the manual focus to around 30m, stay sharp until ~2000m and go blurred when putting the slider to infinity Near objects (around 1,50m away): Get almost sharp/ only slightly blurred when sliding the manual focus to around 30m, then there's no change until ~2000m and again the jump to blurred when putting the slider to infinity Far objects (down the street) : Generally a bit more blurred, apart from that exactly the same behaviour as near objects - Best from 30m on, but no further change until the sudden blur when jumping to infinity. Edited Thursday at 01:24 PM by Jacob_S 1 Quote Link to post Share on other sites
agent008 208 Posted Thursday at 05:32 PM Share Posted Thursday at 05:32 PM I have also been facing focus woes with the camera. Unfortunately didn't have time to test as @Jacob_S did., I only really use the camera when my wife's phone isn't available (battery died or left phone somewhere) and she wants to take pictures. Other than that only the odd document or work things, with some effort I can focus (involves distancing/approaching the phone to the object instead of relying on the camera focusing). Thank you @Jacob_S for the effort. Maybe your observations will help solve this issue! 1 Quote Link to post Share on other sites
agent008 208 Posted Monday at 12:46 PM Share Posted Monday at 12:46 PM Hi All @EskeRahn, maybe this should be merged within the general LineageOS thread? Where it might get a better visibility. Thanks 1 Quote Link to post Share on other sites
EskeRahn 3,584 Posted Monday at 01:44 PM Share Posted Monday at 01:44 PM 56 minutes ago, agent008 said: Hi All @EskeRahn, maybe this should be merged within the general LineageOS thread? Where it might get a better visibility. Thanks Yeah, has been considering this, but was not quite sure which version of lineage this was all about..... Test 16, released 16, released 17 ... ? 2 Quote Link to post Share on other sites
agent008 208 Posted Monday at 01:50 PM Share Posted Monday at 01:50 PM 4 minutes ago, EskeRahn said: Yeah, has been considering this, but was not quite sure which version of lineage this was all about..... Test 16, released 16, released 17 ... ? For me it's 17.1 Currently running 20201214 (I think). Am updating now to 20210118. Thanks 1 Quote Link to post Share on other sites
Jacob_S 75 Posted Monday at 02:48 PM Share Posted Monday at 02:48 PM (edited) Also 17.1. 20210118 Edited Monday at 09:43 PM by Jacob_S added version information 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.