yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
The facts:

Never had the focus issue and was always running latest RR N, then in the end of July after flashing a new RR update i started having the jumping, clicking out of focus camera bug and it never went away again on N.

Never tried custom EUI roms before that, never reflashed EUI stock before that, so everyone that doesn't have this bug will have it someday, unless they don't switch to N ever.

The outcome:

In the end of the day the camera seems fixed with [MENTION=1187148]infrag[/MENTION] BS 3.5 Test 1, although you can year the clicking sound whenever you run the camera app in the beginning, like the AF was going rogue but it gets tamed after 1 sec, but it's not good, mainly the aggressive AF in photo/video and refocusing in video, but let's face it it always was aggressive, even on EUI.

So, i'm thinking of switching back to MM, because the camera is quieter there, there's also a clicking, but it's very low, but you can ear it in the video audio, if you film in silence, it's always there.

So please [MENTION=7884203]andr68rus[/MENTION], [MENTION=1187148]infrag[/MENTION] , etc the whole bunch, was this bug always present (clicking camera motor sound) even in untouched eui stock phones, or was it something that "we" did to our phones when flashing N roms? Thanks in advance :good:

I don't remember having this bug, i just remember that the AF was always aggressive and after i bought this phone i immediately flashed mokee and don't recall this clicking sound, but maybe it was always there, the thing was that we weren't listening for it.

So what i'm asking is, is this a hardware quirk or a software issue?

PS: What it seems is that the software tells the camera motor to go beyond what it should go, zoom in more or out and it reaches the end of the lenght it can zoom in or out and jumps or even hits something inside the phone and makes that noise.

What do you guys think? :highfive::good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Hmm, noticed my problem sometime in July as well, after flashing most recent RR update. Just the association in my case was less clear as I did try DU/Omni around that time as well and I might have not noticed the problem for a few days. Can you pinpoint the release date after which it happened? Maybe I can find mine as well.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
I think it was after the first or second RR N update of August, because i didn't had the issue on the 3007 version.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
i think there should be 2 versions 1 for people having focus issues, the other should be for not having issues and without that clicking ...

My 2 cents..

Obviously it is infrags decision what to do :).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Well, the first question should be whether this patch has any side effects. My understanding was that we are just back to the way it worked in MM ROMs. But you guys just reported a click on opening that was not there, so I can understand your concern. How about AOKP MM and EUI, can you let know if there's a click on opening in there?

---------- Post added at 11:53 AM ---------- Previous post was at 11:48 AM ----------

OK, so at least in AOKP MM there's exactly the same small sound on opening camera. Don't want to call it a click, in my phone it sounds more like motor jumping to initial position. It can't be heard during further focusing though.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
i dont have that sound on EUI, or Slim, Aex or RR .. So i dont want it ... My focus works without any jumping or reseting, that means it is not required or "normal" as you state...

Again i am happy that your problem is solved by the infrags super dedication but it is just suitable for the guys having focus issues... Not for all, unfortunately that commit started to penetrate all latest kernel builds which i am worried... What if it actually breaks focus for those whom not any problems ti begin with in the future?

There should be 2 versions, all roms should come with normal kernels and if there are focus problems people can flash the relevant kernel...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] baratheon16:
Hi , is focus issue fixed for nougat roms (encounter by some) and what steps to take, to fix focus and avoid clicking error.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
if you have focus issue , you have to use infrags solution for nougat, there is no other way. But it will click when you open camera which shouldnt be a problem aince focus is not working anyway.

if you dont have focus problems install previous versions or other roms which doesnt have focus patch.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
Focus patch don't make difference for the people that have not the problem. I've tried for curiosity and mine works fine as before.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hrox:
I'm using open camera and even though I had the focus issues big time, now with the fixed kernel there are no clocking whatsoever.

The only way I can hear something when opening the camera is when I actually put the phone next to my ear. I wouldn't even call what I hear clicking.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
i have noticed the difference of a click soumd when you open the camera app. Havent you ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Yes, it's not a clicking it's a deeper sound, but you can ear it very well and that sound continues even in MM roms and in stock eui.

I've just tried flashing stock chinese eui and indian and custom MM roms and that sound is there everytime you start the camera app and it didn't do that before so...

So it has to be something that got flashed/written somewhere that doesn't get deleted when you wipe everything including internal storage because i already tried that too.

[MENTION=1187148]infrag[/MENTION] do you remember what was the version of your kernel present in the RR N 1308 version? i remember that when i flashed that update it took a long long time to flash, usually it was very fast, like less than a minute.

And after that flash i began having those strange focus hiccups and then it went bananas...

[MENTION=7884203]andr68rus[/MENTION] do you remember what different changes were made in that 1308 update?

Guys is this scenario i'm painting possible? or is this just faulty hardware, that degrades with time (very little time) and it's just a coincidence with the software and flashing etc?

The only direct difference that i see is with cam api 1 and cam api 2, but i still get the strange sound when starting the camera app in MM, so?

I'm giving up on this phone, guess i'll have to buy a new one...:eek:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] zogu:
I don't think that camera eeprom is changed in any custom update.

Only thing that can be related to that sound is focus motor voltage. Maybe in some update voltage was to high, and now motor needs higher voltage to work at all.

If voltage can be controlled at all...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Here's a fun observation. I just compared [MENTION=1187148]infrag[/MENTION]'s very minimal patch with LeEco's EUI kernel and what I can see is he actually made low level commands sent to camera over I2C to be the same as in LeEco kernel...

So I wonder now was there any reason they were different in the first place or did it just get imported with other device sources? Could it have been causing increased wear and tear?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
No
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
So different phones behave differently...i have nothing... i will stick with previous or patchless kernels... i am not going to risk it....
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] KuranKaname:
Hey [MENTION=1187148]infrag[/MENTION] ! I see you're getting ready for oreo? :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
New build. 18/09/2017

Forgot to upload.

Think its stable as I'm using it.

Cant remember what I've fixed in it. (hopefully nothing broke)

On a side note:

I got AICP 13 to boot but its not very stable yet.

Hopefully soon I have some builds that are actually usable. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] a_pollio:
Excelent newssss!

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Does this version have a patch for camera issue?

PS: I just noticed that my camera is always clicking even when I'm not in the camera app and with the screen off! Maybe that's what's draining my battery this whole time!

Anyone with the camera focus bug can also confirm this?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] darkming:
Allways clicking? After installing kernel with focus fix or...? If yes, definitely not using any new kernel until that story is cleared.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Didn't test if it clicks (you have to put your phone to your ear to hear it) without the patched kernel, will test and report.

The camera starts to click right after i unlock the phone after a reboot and never stops.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
That's serious, but I tried with AICP and RR PS and I'm not hearing anything. How often do you hear clicks?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
I remember in the past complaining to [MENTION=7884203]andr68rus[/MENTION] about the clicking sound in video audio in RR and other people had it too, so now we finally know the truth, the camera is always clicking that's why the phone's mic picks it up, it's not the rom/camera app fault..

As i said before the camera starts clicking (very low sound, in silence you have to put the phone with the camera directly to your ear to hear it) right after i unlock my phone for the first time after a reboot and never stops until i quit the system or until i reboot to recovery or turn off the phone.

This is serious guys, maybe the problem was always there and only with this AF bug did we pay more attention to the mechanical sounds the camera does.

I just have to flash an MM rom again to test if the camera is also always clicking there.

I know that in MM the camera also makes that bump in the beginning right after you enter the camera app, let's see if it's always clicking like in N.

Will report asap.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] darkming:
Tried old RR build, tried Omni 2708, Omni 1809 with default and with infrags BS3.5 without focus patch. One click after starting camera and thats it. No more clicking after that.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
I'm on RR 0902 with infrag's BS 3.5 without the focus patch. No clicking for me. Model x821.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sdevaux:
Posdible to share bs 3.5 without patch please
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
The kernel in the OP which says BS 3.5.i is actually the one without the focus patch. Focus patch was added later in September.

Edit: here's the link from OP

https://drive.google.com/file/d/0B4k5OpXTXcS9MVBtQkswS0ZLLW8/view?usp=drive_web
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
But did you have the focus bug?

The sound i mention is really very very low, but you can ear it in video audio if you record in silence and max out the sound when playing it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Hearing focus motor in video recording after maximizing volume would not be that strange. There are moving components controlling focus and OIS. It's not perfectly silent.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
The clicking is always at the same pace and it happens with the camera still, without moving the camera.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
Kernel 20/09/2017

https://drive.google.com/open?id=0B4k5OpXTXcS9UVRZQmhReGRPdkU

Does focus still work? you tell me. I doubt it but hey it was worth a shot.

Does camera still make noise when off?

Oh yeh disclaimer I havent tested this build as I've flashed my phone enough today. It needs a rest.

AICP build I have is about the same stage as Andr68rus builds on laos.

Camera opens but just black screen.

A bunch of services are still disabled too like IMS etc so they will need fixing or I'll have the volte community after me :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Can you provide a link to patched 3.5 kernel present in last RR please? thanks

---------- Post added at 03:22 PM ---------- Previous post was at 03:19 PM ----------

I just discovered this when filming, if you focus on something really close sometimes the clicking stops.

If you want i can post the video so you can hear it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Thanks, actually focus still works for me, didn't notice any difference from the previous patch. Also didn't hear any noise when off with the previous version nor this one.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Also works for me, but camera continues to make mechanical sounds.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
But just during operation or also on fresh boot, without opening camera app?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Everything is the same on my x820, very very low clicking always present right after boot.

It looks like OIS is always working or something, it's strange...

Plus i just discovered another thing, if i hold my phone horizontally with the camera facing up and touch the screen to try and focus i can see the camera moving and making mechanical noises.

I guess it's a hardware problem...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
OIS operation is very easily visible if you look closely at the lens and rotate phone slightly. But the moment I close camera app they stop moving. Isn't it for you? And I can hear some tiny mechanical noise, but that would be expected, e.g. OIS has to quickly reset it's position each time it can't accommodate phone's movement anymore.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
The clicking sound i hear is from the focusing not the OIS, if i face my camera up with the phone horizontally and tilt it i can see the camera focusing in and out and making that clicking noise, OIS is also visible but doesn't make any sound.

Will try flashing chinese stock eui 20s as it fixed the focus problem for a user.

Tried 23s and it didn't make any difference, let's see...:fingers-crossed:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Radzią:
Is it possible to set the intensity of the vibration?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
In case anyone is wondering you can put your ear against your camera and hear small clicking and whining noises from the phone even when the screen is off. When I first got told I thought it must be focus fix problem. However the phone makes noises even in recovery so I don't think this is the case. I've tested with and without focus fix and noise is still there.

Anyone with EUI want to test for me just to confirm? :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Wiped everything, including internal storage, formatted data, flashed stock recovery, flashed 20s, camera acts exactly the same as in N with patched kernel. Little sound when entering camera app and clicking noises if i tilt my phone when in horizontal and with the cam facing up.

So i'm guessing my camera works ok and makes noises, that's it. End of story.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
How do you explain alot of people like me not having any kind of sound normally and having ticks and clicks with that kernel only?@
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xjack03:
Hi! I am having very silent clicking in all ROMs. I tested EUI 201708031 >Full-AROMA-Installer-26s-v.9-FINALBy CrisBalGreece, newest Slim7, and RR. In my case, there is no clicking in recovery. Also, Slim7, and RR have integrated your camera fix, so the focus works there but still with the noisy click when the camera app starts.

On the other hand, I am hearing a sound of low interference in phone speaker all the time, in all ROMs and recovery. In ROMs, it is louder than in recovery. I assume that it is because of normal network transmissions.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] darkness_nightfall:
If you have time, could you please share?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
It's started a countdown, if you don't turn back quickly in stock rom the phone Will be explode!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
I already responded to your EUI question in my other post.

I confirm that in recovery there's no camera clicking, but there are other sounds, i consider normal and acceptable.

OT: We sound like old people looking for the slightest sound to complain lmao...

---------- Post added at 02:36 PM ---------- Previous post was at 02:33 PM ----------

And there's also a lot of people who flash the patched kernel and everything stays normal.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] baratheon16:
Thanks very much [MENTION=1187148]infrag[/MENTION]

For solving focus issue.

May lord of light Bless thee ! :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] belmethos:
Wow very mature comments, i see immature teens with lack of real life technical .reasoning.

well slim developer will give the fix as an option, a seperate kernel...so i will stick to it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
:confused:

Well thee fare
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] scharrrfi:
Is there a incompatibility with the current LineageOS 14.1 builds? When I flash the kernel over it, my X820 will detect no SIM cards. With older LineageOS builds (of august) I have no issues.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
Try ti restore EFS

---------- Post added at 08:33 AM ---------- Previous post was at 08:31 AM ----------

@infrag there's a way ti fix low audio in video in 15/09?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
Yep. I thought I'd uploaded a fixed build though... Anyway if I haven't edit /system/etc/audio_platform_info.XML

Remove the camcorder acdb_id line and save and reboot.

Tell me if that doesn't work.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dadashi.reza:
Hi

Can I flash this kernel in the mokee 7.1.2 rom?

and which one and how?

thank you.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] scharrrfi:
I think EFS is fine.

When I use the Lineage Kernel both SIM cards work correctly with the current LineageOS build. They also work when I use an older Lineage builds from August with BlackScreen kernel.

I have this issue only with the September Lineage builds in combination with the BlackScreen kernel.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
Solved, tank you
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Freddyfre:
[MENTION=1187148]infrag[/MENTION]

September security patch?

THX
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fapste:
Hi Everyone. I'm using BlackScreen kernel that comes shipped with Ressuraction Remix rom. I just got my Leeco Le Max 2 today and flashed RessuractionRemix latest rom (7.1.2) on my phone. Everything seems to be working fine but the FINGER PRINT sensor doesn't work. It works 1 out of 10 times if it ever decides to work.

How can I fix it? Does anyone here faced the same issue and resolved it?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Freddyfre:
It works here, no problem ;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fapste:
What rom are you guys using that's stable and doesn't have bugs?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
this one
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Freddyfre:
This rom in my opinion is very good

If after this rom still does not work FP then he died
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jokerx7x:
can you fix the link for 3.5.i with OC it is show

Not Found Error 404
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, by chance have you flashed the latest firmware? If not then please do. Latest is Chinese v26 (the not 0509 one) from here

https://yadi.sk/d/woKdrlRrv8yhr/Китай
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fapste:
Can I flash it on top of any ROM? On what ROM did you flash it on,?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] LtnFlink:
Yes. No Problem.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] masterhong:
I have this issue too.

Need to back to the kernel came from LineageOS, but that does not support OTG yet.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Yep it doesn't matter if any ROM is installed since it's a firmware flash. Only some EUI ROMs will try to overwrite it
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
Sorry that's not compiled by me. I don't support that.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] marshharsha:
bro provide me link for focus fix..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mosimchah:
Search the thread, it has been linked many times
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] baratheon16:
Download the aicp ROM in the link provided in the thread.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fapste:
Is the Google camera's dark view finder for video fixed in your kernel?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Look in my sig...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pitt93:
1080p dark with low light (in daylight clear). In 4k in low light is clearer than 1080 and 720p
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mjoach:
Probably not kernel related, but since users of various ROMs are here: does anyone know if some Nougat build has properly working loudspeaker in VoIP apps? I keep running into the same problem where speaker is so loud it interferes with mic and video call is impossible. PA/Omni/DU have it broken.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fapste:
Does your kernel have Zen 2 IO schedular and SchedUtil governor?

Does your kernel have a patch to fix poor/weak sim network connection?

Looking forward to your valuable response.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] infrag:
Nope and nope. I don't use eas.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] spavian:
Hello [MENTION=1187148]infrag[/MENTION] , thank you for a very good kernel and rom .

I have a very big request from you , I'm on Orange RO and I have bad reception where I live ,they have VoWiFi enabled network but for me is not working on any nougat rom.

Maybe you can take a look at the rom and put the Orange VoWiFi server : epdg.epc.mnc010.mcc226.pub.3gppnetwork.org ; in the settings .

I have a working rom from Orange if you need it to check the files ,here is the link : https://drive.google.com/file/d/0B6fxYiYixi9IWWdDZ0RwaDJJOGc/view?usp=drivesdk .

Thanks and I hope that you work your magic for VoWiFi like you did for VoLTE .
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sdevaux:
Hi on aicp rom video is not saving with gcam is same for you?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] monleylord:
Update your gcam Version with a newer Version. Here you can find and download an updated Version. https://xdaforums.com/lg-g6/how-to/google-camera-hdr-ported-g6-t3655374/page22