yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, WOW, ok, I didn't think posting my PayPal donation would be so impactful, so thanks to everyone who donated so far! :)

DonMomente (not sure if he's on XDA forums or not) for his very generous donation. Thank you and your family too! :)

[MENTION=7565215]CrisBalGreece[/MENTION] for his donation

[MENTION=7732756]erwan574[/MENTION] for his donation

[MENTION=499184]txekalzen[/MENTION] for his donation

I did receive some donations from individuals that wish to remain anonymous, so you know who you are and thank you fine LeEco community members too
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] CrisBalGreece:
Only we all must thank you thousand times for your incredible work on our x2..:good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] viticrack:
Loss of coverage

Hi to all and great thanks for the rom´s developers, i´m really happy with it but thw only bad thing i noticed is a loss coverage than before, even i lost it several times. I don´t know if it could be for a bad setting. What is the right setting? In the menu network type preference by default it´s marked Global, is it right?....Thanks in advance.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kannanrs:
It is
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=1427795]mrcola[/MENTION], I think at most for meow I will wait for the nash (Moto Z2 Force) that the LineageOS team will send me that's broken that I should be able to fix with the spare parts that I have... I don't have the budget for a new device anyways... At least with a working nash again I can help them out better while keeping my x2 as my main development device. If I had a crapload of cash? Tbh I'd probably go for a Red Magic 5G since the Red Magic 3s is out of stock. It's a ZTE device with some amazing specs for the price in Canada as a lot of other devices are actually quite expensive to import into Canada like the Asus Zenfone 6...

Our first official Lineage 17.1 build for x2 completed! Just need to wait for it to get uploaded to LineageOS servers so it can be posted to the download section for x2 yay

https://buildkite.com/lineageos/android/builds/21893

So I have received enough donations to be able to order the replacement parts, so thanks again my fellow x2 community members! I did order from AliExpress so it might take a month or two to come in... but once they do? I'll have an almost new x2 again! w00t! Here's to another two years and maybe more! :good:

For the battery? After much thought I've decided to buy an aftermarket battery for my x2. I was leaning more towards a OEM LeEco battery, but all the resellers had no warranty and odds are those batteries have been sitting on a shelf since 2016 or earlier and who knows if they were left on said shelf at 0% or 100% charger (the safest charge to leave a battery in storage is 40% to 60%) so my concern is, if I order said OEM battery it could arrive and have poor battery life due to improper storage for years... at least with these aftermarket batteries odds are they were charged at least somewhat for testing and wouldn't have been sitting in storage for as long. Plus, they have one year warranty. Albeit, one area of concern is they do have a lot of false advertising with images that say two years of warranty when in text it says "batteries only have one year of warranty" lol and same with the capacities saying impossible numbers like 4800mAh and one even saying 5800mAh when odds are they're still the same 3100mAh capacities as I don't see how they can magically cram that much more capacity into the same size. :silly:

[IMG="my x2's replacement parts order from AliExpress"]https://i.imgur.com/3hBRPiK.png[/IMG]
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Seeburschbanause:
Official LineageOS 17.1 is finally here! I don't see it on the official download website, but you can download it from here:

https://mirrorbits.lineageos.org/full/x2/20200412/lineage-17.1-20200412-nightly-x2-signed.zip

Thank you [MENTION=6235294]ThE_MarD[/MENTION]

EDIT: It's now visible on https://download.lineageos.org/x2
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
Here is the index of our x2 official lineage os downloads as today's build is not showing on official website.

https://ftp.acc.umu.se/mirror/lineageos/full/x2/

Thanks [MENTION=6235294]ThE_MarD[/MENTION]
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, guys! She's linked on the official website now hehe, I guess she just needed time to update on the site too. :)

I'll have to update my first post

[MENTION=499184]txekalzen[/MENTION], I'm glad that you're enjoying it on your max_plus! It is a bit difficult to support it since I don't own one so I'm glad that it mostly works great too hehe, just need to fix a few of those serious bugs left on it. :good:

EDIT:

I forgot to mention before that also my earpiece buzzes sometimes so I did order a new earpiece since they're super cheap for x2 as well :)

[IMG="AliExpress x2 earpiece"]https://i.imgur.com/bbxJRIB.png[/IMG]
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] taocunguijs:
IR not working after every time reboot device

I use lineage-17.1-20200408-UNOFFICIAL-x2 for almost 5 days daily use, I found a issue about IR. Every time I reboot phone, the MIRemote and LetvRemote can't work(LetvRemote pops up init failed when launched), I need wait for a long time(5-40 minutes, random time) and open the apps again to get it work.

I have two x2 devices, one with lineage-17.1-20200408-UNOFFICIAL-x2 and another with lineage-16.0-20200211-UNOFFICIAL-x2, both two versions can reproduce this bug. this issue repoduce rate is 100% here on my devices. I can provide logcat on lineage-16.0-20200211-UNOFFICIAL-x2 because I have it on hand now, If you need logcat on lineage-17.1-20200408-UNOFFICIAL-x2 I can upload it later.

Sorry, I can't upload logcat to XDA, maybe I am new to XDA. I upload it to mine gitlab repo for workaround.

logcat file on lineage-16.0-20200211-UNOFFICIAL-x2 https://gitlab.com/taocunguijs/uploadfile/-/raw/master/lineage-16.0-20200211-UNOFFICIAL-x2_IR_NOT_WORKING_AFTER_REBOOT_DEVICE.txt
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Neutralite:
Screen mirroring doesn't work [MENTION=6235294]ThE_MarD[/MENTION]
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=9680251]Neutralite[/MENTION], it does indeed seem that way. From what I've seen on LineageOS gerrit there is a fix that they're testing so hopefully if it passes their tests they will merge it. :good:

A user reported for some games that audio doesn't work and I can confirm that games like World of Warships is indeed not playing audio through the speakers. I was trying to fix ultra low latency audio mode and unfortunately it does seem broken on x2, so I'll see if I can fix it... if not? We will need to drop ultra low latency and use only low latency mode (which x2 tbh has been doing all along. I only noticed recently that ultra low latency was never getting used).

[MENTION=10439647]taocunguijs[/MENTION], the Open Source ConsumerIR HAL + bridge does not officially support the LeEco Remote app and tbh I have zero plans to support it as it data mines and sends random information to LeEco and Alibaba servers. That app is probably causing issues as it also overwrites some of the QuicksetSDK app files which could be causing the issue. Only IR apps from the play store like Zaza Remote and Mi Remote are supported.

UPDATE:

We will be dropping ultra low latency audio as it is definitely broken for us. I've merged it for the next official build and I'll release an updated unofficial build with it too, plus updated GPU blobs from river that will be required for the QCOM display HAL update for msm8996 devices.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] joaoVi:
Can i upgrade from lineage 16 to 17 without data wipe? If yes, how can i do it?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new test build is up! Link as always in the first post. lineage-17.1-20200413-UNOFFICIAL-x2 contains GPU driver and QCOM display HAL updates and also drops ultra low latency audio as it is broken in some apps (like World of Warships and a few other games I double-checked). Historically, we only had low latency audio even though ultra low latency was enabled. I tried to fix it and it only works for some reason sometimes? So yeah, we will completely drop ultra low latency audio as low latency works perfect anyways.

[MENTION=7443972]joaoVi[/MENTION], the official upgrade from 16.0 to 17.1 instructions are here

https://wiki.lineageos.org/devices/x2/upgrade
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kannanrs:
Amazing
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
i have updated my os from 16 to 17.1 in leeco le max2. i am unable to use fingerprint . is it normal in new update or i am facing issue with it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
Is it only me that has got the issue with WIFI ? I can't turn it on and can confirm the firmware is running at 466d. Thank you and Regards RW
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
restart the phone , wifi will work. i had also this problem. but after restarting , my wifi has worked

---------- Post added at 11:18 AM ---------- Previous post was at 10:59 AM ----------

do you have any fingerprint issue
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
No, have you tried to flash the firmware 466d?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
Previously i was using os 16

Now I have first flashed 466d then os 17.1 then goggle gaps.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
Now I can confirm I am seeing the same issue......
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Anyone experiencing audio issues on official builds where some apps don't play audio please use official build lineage-17.1-20200414-nightly-x2-signed as it contains the fix for it. :good:

[MENTION=5857902]maxrocks.90[/MENTION] and [MENTION=1427795]mrcola[/MENTION] if you guys are experiencing fingerprint/WiFi issues please submit logcat. If you are unsure how to do so please check the second post under the FAQ section
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
I am attaching logcat. Please check it and tell me whether it is right or wrong.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, hmm from your logs it looks like the TWRP app is causing some issues. Please uninstall that app and if the problems still persist? You will have to wipe everything clean and then install LineageOS and OpenGapps on a build from April 3 as some newer builds have issues (and I recommend pico or nano).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
Do you mean the recovery? Thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
I have attached mine and hope that helps to find out the issue. Thank you
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=1427795]mrcola[/MENTION], in your case? Oddly enough it seems the tencent app is trying to hijack your WiFi connection and trying to modify permissions which is causing the Android settings permissions to fail... :silly:

W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4200010 (has extras) } from null (pid=-1, uid=-1) requires android.permission.CHANGE_NETWORK_STATE due to registered receiver BroadcastFilter{e55282f 1000/u0 ReceiverList{beaa60e 351 com.android.settings/1000/u0 remote:a980409}}
W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.net.wifi.STATE_CHANGE flg=0x4000010 (has extras) } from null (pid=-1, uid=-1) requires android.permission.CHANGE_NETWORK_STATE due to registered receiver BroadcastFilter{e55282f 1000/u0 ReceiverList{beaa60e 351 com.android.settings/1000/u0 remote:a980409}}
E WifiService: Permission violation - getConfiguredNetworks not allowed for uid=10183, packageName=com.tencent.mm, reason=java.lang.SecurityException: UID 10183 has no location permission

That's really concerning that this com.tencent.mm app is trying to take over your WiFi controls... I would recommend trying to uninstall it and see if your permissions properly reset.

If that doesn't work? Unfortunately you will probably have to backup any important data off of your x2 and then wipe your device and try again. :(
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mrcola:
Thanks a lot.

Any ideas what does this mean please

04-14 20:44:37.432 2461 2555 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.ACTION_POWER_CONNECTED flg=0x4000010 (has extras) } to com.qualcomm.qti.biometrics.fingerprint.service/.PowerConnectionReceiver
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
I have tried both of your method but still fingerprint is not working and second thing while installing ROM both time WiFi was not Woking but after restarting the phone, wifi starts to work.

I am feeling this is modem issue.

but I have flashed 466d ROM before and second time after the rom. Suggest me any solution for this situation.

Thanks for support
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, ok turns out for the WiFi issue after I formatted my x2 and pulled logs from boot after a fresh install? I needed to revert a change I made because hostapd.rc isn't starting the mkdirs before init.qcom.rc does. :silly:

https://review.lineageos.org/c/LineageOS/android_device_leeco_msm8996-common/+/272937

So that will be in the next official build so thank you [MENTION=5857902]maxrocks.90[/MENTION] and [MENTION=1427795]mrcola[/MENTION]. :good:

As for the fingerprint issues? If you suspect it is firmware related in my first post for firmware of x2 there is a folder for older firmware if you wish to try one of those. After the format and flashing of LOS with the pseudo firmware 466d for x829 my fingerprint sensor is still working so I cannot reproduce this bug.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fer198309:
the performance of the rom is very good, both in games and in general use, keep updating this great rom, thanks.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, so I've updated my first post for the Open GApps section that I'm only recommending Open GApps builds between 20200403 (April 3rd, 2020) to 20200408 (April 8th, 2020) because the newer builds are unstable.

It's also quite silly that Open GApps does daily builds tbh since it's the same idea as Play store updates, but Play store updates are more stable. :silly:

That's tbh why I miss MindTheGapps, you only got newer builds when they actually updated the scripts for MindTheGapps which is the only real important part about any GApps package... hopefully MindTheGapps for Android 10 makes an appearance someday...

[MENTION=9170656]fer198309[/MENTION], glad you're enjoying LineageOS 17.1 for x2! I definitely plan to keep using my x2 as it's still my daily driver as well. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
edit:

OMFG! XDA! YOUR STUPID DOUBLE-POST BUG! FIX IT!!!

Firefox, Chrome, Windows 10, Ubuntu Mate 18.04, LineageOS 17.1 on my x2... doesn't matter what I do, still double-posts for me! :silly:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xyomguix:
On a fresh lineage-17.1-20200417-nightly-x2-signed with open_gapps-arm64-10.0-nano-20200408 I am not able to register fingerprint. Am I the only one ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=3514001]xyomguix[/MENTION], hmm that is odd as that would make you the third person who mentioned this I think... can you please provide logcat? Maybe there's something I missed in the last logcat about it.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xyomguix:
Here is the logcat done using

logcat -v long

. I hope this is OK.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3514001]xyomguix[/MENTION], you can use a PC (or another device with termux app and install adb in your termux app)

If you check the second post in the FAQ section I have an entry for logcat. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
[MENTION=6235294]ThE_MarD[/MENTION]: Thanks a lot for this great ROM!

- Installed lineage-17.1-20200415-recovery-x2

- sideloaded lineage-17.1-20200415-nightly-x2-signed

- sideloaded open_gapps-arm64-10.0-nano-20200416

When trying to sideload open_gapps I ran into the problem that the sideload was not accepted. Had to restart recovery first. Then I received a signature error when open_gapps installed, which I ignored.

Reboot without any problems.

Google config including fingerprint without any problems.

Bluetooth audio with Xiaomi Mi AirDots Pro (in-ear version) excellent both phone and player.

Installed Google Camera from 1st post, did the focus switch in systems and the green tint in camera advanced settings - works nicely! Only thing I observed that sometimes when taking a photo it flips from vertical to horizontal when saved. Haven't figured why yet.

Next I need to check Android Auto with my Skoda car display and Bluetooth connection.

SOT currently says 3:45 whereas Accu​Battery shows my battery capacity at 2100mAh (so I am curious to see how you're doing with your new bat)

What's still not clear to me is what I gain from using lineage recovery, cause honestly twrp feels more comfortable.

And I'm wondering what is recommended for rooting the phone (used this to tweak Android Auto to display apps Google is inhibiting)

Again many thanks for the hard work, really appreciated!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=4520958]origin_de[/MENTION], glad you're on LineageOS 17.1 for x2 and enjoying it! :)

Open GApps newer builds have stability issues as I noted before and also mentioned in my first post that the only recommended builds of Open GApps is April 3rd to April 8th, 2020. If April 16th build is working ok after that one error then you should be safe.

As I mentioned before and same in my first and second posts just like LineageOS 16.0 we switched to Lineage Recovery as the recommended recovery because TWRP has issues with OTA and encryption that breaks Google Framework Services. If you're not encrypted then TWRP is fine too.

Gcam horizontally flipping the image is a feature. If you look at the camera preview the text is backwards in a selfie, so it flips the picture horizontally after taking the picture to fix the text.

As for the new parts from AliExpress? The ETA is a month or two lol so it'll be a while before I get to try them out. :silly:

[MENTION=3514001]xyomguix[/MENTION] that logcat isn't from boot. Can you please provide logcat from boot via adb and a PC? It's showing some kind of stack corruption with the biometrics HAL but I'm unsure where it is originating from.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
Can I use this command to get logcat from boot via adb, sorry to ask such questions , as I am new to this.

Or any other thing I am missing.

Open Command Prompt (Windows) or Terminal (Linux/macOS).

Type adb logcat -d > logcat.txt. This will save the log to logcat.txt.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
ine every official nightly update i see an update for the lineage recovery,so do i have to update it alsoby sideload ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
I am on 18/4 official build. I am unable to use back gesture in gesture navigation.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=5857902]maxrocks.90[/MENTION], yes you can use the dump command. Please ensure in your developer options that you put the log buffer size to 1MB or 4MB as anything smaller might not be big enough to capture logcat from boot once your x2 is fully booted up.

[MENTION=8228069]PadreLuis[/MENTION], it is optional to also update recovery. If you're on a build from April 15th or newer? You can go into developer options and enable recovery updater, so that OTA's will update recovery too. :good:

[MENTION=9443390]D_Heroic_One[/MENTION] Please ensure you have on-screen nav bar enabled. That gesture does not work without that.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Ashutosh Lww:
noob question...

But can I dirty flash LOS 17.1 over LOS 16.0

X2 is my main daily driver. so don't break it. also, would u recommend me to move on to LOS 17.1?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xyomguix:
Sorry for the delay. Here is the logcat done with

adb logcat -d > logcat.txt

Hope this is ok :D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
i am attaching 2 logcat, it is in compresses form. hope so its serves the purpose. please check the fingerprint issue.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, a new test build is going up! The new build will be done uploading on OSDN within 30 minutes of this post. Link as always is in the first post. The build lineage-17.1-20200420-UNOFFICIAL-x2 contains a fix for restorecon recursive on our persist partition to ignore sehash to ensure it has the proper selinux attributes assigned to the folders. Currently sehash isn't always matching the directory labels in persist which is causing fingerprint to fail for some users like [MENTION=3514001]xyomguix[/MENTION] and [MENTION=5857902]maxrocks.90[/MENTION] (so please test this build and check your fingerprint sensor). [MENTION=1427795]mrcola[/MENTION] I think your fingerprint issue could also be related to this sehash issue so please also test this build. This build also contains a lot of improvements to our open source camera HAL which also needs testing. Last (but not least) a lot of changes to make our x2 VNDK current compliant which in the future should allow us to boot GSI's with selinux enforcing. For now though, this build is selinux permissive for testing just in case I missed something.

I'm also updating Lineage Recovery 17.1 test builds today. lineage-17.1-recovery-x2-20200420-UNOFFICIAL has a bunch of recovery changes that the LineageOS team has merged. Minor quality of life improvements and selinux improvements too (they're working towards selinux enforcing for recovery).

xyomguix and maxrocks.90, can you both please attach logcat again after testing this build so I can check if your persist partition has anymore selinux denials? If fingerprint sensor works for you too mrcola after this build please also do the same and attach logcat.

[MENTION=4908707]Ashutosh Lww[/MENTION], I recommend following the instructions from the LineageOS wiki to upgrade to LineageOS 17.1. if you are unencrypted you can optionally use the latest official TWRP (version 3.3.1.-2-x2) instead of Lineage Recovery.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kannanrs:
Will battery usage be improved???
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xyomguix:
I confirm that fingerprint is ok with this build :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=4017843]kannanrs[/MENTION], these commits would only have a minor battery life improvement for those who have the biometrics HAL / qfp-daemon crashes causing their fingerprint sensor to not work. The other changes are just device improvements that might slightly improve our camera's responsiveness, maybe better results when recording videos and also to improve compatibility with GSI's. The VNDK current commits are a mix of stuff from me and the sexy shims and a few fixes from [MENTION=8794120]Lucchetto00[/MENTION]. :good:

[MENTION=3514001]xyomguix[/MENTION], that's good to hear your fingerprint sensor is working again on that last test build! :) can you please provide logcat to confirm there isn't any other selinux denials we need to look at?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] xyomguix:
Here is the logcat with the unofficial release.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] maxrocks.90:
mine fingerprint still not working. i have attached logcat