[OFFICIAL][X82X][10.x][TREBLE] LineageOS 17.1 (Android 10) for LeEco Le Max 2

Search This thread

jerzyszczur

Member
Dec 26, 2009
47
0
26
I wanted to give my old phone with this ROM to my son.
His account is supervised with google family link.
When I tried to login in with his account I've recieved message that software on this device is not compatible with my son's google account.
Any advice what I could do?
 

jerzyszczur

Member
Dec 26, 2009
47
0
26
@ThE_MarD I've been trying to solve it by installing older version of Lineage OS, but the problem remains the same. Right now I've installed version 16. So the logcat is from this version.
Could You look at it please?
 

Attachments

  • logcat.txt
    733.3 KB · Views: 2
Last edited:

ThE_MarD

Senior Member
Dec 10, 2014
2,818
3,294
203
Grande Prairie

jerzyszczur

Member
Dec 26, 2009
47
0
26

jerzyszczur

Member
Dec 26, 2009
47
0
26
One more thing - there is no trace of google family link in logcat, because during initial setup, when I try to login with my son's account I recieve message, that software on this phone is not compatible, so I can't install family link. I even tried to download and install manually apk file, but it doesn't work either.
I still have to try install alternative gapps.
 

ThE_MarD

Senior Member
Dec 10, 2014
2,818
3,294
203
Grande Prairie
Heyyo, for the lack of a new build? I believe last week the build server our build was assigned to ran out of space. Since our weekly builds tend to get triggered on Fridays? The odds are the next one will be tomorrow and hopefully whichever build server our build gets assigned to is good to go. Builds are alphabetical... since we are x2? We are almost last lol... https://github.com/LineageOS/hudson/blob/master/lineage-build-targets
 

ThE_MarD

Senior Member
Dec 10, 2014
2,818
3,294
203
Grande Prairie
Heyyo @Shished , the reason is our build fingerprint is from legacy marshmallow, so mainly just selinux enforcing is all we need and bootloader status doesn't matter either.

Devices with Pie build fingerprints must have a matching system and vendor security patch level was one requirement, plus there's hardware attestation for devices with newer SoC's, so those won't pass SafetyNet without Magisk Hide.
 

Abdel1998

Senior Member
Jul 8, 2014
177
21
38
's-Hertogenbosch
LeEco Le Max 2
Hi @ThE_MarD

I am currenty on lineage-17.1-20210219-nightly-x2 build and I wanted to update to latest build with OTA updater. But somehow it doesn't want to boot to lineage recovery. I see the LeEco splash screen with recovery. But after that I see a black screen for 2 seconds and after that the phone booted itself to system. I never experienced this problem before.

I also tested it with march 5th build en 29th february build. All have the same problem. I also enabled update recovery automatically in developer settings. Also did i test with this option disabled, but still no success. Can you help me out?

Also i forgot to say i enabled encryption.

Thanks.

EDIT: I tried it a couple hours later and now it just works fine. I really don't have a clue about what caused the problem. But it works fine now :D
 
Last edited:
  • Like
Reactions: ThE_MarD

Milanche78

Senior Member
May 26, 2012
167
14
38
Hi Mard,

I have made big mistake and flashed Lineage recovery, now i can not do anything,

I have been trying to flash Twrp again following this tutorial


but it wont do, I do everything and when i make command to flash, it keeps waiting for device.
What can I do?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi @ThE_MarD

    I am currenty on lineage-17.1-20210219-nightly-x2 build and I wanted to update to latest build with OTA updater. But somehow it doesn't want to boot to lineage recovery. I see the LeEco splash screen with recovery. But after that I see a black screen for 2 seconds and after that the phone booted itself to system. I never experienced this problem before.

    I also tested it with march 5th build en 29th february build. All have the same problem. I also enabled update recovery automatically in developer settings. Also did i test with this option disabled, but still no success. Can you help me out?

    Also i forgot to say i enabled encryption.

    Thanks.

    EDIT: I tried it a couple hours later and now it just works fine. I really don't have a clue about what caused the problem. But it works fine now :D
    1
    Heyyo @Abdel1998 sorry for my late reply but glad to hear you got it working (y)

    @Milanche78 , please ensure you're using this command as an example

    Code:
    fastboot flash recovery recovery.img

    And then once you flash recovery, force it to reboot to recovery
  • 24
    https%3A%2F%2Fimg.xda-cdn.com%2F_qciZ_MtPTGjDb-adIt4fAUOirk%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252Fy-LtXHGCDBH0KxFw9MxWAPF3guk%253D%252Fhttp%25253A%25252F%25252Fi.imgur.com%25252F2okPze5.png
    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Code:
    #include
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */


    SUPPORTED DEVICES
    - LEX820 (X2_CN)
    - LEX821 (X2_WW)
    - LEX822 (X2_CN)
    - LEX829 (X2_NA)
    - LEX910 (MAX_PLUS. Currently only supported on unofficial test builds)

    HOW TO INSTALL LINEAGEOS WITH LINEAGE RECOVERY
    - Make sure your phone is running firmware from at least 466d for x2 and pseudo 466d for max_plus. If not? Please either the minimum recommended version below (or optional updated versions) and install it via Lineage Recovery. It can be flashed before or after the ROM
    Please follow the official LineageOS Wiki instructions for our device
    https://wiki.lineageos.org/devices/x2/install


    HOW TO INSTALL LINEAGEOS WITH TWRP
    - Make sure your phone is running firmware from at least 466d for x2 and pseudo 466d for max_plus. If not? Please either the minimum recommended version below (or optional updated versions) and install it via TWRP. It can be flashed before or after the ROM
    - Unlock bootloader and install TWRP 3.5.0-0 (designed for Pie and above and for treble) or higher. TWRP instructions are here.
    - Download the LineageOS and firmware zips. (see Downloads)
    - Boot into TWRP.
    - Copy the downloaded zip files to internal sdcard.
    - Perform a backup of your current ROM. (Optional)
    - RECOMMENDED: Do a factory reset (clean wipe)! No support if you didn't! (Wipe Dalvik, system, cache and data)
    - Flash firmware and LineageOS zips.
    - Optional: Install the Google Apps addon package. (see Downloads)
    - Reboot to system.

    HOW TO UPGRADE LINEAGEOS FROM 16.0
    Please follow the official LineageOS Wiki instructions for our device. You can use either TWRP or Lineage Recovery.
    https://wiki.lineageos.org/devices/x2/upgrade

    HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY
    Please follow the official LineageOS Wiki instructions for our device
    https://wiki.lineageos.org/devices/x2/upgrade

    HOW TO UPDATE LINEAGEOS WITH TWRP
    - Download the LineageOS zip(s). (see Downloads)
    - Copy the LineageOS zip to internal sdcard.
    - Reboot to TWRP.
    - Flash LineageOS. (Wiping Dalvik and Cache is optional, but recommended)
    - Reboot to system.


    MAIN DOWNLOADS
    Lineage Recovery for x2:
    - Official https://download.lineageos.org/x2
    - Unofficial https://osdn.net/projects/lineageos-for-x2/releases/p16588

    TWRP for x2: Official https://twrp.me/leeco/leecolemax2.html
    TWRP for max_plus: Official https://twrp.me/leeco/leecolemaxpro.html

    Lineage:
    - Official: https://download.lineageos.org/x2
    - Unofficial 17.1: https://osdn.net/projects/lineageos-for-x2/releases/p16562
    - Unofficial 17.0: https://osdn.net/projects/lineageos-for-x2/releases/p16488


    GOOGLE APPS (GAPPS) DOWNLOADS
    - Open GApps:
    Please note! Open GApps ARM64 Pico and Nano are the only recommended ones.
    Official: https://opengapps.org/


    GOOGLE CAMERA (GCAM) DOWNLOADS
    Google Camera:
    https://www.celsoazevedo.com/files/android/google-camera/f/changelog1075/
    Enable "Fix tint on front camera" and set it to "Fix green tint." Found inside Settings > Advanced > Experimental settings.


    MISC DOWNLOADS
    ThE_MarD's LineageOS for x2 Sourceforge, directory: (also contains some mods and tweaks) https://sourceforge.net/projects/lineageos-for-x2/


    FIRMWARE DOWNLOADS
    Minimum required versions:
    - LEX820 (X2_CN) 466D
    - LEX821 (X2_WW) 466D
    - LEX829 (X2_NA) 466D
    - LEX910 (MAX_PLUS) 13s

    Link for x2 firmware: https://sourceforge.net/projects/lineageos-for-x2/files/Firmware Updates/
    Link for max_plus firmware: https://sourceforge.net/projects/lineageos-for-max-plus/files/firmware/


    DEVELOPER RESOURCES
    https://github.com/lineage-x2-devs
    https://github.com/LineageOsMaxPlus/
    https://github.com/lineageos/android_device_leeco_msm8996-common
    https://github.com/lineageos/android_device_leeco_x2
    https://github.com/lineageos/android_kernel_leeco_msm8996


    HOW TO CONTRIBUTE?
    Send your patches up for review: https://review.lineageos.org/
    Read the guides on the LineageOS Wiki: https://wiki.lineageos.org/

    XDA:DevDB Information
    [OFFICIAL][X82X][10.x][TREBLE] LineageOS 17.1 (Android 10) for LeEco Le Max 2, ROM for the LeEco Le Max 2

    Contributors
    ThE_MarD, mosimchah, Lucchetto00, codeworkx,moto999999,1nfrag,shivatejapeddi,KuranKaname,GalaticStryder,andr68rus,Tortel1210,visionary,zhaoguomanong
    Source Code: https://github.com/LineageOS

    ROM OS Version: Android 10
    ROM Kernel: Linux 3.x
    ROM Firmware Required: X820, X821, X822 and x829 466d. x910 13s.
    Based On: AOSP

    Version Information
    Status:
    Nightly

    Created 2019-11-16
    Last Updated 2020-09-15
    14
    Heyyo, thanks for the kind wishes my friends! The first day unfortunately we missed our flight to the Philippines since it was delayed by over two hours due to mechanical issues with the airplane we were supposed to use, so we had to wait for another one to free up... So we spent the night in hotel and then went to a conservatory in Vancouver to pass the time and see some neat vegetation and birds heh.

    Things went better for Philippines Airlines though! They overbooked the flight and luckily my family and I were selected for free upgrades from economy class to business class! So they kept offering us wine but my wife and I only took the first glass since we had our son and didn't want to get drunk hehe and the food was also really good and a complete three course meal of appetizers, main and dessert too and an optional plate of assorted cheeses too which was neat. Definitely different meal offerings than economy class hehe.
    @kayyappan , seems like you are right and Bluetooth audio is broken for calls in general as I've also had a time or two where it didn't work for UMTS calls (for us plebs who don't get fancy VoLTE in Canada on BYOD and are stuck on 3G for calls) albeit sometimes it works which is odd... Still seems to be a2dp/offload/compress related...

    VoLTE is the same as VoIP yes, the only difference is it uses mobile data instead of non-mobile data like home or business WiFi and the likes. Luckily, just like UMTS doesn't go against your mobile data caps that VoLTE doesn't ruin your mobile data caps too.

    Arguably yes @alancai , our phones are expendable... But they are still expensive lol so I'd rather nothing happen to my x2. The earpiece speaker seems to be going bad on mine too, probably from messing around with that pseudo-stereo speaker mod... So I highly recommend everyone avoid that since our earpiece isn't hardware amplified, so cranking the volume on that can definitely damage it... My battery also sucks as I only tend to average three hours of SoT even in battery saving mode sigh and my camera doesn't work unless I use the focus value from x2's kernel source code release (the default focus value we use on custom ROMs is from zl1's kernel source code)... But at least functionality wise? Everything on my x2 does work which is good.

    I did bring the Motorola Z2 Force that was donated to my by the LineageOS team that they received from a community member who upgraded to something newer as I finished the repairs on it... But the double-sided adhesive tape I have must have expired as it isn't sticky enough to keep the phone sealed and it lifts on all sides sighs... So I'll get it fixed properly here in the Philippines for cheap I guess heh. I definitely do plan on hopping between my x2 and nash even once it is fully repaired as I can do more good on x2 as Nash has Erfan and npjohnson where it seems I'm more useful there contributing to selinux policies hehe.

    After December 10 I'll be back in Canada, but not sure what my work schedule looks like yet but I'll try to keep you guys up to date on when I can start working on x2 again. I saw that Tortel was helping diagnose and work on audio HAL for x2 (and I guess msm8996 in general) so things are looking good for maybe the Bluetooth audio issues being fixed maybe by the time I get back? I'm guessing the problem is ROM-side since the five things I've tried device-side didn't work...
    11
    @redbeard1083, yeah the battery life was very mediocre when it came out for sure lol... I think I had 4.5 hours of screen on time at the best of times and only achieved 5 hours of screen on time using greenify with root and every option I could enabled and one of those kernel managers with everything turned down. :silly:

    My x2's battery is three years old and really beaten up with all the flashing and testing I do... I can only achieve about 3 hours of screen on time with my daily usage of VNC, web browsing, Telegram and YouTube. AccuBattery shows my battery health at 66% remaining... So I'm missing a third of my battery's capacity. :silly:

    So, on a somewhat related note? After taking over maintaining LineageOS and TWRP for the past two years? I have finally decided to post a PayPal donation link on my XDA profile. I could use a new battery and rear camera (before the actuator on mine completely fails) and also a replacement screen just in case mine does break while swapping the two aforementioned internal parts.

    I know in the past during LineageOS 16.0 bring up I did temporarily post a PayPal link to help fund my replacement motherboard after mine fried and I am still very thankful for everyone who donated to help me get back up and running. :)

    I would like to ask that anyone who donates to me to either provide their XDA or Telegram username so that I can maintain a special thanks list to those who donated. If you wish to stay anonymous when donating? That is fine too.

    Thanks again to everyone who helped me test all these builds! I definitely cannot test all scenarios myself and I might have missed some serious bugs like how some Bluetooth headsets fail during calls and I had to borrow a Bluetooth headset so I could also diagnose it and fix it since the first one I had worked fine.

    Special thanks as well to my max_plus testers as I definitely can't test anything there as I don't own an LeEco Le Max Pro. Maybe one day I will find a proper display fix for you guys plus also get that 3.5mm headset jack working. :)
    11
    Heyyo! So I passed my knowledge test and road test! So I got my class 1 commercial vehicle driver's license! w00t!

    So meow I'll be on vacation to the Philippines with my family since it literally starts the day after my training (which is today lol so our first flight is in a few hours) so I won't be able to work on LineageOS 17.0 for x2 for a bit... December 10 is when I'm back in Canada as I work the next day lol so we shall see after that when I can get time to try and solve these darn Bluetooth audio VoIP issues and so on. I've tried five different things so far to solve it and no go. :silly:
    10
    Heyyo, an update on the parts! Meow my screen and rear camera have come in too! So meow I just need the earpiece and the rear camera glass and then I can rip into my x2 and make it as good as almost new! :)

    Tbh? I've been thinking about doing a thermal mod on my x2 to add a thermal pad or some non-conductive thermal paste just so I can also see how much better x2 can have sustained performance with lower temperatures with slightly better cooling... but I'm leaning more towards not doing it though, as any future thermal issues that x2 could have in future versions of Android I wouldn't be able to test as I'd have modified cooling... so yeah, I think I will probably leave my cooling hardware on my x2 stock so I can maintain my x2 if thermal-engine for some reason changes in the future... even though I know for a fact that x2 would be a heck of a lot better of a device with some extra thermal solution applied. :silly:

    For LeEco on LineageOS related news? I think I finally found a really good echo-reference/noise-cancelling fix for s2! I'm unsure how many of you fellow x2 users know this, but I, of course, help out with max_plus (as I'm the only one who even tried to get them onto custom ROMs with all the improvements we have on x2) and zl1 and also s2. I've helped fix up s2's libinit because it was broken and out of date, I also helped them with selinux enforcing so they could have LineageOS 16.0 builds (at that point in time, rk585 was already losing interest in s2 as he has his X01BD, the Asus Zenfone Max Pro M2). I also helped them properly update a bunch of their device tree just so they could have a lot better organization in their device tree too.

    The super interesting part about the echo-reference/noise-cancelling fix? Is how I was able to port Motorola's method of using audio echo-reference instead of LeEco's inferior voice external echo-reference... I'm hoping I can port it as well to msm8996. If so? Then max_plus, x2 and zl1/0 can benefit from even better echo-reference than stock EUI ROM which struggles with VoIP echo-reference just like we do a bit on custom ROMs. Telegram I know for a fact has terrible echo at times... so using audio echo-reference could really fix that once and for all. It might even make our loudspeaker work good with those automated call systems that lots of companies use since currently ours might sometimes pick up some of the audio and result in a chirping sound at times which throws off those automated call systems.

    Also, tbh? I'm not really sure what else I can really improve on LeEco msm8996... we have VNDK current, we have a permanent fix for green tint on all camera apps, we have Open-Source ConsumerIR HAL + Bridge that is selinux neverallow policy compliant and works better than ever before (MAJOR thanks to Manong for that! I only did a few assists), and I've updated as much of our blobs as I can... 4.4 kernel might be beyond my skill as I don't know C or CPP, same with fixing max_plus's specific bugs and same with the other minor bugs... so really, at this point? It'll be more about maintenance as msm8996 is legacy from this point on... updating blobs our major changes to try and keep up with AOSP on our device tree and vendor blobs and even kernel might cause more issues than anything and vendor blobs especially we won't have a reliable place to kang blobs from as 3.18 kernel devices are pretty much all discontinued and using blobs from a device with a newer kernel version once again might cause more issues than anything... still, we can make future versions of Android run good on our device. As a prime example, the OnePlus One with that legacy msm8974 still runs LineageOS 16.0 (and I'm guessing 17.1) great and that device launched with KitKat! That's cm-11.0! That's a heck of a long time ago!

    Side-note here, I'm starting to think I won't be receiving that Redmi Note 8 as I haven't heard back from the guy who was going to ship it for a tracking number and it has been a month in shipping and a nash for parts I could use to make a functioning nash with my broken one is still probably not coming my way anytime soon... oh well lol, I'll still get by just fine with my x2.

    Anywho? That's the happenings right meow for me and AOSP!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone