yashsingh1/xdaforums huggingface dataset:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
[MENTION=6235294]ThE_MarD[/MENTION] - landed in trouble with 11/17 update. Dirty install over 11/16 resulted in a different kind of boot loop. The device will boot up to unlock screen, swipe up and it will start all over with boot animation. Never comes out of that. Moving back 11/16 build now.

Edit: TWRP restore of 11/16 resulted in same status. No idea if 11/17 downloaded file is corrupt. I had to do a clean install including format data.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] erwan574:
Nice and smooth upgrade with clean wipe and latest official TWRP / latest 30S firmware on a X820.

I confirm bluetooth audio is ok. I did not find the "SBC high bitrate" setting that was in LOS 16.

I installed latest Magisk with no pb after setup and google account restore.

I used latest "PMGC" camera and it seems a nice improvement too in performance.

GPS is ok for me.

Now I will wait for the battery usage graph, but everything seems ok for my usage.

I expect this LOS version to be used a few more years on my phone if nobody breaks it before.

Thanks !
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] fer198309:
This is an old problem of leeco max 2, you always have to remove the password before any update or restart, in which case you can delete the password by twrp no files, data, system and delete the lock, ready restarts without password there only register again.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
That was one of the first things I did after installing 11/16. I had a pin, no fp. Removed soon. It was only swipe up. Anyway back on 11/16. Will try later 11/17. Now too on just swipe up. Thank you.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3782246]kayyappan[/MENTION] , hmm to be safe I did take that build down. Sorry if it didn't boot for you for some odd reason I guess as I was working for me. I haven't tested Quick Charge toggle yet and I don't have a QC 3.0 block with me as I'm out of town training still oops, so I guess I will try to look at that again later on I guess.

Heyyo [MENTION=7732756]erwan574[/MENTION] , glad to hear you like it! Yeah SBC high bitrate isn't ready yet on LineageOS 17.0 so it is missing. GPS seems to be just as good as Pie which is nice since Pie was pretty snappy most of the time and a lot more accurate than it was on LineageOS 15.1.

Anywho, a new build is going up in 30 minutes from this post! lineage-17.0-20191118-UNOFFICIAL-x2 is with a fresh repo sync and some repopicks of LineageOS 17.0 with a bunch more changes merged (I'm not sure if they'll all be noticeable to us right away or not). Some stuff I was waiting on for libinit was merged on system/core so meow I've also started to merge more stuff on our LeEco msm8996 trees yay. I'm still waiting just a little bit longer on the CAF Q blobs we have right meow just in case there's still something that needs to be fixed there...

This build still has snap camera app crashes and doesn't work and selinux permissive. I might try to next work on some of our selinux denials to see what comes up and what I can fix to start working towards selinux enforcing again. Moshe said he will start working on a kernel rebase for Q CAF tag so that will be nice for us too. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
*edit* wow XDA keeps double-posting on me...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Reetesh54:
[MENTION=6235294]ThE_MarD[/MENTION] i think by mistake you named the thread [X82X][9.x] instead of [X82X][10.X] .
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] erwan574:
Just updated to lineage-17.0-20191118-UNOFFICIAL-x2 using TWRP, with magisk 20.1 installed.

no issue so far. The zip image is 66mb larger but for now I see no visible changes.

Battery usage of previous version seemed very good for me (deep sleep ok).
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Gibri:
Can someone help me to clarify my questions? please!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo [MENTION=4017843]kannanrs[/MENTION], hmm it should work on second sim. Afaik you can select primary dial out sim but both sims can receive calls... Which app is your default phone app? AOSP or other? Gapps replaced?

[MENTION=1472812]Gibri[/MENTION], afaik BaikalOS might give you the best battery life for a Pie ROM as it favors battery life over performance... Albeit, that's kinda subjective as some users say it offers better battery life and others say not really... So definitely mileage may vary.

For gapps? OpenGapps is recommended. I wouldn't recommend replacing stock apps with OpenGapps stock variants as that can cause issues. You're better off just disabling the AOSP apps and then setting the Google ones downloaded from the Play store as the defaults. I recommend OpenGapps Pico or Nano. OpenGapps 10 is officially out which can be found on their website.

Magisk installs fine on Android 10 ROMs.

There is no OTA's on unofficial builds. You'll have to wait for Official LineageOS 17.1 builds.

kayyappan I'll try to check that logcat tonight if I have time.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Gotcha!?.... was wondering why no reply from you as you always respond. You forgot - :D - the "@" before my id...so I did not get any notification.

There is no emergency with regard to the issue I have faced. Take your time.

But vaguely remember seeing "time out" in one of the logs and if I am right it is for "Power Manger". Unfortunately I permanently deleted the old logcats. Sorry. Let me check in the logcats I have posted here on this thread if any contains that.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new build is going up! lineage-17.1-20200130-UNOFFICIAL-ONLY-FOR-X2 is NOT a unified build with max_plus. It turns out that something is broken in my unified builds commit that was causing the magnetometer to not work and thus compass as well, so I'll need to fix that. This build also doesn't have the open source ConsumerIR HAL so no IR blaster support as well. Once I fix the max_plus unified builds I will also add back the open source ConsumerIR HAL.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ra.bo:
Hi all,

after a long time using a pixel rom I switched to this rom yesterday. (I would have preferred to avoid these "work", but after the phone app stops working some heavy actions seemed to be necessary)

This rom works really nice on my X829 (better than the old one) except one point which makes me crazy: Notifications and notification LED

Perhaps I don't understand LineageOS but I can't get it running.

Can anybody help me on this topic?

At the moment I'm really frustrated on getting informed about news from my games (only message on screen/ no LED) but nothing about new mail, whatsapp, ...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] #1 Network:
Auto rotate not working and there is no finger print unlock option ? I have done clean flash by using latest official-TWRP
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] erwan574:
hi all,

I updated from previous build, only wiping vendor partition.

Compass, auto rotate, and (previously recorded) fingerprint unlock is ok on my x820.

regards
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] #1 Network:
But for me lots of bugs?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new build is going up! lineage-17.1-20200131-UNOFFICIAL-x2 has a fixed sensors config from the unified x2 and max_plus builds so that compass will work correctly for us again. This build also contains the open source ConsumerIR HAL.

I'll be taking down that last x2 only build since it is no longer necessary.

[MENTION=10496955]ra.bo[/MENTION] and [MENTION=10175671]#1 Network[/MENTION] please ensure you have updated device firmware installed. Older device firmware can cause issues.

[MENTION=3782246]kayyappan[/MENTION] sorry I haven't had time yet to look at your logcat blargh my crew picked up another field job so I've only had time to just VNC into my PC and tweak builds... I'll try within the next few days again to look at that logcat.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ra.bo:
I flashed the "LEX829 (X2_NA) 20s" from the link in post #1 without error messages from TWRP during the whole installation process.

Is there anything else i can test/do?

Trying another firmware?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] nageswarswain:
Is is selinux enforced??i was less active on the x2 forum as i have now an Asus 5z with me but my x2 is now my wife's and it's running Revenge 10.So how far stable now this Lineage??Keep up the good work bro
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] nabil.emara2:
The back gesture in gesture navigation is not working, even on high sensitivity.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo bud, I got a look at that logcat and you're getting selinux denials for the fingerprint sensor that I was not so it could be related to that since it was an selinux enforcing build you were using.

It is having a denial with reading mnt/vendor/persist so it could be after flashing a new persist image that it's trying to re-read your persist partition.

Can you please use an selinux switcher to change to permissive? If not then no worries I can make a new selinux permissive build if I get time in the next few days.

[MENTION=10496955]ra.bo[/MENTION] and you might also need a persist restore the same as what kayyappan went through. If you look back a few pages you'll see it. Please ensure you backup any important data first and also backup your persist partition just in case. There is a chance just like kayyappan you may need a clean wipe and install to get it working.

[MENTION=10175671]#1 Network[/MENTION] there's a chance you could be running into selinux denials so please try with an older selinux permissive build or use a selinux switcher to permissive or wait for me to get a new permissive build.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
:D

Will try soon and revert. Thank you.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] #1 Network:
In 31-1-2020 update it works fine but response time is very slower..and in Bluetooth heatset there is delay in audio both issue are noticeable can't PUBGM with this both issue..any solutions for this(Gaming is smooth in this ROM )
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] qra69:
any chance for x526 to get LOS 17?;)
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Heyyo, new build is going up! lineage-17.1-20200202-UNOFFICIAL-x2-selinux-permissive is the same as the last build but with selinux permissive. [MENTION=3782246]kayyappan[/MENTION] and [MENTION=10175671]#1 Network[/MENTION] please give this a go. I could use a logcat of your fingerprint enrollment too please to double-check that denial.

I've also updated the device firmware for 17.1 to be the 466D variants I have. Link I'm the first post. 466D for x821 and x829 are just x820 but with devinfo for their respective models. [MENTION=10496955]ra.bo[/MENTION] and [MENTION=10175671]#1 Network[/MENTION] please also do these.

[MENTION=1413449]qra69[/MENTION] well I understand your enthusiasm, but I can't do the bringup for 17.1 as I don't own an s2, but TIMI Breakdown is already working on that... So if he finishes? Then I can help with selinux enforcing. :good:
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Edit: XDA yet again does double-post on me... Sigh.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
No change to screen wake up on own on this too with security - screen lock none. No FP/PIN/Pattern recorded and removed. Only two changes from install: screen timeout 15s and screen lock none.

I would suggest you continue towards making it official with SELinux enforcing as I'm the only one who seem to have this issue.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kannanrs:
[MENTION=3299548]Marc.[/MENTION]..

Won't the new permissive build boot on X2???
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] pedrazamarcos:
Can you please add the option to show the date on the status bar?

Also the option to "foreclose (kill app) with the back button is missing.

Don't understand why you never include the Date option in your roms, is good to see the day of the week and the number of day in the month

see picture from different phone and different rom
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3782246]kayyappan[/MENTION] can you please send me logcat of that permissive build? I'll try to at least resolve that fp denial you have on there in case anyone else runs into it. You could always try QFIL too and then install TWRP and format data and wipe other partitions and then install EUI ROM 30s or something and then see if the issue happens on EUI ROM before continuing onto custom ROMs.

[MENTION=4017843]kannanrs[/MENTION] of course the builds boot. I haven't been releasing builds for months that don't boot. :silly:

If it doesn't boot for you? I'd recommend clean wiping your device and reinstalling the ROM + gapps.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Edit: XDA double-post fail as usual...
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Yes, will do tomorrow. Now after you mentioned I vaguely remember that I didn't check whether the issue cropped up

in stock 19s when I installed to start all over again.

Now I'm going to hit the sack... beyond 2 AM....:D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Please see the attached logs from both stock 19s and LOS - lineage-17.1-20200202-UNOFFICIAL-x2-selinux-permissive.zip install. Both clean install.

TWRP-3.3.1-0, format data, reboot to recovery, wipe all including internal.

On first boot after install one fp enrolled with same 4 digit PIN. Checked if fp wake-up works fine - yes, it does in both. And no self wake-up too.

Then make security - screen lock "None". Stock does not auto wake-up on display timeout but LOS does. Hope that helps. If you need more info/testing please let me know.

QFIL? oh, my! That's a Giga "pain in the unmentionable!"...:D but I doubt if I require that process. Let me know.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] nabil.emara2:
Will you please add the option to not allow some apps to use data?, it was available on the 9.0 rom I was using AOSIP, and I hope you can add it here
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3782246]kayyappan[/MENTION], attached is a persist image backup I made using that dd command. Please try this and see if it helps. You may need to delete your fingerprints after using this.

https://drive.google.com/open?id=1c_OcOa6EWmZ9xPjnOzw_P_UbD4AbBQAr
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Yes, tried but with the same result - screen wakes-up on own if screen lock is set to "None". The persist image downloaded from your link and restored via dd is being used right now on 10-AOSiP-Unofficial-x2-20200122 build number QQ1B.200122.011 by CBG (though I backed up my original /persist via dd but did not opt to restore) and your /persist works without any issue. I never use any lock feature - The screen lock is set to "None" always irrespective of what ROM I use.

Clean install - Format data, reboot to recovery, wipe all including internal to install "lineage-17.1-20200202-UNOFFICIAL-x2-selinux-permissive.zip".

Install info and log attached.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Hmm [MENTION=3782246]kayyappan[/MENTION] do you use your fingerprint sensor btw? This part is concerning

QFP : QfpCalibTest::calibTestCommand: control 22, buffer size 16, result 0
QFP : QfpCalibrationTarget::runCalibration: finger detected before bge calibration --> abort calibration
QFP : QfpCalibrationTarget::execute: finger detected before bge calibration --> wait 15 seconds for next calibration

It thinks it detects a finger on your FP sensor and fails calibration.

For example, mine looks like this:

QFP : QfpCalibTest::calibTestCommand: control 22, buffer size 16, result 0

As much as I dislike this suggestion? I'm starting to really think you need to QFIL... So backup everything important off of your phone first before doing it as it will wipe the slate clean on it...

Here's the guide I used https://xdaforums.com/le-max-2/how-to/guide-hard-brick-fix-qualcomm-hs-usb-t3492949
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
That itself is surprising as I do not use PIN/Pattern/FP at all. It is simple "None" for security - screen lock always. I may just check if the SW/HW works just one time on install of any ROM,stock or otherwise, but revert faithfully to screen lock - None.

While LOS 17.1 sees an fp calibration error and a non-existent fp and given that all others remaining same barring /system and /vendor on install of any custom ROM including LOS 16.0, I do not face the auto screen wake-up on any of them. At the time of posting this my phone is on lineage-16.0-20200209-nightly-x2-signed.zip and screen does not wake-up unless I press the power button. Exactly the same setup as described by me on LOS 17.1 is followed for LOS 16.0 too - i.e. On reboot after install, complete setup wizard, Settings - Security - Screen lock - None and Display - Screen TO - 15 secs, the TO change is an optional one. So my "process of elimination" does not point to QFIL.

If intermittent HW fault is suspected, it should have cropped up some time or other during either regular use on any X2 exclusive custom ROM or during limited period use of different GSIs which I have tried. And I have tried a lot of GSIs but at the end of any GSI install, after seeing what bug each GSI crops up, I promptly and faithfully return to exclusive X2 custom ROM for daily use - X2 ROM could be LOS 16.0, ROS(10), Evolution X(10), AOSiP(10). Since the auto screen wake-up occurs only on LOS 17.1, I do not suspect HW.

I have QFIL with associated FlashOne1.9 but I beg to differ from you on that. I can try a blind shot of QFIL but I am not convinced that it will not be the same post QFIL and return to LOS 17.1. However I would appreciate if you could explain in detail why your "process of elimination" requires the use of QFIL. I wonder if it is something to do with some threshold value(s) for fp or other sensor(s). I have attached LOS 16.0 logcat for your perusal.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mironskoulas:
hello...amazing rom..but i have a problem..bluetooth earphones work fine on music but not working on voice calls..have anyone idea how to fix that??
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Hi, you asked for it....!!! :D

Here we go - QFIL done - From 5.6.xx whatever it was moved to what the phone originally came with - 19s using TWRP 3.1.1-0 via "fastboot boot" as the "dev" recovery after QFIL refused to update 19s full stock ROM - kept saying "update failed - corrupted" even with newly downloaded FW. Treblized. Recovery flashed to TWRP 3.3.1-0. Reboot to TWRP 3.3.1-0 - Format data - Reboot to recovery - Wipe all including Internal. Sideload install "lineage-17.1-20200202-UNOFFICIAL-x2-selinux-permissive.zip".

Reboot - Setup, Settings - Security - Screen Lock - None from Swipe and Display timeout - 15 secs. And screen wakes up on its own. Absolutely no change whatsoever from how it behaved prior to QFIL flash. Logcat attached. That probably eliminates a major suspicion at your end.

Edit: NOTE: If after QFIL someone wants to transfer a TWRP backup while on TWRP 3.3.1-0 (not checked on others) to move back where the unit was via restore, please keep in mind large file(s) "may not" get transferred to phone as it happened to me. "system_image.emmc.win" never got copied in my case. See the attached image for size. I had to start by flashing a ROM afresh and then via MTP I could transfer the TWRP backup to phone and restore. The system file size is around 4.2GB and system partition size may have played a role in that. But my phone was working with that before attempting QFIL and is working now with restore as well. It may not be related to QFIL at all.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] DandyElf:
Hallo. How can i change device name in system? Modification of build.prop ( ro.product.device) not working. On Android 7 it's working. Thanks.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
Hmm [MENTION=3782246]kayyappan[/MENTION], there's still a chance your fp sensor is acting up though bro, QFP spams calibration like crazy in your logcat... albeit, it's not failing calibration like before...

I QFP : QfpCalibrationTarget::runCalibration: found next_call_delay=0 calib_complete=0

is in there an insane amount of times.

Let's try something extreme... let's delete all the QFP blobs. No need to back this stuff up as flashing the LOS ROM file will reinstall these files anyways.

vendor/app/QFingerprintService/QFingerprintService.apk

vendor/bin/qfp-daemon

vendor/lib64/hw/fingerprint.qcom.so

vendor/lib64/libqfp-service.so

vendor/lib64/qfp.wakeup.so

and also the fingerprint service

vendor/etc/init/android.hardware.biometrics.fingerprint@2.1-service.rc

vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service

system/lib64/android.hardware.biometrics.fingerprint@2.1.so
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Thank you. Will try tomorrow and will revert. I saw them too but the repetition was due to my leaving the phone in that state to post a reply. So you want to remove all calls to fp service basically and see, am I right? But that still does not explain why "swipe" option for screen lock prevents that leave alone others like PIN/Pattern/FP and FP working flawlessly if enrolled.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] ThE_MarD:
[MENTION=3782246]kayyappan[/MENTION], if FP enrollment works fine? You could also try with removing your saved fingerprints or have your fingerprint and PIN set up and then reboot to TWRP and delete any file with the word lockscreen in /data/system/

Also, does this issue also occur on LineageOS 16.0?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
No, the issue does not occur in Lineage OS 16.0.

(Or on any other ROMs.). Lineage OS 16.0 logcat attached with my post #212.

It happens only in Lineage OS 17.1.

I've been thinking about whether to proceed with what you have suggested in your last few posts. Ok, let's assume fp is playing up! But why so only on Lineage OS 17.1. and not on anything else? Hope you can explain that to me. Besides from your replies it seems to me that you have not read my detailed explanation of how it happens and that too ONLY on LineageOS 17.1. Sorry to notice that.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] monleylord:
Sorry if I spam the thread!

Qfil comes with 14s or 16s and you need to format sdcard in leecos recovery after this because it shows only the half space. If you done this it essentially to flash at least leecos s19 or s21 rom or the full firmware update.

After this you should flash latest twrp and what you want
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Thank you. Yes, you are right. What I had was 16s. Remember reading somewhere that it is with 5.6 EUI recovery but didn't bother to really check as I was not going to stay in stock. Just wanted to see how the local update behaves and even that too didn't go thru. Anway didn't bother much about stock and moved to custom ROM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Ruivinho:
Hi, I would like to thank the developers of this ROM, which by far is the best with Android 10 for Le Max 2. I just wanted to ask you to fix this application bug right away, suddenly stopping, my biggest and only suffering with this ROM is the fact that I can't mess with Whatsapp for more than five minutes without crashes or sudden crashes.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kubiq.novak:
I have exactly same problem. Anyone can help please?

Bluetooth headphones work for everything except phone calls :(

I also tried to change Bluetooth AVRCP in developer options, but nothing works 1.3, 1.4, 1.5, 1.6