yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] harisbutt91:
What about the normal usage battery life like a little bit above average?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dRumMzZ:
I don't mean to be a bother OP, but do you have any other suggestions? I'm on 0926 and I have been using firmware 466D for about 3 weeks to see if changing it would help. Still cannot get the calls to work on my car's speakers. Music/video apps play fine, but as soon as I get a call, the sound stops and when I pick it up it goes straight to the phone's speakers :(
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Me too. I lost 50% battery while idle overnight. Main battery usage shown as most mobile standby.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, [MENTION=8792061]Detruire[/MENTION] and [MENTION=6607081]kanagawaben[/MENTION] does logcat show anything in particular for battery drain by chance?

Hmm, I can try aux with my x2 and phone calls to see what happens when I switch from music to calls.

I've also done some tests with my vehicle and bluetooth audio and so far it has no problems switching from bluetooth music to bluetooth car audio for speaker and mic and it properly disables the speaker and mic on my x2... so I'm also unsure why that other user was experiencing issues with that...

I'm uploading a new test build that includes the gemini audio rebase that tbh I'm working on for LineageOS 16.0 (will make a thread for it soon and public beta downloads, just need to fix VoLTE first so I don't get spammed with VoLTE requests hehe) lineage-15.1-20180930-UNOFFICIAL-x2 should be up within an hour or so.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sssyraj:
Try with a clean installation again..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Detruire:
I've never used logcat before. Is it something that's enabled/available on the phone by default, or would I have to install adb again and have the phone connected to a PC?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sharpi12:
It's hard to say, because there can be significant differences between users, devices etc. This is depending from screen brightness, signal strength and many other things. In general you can achieve around 3 hours SOT. Fortunately the charging is fast enough.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Drollach Gûntar:
Hello,

Using this rom for a couple of days and i can say that much stable it is.But everytime i turn the screen on with either pressing the power button and directly from fp reader, white-ish flash effect appears and immediately disappears in the screen.Also the battery consumption speed is not constant.I mean, sometimes it stays at %68 for minutes and sometimes it goes down from %84 to %80 in a matter of seconds while using wifi/mobile data.I flashed the latest weekly after formatting data.Is it happens only for me..

Thanks.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] nature boy:
Is the focus fix fix related to continuous autofocus during video recording? The autofocus during video recording is really annoying.

If so is there a kernel compatible with the latest Lineage?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] harisbutt91:
Battery drainage is normal in this rom that's why I quit using it. And now I came back after 2 months to survey if the ROM is stable enough I mean battery life is good with it just like EUI 6 ROM. because I only had a problem with the battery drainage otherwise the ROM was excellent with the performance but the issue was only the battery drainage I had to charge my phone thrice a day.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Here's how from the LineageOS Wiki:

https://wiki.lineageos.org/logcat.html

The white flash effect is partially due to our device being not properly updated to Oreo natively, so we are stuck using a mix of marshmallow, nougat and oreo blobs so the mix isn't perfect... luckily with Pie, we were able to make a few more advancements plus our pie CAF kernel is really good so far, to the point that white flash doesn't happen.

Battery drain is, as always, a nightmare to diagnose... hopefully with Pie's more aggressive background usage anti-abuse methods in place it will be better in the future, but that's of course no guarantee...

I'd recommend checking logcat or gsam battery monitor with extra stats enabled to try and find the culprit of your battery drain.

Nope... with or without focus fix? It'll happen. I'm pretty sure it's because so far on custom ROMs we are unable to get infinity focus working (tbh, not even sure it works at all on EUI ROM) so our focus move is set to "continuous video" which will refocus anytime it thinks it should...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kubikill:
Hello, I'm on the official September 4 build. Can I safely install the October 3 update without having to manually treblelize my phone?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sharpi12:
I suggest to create backup before the update, but with the latest TWRP it should work. Magisk can cause issues if it is installed and problems with GAPPS can occur after update.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jmaa009:
Hello. I have the Rom of the day 03/10/2018 and I see 2 failures, one with the tethering and another with the native application of the clock. The first one connects, but does not give the Internet and the second directly closes.

A greeting

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kubikill:
Thanks for your answer! Already prepared a backup. I'll uninstall Magisk and update once I get home.

UPDATE: I updated my phone and all seems good so far! Haven't noticed any problems with GApps yet. After updating I successfully flashed the most recent focus fix kernel and also installed Magisk.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] harisbutt91:
This means we are never going to have a custom stable rom ever with a decent battery backup and a better focus.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sharpi12:
This means we won't have Oreo with decent battery, Oreo is already getting to the end of it's life cycle. I hope Pie will be (even) better.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sam Solomon:
:confused: is volte working on this rom? doesnt seem to work with any provider i use. didnt see anything about volte on front :rolleyes:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Detruire:
Nothing that seems related. Running it using the terminal doesn't show anything aside from some system and terminal info.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, yes it is VoLTE compatible... but the major pain with VoLTE support on custom ROMs is trying to get the APN settings updated... over half a year ago I submitted a commit to update all the APN settings for India, Germany and Canada and none of them got reviewed... So what I'd recommend is to just manually update the APNs config from Google's source which I have translated for easy kang into a TWRP installation zip. :good: https://drive.google.com/open?id=1kKbKe0BfVZFZeLbRJBiQctXqxmsmYYbl
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sam Solomon:
Thank you for the info :o ill flash it and post update here. Great job.. sad they didnt accept it. guess a lot of users would have suffered from this pain :p
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] nerbiyoso:
hello! good day. i can see there's a new TWRP version for our device (3.2.3.1) 10-06-18 ! what are the new stuff in it and do we need it for our LOS rom? thanks!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, changelog is posted on official TWRP's x2 page https://twrp.me/leeco/leecolemax2.html
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Still focusing problem with fix.zip file from OP. Camera focus need more than 5 second and sometimes never focuses in auto and manual focus mode.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Ahmad04:
Can anyone link me the 466D firmware, OP link is not working
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sssyraj:
Here it is 466D modem firmware.

https://yadi.sk/d/woKdrlRrv8yhr

Cheers

sssyraj
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
Sorry but the rom i use has decent battery and is fully stable, check my sig.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, incoming unofficial update! I'll include a new focus fix toggle in settings under system.

it will be coming to next week's official update too
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jmaa009:
Hello. Could you fix the tethering? At least it doesn't work for Me. My operator is Vodafone of Spain. A greeting

Enviado desde mi LEX820 mediante Tapatalk
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] monleylord:
What are the changes beside the focus fix toggle?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Outer than that? I also increased volume steps from 15 to 25 and in call steps from 4 to 7. If it's good I can push to Gerrit for review, otherwise if anyone thinks we should adjust it? Please let me know your thoughts.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hackerpower:
What about battery drain that everyone complains about?

Thanks in advance
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Heyyo ThE_MarD, my camera focuses at only 15 cm distance. Not far or near. It started issue about 1 week ago. I tried your Focus-fix.zip ( all 3 ). Also I tried QFil in edl mode. I also revert back to eui, nougat roms but all were unable to focus. I think my hardware is ok because i never dropped my phone.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
And when I ask for assistance diagnosing? I don't get any help... instead I just get my thread spammed... I'm only one guy, without full knowledge of C and CPP and none of Java just trying to do what I can for X2 devices.

If I manage to find the issue and solve it myself? Cool... But it's getting depressing looking at all the complaints and no help, so I just do what I see I can fix.

If people want to use a different ROM or come in my thread and tell them to switch ROMs like you have done? It's a free forum here so go for it. Usually, my fixes trickle down to other ROMs but no one really contributes back to LineageOS for LeEco (except for shivatejapeddj, mosimchah, visi0naryy, moto999999, GalaticStryder and andr68rus just provided a fix which thanks to them, I definitely appreciate it), so such is the way things go...

Hmm, by chance are you saying it won't focus, even in EUI ROM?

If that's the case where EUI ROM also won't focus? I'd recommend that when your camera attempts to focus, please try a chopping motion with the camera in your hand, like you were chopping up food... Seriously. I remember a community member who could only get autofocus to start working again. When he whipped his hand in a chopping motion which jars the actuator of the camera and gets it focusing again.

At that point? It is definitely a hardware issue. Our imx230 is good... But some earlier models seem to have issues, especially in the long run...

If it does focus in EUI ROM but not LineageOS? Please either update to the latest unofficial version or wait for next week's official update as it will have a focus fix toggle under Settings > System > Camera Settings.

UPDATE: I've decided I need a break from XDA. I do this as a hobby and I feel that XDA is causing me stress and is distracting me from trying to improve LineageOS for X2 when I have time to work on it... I'll eventually come back, but please don't expect a reply for the time being from me.

I'll still be posting updates for unofficial builds and pushing commits to Gerrit for review for official updates... I just need a break from XDA. Sorry if this news upsets anyone.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
[MENTION=6235294]ThE_MarD[/MENTION]: Just want to let you know, that there are a lot of people out here, usually the silent majority, that respect, are thankful for what you and others do and enjoy your polite and supportive way of communication.

I have been surprised how often you patiently replied to questions where I would have just said "rtfm" aka first post or the LOS change log or the TWRP thread.

Personally I will miss reading your posts.

Maybe you could limit your replies to those, that show they have done their homework first and communicate equally respectful.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
You've been holding the candle on a device whose OEM has grass on their grave. You've replied to most posts in this thread, even when some of them do not deserve a reply. Believe me when I say this, you're probably one of the most responsive contributor - and I've seen devices from HD2. Please take a break, get that de-stress in place - after all, your hobby is helping scores, though it's just that, a hobby and should remain so - something that you enjoy doing, and not an obligation.

If I may suggest, there are folks like me and a bunch more who know our devices, and can respond to most (if not all) of the posts here - leave it to us, and one of us will take care of it eventually.

All said and done, those who want a proper phone should stick to stock EUI (it sucks, but hey! you bought it!!). Whoever's even on this ROM or any other custom ROM is expected to have (not-so-) common sense, and the ability to at least help with logcat or similar substantiation to help out when there's an issue. But then, I can't count the number of times you've responded on how to logcat!

This device, in Q4 2018 is still a pretty capable device. I took this a few hours ago in a concert - there ain't many phones at this price point today that can do this even today. I'm willing to contribute my part to this thread to keep those tentacles off your back, I'm sure many will be on this page too.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Palm Trees:
[MENTION=6235294]ThE_MarD[/MENTION] You have been nothing but polite and helpful to everyone here. I'm sorry some people take the huge amount of work and time dedicated for granted, I don't and I want to say thank you for your dedication to keeping the Le Max 2 alive and contributing to LeEco development.

Take your time and get sorted - we'll welcome you back, once you return :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sharpi12:
[MENTION=6235294]ThE_MarD[/MENTION] Thank you for your help and great work, I really appreciate it!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sinha02:
I do agree with you, ThE_Mard is the most humble and helping developer.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Camera focus issue:

I tried opencamera. It focused for 1-2 minutes. but no luck with gcam. Now nothing focuses with any app.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
Which version (official or unofficial)?

Which release (date)?

Which kernel (the one that comes with the ROM or the focus-fix version)?

Do you have Magisk or Xposed installed?

Do you have the same issue with stock EUI ROM or other custom ROMs?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
1.Official lineage and other also

2.I tried last nontreble and latest 20181009

3. Both kernel ( with Stock and focus fix by ThE_MarD)

4.no magisk

5. I reverted to eui 19s indian. Also tried QFIL method. But nothing worked uptill now. My camera suddenly experiencing this issue. I haven't damage phone physically but touch-to-focus made click sound from camera HW on nontreble lineage os.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
If it's not working in a stock ROM, it's definitely a problem with the camera module (hardware). Try tapping the phone hard (without damaging/ breaking it) to see if you can get the actuators to work, else you may have to replace the camera module.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Okay i will try or change camera module.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] AadilRD:
Video calling is working but camera generates distorted image , tested on jio network
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Hi AadilRD,

Is this a question or just a statement of fact?

If it's a question and you're asking for help, then

more information is needed, like:

- LOS version you're running

- is the phone rooted and what are you using

- how do you do video calling via Jio Networks in India

* using an app - which one?

* assume you talk about video calling via 4G

- What happens when you do video calling via WLAN and i.e. WhatsApp? (Maybe it's a bandwidth problem that do your distortion)

Even though I'm not a developer, these would be all Infos to start with in order to figure whether this is a LOS/x820 problem or something else.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4520958]origin_de[/MENTION] [MENTION=3339433]ph03n!x[/MENTION] [MENTION=7914507]Palm Trees[/MENTION] [MENTION=8302077]Sharpi12[/MENTION] [MENTION=8980273]sinha02[/MENTION] ! Thank you all for the kind words! I feel a lot better after spending more time with the family and making some progress on LineageOS 16.0 and excited to try and bring some of the more important commits back to 15.1, so I'll be updating my 15.1 unofficial builds soon. :good:

Oh yeah! lol, you totally just reminded me of something I am testing on LineageOS 16.0! It turns out ViLTE (VIdeo calling over LTE) was defaulting to camera HAL 1 (API v1) instead of camera HAL 3 (API v2... Don't ask me why Google didn't give them both the same number version lol I dunno), which is causing issues for us, as our OSS camera HAL by codeworkx (I'm still SUPER amazed and thankful that he put in a lot of hours to make this work, no more camera shims means Android Pie worked for us without needing to rebuild any camera shims :good: ) currently only has camera HAL 3 (API v2) enabled.... So you can see the issue with ViLTE trying to use the legacy path eh?

Anyways, I'll bring that fix to my next LineageOS 15.1 test build to see if that truly does correct it for us. If not? I'll check into Shiva's method which was to enable camera HAL 1 (API v1) on our OSS Camera HAL.

Also, I think I noticed an issue with OpenGapps and Treble compatible builds... It doesn't read the build.prop on vendor partition, which is an issue when it uses that to check for Camera HAL3 (API v2) compatibility which could be causing issues with the Google Camera builds or face unlock (or anything OpenGapps needs to know about our build.prop such as DPI).

What triggered me was I noticed the logs of OpenGapps said Camera = legacy when we most definitely are the opposite, plus it said DPI unknown.

So hopefully the OpenGapps team either merges my commit for that, or improves or comes up with a better method since I'm unfamiliar with the structure of OpenGapps... But yeah, for some users who say they don't get the option for Face Unlock with OpenGapps? You may need to switch to a different Gapps provider until this issue gets fixed.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] supernielsen:
I have massive battery drain in the three latest nightly builds.. Anyone Else with this problem or have suggestions to how i can fix it..

It will last half a day at most.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Hi supernielsen,

What's known is that battery drain in LOS is higher than with EUI. How high seems to depend what people do with it. I.e. the x820 of my wife on EUI lasted 1,5 days the way she was using it. With LOS latest versions it's a day and I assume she has not changed her usage behaviour.

If you want to dig into it, you first should identify in the battery menu whether there is a suspicious app responsible for the drain.

In addition the "greenify" app may help you identify some of the battery draining apps.

If you want to dig further into it, then we would need the developer. This then usually means you need to provide a logcat.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] supernielsen:
Thank you... I will try greenify mine holds power for half a day with very little use actually and its god damn impressive how the power can drain so dramatically
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
This is speculation, not fully secured knowledge:

My son is on x820/LOS as well. He complained about battery drain (0,5 day) too. We are suspicious that this may be a result of bad reception in both places, at home & uni making the phone permanently loosing/searching signal.

But in order to confirm this he would need to listen to his dad executing tests, logging them - but dads are seldom listend to :(
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] supernielsen:
Hahha that could be the problem i were thinking that there could be alot of wakelocks. I will try and test this some more.. On the edge of buying a new phone so dont really know if i would bother.. :P
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ph03n!x:
Do you have BetterBatteryStats? If not get that first, there's a thread in XDA...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] supernielsen:
I now the program.. I will get it and try to see if something sticks out.. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] lebemensch:
I want the IR to work; as I understand therefore I need to have SELinux Permissive and the LeEco Remote.Zip flashed.

How can I easiest switch to SELinux Permissive?

Thank you!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Sharpi12:
I think the easiest way is to install an app for this purpose. You can find The SELinux Switch on XDA, for example.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Dual 4g + volte is working on this ROM ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, side-note, I am no longer recommending

official buildsOpenGappss for LineageOS 15.1 or 16.0 until they fix the issue where OpenGapps installer isn't checking /vendor/build.prop for properties which is VERY important to project treble compatible builds (hence some users complaining that face unlock no longer works after upgrading to a treble compatible ROM... I pushed a commit to fix this issue here https://github.com/opengapps/opengapps/pull/676 so until that gets merged? I will continue to not recommend OpenGapps.

Anywho, a new unofficial test build is up! lineage-15.1-20181019-UNOFFICIAL-x2

switched to a Frankenstein IMX230 LG camera blobs from x850 (had to supplement some missing files with IMX230 qc2002 and IMX230 sony... so please test all functions and report any issues besides photos during 4K UHD recording which unfortunately is still broken... this change is to try and once and for all fix green tint for all users while trying to maintain or improve camera quality)

updated GPS configuration files (this should hopefully reduce background battery drain as GPS would constantly activate in logcat... it might take a few extra seconds for GPS lock is the potential trade-off)

set a property to let IMS / ViLTE know to use Camera HAL 3 (API v2) as our OSS Camera HAL by codeworkx is built for camera HAL 3 (API v2) only. This should resolve any video issues with ViLTE

updated a bunch of device-tree stuff with CAF updates to also try and help mitigate the battery drain issues

This is all experimental stuff as I haven't tested it long, but hopefully it helps :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] jean_htc:
Hello,

I have issues with LED notifications.

It runs fine only a few seconds.

During the push notification, the screen power on and the LED start flashing.

After a few seconds, the screen power off and the LED stop flashing.

Any ideas ?

Felicitations for the rom which is really very accomplished.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] decentguy49:
Dual 4G + VoLTE means you want VoLTE on both SIM?

I guess Its not possible with our device as it supports 4/VoLTE on 1 SIM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pranjalm:
Only dual 4g is possible ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] decentguy49:
No