
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
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
HOW TO UPDATE LINEAGEOS WITH LINEAGE RECOVERY
Please follow the official LineageOS Wiki instructions for our device
Upgrade LineageOS on x2 | LineageOS Wiki
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
GOOGLE CAMERA (GCAM) DOWNLOADS
Google Camera:

Parrot043: MGC_7.3.020_Parrot043-v2.apk
Download MGC_7.3.020_Parrot043-v2.apk by Parrot043.
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.
LineageOsMaxPlus
LineageOsMaxPlus has 7 repositories available. Follow their code on GitHub.
GitHub - LineageOS/android_device_leeco_msm8996-common
Contribute to LineageOS/android_device_leeco_msm8996-common development by creating an account on GitHub.
GitHub - LineageOS/android_device_leeco_x2
Contribute to LineageOS/android_device_leeco_x2 development by creating an account on GitHub.
GitHub - LineageOS/android_kernel_leeco_msm8996
Contribute to LineageOS/android_kernel_leeco_msm8996 development by creating an account on GitHub.
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.

Last edited: