M1cha / android_device_xiaomi_aries

Xiaomi MI2
24 stars 25 forks source link

Camera doesn't focus #56

Open jans23 opened 10 years ago

jans23 commented 10 years ago

The camera can't focus at all and often shows the green indicator as if it has focused when really the image is terribly blurry. Also close up pics are impossible. This is true for the stock camera app and Xiaomi's camera app. Any help would be much appreciated.

dnle71 commented 10 years ago

Yes! compared to mokee 4.4, this is awful

dnle71 commented 10 years ago

Also, please do look at the mi2/s specific mokee commits for fixes. Pretty please.

M1cha commented 10 years ago

which commits?

M1cha commented 10 years ago

also pls tell me which camera lense you have because I can't reproduce the problem

jans23 commented 10 years ago

I have an Mi2S. How can I find out details about my camera lense?

Samsung Galaxy S3 users seem to have a similar problem. Maybe their fix is useful here as well. See: http://forum.xda-developers.com/galaxy-s3/themes-apps/17-fixed-camera-app-lib-cm-aosp-roms-t2505973

dnle71 commented 10 years ago

I don't know how to code but, Im sure you could some useful fixes here.

https://github.com/MoKee/android_device_xiaomi_aries

And here's my hwinfo.

http://xiaomi.eu/community/index.php?posts/212725

dnle71 commented 10 years ago

Im sorry, I tried mokee earlier and ever since it got to 4.4.4 the camera got blurry and the phone number is unknown too. :(

jans23 commented 10 years ago

Any update on this issue? The camera is absolutely unusable which is why this issue prevents me from switching to CM permanently. Please fix it.

M1cha commented 10 years ago

You have to provide logs.

jans23 commented 10 years ago

I will. Could you point me to instructions which logs you need and how to collect them? Thanks.

M1cha commented 10 years ago

I need logcat and dmesg. You can use this app: https://play.google.com/store/apps/details?id=org.l6n.sendlog Also pls note that u have to dump them right after the failure.(minutes not seconds ;) )

jans23 commented 10 years ago

Here are the logs. Please let me know if you need anything else. http://pastebin.com/E5FSthtW http://pastebin.com/sEnwJtmu

DragooNArT commented 10 years ago

Hi M1cha,

I can also confirm that there is some kind of issue with regards to camera focus, I'm using Mi2s 32GB with the 13mp camera and the latest cm11 build.

Symptoms: Camera pre-focuses correctly and is in focus during preview, however the picture that is taken does not have the same focus point as the preview does.

In simpler terms the in-focus preview ends up as a slightly out of focus picture. This behavior occurs on all camera apps(not just the default one).

It would be great if we can get some feedback on what the progress is with this issue :)

Regards, Nikolay

goranius commented 9 years ago

I have the same issue with Mi2S 32GB with the 13 mp camera cm11 build of 20141030-NIGHTLY kernel 3.4.0-cyanogenmod-ge27b401 build02@cyanogenmod #1, if you need more information tell me how can I get t and I send to you. Regards