yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=8125493]tr0ubles0me[/MENTION] , the point to test builds is to ensure the fixes are good before merging on official. Usually I test things for a few days or weeks depending on how big the changes are and also feedback from testers (that is, if I get feedback which isn't always).

[MENTION=4996587]psp1709[/MENTION] , can you please provide pstore after boot fails?

flash latest unofficial build of LineageOS

after 5 minutes if it falls to boot, then reboot to recovery

advanced > local terminal

cat /sys/fs/pstore/console* > /sdcard/pstore.txt

Attach the pstore.txt from the root of your sdcard (user data) storage on your device either here or in a pm to me
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] hawamahal:
Quick question. I am currently running Lineage 14.1 on this phone. How do I upgrade to this latest version. Thanks
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
A similar issue had occurred once before too.

Today when I plugged in my charger when the phones battery was at around 15% after 10mins now the battery percentage has gone down to 5%

Edit 1: since the past one hour the phone is on charging and is stuck at 3% this time I didn't power it off or disconnect the charger. (Please note during this period of an hour I didn't use the phone)

Edit 2: Now after 5 mins from the 1st edit the battery is now at 2%.

Edit 3: Now after disconnecting the charger (at 0%) the phone turned off instantly then on plugging back the charger the phone came to offline charging mode with battery at 4% and then when I powered it on the battery was on 13% and charging at the usual speed.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
This is the post when I first encountered the issue.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=2123656]hawamahal[/MENTION], LineageOS 17.1 only supports upgrading from 16.0. Your version is too old, so you will need to clean wipe your device. Please check the guides on the first post for installing LineageOS via Lineage Recovery or TWRP.

[MENTION=9443390]D_Heroic_One[/MENTION], hmm that's quite the odd bug. Have you also tried different chargers and cables? Next time it occurs please provide logcat and we can check if there's any hints as to what might be going on if the issue might be software.

As an update to my x2 parts... I was able to dispute and get refunds for the rear camera lens and earpiece, so those I will order again and hopefully they'll actually arrive this time. I've already received other stuff from AliExpress that I ordered long ago, so they're definitely lost in shipping. :silly:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, a new test build is going up! Link as always in the first post. lineage-17.1-20200709-UNOFFICIAL-x2 contains a few init optimizations that might even lead to faster boot (maybe 1 second if we're lucky tbh heh) and a kernel commit that should make cnss-daemon properly receive the hints from qcacld 2.0 which should ensure our WiFi performance stays good all the time and also a few permission updates for stuff like Quick Charging and IMS. It also contains all the test commits from previous versions.

If possible I would like feedback about WiFi performance and also that Quick Charging works well since I lost my QC charging block

So for another update from me, my Asus Zenfone 5z came in and it is quite impressive! I definitely love the stereo speakers! They're not quite as punchy as the Nexus 6P or HTC One m7 that I've used before, but they're definitely a major leap up in speaker quality from the LeEco Le Max 2 heh. Meow that I've finished up the last few updates to x2 that I wanted to (except that darn pie IMS/QMI/RIL stack that keeps eluding me with that netmgrd crashing due to null pointer reference error...) I want to focus next on getting Z01R official on LineageOS 17.1 and also TWRP. :good:

Also, I think XDA finally updated their forums! I no longer seem to be getting double-posts and editing projects doesn't lead to a URL error after saving! w00t! :silly:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] javlada:
Hi, I have a strange problem with my phone. It randomly automatically turns on (lights up the screen). Sometimes this drains the battery completely in a few hours. Do you have an idea what might be causing the problem? How can I identify what wakes up the phone? Thank you.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
According to Accubattery it charges with 2375mA w/ Screen Off.

To Test WiFi pls tell how and what you expect to see.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4520958]origin_de[/MENTION], ah that's good news for QuickCharging still working good. For WiFi? It's pretty much test speeds and if WiFi is still connected if the device is asleep for a while.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
The screenshot shows down-/upload speed. First numbers show 2.4GHz, second 5GHz WiFi-connection. Phone is about 0.5m away from router. Internet connection is 100Mbit DSL. Hope this helps.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Below attachment show speed over time. Very sustainable transfer. No drops.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] tr0ubles0me:
The problem with WiFi is that the phone switches to LTE (in my case) when asleep, and it does it (in my case) even if connected to a charger. This makes it almost impossible to auto-update apps, because Google Play Store App is setup to do it when connected to a charger and WiFi at the same time.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
thats how thing work on all android except the one that had option to keep wifi when sleep.

one thing i found in los was sharing link from some apps is broken. for example the right link should have 30 character, but when shared from los it became 60+ character and the link is not working. dunno where the los got difrent link from.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] arbaaz_uae:
Hi everyone,

I am running EUI 5.9.021S for now, I am unable to flash TWRP recovery after flashing this rom with TWRP.

Main issue: Fingerprint sensor is not working

I have downloaded this pseudo-firmware-466D-X821-le_x2 (unable to install it as update .zip)

Can anyone send me the instructions to flash pseudo-firmware-466D-X821-le_x2 for the fingerprint sensor.

Note: I have tried this rom 5.9.446D_dev.zip, fingerprint did not work.

In this next rom QFIL_X2_IN_FGXOSOP5601305262_By_GsmDevelopers fingerprint sensor took pics 2-3 times and stopped working.

I want the fingerprint sensor working in the Lineage OS.

Please help me out. Thank you
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4520958]origin_de[/MENTION] thanks for the testing! I'll be merging that QCACLD kernel commit soon :good:

[MENTION=8125493]tr0ubles0me[/MENTION] and [MENTION=2821964]alveox[/MENTION] , have you both tried the latest test build? It contains some test commits to try and fix the WiFi disconnecting when sleeping that are not in the official builds.

[MENTION=10955329]arbaaz_uae[/MENTION] there's a chance your fingerprint sensor hardware is failing... I would recommend using QFIL and hoping that fixes it. I would recommend backing up anything important off of your x2 first as it will wipe out your device and then rebuild the partition tables.

https://xdaforums.com/le-max-2/how-to/guide-hard-brick-fix-qualcomm-hs-usb-t3492949
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] tr0ubles0me:
I've not tried any of the test builds for I'm on the official channel and can't go through the hell of setting up everything on my phone the way I like it once again, especially with a 2-year old running all over the house. As far as I understand, it requires a full system wipe to go from official to test builds? Hopefully someone else could provide feedback.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] arbaaz_uae:
QFIL never worked for me with Qualcomm - flash dead phone

QFIL never worked for me with Qualcomm - flash dead phone.

I have tried many QFIL zips from various sources. All i get is errors in flash dead mode.

I was able to flash QFIL_X2_IN_FGXOSOP5601305262_By_GsmDevelopers.zip with flash type Common fast boot in recovery mode.

Only this type of flashing worked for me. I tried changing the configuration in QFIL loader emmc to ufs ......no go. some or the other error, Tried many times but no go.

I installed Lineage OS today, The UI was fast and very pleasing. Thanks to all the developers and the community to have come this far with Lineage OS. :good::good::highfive:

Fingerprint sensor: Never detected :(

My sister has a similar phone, I tried TWRP backup of that device to flash on my phone. Copying the backup files manually did not work. Used ADB to pull and push the backup files, even that did not work out.

Now backing up the working device to pc, its my 5th sleepless night. I just want my phone to work properly.

Unfortunately no one in my state is selling used Le Max 2, I will post the outcome of the
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Abdel1998:
My fingerprint didn't work either. What i did was flashing EUI from Crisballgreece (Lightedition 23s). Then in EUI I calibrated the fingerprint sensor. After that, i wiped everything and flashed latest LineageOS with 466 modem. Unfortunately fingerprint was still dead in LineageOS. Then i wiped everything again and flashed AEX from shivatejapedi(Android 9). In this ROM the fingerprint worked great. Weird right. Anyway, I wiped everything again and installed LineageOS again with 466 modem and now fingerprint sensor works great. Maybe you can give it a try. I know its sound weird but lt worked for me.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] arbaaz_uae:
I installed this rom AEX from shivatejapedi(Android 9) as you recommended, but fingerprint is still dead. Looks like a hardware issue then. Its time to upgrade and say goodbye to Le Max 2.

Thank you all for your support.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Abdel1998:
Did you calibrated fp sensor in EUI?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] karroryfer:
Hi I lost LTE connections after upgrading Lineage from 16 to 17 afair. I tried to reflash ( with clean wipe ) it with newest Lineage ,then reflash ver 16, then also with Resurection - same result no LTE

I also tried *#*#4636#*#* - and after switching to LTE only internet is disconnected !
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=8125493]tr0ubles0me[/MENTION] you can switch from official to unofficial by just dirty flashing. No need to clean wipe. I've tried it before and that worked fine for me too. :good:

[MENTION=6542192]karroryfer[/MENTION], so you're saying no matter which ROM you try you can't get LTE? I would recommend clean wiping and trying out EUI ROM 30s to check if it works there or not. You will probably need to downgrade your TWRP to something like 3.2.1 or 3.1.0.

http://bug.letv.com/cn/download/phone/34
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Ole4eR:
Hi i have Lex829. Its at the official lineage os 17 and its very good. During Several builds have issues with unlock pattern. After reboot after installation, need to try a lot of times a pattern and each time its line soft reboot. And only let unlock when i have Message about UI Interface nota responding. With fingerprint its unlocking well. Can i have any suggestion about this issue?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
You mean the x2 lock screen bug

Check this guide. https://xdaforums.com/le-max-2/how-to/guide-to-fixing-x2-lockscreen-crash-t3918911
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Ole4eR:
Thanks a lot. Will try this when new oficial build will come out. I will tell if it worked.

P.S: sometimes i have Viber crashing por taking a lot of the time to load and send pictures from Gallery, but sending good when taking photo directly from camera, any suggestion for this?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] :
Hi, where can I download the default lineageos kernel to install it? I installed a magisk module and this module changed the kernel, and I want to go back to the default kernel, thanks.

I have a Leeco Le Max 2
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
[MENTION=6235294]ThE_MarD[/MENTION]: I'm getting prepared to change battery. Got two from a German Mobile-Repair €8,-/piece.

As everything else still works, I hope it'll work out without damaging the display.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] surfersea:
try this: let the phone battery die completely. Wait another 5 minutes. Recharge the phone and turn it on. It worked for me
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alancai:
be careful when you reconnect the plate. make sure the light sensor cable on top of the plate is reconnected. test it before you put back the screen.

use suction cup, I broke my screen by poking on the sides, leaving loads of dead pixels. but no longer a workhorse. not going to fix the screen.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4520958]origin_de[/MENTION] , I wish you luck with that battery replacement! As others have mentioned, be VERY gentle with the display and take your time to remove it. I've seen some repair shops also use plastic cards to slowly slide along the edges to remove the adhesive. The display of X2 is definitely fragile, as mine has slight discoloration on the display along my right edge from trying to do the same a while back.

Speaking of repairs? I'm still waiting on that earpiece and rear camera lens that I reordered lol... Really hoping at least the earpiece comes in soon, as I noticed replacing the rear camera lens would be from the outside of the phone.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] tr0ubles0me:
Any info whether yesterday's official build does include the wifi disconnects when sleeping patches?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Abdel1998:
Unfortunately problem still exist with latest build. Marc confirmed in Telegram group that the root cause is still unknown.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Just a quick report on how the exchange of the battery went.

I used cards from an old card game (Schafkopf ;)) to loosen the display. This worked quite well also maybe because the glue seemed to have
aged already and it was not as hard as expected. Replacing the battery itself is quite easy and the youtube video
from Telrichrosefina "LeEco Le Max2 Max 820 Display and Charging Port
Replacement" was quite helpful too.

Challenges:

The backside of the display has several foils which in my case
were loose. It is very easy to introduce dirt between them when
loosen the display with the cards.

Recommendation:

Strictly stay at the edges of the display when loosening it with the cards.

Swipe with the cards from the bottom to the top towards the camera,
cause the foils are fixed at the bottom, not at the top. This lowers
the risk getting between the foils.​

There is a risk that the connectors at the bottom slide out. Especially
the most left one for the navigation buttons.

Recommendation:

Before you fix the display again make sure you not only look at a
working display but also at the buttons.​

Because of the dirt and the loose connectors I had to reopen the display
two more times than needed. Luckily I had plenty of glue tape. Now it's
charging and I'm looking forward getting back from 2100mAh to 3100mAh.

Thanks to ThE_MarD and the LOS team my x820 continues to be my daily
driver as the other two in the family will.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] B4LQ15:
Good job
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] popoyaya:
deleted
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
guys just realize when i take a video using google cams, no sound coming from it..

im using latest los official. I've tried uodating my google cams by parrot43 but the problem still exist. so is it only on my phone or other have same problem?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Abdel1998:
I just tested it and i don't have this problem. I am also using latest Los and parrot gcam.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
hmm weird, did you root your phone?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Abdel1998:
No unrooted
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4520958]origin_de[/MENTION] , glad to hear your battery replacement was a success! I'm still waiting on that replacement earpiece and rear camera lens to arrive for my x2 lol... I plan on replacing my screen as I do have two discoloration spots I'm guessing from when I botched my first screen replacement heh oops. I'm thinking LineageOS 18.0 (or whatever it gets called for Android 11) should be more straightforward than LineageOS 17.1 as we will be legacy by that release and so it should just be minor changes to get our builds running stable. Blob upgrades will probably be minor too, maybe if we are lucky we can use sdm660 blobs for CNE, DPM and graphics?

[MENTION=5938350]Abdel1998[/MENTION] , please ensure you aren't using any audio mods of any kind. In the past, I've heard of users having that exact same issue who tried some audio mods. Only real fix is to full wipe and install LineageOS (and gapps) and start over.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
Im not using audio mods, root only for adblock and screenshot from tile apps.

fullwipe and start over is pain in the ass when i got lots of apps on my phone.. ? ?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alqi:
Thanks for your good work, it's nice to hear that our old X2 can run on LOS18!!!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] rainbyte:
Android 11 would be great on this phone. I would really like to contribute if possible.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=6624040]alqi[/MENTION], I think you misunderstood my post sorry, I was just theorizing how support for the next version of LineageOS will be.

[MENTION=8408069]rainbyte[/MENTION], cool! Extra support is always welcome! If you wish to see the manifest I use and build scripts are here and the ReadMe has some extra instructions:

https://github.com/lineage-x2-devs/local_manifests
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] alveox:
hi again, just tried searching my problem on google. It seems lots other device using los 17.1 got the same problem, no audio when recording video. tried couple apps, nothing is working. ill try to read the log, wish me luck.

update:

using catlog i got so many E/audio_hw_primary(572): start_input_stream: use case assigned already in use, stream(0xeb273380)usecase(18: audio-record) error..

it seems some apo is stuck on using the mic/recorder.

the follow up was i denied all apps from using microphone, restart, then allow some apps using microphone.

Boom i can record audio again..

i dunno the root for this, ill be guessing some broken permission rule or some apps is frozen in background after using mic.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] rainbyte:
Do you know if there is a workflow to make changes to the kernel without having to rebuild the complete image each time? It would be cool to make some changes, replace vmlinuz and reboot to test.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=8408069]rainbyte[/MENTION], the simplest way to do that is to do a full build, then only delete the kernel related folders and files in the out/target/product/x2 folder and then do a dirty build.

Tbh, I haven't tried building a kernel standalone from ROMs, so if you wish to do that? You should search for some guides on doing so which could be useful if you only plan on modifying the kernel.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, a new test build is going up! Link as always in the first post and I'm uploading the build now so it should be done within 30 minutes of this post. lineage-17.1-20200728-UNOFFICIAL-x2 contains some fixes for dual SIM so that the settings per SIM is remembered even after a reboot (including preferred SIM). Thanks to zhaoguomanong for finding the commits on this. We've also removed WhatsApp's forced camera HAL1 mode as some zl1 users on AICP have had issues with it and tbh that app works fine with HAL3 anyways. There's also some minor updates to our gemini oreo IMS/QMI/RIL blobs to the last official build of MIUI for that device plus a redone patchelf to fix that imsrcsd crashing randomly as was shown in logcat.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] guijv:
I wonder how I could flash a gsi to my phone,:)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=9893473]guijv[/MENTION], to do so, you must either flash TWRP or use fastboot boot twrp.img and then wipe only the Dalvik, cache, system image and "data (non media)" and then flash the GSI to system and then reboot.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Nice of you to respond though GSI is off-topic. But LOS vendor did not work for me on GSI though LOS boot,after making it permissive, worked with some other vendor. It was tried on P ROMs. Did not prefer to go beyond experimenting as each had some bug or other and besides X2 is having excellent custom ROMs thanks to devs like you. Anyway cannot check anything now as my X2 screen is broken...:mad:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] giaur:
I can't understand why have they decided to remove Android 10 gestures support. Is there any way to bring them back?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] tr0ubles0me:
Any info on the "not keeping WiFi on when connected to charger" issue? Is the patch in the test build working, or is it in the official builds already?

And a question about moving from official builds to the test ones: as far as I understand, I should just flash it over the official? Do I have to wipe some partition, CACHE/Dalvik maybe?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] origin_de:
Regarding Bug-List: I cannot see an Android Auto bug. Works for me in a Skoda Superb 02/2019.

Only annoying behaviour when loosing mobile signal, Android Auto may stop working. Not sure whether this is LOS. To me it's more likely an Android Auto problem.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=3782246]kayyappan[/MENTION], when you tested GSI, how long ago was that? It might have been before we upgraded to VNDK current which could have affected it.

Also, oh noes! Busted screen!? RIP your x2... Yeah x2 has solid custom ROM support so we are still in good shape.

[MENTION=8125493]tr0ubles0me[/MENTION], unfortunately the tested commits did not fix it... So I'm clueless now as other msm8996 devices have the same bug too.

[MENTION=4520958]origin_de[/MENTION], thanks for the update! I'll remove it from the bugs list. That's cool you have a Skoda, pretty neat European vehicle brand. :)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] acocco:
Hi all, about dual sim and preferred sim i'm not able to set it for my contacts, with revenge os i was able to choose the preferred sim for my contacts just long pressing on the phone number and choosing the sim...

now this function is no longer enable (or probably i don't know how to use it).

someone can explain how to set the preferred sim?

thanks in advance

Andrea
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] taocunguijs:
there's no this feature on LOS, you can only set calls preference globally(card1, card2, or ask first). There are two ways to change your calls preference.

1. Settings->Network&internet->select one card(card1, card2)->Call preference->(1/2/ask every time)

2.Phone app->click the top right icon->settings->calling accounts->Make calls with(1/2/ask first)

As far as I know, you can't set different pref for different contacts number.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] acocco:
Thanks...

In revenge there was... it's a shame.... but we will survive.