[OFFICIAL][X82X&X910][TREBLE] LineageOS 18.1 (Android 11) for LeEco Le Max 2 - LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
Install LineageOS on x2 | LineageOS Wiki
wiki.lineageos.org
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.7.0_9-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: If this is a fresh install? Do a format data (wipe > "format data" button > type "yes"). If this is an upgrade from the previous version then you can skip this step
- Flash firmware and LineageOS zips.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot to system.
HOW TO UPGRADE LINEAGEOS FROM 17.1
Please follow the official LineageOS Wiki instructions for our device. You can use either TWRP or Lineage Recovery.
Upgrade LineageOS on x2 | LineageOS Wiki
wiki.lineageos.org
HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY
Please follow the official LineageOS Wiki instructions for our device
Upgrade LineageOS on x2 | LineageOS Wiki
wiki.lineageos.org
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/p17327
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 18.1:
https://osdn.net/projects/lineageos-for-x2/releases/p17328
GOOGLE APPS (GAPPS) DOWNLOADS
- MindTheGapps
Codefire - Listing of gapps
GOOGLE CAMERA (GCAM) DOWNLOADS
Google Camera:
Parrot043: MGC_7.3.020_Parrot043-v2.apk
Download MGC_7.3.020_Parrot043-v2.apk by Parrot043.
www.celsoazevedo.com
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
lineage-x2-devs
lineage-x2-devs has 7 repositories available. Follow their code on GitHub.
github.com
LineageOsMaxPlus
LineageOsMaxPlus has 7 repositories available. Follow their code on GitHub.
github.com
GitHub - LineageOS/android_device_leeco_msm8996-common
Contribute to LineageOS/android_device_leeco_msm8996-common development by creating an account on GitHub.
github.com
GitHub - LineageOS/android_device_leeco_x2
Contribute to LineageOS/android_device_leeco_x2 development by creating an account on GitHub.
github.com
GitHub - LineageOS/android_kernel_leeco_msm8996
Contribute to LineageOS/android_kernel_leeco_msm8996 development by creating an account on GitHub.
github.com
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 18.1 (Android 11) for LeEco Le Max 2, ROM for the LeEco Le Max 2
Contributors
ThE_MarD, mosimchah, Lucchetto00, CrisBalGreece,Tortel1210,codeworkx,moto999999,1nfrag,shivatejapeddi,KuranKaname,GalaticStryder,andr68rus,visionary,zhaoguomanong
Source Code: https://github.com/LineageOS
ROM OS Version: Android 11
ROM Kernel: Linux 3.x
ROM Firmware Required: X820, X821, X822 and x829 466d. x910 13s.
Based On: AOSP
DONATIONS
Pay Marc Bourgoin using PayPal.Me
Go to paypal.me/ThEMarD85 and type in the amount. Since it’s PayPal, it's easy and secure. Don’t have a PayPal account? No worries.
www.paypal.com

Reserved
Frequently Asked Questions
I've been asked to provide logcat, how do I do that?
You can either root and use an app like MatLog, or if boot logcat is required? You will need adb logcat from a PC. Here's a simple guide from the LineageOS Wiki https://wiki.lineageos.org/logcat.html
My lock screen crashes after reboot, what should I do to fix it?
https://forum.xda-developers.com/le-max-2/how-to/guide-to-fixing-x2-lockscreen-crash-t3918911
I don't see an option for call recording, what's going on?
Only the stock dialer app supports it. If you install a Gapps package that overwrites the stock dialer app? It won't have call recording as well. Only the included dialer app of LineageOS is compatible to call recording since it needs to be a ROM implementation and I haven't seen a Play store app that adds support for custom ROM call recording. Please also note that call recording is blocked for countries and carriers that have laws against any form of call recording.
What is Power-off Alarm?
This feature allows you to set an alarm clock with the stock clock app included with LineageOS and then turn off the phone, and it will boot up a minute before the designated alarm time and then properly alarm. It works with the device either powered off and also offline charging.
Using a clock app from OpenGapps Stock or from the Play store is not compatible with custom ROM implementations of power-off alarm... So consider this your heads up if you didn't know that already... As I am not responsible for anyone being late for their wedding/work/school/vacation if you tried a non-stock clock app with your LeEco msm8996 device powered off. :silly:
What apps are recommended with the Open Source ConsumerIR?
Zaza Remote (only with selinux enforcing) and Mi Remote work great. Smart Remote for Sharp TV also works. I'd recommend avoiding Peel Universal Smart Remote as it hijacks the lock screen with ads...
Pls sir, I can't connect to my network or IMS/VoLTE doesn't work! What can I try?
Please look below at the "APNS Update from Google" section and try that. I can't offer much else for help sorry as I have zero experience with IMS/VoLTE as Canada blacklists BYOD from that feature... Otherwise, if you need extra help? Hopefully, someone else in the x2 community can give you advice.
What is the difference between the official LineageOS builds and unofficial?
Unofficial test builds are builds I put out to test changes before I push them to the Official builds... So please stick with Official builds if you want to play it safe... But if you wish to help test and provide feedback on changes before they go official? Unofficial test builds are the best way to do so.
Where is the QuickCharge toggle?
Settings > System > Advanced > LeEco Settings
The rear-facing camera won't focus, what should I try?
Please go into Settings > System > Advanced > LeEco Settings, and then enable the focus fix. You may need to restart any open camera app or potentially reboot the system in order for the focus fix values to work... If that doesn't resolve it? Please try EUI ROM... If it still won't focus? I'm sorry, but your hardware camera actuator is defective and you either need to try the Le Max 2 rear camera magnet trick (please Google it) or replace the rear camera hardware.
Why is our Widevine level only L3?
Unfortunately, Widevine L1 failed to work correctly on X2 and zl1/0... It would report we have L1 hardware support but vp9.secure and avc.secure codecs were failing to render, thus apps that used L1 like Amazon Prime would error out and revert to L3 and worst-case scenario apps like Vudu would crash.
I haven't seen any fixes for those codec issues, so I gave up on it as L3 works fine.
Also, Netflix HD will never work on LeEco devices as they never got them "Netflix certified" which sounds like a money-grab move since L1 is all they should need. For example, Asus Zenfone 5z is L1 certified but not "Netflix certified" just like we are and they don't get the option to stream in HD.
This explains it a lot better
https://androidpcreview.com/netflix-hd-android-tv-box/
My device doesn't show any apps in the Play Store what should I do?
https://lineageos.org/Google-Play-Certification/
exfat does not work on LineageOS, what is up with that?
LeEco Le Max 2 does not ship with exFAT licensing so we are not allowed to incorporate it in LineageOS Le Max 2 builds. This was tested by both CrisBalGreece and I. If by chance there is an OFFICIAL EUI ROM build that includes exfat? Please let me know so I can test it as well... Here are the LineageOS device charter requirements on exfat
https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#exfat-support
KNOWN BUGS for x2 and max_plus
WiFi randomly disconnects when the device is asleep
Lockscreen may sometimes fail to unlock after a reboot (seems to mainly happen when the battery is low and power-saving mode is on. The workaround is to reboot again and it will unlock. Please note, this is NOT related to the lock screen crash bug where it always fails to unlock due to the encryption footer getting corrupted by an old beta build of TWRP. The fix for that is still in the lock screen crash fix thread I have linked up in the FAQ.)
Updating using the built-in LineageOS updater with TWRP as your recovery when encrypted causes Google Play Services to crash repeatedly (Lineage Recovery works without issue or updating manually via TWRP is fine though)
Microphone and button on 3.5mm headsets using the 3.5mm to Type-C adaptor only works with reversed orientation (IE, official LeEco adaptor with the logo facing downwards)
Dual-role USB does not work (our Type-C port can't detect if it should offer the option to host data transfer, charge the other device, or charge while using Aux out).
Taking a photo during 4K UHD video recording produces a photo with green static instead of a photo. This bug only happens in Snap camera... Google Camera Mod and Open Camera (with Camera API v2 enabled) produces pictures without issue.
Infinity focus not working (for panoramas, AR and some QR code scanners. Infinity focus also doesn't work in EUI ROM hmm... oddly enough some imx230_lg modules infinity focus can work if you don't need focus fix... so I blame LeEco for the messed up camera haxxs they did since s2 and zl1 have the same issues.)
KNOWN BUGS for max_plus
ES9018 Hi-Fi Audio DAC for 3.5mm headsets to Type-C adaptors does not work (this is the bug that is preventing official unified builds of LineageOS of x2 and max_plus...)
Fingerprint does not work when the device is asleep (this is due to the ancient device firmware on max_plus being officially stuck on 13s... there is a pseudo 466d modem firmware fix attempt I made but have not received feedback on yet)
Boot animation does not work unless you tap the power button twice to turn the display off and on again (this is due to a fix for screen tearing... maybe one day I'll figure out a fix for boot animation to work with the screen tearing fix)
When launching a camera app, viewfinder goes green for a second and then works normally
After using the USB port with Type-C headset or OTG with a flash drive, the device cannot charge until a reboot is performed (known bug even on EUI ROM)
APNs Update from Google
This is an optional update if the current APN settings from LineageOS might not be up to date for your carrier and you need newer ones. This is the official APNs list from Google.
After flashing it? Please reboot to system and then go into Settings > Network & Internet > Mobile Internet > Advanced > Access Point Names > "..." menu button > reset to default.
https://sourceforge.net/projects/lineageos-for-x2/files/Mods and Tweaks/APNs Update from Google/
The official Google source git for this file can be found here:
https://android.googlesource.com/device/sample/+/refs/heads/master/etc/apns-full-conf.xml
Please note! This APNs list WILL get overwritten by the ROM on any ROM update and will need to be reinstalled.

Reserved
Special Thanks
@mosimchah for his contributions to the LeEco msm8996-common code and kernel. Especially on Android 11 for his clang kernel rebase and getting our trees started
@Tortel1210 for his contributions to x2 and helping out with gerrit. He did a lot of help during Android 11
@Lucchetto00 for converting Tortel's devicesettings into LeEco settings and adding QC toggle, plus his method of detecting if a setting exists and whether to display it or not. He also did the initial bring up for x2 on Q so super special thanks on that too! He also helped out a bunch with Android 11 trees
@codeworkx for his major contributions to the LeEco msm8996-common code and kernel and the awesome open-source camera HAL
@moto999999 for helping the x2 get LAOS 15.1 working. When others left LAOS he helped get the momentum started again.
@infrag for his contributions to x2 such as the multiple audio fixes, LEDs and sorting out the open-source camera HAL blobs and assisting with QS Torch
@shivatejapeddi for his contributions to x2 such as finding the fix for QS Torch and the regularly requested VoLTE support XD
@KuranKaname for his contributions to x2 such as helping get Dalvik VM and HWUI sorted out when 14.1 settings didn't work on 15.1, plus his never-ending mission to finding the most optimized code.
@andr68rus for everything he has contributed to x2. He may have moved to the Xiaomi Mi Mix 2 (sexy device!) but will be fondly remembered for everything he did for the x2 to make Nougat great. We will finish what you started.
@GalaticStryder for his fix for truly display panel that is better than my fix and his other awesome kernel improvements.
ViSi0Naryy for his contributions to LeEco msm9996-common with testing and contributions with Gerrit
@jabashque for helping fine-tune the performance for LeEco msm8996-common devices! LeEco has never been so smooth!
@DD3Boh for helping with msm8996 in general and also for helping out us LeEco devs
cristiansilaghi (no idea if he has XDA as he communicates with me on Telegram) for helping diagnose the battery percentage issues and finding some extra commits to help make it as accurate as possible and a selinux fix for offline charging animation.
...and finally the community. This is for the community, by the community. Give yourselves a pat on the back.
If I missed anyone? Please let me know and I can add them.
Donations
DonMomente (not sure if he's on XDA forums or not) for his very generous donation. Thank you and your family too!
@popeye13 for helping cover my replacement motherboard costs
@Bollex for also helping cover my replacement motherboard costs
@kurtn for also also helping cover my replacement motherboard costs
@xlcashlx for also also also helping cover my replacement motherboard costs
Robin Vd Berg since I'm unsure on username for also also also also helping cover my replacement motherboard costs

Heyyo, a new test build is going up! The upload will be done in about 30 minutes of this post. lineage-18.1-20201223-UNOFFICIAL-x2 contains a fix for Consumer IR so it works with MiRemote and Zaza Remote again, yay hehe. So meow it's just WiFi Hotspot with password and WiFi Display that are known bugs left
https://osdn.net/projects/lineageos-for-x2/releases/74121

where is download link

Heyyo @innocent80 , please check the first post under "main downloads" as I always have the unofficial build links in there. One day we shall have Official LineageOS 18.1 builds, but not yet...

ThE_MarD said:
Heyyo @innocent80 , please check the first post under "main downloads" as I always have the unofficial build links in there. One day we shall have Official LineageOS 18.1 builds, but not yet...
Click to expand...
Click to collapse
your roms are awesome its like a a user need u will oneday make offcial roms i am sure about that

ThE_MarD said:
- Unofficial 18.1:
https://osdn.net/projects/lineageos-for-x2/releases/p17328
Contributors
ThE_MarD, mosimchah, Lucchetto00, CrisBalGreece,Tortel1210,codeworkx,moto999999,1nfrag,shivatejapeddi,KuranKaname,GalaticStryder,andr68rus,visionary,zhaoguomanong
Click to expand...
Click to collapse
Thank you. Did not expect 18.1 soon.... . Boots without GApps too. Navigation buttons seem to stop working after sometime. Logcat attached. But keep in mind my X2 screen is broken but nav buttons continue to work on other ROMs. It could very well be sort of touch and go on my device.
Edit: forgot to add that I was referring to hw nav buttons. No probs with onscreen ones.

Heyyo @kayyappan , thanks man! Yeah it was pretty fast to bring up since we are a legacy device meow, so unfortunately we can't upgrade blobs and conform to Android 11... The only real negative to that with LineageOS is Wifi Display might have to be dropped for us if we can't find new blobs that aren't from CAF leaked bsp (since we don't have a public release license for Board Support Package like a stock ROM does) so hopefully a compatible device comes along that we can Kang blobs from for WFD on their stock ROM....
Also bro, unfortunately I can't see your attached logcat. Can you please PM it to me?

Hi @ThE_MarD,
I tried to flash Lineageos 18.1 in my Le Max Pro X910 but I think I screwed it in a big way because by mistake I flashed the firmware of Le Max 2 instead of the proper one for X910 model. As a result, I bricked it and now it doesn't turn on, it doesn't charge, no fastboot , no recovery just a beautiful brick. Do you think it could be possible to unbrick it? Is there any guide step by step of how to do it ?
Regards!

Heyyo @txekalzen , yikes! Afaik the only QFIL available for x910 is here. Tbh I tried to buy it myself but the guy didn't reply to me... Hopefully you will have better luck than I did.
https://www.needrom.com/download/le...ultilanguage-rom-unbrick-phone-qfil-fastboot/
Which recovery version were you using btw? The official TWRP for max_plus or something else?

Hi , it works fine, but the only problem is the battery that's empty quickly

ThE_MarD said:
Heyyo @txekalzen , yikes! Afaik the only QFIL available for x910 is here. Tbh I tried to buy it myself but the guy didn't reply to me... Hopefully you will have better luck than I did.
https://www.needrom.com/download/le...ultilanguage-rom-unbrick-phone-qfil-fastboot/
Which recovery version were you using btw? The official TWRP for max_plus or something else?
Click to expand...
Click to collapse
Hi,
Thank you very much for the link. I will have a look at it.
I was using the last official TWRP for max_plus.
twrp-3.4.0-0-max_plus.img39.3M2020-06-22 15:56:11 EDT

txekalzen said:
Hi,
Thank you very much for the link. I will have a look at it.
I was using the last official TWRP for max_plus.
twrp-3.4.0-0-max_plus.img39.3M2020-06-22 15:56:11 EDT
Click to expand...
Click to collapse
Hi @ThE_MarD,
I found the following link that allows to download a ROM for Le Max Pro X910. What do you think? Does it look legit and could it be a valid ROM to flash?
LeEco Letv Max Pro X910 Firmware Flash File (WiFi fix) — Leakite

@txekalzen , if you can get to fastboot? Then yes give it a try... If not? You will still need QFIL so it can get out of EDL mode

ThE_MarD said:
@txekalzen , if you can get to fastboot? Then yes give it a try... If not? You will still need QFIL so it can get out of EDL mode
Click to expand...
Click to collapse
Hi,
Thanks for your comments.

Hi, WiFi tethering is not working, it always says password incorrect

ffigos said:
Hi, WiFi tethering is not working, it always says password incorrect
Click to expand...
Click to collapse
it is a known bug

Heyyo, a new test build is going up! It will be done uploading within 30 minutes of this post, and as always the link will be in the first post. lineage-18.1-20210108-UNOFFICIAL-x2 has a bunch of small fixes and also fixes WiFi Hostspot with WPA2 on both 2.4GHz and 5GHz, which means the only remaining bug is WiFi Display which hopefully a good solution shows up that we can use.

Great job , I'm waiting . thanks for your work , my phone is continues"alive" thanks to that

Related

[OFFICIAL][X82X][9.x][TREBLE] LineageOS 16.0 (pie) for LeEco Le Max 2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 19S for x2 and 13s for max_plus. If not? Please download either the minimum recommended version below (or optional updated versions) and install it via TWRP. 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 19S for x2 and 13s for max_plus. If not? Please download 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.3.0-1 (designed for Pie and 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 UPDATE LINEAGEOS WHEN ENCRYPTED VIA TWRP
- NOTE! Please avoid doing OTA via Lineage Updater when your device is encrypted because TWRP screws up and causes Google Services Framework to crash like crazy. Only Lineage Recovery properly supports OTA via Lineage Updater.
- 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
TWRP for x2: Official https://twrp.me/leeco/leecolemax2.html
TWRP for max_plus: Official https://twrp.me/leeco/leecolemaxpro.html
Lineage Recovery:
- Official: https://download.lineageos.org/x2
- Unofficial: https://osdn.net/projects/lineageos-for-x2/releases/p16551
LineageOS:
- Official: https://download.lineageos.org/x2
- Unofficial: https://osdn.net/projects/lineageos-for-x2/releases/
Discontinued unofficial mirrors:
- Unofficial: https://sourceforge.net/projects/lineageos-for-x2/files/16.0 Unofficial Releases/
- Unofficial Google Drive mirror: https://drive.google.com/open?id=1uOrZzcer8SYe-BcYZuaSJTPOehQ68EBc
SU-Addon: (not available yet for LineageOS 16.0)
Migration-Tools: https://androidfilehost.com/?w=files&flid=254680 (Unofficial->Official, Official->Unofficial)
GOOGLE APPS (GAPPS) DOWNLOADS
- MindTheGapps: (RECOMMENDED!)
Official: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
Mirror: https://androidfilehost.com/?w=files&flid=170282
- OpenGapps:
Official:
https://opengapps.org
GOOGLE CAMERA (GCAM) DOWNLOADS
Google Camera: (Recommend Tolyan009 builds as Arnova8G2 builds are not always compatible with Pie x2 ROMs)
celsoazevedo.com/files/android/google-camera/dev-tolyan009/
Current recommended gcam6 build for LineageOS 16.0 on x2
https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_BSG_Arnova-based_v.1.4a_TlnNeun.apk
If you have pink tint?
More > Settings > "advanced" under Quick Settings section > Fix > Fix old WB gains
If you have green selfie camera?
Set front camera model to Nexus 6P
If that doesn't work?
More > Settings > "advanced" under Quick Settings section > Fix > Fix front camera
Here's also a good gcam config by @Prashant69 that also helps remove the tint issues if the above fixes don't work
https://sourceforge.net/projects/lineageos-for-x2/files/Mods and Tweaks/
Here's how to load configs
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
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) 20s
- LEX821 (X2_WW) 19s
- LEX829 (X2_NA) 20s
- LEX910 (MAX_PLUS) 13s
Optional newer versions:
- LEX820 (X2_CN) 30s
- LEX820 (X2_CN) 466D
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][9.x][TREBLE] LineageOS 16.0 (pie) for LeEco Le Max 2, ROM for the LeEco Le Max 2
Contributors
ThE_MarD, codeworkx, mosimchah,moto999999,1nfrag,shivatejapeddi,KuranKaname,GalaticStryder,andr68rus,Tortel1210,visionary
Source Code: https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: x821 19s. X820 and x829 20s. x910 13s. Higher is optional.
Based On: AOSP
Version Information
Status: Nightly
Created 2018-10-05
Last Updated 2020-01-12
Frequently Asked Questions
I've been asked to provide logcat, how do I do that?
You can either root and use an app like MatLog, or if boot logcat is required? You will need adb logcat from a PC. Here's a simple guide from the LineageOS Wiki https://wiki.lineageos.org/logcat.html
My lockscreen crashes after reboot, what should I do to fix it?
https://forum.xda-developers.com/le-max-2/how-to/guide-to-fixing-x2-lockscreen-crash-t3918911
I don't see an option for call recording, what's going on?
Only the stock dialer app supports it. If you install a Gapps package that overwrites the stock dialer app? It won't have call recording as well. Only the included dialer app of LineageOS is compatible to call recording since it needs to be a ROM implementation and I haven't seen a Play store app that adds support for custom ROM call recording. Please also note that call recording is blocked for countries and carriers that have laws against any form of call recording.
What is Power-off Alarm?
This feature allows you to set an alarm clock with the stock clock app included with LineageOS and then turn off the phone, and it will boot up a minute before the designated alarm time and then properly alarm. It works with the device either powered off and also offline charging.
Using a clock app from OpenGapps Stock or from the Play store is not compatible to custom ROM implementations of power-off alarm... So consider this your heads up if you didn't know that already... As I am not responsible for anyone being late for their wedding/work/school/vacation if you tried a non-stock clock app with your LeEco msm8996 device powered off. :silly:
What apps are recommended with the Open Source ConsumerIR?
(WIP! I try to include it only on unofficial builds until selinux neverallow policy compatibility is fixed... Which tbh is beyond my current skill)
Zaza Remote and Mi Remote work great. Smart Remote for Sharp TV also works. I'd recommend avoiding Peel Universal Smart Remote as it hijacks the lockscreen with ads...
Pls sir, I can't connect to my network or IMS/VoLTE doesn't work! What can I try?
Please look below at the "APNS Update from Google" section and try that. I can't offer much else for help sorry as I have zero experience with IMS/VoLTE as Canada blacklists BYOD from that feature... Otherwise if you need extra help? Hopefully someone else in the x2 community can give you advice.
What is the difference between the official LineageOS builds and unofficial?
Unofficial test builds are builds I put out to test changes before I push them to the Official builds... So please stick with Official builds if you want to play it safe... But if you wish to help test and provide feedback on changes before they go official? Unofficial test builds are the best way to do so.
Where is the QuickCharge toggle?
Settings > System > Advanced > LeEco Settings
The rear facing camera won't focus, what should I try?
Please go into Settings > System > Advanced > LeEco Settings, and then enable the focus fix. You may need to restart any open camera app or potentially reboot the system in order for the focus fix values to work.... If that doesn't resolve it? Please try EUI ROM... If it still won't focus? I'm sorry, but your hardware camera actuator is defective and you either need to try the Le Max 2 rear camera magnet trick (please Google it) or replace the rear camera hardware.
Why is our widevine level only L3?
Unfortunately Widevine L1 failed to work correctly on X2 and zl1/0... It would report we have L1 hardware support but vp9.secure and avc.secure codecs were failing to render, thus apps that used L1 like Amazon Prime would error out and revert to L3 and worst case scenario apps like Vudu would crash.
I haven't seen any fixes for those codec issues, so I gave up on it as L3 works fine.
Also, Netflix HD will never work on LeEco devices as they never got them "Netflix certified" which sounds like a money-grab move since L1 is all they should need. For example, Asus Zenfone 5z is L1 certified but not "Netflix certified" just like us and they don't get the option to stream in HD.
This explains it a lot better
https://androidpcreview.com/netflix-hd-android-tv-box/
My device doesn't show any apps in the Play Store what should I do?
https://lineageos.org/Google-Play-Certification/
exfat does not work on LineageOS, what is up with that?
LeEco Le Max 2 does not ship with exfat licensing so we are not allowed to incorporate it in LineageOS Le Max 2 builds. This was tested by both CrisBalGreece and I. If by chance there is an OFFICIAL EUI ROM build that includes exfat? Please let me know so I can test it as well... Here is the LineageOS device charter requirements on exfat
https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#exfat-support
KNOWN BUGS for x2 and max_plus
Updating using the built in LineageOS updater when encrypted causes Google Play Services to crash repeatedly (updating works fine if you have Lineage Recovery installed though. Manually installing newer builds of LineageOS via TWRP also works.)
Microphone and button on 3.5mm headsets using the 3.5mm to Type-C adaptor only works with reversed orientation (IE, official LeEco adaptor with the logo facing downwards)
Dual-role USB does not work (our Type-C port can't detect if it should offer the option to host data transfer, charge the other device, or charge while using Aux out).
Taking a photo during 4K UHD video recording produces a photo with green static instead of a photo. This bug only happens in Snap camera... Google Camera Mod and Open Camera (with Camera API v2 enabled) produces pictures without issue.
Screen on Time is usually only around four to five hours (VERY hard to diagnose battery drain issues... Any logcat with references to battery drain or kernel wakelocks will help resolve this)
CDLA cell calling has crackling/popping sounds
Infinity focus not working (for panoramas, AR and some QR code scanners. Infinity focus also doesn't work in EUI ROM hmm... oddly enough some imx230_lg modules infinity focus can work if you dont need focus fix... so I blame LeEco for the messed up camera haxxs they did since s2 and zl1 have the same issues.)
KNOWN BUGS for max_plus
ES9018 Hi-Fi Audio DAC for 3.5mm headsets to Type-C adaptors does not work (this is the bug that is preventing official unified builds of LineageOS of x2 and max_plus...)
Fingerprint does not work when device is asleep (this is due to the ancient device firmware on max_plus being officially stuck on 13s... there is a pseudo 466d modem firmware fix attempt I made but have not received feedback on yet)
Boot animation does not work (this is due to a fix for screen tearing... maybe one day I'll figure out a fix for boot animation to work with the screen tearing fix)
When launching a camera app, viewfinder goes green for a second and then works normally
After using USB port with Type-C headset or OTG with a flash drive, the device cannot charge until a reboot is performed (known bug even on EUI ROM)
APNs Update from Google
Latest update: 05-06-2019 (May 6, 2019)
This is an optional update if the current APN settings from LineageOS might not be up to date for your carrier and you need newer ones. This is the official APNs list from Google.
After flashing it? Please reboot to system and then go into Settings > Network & Internet > Mobile Internet > Advanced > Access Point Names > "..." menu button > reset to default.
https://sourceforge.net/projects/lineageos-for-x2/files/Mods and Tweaks/APNs Update from Google/
The official Google source git for this file can be found here:
https://android.googlesource.com/device/sample/+/refs/heads/master/etc/apns-full-conf.xml
Please note! This APNs list WILL get overwritten by the ROM on any ROM update and will need to be reinstalled.
Special Thanks
@codeworkx for his major contributions to the LeEco msm8996-common code and kernel and the awesome open source camera HAL
@mosimchah for his contributions to the LeEco msm8996-common code and kernel
@moto999999 for helping the x2 get LAOS 15.1 working. When others left LAOS he helped get the momentum started again.
@infrag for his contributions to x2 such as the multiple audio fixes, LEDs and sorting out the open source camera HAL blobs and assisting with QS Torch
@shivatejapeddi for his contributions to x2 such as finding the fix for QS Torch and the regularly requested VoLTE support XD
@KuranKaname for his contributions to x2 such as helping get Dalvik VM and HWUI sorted out when 14.1 settings didn't work on 15.1, plus his never-ending mission to finding the most optimized code.
@Tortel1210 for his contributions to x2 and helping out with gerrit.
@andr68rus for everything he has contributed to x2. He may have moved to the Xiaomi Mi Mix 2 (sexy device!) but will be fondly remembered for everything he did for the x2 to make Nougat great. We will finish what you started.
@GalaticStryder for his fix for truly display panel that is better than my fix and his other awesome kernel improvements.
[MENTION]ViSi0Naryy[/MENTION] for his contributions to LeEco msm9996-common with testing and contributions with Gerrit
@jabashque for helping fine-tune performance for LeEco msm8996-common devices! LeEco has never been so smooth!
@Lucchetto00 for converting Tortel's devicesettings into LeEco settings and adding QC toggle, plus his method of detecting if a setting exists and whether to display it or not.
cristiansilaghi (no idea if he has XDA as he communicates with me on Telegram) for helping diagnose the battery percentage issues and finding some extra commits to help make it as accurate as possible and an selinux fix for offline charging animation.
...and finally the community. This is for the community, by the community. Give yourselves a pat on the back.
If I missed anyone? Please let me know and I can add them.
Donations
@popeye13 for helping cover my replacement motherboard costs
@Bollex for also helping cover my replacement motherboard costs
@kurtn for also also helping cover my replacement motherboard costs
@xlcashlx for also also also helping cover my replacement motherboard costs
@rberg (Robin Vd Berg since I'm unsure on username) for also also also also helping cover my replacement motherboard costs
(If I got your XDA forum usernames wrong please let me know)
Please donate to anyone mentioned above. Note that I do NOT accept donations (only exception to that was to help cover my replacement motherboard costs). I do alright with my full-time job and am financially stable for my family and I do this as a hobby, and receiving donations for my hobby would feel like I'm pressured to deliver more than I can with my limited spare time.
ThE_MarD said:
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.
SUPPORTED DEVICES
- LEX820 (X2_CN)
- LEX821 (X2_WW)
- LEX822 (X2_CN)
- LEX829 (X2_NA)
HOW TO INSTALL LINEAGEOS
- Make sure your phone is running firmware from at least 19S. If not? Please download either the minimum recommended version below (or optional updated versions) and install it via TWRP. It can be flashed before or after the ROM
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Unlock bootloader and install TWRP 3.2.3 (designed for Pie and treble) or higher.
- Boot into TWRP.
- Perform a backup of your current ROM. (Optional)
- RECOMMENDED: Do a factory reset! No support if you didn't!
- Flash LineageOS.
- Optional: Install the Google Apps addon package. (see Downloads)
- Reboot
HOW TO UPDATE LINEAGEOS
- Download the LineageOS zip(s). (see Downloads)
- Copy the LineageOS zip to internal sdcard.
- Flash LineageOS.
- Reboot
DOWNLOADS
TWRP' (Official is not updated yet for Pie) Test builds: http://build.twrp.me/twrp-3.2.3-0-x2.img | https://androidfilehost.com/?w=files&flid=241113&sort_by=date&sort_dir=DESC (Google Drive Mirror: https://drive.google.com/open?id=1Fa-icWihAwcF0dzkbuSU3p5IKig9b6H_)
Lineage 16.0: (Unofficial: https://www.androidfilehost.com/?w=files&flid=283371&sort_by=date&sort_dir=DESC Unofficial Google Drive mirror: https://drive.google.com/open?id=1uOrZzcer8SYe-BcYZuaSJTPOehQ68EBc)
SU-Addon: (not available yet for LineageOS 16.0)
Google Apps: MindTheGapps is currently unavailable for 9.0... so, for now, OpenGapps is the default solution.
OpenGapps (ARM64 Pico or Micro recommended. Mini and higher can cause issues as OpenGapps 9.0 is beta quality for the moment) http://opengapps.org/
Google Camera: (Recommend Tolyan009 builds as Arnova8G2 builds are not always compatible with Pie x2 ROMs) https://www.celsoazevedo.com/files/android/google-camera/
Focus fix: (LineageOS 16.0 will incorporate the build.prop method to toggle focus fix. Just need to flash the appropriate TWRP zip file to toggle it) https://www.androidfilehost.com/?w=files&flid=283410
FIRMWARE DOWNLOADS
Minimum required versions:
- LEX820 (X2_CN) 20s
- LEX821 (X2_WW) 19s
- LEX829 (X2_NA) 20s
https://www.androidfilehost.com/?w=files&flid=261087
Optional newer versions:
- LEX820 (X2_CN) 30s
https://www.androidfilehost.com/?fid=674106145207490413
- LEX820 (X2_CN) 466D
https://mega.nz/#!JUkH3IhI!QUZnqVAzf1Zy6dZnjMSPHll93FZgeBqy15Zi9-5vC54
DEVELOPER RESOURCES
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/
XDA:DevDB Information
[X82X][9.x][TREBLE] LineageOS 16.0 (pie) for LeEco Le Max 2, ROM for the LeEco Le Max 2
Contributors
ThE_MarD, codeworkx, mosimchah,moto999999,1nfrag,shivatejapeddi,KuranKaname,GalaticStryder,andr68rus,Tortel1210,visionary
Source Code:https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: x821 19s. X820 and x829 20s. Higher is optional.
Based On: AOSP
Version Information
Status: Beta
Created 2018-10-06
Last Updated 2018-10-05
Click to expand...
Click to collapse
Thanks. Every body wait this work
mrcesarmx said:
Thanks. Every body wait this work
Click to expand...
Click to collapse
Thanks dude, it was a much awaited built, currently downloading
Heyyo, so for the lineage-16.0-20181005-UNOFFICIAL-x2 build? Noteworthy changes:
Kernel is rebased on CAF Pie and has reworked Quick Charge code (no more QC bugs) and audio (no more Type-C to 3.5mm headphones orientation bug) from @GalaticStryder and his awesome kernel (we don't have a lot of optimizations on top as we are keeping our kernel as simple as possible, so if you want a fine-tuned kernel? I'd recommend checking out GS's thread)
Audio is kanged from gemini (Xiaomi Mi5) and brings with it a lot of changes which should improve audio quality a little
Autofocus fix will now be a build.prop implementation. Just need to use the focus fix zips in TWRP for an automatic method, or edit /vendor/build.prop and change/add persist.camera.focus_fix=1 (this change will hopefully be coming to 15.1 as well as I cherry-picked it for Oreo as well)
msm_irqbalance to help with the smoothness of the ROM (Google recommends it and even uses it on the Pixel as noted in their
Identifying Jitter-Related Jank article.
thermal-engine config from pure marlin (we have had too many complaints about heat, so we will be dropping from the current thermal-engine.conf which allowed the CPU to go up to 79°c at around 75% CPU clock speeds, but now with pure marlin it will cap out around 72°c at 50% clock speeds)
CNE, DPM and GPS are rebased on pie blobs (unfortunately, IMS, RIL and QMI are not as we haven't found a pie device with CAP pie blobs that have a compatible modem x12 device stack for us... we may be stuck waiting on OnePlus3 or Mi5 or Zuk2 because Google reworked how IMS/VoLTE works on Pie and that is causing issues for us...)
ThE_MarD said:
Heyyo, so for the lineage-16.0-20181005-UNOFFICIAL-x2 build? Noteworthy changes:
Kernel is rebased on CAF Pie and has reworked Quick Charge code (no more QC bugs) and audio (no more Type-C to 3.5mm headphones orientation bug) from @GalaticStryder and his awesome kernel (we don't have a lot of optimizations on top as we are keeping our kernel as simple as possible, so if you want a fine-tuned kernel? I'd recommend checking out GS's thread)
Audio is kanged from gemini (Xiaomi Mi5) and brings with it a lot of changes which should improve audio quality a little
Autofocus fix will now be a build.prop implementation. Just need to use the focus fix zips in TWRP for an automatic method, or edit /vendor/build.prop and change/add persist.camera.focus_fix=1 (this change will hopefully be coming to 15.1 as well as I cherry-picked it for Oreo as well)
msm_irqbalance to help with the smoothness of the ROM (Google recommends it and even uses it on the Pixel as noted in their
Identifying Jitter-Related Jank article.
thermal-engine config from pure marlin (we have had too many complaints about heat, so we will be dropping from the current thermal-engine.conf which allowed the CPU to go up to 79°c at around 75% CPU clock speeds, but now with pure marlin it will cap out around 72°c at 50% clock speeds)
CNE, DPM and GPS are rebased on pie blobs (unfortunately, IMS, RIL and QMI are not as we haven't found a pie device with CAP pie blobs that have a compatible modem x12 device stack for us... we may be stuck waiting on OnePlus3 or Mi5 or Zuk2 because Google reworked how IMS/VoLTE works on Pie and that is causing issues for us...)
Click to expand...
Click to collapse
Thanks for developed it.
Testing rom now. Ok for daily driver so far. High cpu usage apps may cause heat though so can just avoid using those for now. Thanks for all your hard work!
There isn't mirroring to TV listed in the known bugs. Is it working in this ROM ?
Thanks.
Great
Awesome, can't wait to try it! Thanks to Marc and everyone who worked on it and even more so for providing details on what and how has been done, much appreciated!
Network traffic monitor, clock position and showing am/pm do not work.
Guys please don't complain about rom sided features because many of them don't work. Mention only the device sided bigs for now.
The VoLTE fix worked on first install.
After reboot I don't get the message to select preferred sim as I did on the first install, and VoLTE isn't working. Is there a way to trigger this manually? I tried playing around with the apns and had no luck.
EDIT:
Manually editing /data/system/users/0/settings_global.xml as per gerrit fixes VoLTE, but system behaves poorly. Mine was value=2 so SED wasn't working.
Will this cover both possibilities?
Code:
if [ -f /data/system/users/0/settings_global.xml ]; then
sed -i 's/"multi_sim_data_call" value="1"/"multi_sim_data_call" value="-1"/g' /data/system/users/0/settings_global.xml
sed -i 's/"multi_sim_data_call" value="2"/"multi_sim_data_call" value="-1"/g' /data/system/users/0/settings_global.xml
restorecon /data/system/users/0/settings_global.xml
fi
mrcesarmx said:
Thanks. Every body wait this work
Click to expand...
Click to collapse
Thanks for quoting the complete OP. Loved scrolling through that again :good:
Hi, after flashing this rom I can't restore any other, older, backup. I tried with many differents backups (lineage, arrowos, revengeos) but I didn't succeded, and after restoring the backup, the phone goes on bootloop.
I have installed the new, unofficial, twrp, but the problem was already present before.
Someone have some idea of what could be the cause?
thanks
kenciroz said:
Hi, after flashing this rom I can't restore any other, older, backup. I tried with many differents backups (lineage, arrowos, revengeos) but I didn't succeded, and after restoring the backup, the phone goes on bootloop.
I have installed the new, unofficial, twrp, but the problem was already present before.
Someone have some idea of what could be the cause?
thanks
Click to expand...
Click to collapse
you have to use no treble recovery 3.2..1 format everything eccept internal storage, and restore the backup, should work...of course if the backup it's not treble..
I just solved the problem. The backup that I wanted to restore was a trebleized one. So I restored the backup, than I re-trebleized the partitions from twrp, wiped cache and delvik and reflashed the rom.
Before returning to lineage os I want to recover some important data from my previous backup
Anyway thank you.. ciao guagliò
Another great job.
sssyraj said:
There isn't mirroring to TV listed in the known bugs. Is it working in this ROM ?
Thanks.
Click to expand...
Click to collapse
Heyyo, tbh I haven't tested it so it is unknown if it works or not... I can't test it as I have a "dumb" TV so.... if anyone wants to test and report? That would be nice heh.
xlcashlx said:
The VoLTE fix worked on first install.
After reboot I don't get the message to select preferred sim as I did on the first install, and VoLTE isn't working. Is there a way to trigger this manually? I tried playing around with the apns and had no luck.
EDIT:
Manually editing /data/system/users/0/settings_global.xml as per gerrit fixes VoLTE, but system behaves poorly. Mine was value=2 so SED wasn't working.
Will this cover both possibilities?
Code:
if [ -f /data/system/users/0/settings_global.xml ]; then
sed -i 's/"multi_sim_data_call" value="1"/"multi_sim_data_call" value="-1"/g' /data/system/users/0/settings_global.xml
sed -i 's/"multi_sim_data_call" value="2"/"multi_sim_data_call" value="-1"/g' /data/system/users/0/settings_global.xml
restorecon /data/system/users/0/settings_global.xml
fi
Click to expand...
Click to collapse
I got the script overhauled after you mentioned it, thanks! Meow the script will look if it's not set properly to -1 and will replace the value no matter what it is :good:

[ROM][9.0][UNOFFICIAL][ARM64] LineageOS 16.0

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* 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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (pie), which is designed to increase performance and reliability over stock Android for your device.
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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.​
Warning!!!
BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
FM Radio
Audio
Sensors
Flash
LED
GPS
Volte
Encryption
Usb tethering
What's not working :
Nothing
Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
Downloads Links
LineageOS 16.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=287970
Google Applications (optional) :
Opengapps : Link (Use packages for ARM64, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recovery Mandatory to flash for 64bits ROM :
Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?fid=11410963190603887243​
About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-16.0
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-16.0
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-16.0​
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
DO NOT Report bugs if you've modifies system files
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
Code:
adb logcat > logcat.txt
Code:
adb shell dmesg > dmesg.txt
If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Code:
adb shell cat /sys/fs/pstore/console-ramoops
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Bug report should be done in following format provided in code below
Code:
What is your
LineageOS version:
LineageOS Download url:
Gapps version:
Did you
wipe:
restored with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
Q&A - FAQ
LineageOS 16.0 arm64 Cedric Regular Questions and Answers : Q&A Thread​
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo
- Thanks to @infixremix , @m_vaisakh and @AyamDobhal for helping
- Thanks to @DavidKirsch , @robt77, @ADHILR, @Jefe1177, @Robson1000 and everyone else from cedric testing group for testing rom
- Let me know if i missed anyone​
XDA:DevDB Information
LineageOS 16.0, ROM for the Moto G5
Contributors
CodeZero, m_vaisakh
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: AOSP
Version Information
Status: Stable
Created 2019-01-01
Last Updated 2019-05-22
ATTENTION :-
Just a heads up, that we are moving to Stock Oreo's firmware, so it's better that you update to it for the upcoming Pie Roms.
I have moved to Stock Oreo Firmware base so you will have to flash Stock Oreo first and then move to lineage or else Fingerprint will not work
TWRP Flashable Stock Oreo rom
Thanks to @NZedPred https://forum.xda-developers.com/g5/development/twrp-flashable-soak-test-oreo-t3827913
Changelog
12/09/2019
Patched CVE-2019-1988 vulnerability
[*]Removed cpuset foreground boost
[*]Switched to common basic USB HAL
[*]Moved to common data-ipa-cfg-mgr
[*]Enabled USB enumeration in power-off charging mode
[*]Added permission entries for location component
[*]Enabled multiple haptic intensity support
[*]Migrated to audio V4
[*]Added Mapper 2.1 to VNDK SP list
[*]Included all new changes from LineageOS
09/07/2019
Added perfboostsconfig.xml from stock
[*]Fixed inverted fp gesture issue
[*]Removed persist.camera.is_type (which partially fixed green tint camera issue in low light)
[*]Added drop_unicast_in_l2_multicast commits
[*]Included all new changes from LineageOS
22/05/2019
Switched back to Camera2
[*]Kernel source upstreamed to linux stable release 3.18.140
[*]Enabled metadata for FDE
[*]USB Tethering fixed thanks to @wiktorek140
[*]Encryption fixed
[*]Added QCOM's WFD
[*]Synced some config files with stock
[*]Addressed some vendor_init denials
[*]Copied missing vendor.display.config
05/04/2019
Volte fixed
[*]SElinux Enforced
[*]Kernel source upstreamed to linux stable release 3.18.138
[*]Migrated livedisplay to livedisplay 2.0
[*]Updated GPS blobs from deen PPK29.68-16-8
[*]Updated keystore and gatekeeper HALs
[*]Updated DRM blobs from ocean
[*]Added QTI wifi hals
[*]Added missing camera blobs
[*]Updated SDM blobs from LA.UM.7.5.r1-03700-8x96.0
01/01/2019 - Initial Release
Note :-
We can now run 64bits ROM on our phone.
But actually we have to run app_process (system server) as 32bits, mainly cause of sensors non working actually with a 64bits system server.
More to come next, vendor tree is still missing many 64bits blobs, and some of our proprietary services still run in 32bits mode too.
As we have found out , Flashing stock whilst having anything 64bit even the recovery for some reason the efs (IMEI) gets wiped .
I do not recommend you revert to stock on any 64bit rom.
Current local manifest of the ROM build
Code:
<!-- https://github.com/Sohamlad7/android_development_manifest/blob/local_manifests/lineage-16.0.xml -->
Great work bro. All the hardwork finally we get a nice pie rom. Thank you very much soham
---------- Post added at 10:21 AM ---------- Previous post was at 10:12 AM ----------
CodeZero said:
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (pie), which is designed to increase performance and reliability over stock Android for your device.
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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Warning!!!
BackUp EFS and persist partition before installing. If you lose IMEI , use this backup to retrieve it in future.
What's working :
Boots
RIL (Calls, SMS, Data)
Fingerprint
IR Blaster
Wi-Fi
Bluetooth
Camera
Camcorder
Video Playback
Audio
Sensors
Flash
LED
GPS
What's not working :
Volte
Usb tethering
SELinux is permissive
Flashing and updating
LineageOS clean install :
- Mandatory to flash 64bit recovery
- (Optional) Wipe the data & cache & system(Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- Mandatory to flash 64bit recovery
- (Information) Don't wipe anything unless you want to
- Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
Downloads Links
LineageOS 16.x arm64(Unlocked Bootloader) :
Development : https://www.androidfilehost.com/?w=files&flid=287970
Google Applications (optional) :
Opengapps : Link (Use packages for ARM64, Android 9.0)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Recovery Mandatory to flash for 64bits ROM :
Download TWRP 3.2.1-0 : https://www.androidfilehost.com/?fid=11410963190603887243
About the builds
Device tree : https://github.com/Sohamlad7/android_device_motorola_cedric/commits/lineage-16.0
Kernel sources : https://github.com/Sohamlad7/android_kernel_motorola_msm8937/commits/lineage-16.0
Vendor blobs : https://github.com/Sohamlad7/android_vendor_motorola_cedric/commits/lineage-16.0
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel, third party apps or you installed Xposed
DO NOT Report bugs if you've modifies system files
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Bug report should be done in following format provided in code below
Q&A - FAQ
LineageOS 16.0 arm64 Cedric Regular Questions and Answers : Q&A Thread
Credits :
- The LineageOS Team
- Thanks to ROM that have been built on Legacy Server and also thanks to all the legacyserver member friends
- Special Thanks to @wzedlare and @vache without them it wouldn't have been possible for us to get Nougat and Oreo
- Thanks to @infixremix , @m_vaisakh and @AyamDobhal for helping
- Thanks to @DavidKirsch , @robt77, @ADHILR, @Jefe1177, @Robson1000 and everyone else from cedric testing group for testing rom
- Let me know if i missed anyone
XDA:DevDB Information
LineageOS 16.0, ROM for the Moto G5
Contributors
CodeZero
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
Based On: AOSP
Version Information
Status: Beta
Created 2019-01-01
Last Updated 2019-01-01
Click to expand...
Click to collapse
FIX VoLTE for Pie
1. Copy lines from the file to/vendor/build.prop
2. Reboot
3. install ims apk after every reboot
Eu não sou responsável por qualquer coisa que aconteça ao seu telefone. Faça por sua conta e risco.
Funciona apenas em roms de pie
Am I able to install it from stock Oreo ROM? I haven't unlocked it.
FIX VoLTE for Pie
1. Copy lines from the file to/vendor/build.prop
2. Reboot
3. install ims apk after every reboot
I am not responsible for anything that happens to your phone. Do it at your own risk.
Only works on pie roms
https://www.mediafire.com/file/ruoxo93m5szymh5/1_4936412157622353977.apk/file
https://www.mediafire.com/file/2dtky4f3ad3y5y2/1_4936412157622353976.prop/file
giri45 said:
Am I able to install it from stock Oreo ROM? I haven't unlocked it.
Click to expand...
Click to collapse
Yes,
First follow this guide to unlock your bootloader.
Then install the above mentioned TWRP using ADB & FASTBOOT.
After that follow the instructions in the thread.
Good luck!
thanks for the New year gift just waiting for the volte fix
Thanks for your work @CodeZero, nice build, everything is working fine for me.
DavidKirsch said:
Thanks for your work @CodeZero, nice build, everything is working fine for me.
Click to expand...
Click to collapse
Is front hdr in gcam 6.1 working?
Hi there,
first thank you for this fine release. I am interested in installing this rom but have a few questions which could also be interesting for other users.
1. I am currently using LineageOS 15.1, can I flash this rom directly after a clean wipe or do I need to flash the stock firmware first? I have read that flashing stock firmware could be dangerous regarding loosing the IMEI.
2. I have installed TWRP 3.2.1 and was trying to do a backup of EFS and persist partions. Only the EFS partition is selectable for backup, persist seems to be missing.
3. Is the stock camera working fine or is there a long delay when starting like in other 15.1 roms?
AyamDobhal said:
Yes,
First follow this guide to unlock your bootloader.
Then install the above mentioned TWRP using ADB & FASTBOOT.
After that follow the instructions in the thread.
Good luck!
Click to expand...
Click to collapse
Thanks a lot?
CodeZero said:
ATTENTION :-
Just a heads up, that we are moving to Stock Oreo's firmware, so it's better that you update to it for the upcoming Pie Roms.
Click to expand...
Click to collapse
So wasn't a waste of time trying out the crappy Stock Oreo after all. Thanks
Any tested fm radio?
kutlay1653 said:
Any tested fm radio?
Click to expand...
Click to collapse
Yes, it's working.
Thanks a lot for your work! It seems like finally I'm gonna install a custom ROM in cedric :laugh: I have a Oreo stock untouched device, any heads up as how to not loose IMEI or mess up with something else?
Also, is the camera totally working? Thanks a lot again!
J.
jpm92 said:
Thanks a lot for your work! It seems like finally I'm gonna install a custom ROM in cedric :laugh: I have a Oreo stock untouched device, any heads up as how to not loose IMEI or mess up with something else?
Also, is the camera totally working? Thanks a lot again!
J.
Click to expand...
Click to collapse
It's recommended to backup fully working EFS/persist before messing with 64bit TWRP/ROMs.
For the unknown reason, reverting to stock (using fastboot) with anything 64bit at least once installed (even TWRP) wipes the IMEI.
Idk about the camera, but I'd like to ask the same as I'm also interested in trying LOS based on Pie.
SafetyCheck is certified? No lags and stuttering?
jpm92 said:
Also, is the camera totally working? Thanks a lot again!
Click to expand...
Click to collapse
At first I thought the camera was working fine. There is no big startup delay when starting the camera app (just the normal second). Flashlight, front camera and video recording also worked for me.
But when I am trying to take a picture from within a messenger app my phone crashes or something. The same thing happens If a take more than one picture. The camera app seems to crash and the whole phone becomes unusable. I only can see a black screen or my lock screen.
How do you back up EFS?

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
Reserved
Frequently Asked Questions
I've been asked to provide logcat, how do I do that?
You can either root and use an app like MatLog, or if boot logcat is required? You will need adb logcat from a PC. Here's a simple guide from the LineageOS Wiki https://wiki.lineageos.org/logcat.html
My lock screen crashes after reboot, what should I do to fix it?
https://forum.xda-developers.com/le-max-2/how-to/guide-to-fixing-x2-lockscreen-crash-t3918911
I don't see an option for call recording, what's going on?
Only the stock dialer app supports it. If you install a Gapps package that overwrites the stock dialer app? It won't have call recording as well. Only the included dialer app of LineageOS is compatible to call recording since it needs to be a ROM implementation and I haven't seen a Play store app that adds support for custom ROM call recording. Please also note that call recording is blocked for countries and carriers that have laws against any form of call recording.
What is Power-off Alarm?
This feature allows you to set an alarm clock with the stock clock app included with LineageOS and then turn off the phone, and it will boot up a minute before the designated alarm time and then properly alarm. It works with the device either powered off and also offline charging.
Using a clock app from OpenGapps Stock or from the Play store is not compatible with custom ROM implementations of power-off alarm... So consider this your heads up if you didn't know that already... As I am not responsible for anyone being late for their wedding/work/school/vacation if you tried a non-stock clock app with your LeEco msm8996 device powered off. :silly:
What apps are recommended with the Open Source ConsumerIR?
Zaza Remote (only with selinux enforcing) and Mi Remote work great. Smart Remote for Sharp TV also works. I'd recommend avoiding Peel Universal Smart Remote as it hijacks the lock screen with ads...
Pls sir, I can't connect to my network or IMS/VoLTE doesn't work! What can I try?
Please look below at the "APNS Update from Google" section and try that. I can't offer much else for help sorry as I have zero experience with IMS/VoLTE as Canada blacklists BYOD from that feature... Otherwise, if you need extra help? Hopefully, someone else in the x2 community can give you advice.
What is the difference between the official LineageOS builds and unofficial?
Unofficial test builds are builds I put out to test changes before I push them to the Official builds... So please stick with Official builds if you want to play it safe... But if you wish to help test and provide feedback on changes before they go official? Unofficial test builds are the best way to do so.
Where is the QuickCharge toggle?
Settings > System > Advanced > LeEco Settings
The rear-facing camera won't focus, what should I try?
Please go into Settings > System > Advanced > LeEco Settings, and then enable the focus fix. You may need to restart any open camera app or potentially reboot the system in order for the focus fix values to work... If that doesn't resolve it? Please try EUI ROM... If it still won't focus? I'm sorry, but your hardware camera actuator is defective and you either need to try the Le Max 2 rear camera magnet trick (please Google it) or replace the rear camera hardware.
Why is our Widevine level only L3?
Unfortunately, Widevine L1 failed to work correctly on X2 and zl1/0... It would report we have L1 hardware support but vp9.secure and avc.secure codecs were failing to render, thus apps that used L1 like Amazon Prime would error out and revert to L3 and worst-case scenario apps like Vudu would crash.
I haven't seen any fixes for those codec issues, so I gave up on it as L3 works fine.
Also, Netflix HD will never work on LeEco devices as they never got them "Netflix certified" which sounds like a money-grab move since L1 is all they should need. For example, Asus Zenfone 5z is L1 certified but not "Netflix certified" just like we are and they don't get the option to stream in HD.
This explains it a lot better
https://androidpcreview.com/netflix-hd-android-tv-box/
My device doesn't show any apps in the Play Store what should I do?
https://lineageos.org/Google-Play-Certification/
exfat does not work on LineageOS, what is up with that?
LeEco Le Max 2 does not ship with exFAT licensing so we are not allowed to incorporate it in LineageOS Le Max 2 builds. This was tested by both CrisBalGreece and I. If by chance there is an OFFICIAL EUI ROM build that includes exfat? Please let me know so I can test it as well... Here are the LineageOS device charter requirements on exfat
https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#exfat-support
KNOWN BUGS for x2 and max_plus
WiFi randomly disconnects when the device is asleep
Lockscreen may sometimes fail to unlock after a reboot (seems to mainly happen when the battery is low and power-saving mode is on. The workaround is to reboot again and it will unlock. Please note, this is NOT related to the lock screen crash bug where it always fails to unlock due to the encryption footer getting corrupted by an old beta build of TWRP. The fix for that is still in the lock screen crash fix thread I have linked up in the FAQ.)
There is random performance hangs where apps may not be responsive for a few seconds (Android 10 issue???)
Updating using the built-in LineageOS updater with TWRP as your recovery when encrypted causes Google Play Services to crash repeatedly (Lineage Recovery works without issue or updating manually via TWRP is fine though)
Microphone and button on 3.5mm headsets using the 3.5mm to Type-C adaptor only works with reversed orientation (IE, official LeEco adaptor with the logo facing downwards)
Dual-role USB does not work (our Type-C port can't detect if it should offer the option to host data transfer, charge the other device, or charge while using Aux out).
Taking a photo during 4K UHD video recording produces a photo with green static instead of a photo. This bug only happens in Snap camera... Google Camera Mod and Open Camera (with Camera API v2 enabled) produces pictures without issue.
Infinity focus not working (for panoramas, AR and some QR code scanners. Infinity focus also doesn't work in EUI ROM hmm... oddly enough some imx230_lg modules infinity focus can work if you don't need focus fix... so I blame LeEco for the messed up camera haxxs they did since s2 and zl1 have the same issues.)
KNOWN BUGS for max_plus
ES9018 Hi-Fi Audio DAC for 3.5mm headsets to Type-C adaptors does not work (this is the bug that is preventing official unified builds of LineageOS of x2 and max_plus...)
Fingerprint does not work when the device is asleep (this is due to the ancient device firmware on max_plus being officially stuck on 13s... there is a pseudo 466d modem firmware fix attempt I made but have not received feedback on yet)
Boot animation does not work unless you tap the power button twice to turn the display off and on again (this is due to a fix for screen tearing... maybe one day I'll figure out a fix for boot animation to work with the screen tearing fix)
When launching a camera app, viewfinder goes green for a second and then works normally
After using the USB port with Type-C headset or OTG with a flash drive, the device cannot charge until a reboot is performed (known bug even on EUI ROM)
APNs Update from Google
Latest update: 2020-05-04 (May 4, 2020)
This is an optional update if the current APN settings from LineageOS might not be up to date for your carrier and you need newer ones. This is the official APNs list from Google.
After flashing it? Please reboot to system and then go into Settings > Network & Internet > Mobile Internet > Advanced > Access Point Names > "..." menu button > reset to default.
https://sourceforge.net/projects/lineageos-for-x2/files/Mods and Tweaks/APNs Update from Google/
The official Google source git for this file can be found here:
https://android.googlesource.com/device/sample/+/refs/heads/master/etc/apns-full-conf.xml
Please note! This APNs list WILL get overwritten by the ROM on any ROM update and will need to be reinstalled.
Reserved
Special Thanks
@codeworkx for his major contributions to the LeEco msm8996-common code and kernel and the awesome open-source camera HAL
@mosimchah for his contributions to the LeEco msm8996-common code and kernel
@moto999999 for helping the x2 get LAOS 15.1 working. When others left LAOS he helped get the momentum started again.
@infrag for his contributions to x2 such as the multiple audio fixes, LEDs and sorting out the open-source camera HAL blobs and assisting with QS Torch
@shivatejapeddi for his contributions to x2 such as finding the fix for QS Torch and the regularly requested VoLTE support XD
@KuranKaname for his contributions to x2 such as helping get Dalvik VM and HWUI sorted out when 14.1 settings didn't work on 15.1, plus his never-ending mission to finding the most optimized code.
@Tortel1210 for his contributions to x2 and helping out with gerrit.
@andr68rus for everything he has contributed to x2. He may have moved to the Xiaomi Mi Mix 2 (sexy device!) but will be fondly remembered for everything he did for the x2 to make Nougat great. We will finish what you started.
@GalaticStryder for his fix for truly display panel that is better than my fix and his other awesome kernel improvements.
ViSi0Naryy for his contributions to LeEco msm9996-common with testing and contributions with Gerrit
@jabashque for helping fine-tune the performance for LeEco msm8996-common devices! LeEco has never been so smooth!
@Lucchetto00 for converting Tortel's devicesettings into LeEco settings and adding QC toggle, plus his method of detecting if a setting exists and whether to display it or not. He also did the initial bring up for x2 on Q so super special thanks on that too!
@DD3Boh for helping with msm8996 in general and also for helping out us LeEco devs
cristiansilaghi (no idea if he has XDA as he communicates with me on Telegram) for helping diagnose the battery percentage issues and finding some extra commits to help make it as accurate as possible and a selinux fix for offline charging animation.
...and finally the community. This is for the community, by the community. Give yourselves a pat on the back.
If I missed anyone? Please let me know and I can add them.
Donations
DonMomente (not sure if he's on XDA forums or not) for his very generous donation. Thank you and your family too!
@popeye13 for helping cover my replacement motherboard costs
@Bollex for also helping cover my replacement motherboard costs
@kurtn for also also helping cover my replacement motherboard costs
@xlcashlx for also also also helping cover my replacement motherboard costs
Robin Vd Berg since I'm unsure on username for also also also also helping cover my replacement motherboard costs
Thanks @ThE_MarD
You work hard for Lineage. :iyi:
Donations
DonMomente (not sure if he's on XDA forums or not) for his very generous donation. Thank you and your family too!
@popeye13 for helping cover my replacement motherboard costs
@Bollex for also helping cover my replacement motherboard costs
@kurtn for also also helping cover my replacement motherboard costs
@xlcashlx for also also also helping cover my replacement motherboard costs
@rberg (Robin Vd Berg since I'm unsure on username) for also also also also helping cover my replacement motherboard costs
@CrisBalGreece for his donation
@erwan574 for his donation
@txekalzen 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
(If I got your XDA forum usernames wrong please let me know)
Heyyo @Neutralite, thanks for the kind words. I do what I can, but for Android 10 special thanks definitely goes to @Lucchetto00 and @moshimchah for doing the initial bring up for x2 and zl1/0. I merely added onto the work they have already done and other msm8996 devs such as dd3boh on Zuk Z2 Plus and dianlujitao for the OnePlus 3 and Bruno Martins and LuK1337 on Xiaomi. :good:
Also, I fixed vulkan with our Q graphics stack. Luckily kanging from msm8953 CAF Q blobs and renaming and sed to msm8996 works perfectly fine for us. Slight improvement to vulkan, nothing major, maybe 1-2 frames per second or something as it is only minor upgrades for us.
http://vulkan.gpuinfo.org/compare.php?compare=compare&id%5B7313%5D=on&id%5B5019%5D=on
and again, this exciting los 17 journey has started for our lemax2....
Thanks man it means a lot for us.
I was using lineage os 16 and was eagerly waiting for 17 and you and other developers hard work made it possible for us.
I am grateful to you guys.
( PS - Now i use my x2 as a secondary device ie that i can do some beta testing for ROMs if needed. I will be so happy to get any opportunity to help for further development of our x2 and for our community. )
Thanks And Regards
Reetesh54
ThE_MarD said:
[X82X][9.x][TREBLE] LineageOS 17.0 (Android 10) for LeEco Le Max 2, ROM for the LeEco Le Max 2
Click to expand...
Click to collapse
Fantastic. I was looking for this yesterday evening having an inkling but did not find. Now I saw....
Thanks @ThE_MarD. BT in-call audio resolved?
Edit: Is it possible to "enable" disable option in cam app until crash issue is resolved?
the rom is perfect, vulkan makes the rom look great with the incredible fluidity in pub games, feet 2020, nba and others and runs the ppsspp gold emulator games very well with the gpu vulkan, really amazing, i used the black rom nougat 7.1.2 exactly because of vulkan, now I can use it on android 10, thanks. To say that I did not find any bugs, I found 1, which percentage of the battery that does not appear, the rest is perfect.
Heyyo @monleylord @Reetesh54 @fer198309 ! Thanks guys, yeah super stoked at how good LineageOS 17.0 is meow. :good:
@kayyappan , yes bluetooth audio HAL is fixed and that's why I made the thread.
I think you'd need a root app that scrubs system apps to disable it... that or a launcher that lets you hide the app.
New build is going up! lineage-17.0-20191117-UNOFFICIAL-x2 is only a minor update as the only fix is offline charging animation.
ThE_MarD said:
Heyyo
@kayyappan , yes bluetooth audio HAL is fixed and that's why I made the thread.
I think you'd need a root app that scrubs system apps to disable it... that or a launcher that lets you hide the app.
New build is going up! lineage-17.0-20191117-UNOFFICIAL-x2 is only a minor update as the only fix is offline charging animation.
Click to expand...
Click to collapse
You forgot your training for 17.0!?. Update next day? Thank you. No, I'll wait for you to resolve the cam issue. Glad BT fixed. QS battery settings doesn't change but that can wait. No emergency per se.
@ThE_MarD - 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.
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 !
kayyappan said:
@ThE_MarD - 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.
Click to expand...
Click to collapse
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.
fer198309 said:
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.
Click to expand...
Click to collapse
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.
@kayyappan , 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 @erwan574 , 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:
*edit* wow XDA keeps double-posting on me...
@ThE_MarD i think by mistake you named the thread [X82X][9.x] instead of [X82X][10.X] .
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).

[CLOSED][ROM][UNOFFICIAL] LineageOS 17.1 for Asus Zenfone 4 Max [Q][ZC520KL][ZC554KL]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: Android 10 is not supported anymore, please use this
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), which is designed to increase performance and reliability over stock Android for your device.
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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Namings
Asus Zenfone 4 Max, ZC520KL or also called X00HD, is referred as X00H
Asus Zenfone 4 Max, ZC554KL or also called X00ID, is referred as X00I
Asus Zenfone 4 Max Pro, ZC554KL or also called X00ID, is referred as X00I
THIS ROM REQUIRES PIE FW. OREO AND NOUGAT FW WON'T BOOT!
Flashing instructions
Note: You must be on stock Android Oreo or Android Pie beta!
- Unlock bootloader (Asus unlock tool is in their website)
- Flash TWRP
- Format data (and not wipe)
- Wipe cache
- Flash the custom ROM
- Flash additional zips, like Gapps or Magisk
- Reboot and wait
What's not working
- Fingerprint needs to be tested
What firmware do you need?
- Pie firmware
Don't for whatever reason disable force encryption, camera won't work if you do so (my TWRP supports data decryption)
Downloads
X00H
X00I
Changelogs are on #2 post
Telegram channel for updates: Here
Telegram group for support: Here
Sources:
Common device tree
X00H device tree
X00I device tree
Common kernel sources
Common vendor blobs
Happy modding!
Changelog:
08/31/2020
Common:
- August 2020 SPs
- Kernel sources has been unified, also supporting X00P (2018 phone)
- Added a check that will abort flashing if Pie FW isn't installed
- Building a custom fingerprint HIDL, this will definitely fix fingerprint
- Back and recents key will now vibrate when touched
Needs to be tested:
- Goodix on X00H, FPC and Goodix on X00I
Old changelogs:
07/29/2020
Common:
- Fixed fingerprint as home button for some variants (tested on X00H, cdfinger sensor)
- Fixed WFD and Miracast
- Updated all blobs from daisy
- Fixed FM Radio
- Fixed power-off alarm
- Fixed wide-angle camera on Snap
X00I:
- Rebased X00I kernel to latest CAF tag (no need anymore to flash external boot image)
- Fixed Wi-Fi on X00I
Bugs:
- X00H: Probably goodix not working, but the rest is rock solid
- X00I: Fingerprint not working yet
07/15/2020
- From now on devices codenames have the final D removed, following other Asus devices examples, you can still flash ROMs w/o issues
- July 2020 security patch
- Kernel has been rebased to CAF LA.UM.8.6.r1 tag (thanks to KudProject for the base kernel)
- Kernel upstreamed to 3.18.140 + Google ASB changes
- Camera has been fixed
- Fingerprint has been fixed
- Notification LED has been fixed
- Fixed heating issue
- ROM will now force encryption by default (needed for camera, DON'T DISABLE IT, support for TWRP decryption will come soon)
Bugs:
- Fingerprint doesn't act as home key (I've enabled software navbar as a workaround for now)
- FM radio
06/01/2020
- Fixed Wi-Fi
- Imported prima stuff to kernel
Not working
- Camera
- Fingerprint
- Power-off alarm
05/27/2020:
- May security patches
- RIL (calling, mobile data, SMS and maybe also VoLTE) working
- Bluetooth fully fixed
- No more random bootloops and restarts
- Media OMX issue solved
04/27/2020
- Initial build
I have the X00I device, if u need tester
New build will come out soon with RIL (calling, mobile data and possibly VoLTE) fixed!
After this I will start working on X00I and X00ID
Wow thanks for this im willing to test now
New update is out!
See post #2 for changelog
To the Forum Administrator (for unknown reasons I can't access PM section but I read your message from email notification)
I have updated common kernel sources link (I did some tree cleanup and I haven't updated links on XDA)
Aaaand I fixed Wi-Fi!
New build coming soon
New build is up! See #2 for changelog
SebaUbuntu said:
New build is up! See #2 for changelog
Click to expand...
Click to collapse
I hope you can fix fingerprint and camera. I can be a tester (X00ID)
Can't boot on ZC554KL (X00ID)
Waiting for update
Im on X00HD and it didnt boot
Can you please make it compatible with Oreo? Im stuck on it since I rooted my phone and trying to use this one didnt work
Installation OK on ZC540KL X00HD.
I upgrade official Firmware to the last Android PIE version Version WW-AOSP-16.0200.1907.18
Do you know when you fix the camera and flashlight ?
Thanks for work <3
i will try to flash this wish me luck tanks for working on this
ZC554KL (X00ID)
bollycao18 said:
i will try to flash this wish me luck tanks for working on this
ZC554KL (X00ID)
Click to expand...
Click to collapse
any updates so far? was the flashing successful?
Didnt boot i am on stock por debloated rooted but Root dont work 100% but not bad
Felipe9999 said:
Im on X00HD and it didnt boot
Click to expand...
Click to collapse
Try to use Pie firmware
SebaUbuntu said:
LineageOS is a free, community built, aftermarket firmware distribution of Android 10.0 (Q), which is designed to increase performance and reliability over stock Android for your device.
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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
What is working so far (tested on X00HD)
- Booting
- Wi-Fi
- RIL (calling, SMS, mobile data, and possibly VoLTE) (dual SIM works)
- Audio
- Bluetooth
- GPS
- Automatic brightness
- USB (MTP, ADB, etc.)
- AOSP offline charging
- Hardware keystore (password, PIN, pattern)
- LiveDisplay
- Sensors (rotation, accelerometer, etc...)
- It's surprisingly smooth, more than stock
What's not working
- Fingerprint
- Camera and flashlight (still requires some work) (because of this some overheating and battery draining might be here)
- Notification LED
Note: Even though Oreo firmware works, Pie firmware is preferred, as I develop the ROM using it, bugs reported with Oreo firmware will be ignored
To install it, follow this https://forum.xda-developers.com/ze...t/firmware-pie-firmware-updater-asus-t4124547 or install Pie beta before flashing this custom ROM
Instructions
- Download the latest build
- Download Gapps
- Unlock the bootloader
- If you use X00HD, install my TWRP build (you can find it here on XDA), else if you have X00I or X00ID, use aaaaaaziskurnia TWRP build
- Reboot to recovery
- Format data, stock ROM always encrypt it
- Flash the latest build
- Reboot
Downloads
X00HD | X00I/X00ID (not tested)
If you need support, send a message here or join this Telegram group to discuss new stuff and for testing builds
Reporting bugs
Don't report bugs right now, I know what are the bugs, currently working on it.
Tho I will appreciate some help
Sources:
Common device tree | X00HD device tree | X00I/X00ID device tree | Common vendor blobs | Common kernel sources
If you are a dev and you want to contribute here, reach me on GitHub or PM messages on XDA
Happy modding!
XDA:DevDB Information
[ROM][UNOFFICIAL] LineageOS 17.1 for Asus Zenfone 4 Max [Q][ZC520KL][ZC554KL], ROM for the Asus ZenFone 4 Max
Contributors
SebaUbuntu
Source Code: https://github.com/LineageOS
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
ROM Firmware Required: Pie Beta fw is preferred
Based On: LineageOS
Version Information
Status: Beta
Created 2020-04-27
Last Updated 2020-06-01
Click to expand...
Click to collapse
is there any update about the os since june ?
i would like to install it,
thanks
great
Any predictions for the Zenfone 4 (ZE554KL)?
New update is out!
See #2 post for changelog, a lot of stuff has been fixed
Remember, now X00HD is "called" X00H and X00ID is now X00I, so don't ask what zip you need to flash
If you can't find X00I update, please wait a little and check later, I'm fixing booting issues
I can now consider this custom ROM as daily driver ready

[11.0] LineageOS 18.0 For OnePlus 7 [UNOFFICIAL]

LineageOS is a free, community built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device.
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 restore 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 out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Installation
Download Provided LOS Recovery
Reboot to fastboot
Code:
fastboot flash boot boot.img
Once in fastboot, apply update from ADB
Then
Code:
adb sideload lineage.zip
Finally, once its done, click format data and confirm
Reboot and boom, you should be in the ROM!
Donations
You dont have to, but it will be very helpful if you do
PayPal
[email protected] (UPI)
XDA:DevDB Information
LineageOS 18.0 For OnePlus 7 [UNOFFICIAL], ROM for the OnePlus 7
Contributors
baalajimaestro
Source Code: http://github.com/PixelExperience-Devices/kernel_oneplus_sm8150/
ROM OS Version: Android 11.0
ROM Kernel: Linux 4.x
ROM Firmware Required: Oxygen OS 10.3.4
Based On: LineageOS
Version Information
Status: Beta
Current Beta Version: 18.0
Beta Release Date: 2020-11-19
Created 2020-11-18
Last Updated 2020-11-18
First Build - 19/11/2020
Changelog/Notes:
- Initial Build.
- Signed with Private Keys.
- MicroG support outta the box.
- Highly recommend installing MicroG variant of NanoDroid if you are interested in trying out MicroG.
- Switch Accent color to Pixel Blue.
- Prebuilt standalone Pixel Launcher (For those of you who might be installing Gapps package).
- Google Bar wouldnt work unless you install Google App (Possible with MicroG too)
- An Enhanced Permissions Controller
- Can manage Network, sensors as a permission
- Permissive for now.
- Weeb Kernel Latest (4.14.206) by idkwhoiam322.
Kernel Sources: https://github.com/PixelExperience-Devices/kernel_oneplus_sm8150/
- If you had used Dolby on my PE, its nuked, rest of OnePlus Settings remain.
- LOS 18.0 is still WIP and not fully ready, though I tested it for an entire day before shipping it to you.
- If you do encounter glitches, please lemme know.
WARNING:
- This build WILL NOT BOOT on a device with ext4 userdata.
- Please use provided recovery (LOS recovery) only to flash.
- It will bail out and not flash if you use another recovery, since its a signed build.
- Please use format data from the same recovery (formats you to f2fs).
Links:
{Mod edit: Link removed!}
Reserved
baalajimaestro said:
{Mod edit: Quoted OP shortened for better reading & scrolling experience!}
Click to expand...
Click to collapse
You've written rom os version as android 10...you may want to change that
ajsat3801 said:
You've written rom os version as android 10...you may want to change that
Click to expand...
Click to collapse
Pretty much xda doesnt let me set Android 11 yet.
baalajimaestro said:
Pretty much xda doesnt let me set Android 11 yet.
Click to expand...
Click to collapse
Sir, it's possible with a little trick but you must use XDA Style 2015! Do not use the button "Edit project" instead edit just your first post, the OP. Please refer to attached screenshots or advise if you want me to do it.
Oswald Boelcke said:
Sir, it's possible with a little trick but you must use XDA Style 2015! Do not use the button "Edit project" instead edit just your first post, the OP. Please refer to attached screenshots or advise if you want me to do it.
Click to expand...
Click to collapse
Thanks a lot! I am pretty new to xda
New Update, Gapps build: 24/11/2020
This build is pretty different from the previous build
I will try to issue a MicroG-exclusive variant in the next few days.
Notes/Changelogs:
- Built some QS Tile Icon Overlays
- Gapps prebuilt
- Switched to CarrierSettings, Google's alternative to CarrierConfig.
- Removed most of LineageOS Prebuilt apps, replacing them with Google alternatives
- Switched default font to Inter
- Also Ubuntu Font is available under styles
- Added Smartspace (aka Lockscreen weather by google)
- Added FOSSConfig, reduces weird behavior on automatic brightness.
- Tweaked some SF Props (lemme know if you do face some issues on this)
- Flipendo (Google's Extreme Battery Saver) is added, it will give you a notification when you turn on the battery saver
- Switched kernel to LOS, considering stability
- Sig spoofing is still supported, but this build highly advises you to stay with gapps.
- CarrierSettings might depend on GMS for working.
- Build was tested over 3hrs before publishing.
As earlier, my builds are signed with my own private key, so to flash them, use the recovery provided!
{Mod edit: Link removed!}
Donate
Donate(UPI): [email protected]
New Update, Gapps build: 26/11/2020
Notes/Changelogs:
- Selinux Enforced and User Build!
- If you face an issue where camera is not working, head to a root terminal and type
Code:
chcon -R u:object_r:persist_camera_file:s0 /mnt/vendor/persist/dual_camera_calibration/
- Everything was tested to be working normally
- If you do face issues, please log them properly and also provide me a way to replicate it.
- The recovery of user build apparently doesnt allow flashing anything thats mismatching signature. Hence Magisk/other mods might fail to install
- On such an eventful case,
Code:
fastboot boot twrp.img
and need not decrypt, just head to advanced, enable adb sideload, and sideload Magisk from your PC.
- I have tested Magisk 21.1 to boot pretty fine on this rom, but should you face any issues, I would recommend trying Magisk 21.0
{Mod edit: Link removed!}
Donate
Paypal
UPI: [email protected]
baalajimaestro said:
Spoiler
New Update, Gapps build: 24/11/2020
Spoiler
This build is pretty different from the previous build
I will try to issue a MicroG-exclusive variant in the next few days.
Notes/Changelogs:
- Built some QS Tile Icon Overlays
- Gapps prebuilt
- Switched to CarrierSettings, Google's alternative to CarrierConfig.
- Removed most of LineageOS Prebuilt apps, replacing them with Google alternatives
- Switched default font to Inter
- Also Ubuntu Font is available under styles
- Added Smartspace (aka Lockscreen weather by google)
- Added FOSSConfig, reduces weird behavior on automatic brightness.
- Tweaked some SF Props (lemme know if you do face some issues on this)
- Flipendo (Google's Extreme Battery Saver) is added, it will give you a notification when you turn on the battery saver
- Switched kernel to LOS, considering stability
- Sig spoofing is still supported, but this build highly advises you to stay with gapps.
- CarrierSettings might depend on GMS for working.
- Build was tested over 3hrs before publishing.
As earlier, my builds are signed with my own private key, so to flash them, use the recovery provided!
{Mod edit: Link removed!}
Donate
Donate(UPI): [email protected]
Click to expand...
Click to collapse
@baalajimaestro THREAD CLOSED as not compliant with GPLv2; download links removed!
Please advise the moderators team to re-open the thread when ready to provide a link to your actual kernel source,

Categories

Resources