LineageOS is a free, community-built, aftermarket firmware distribution of Android 11, 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.
Code:
/*
* 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.
*/
What's working :
- Audio
- Bluetooth
- Camera
- EGL
- GPS
- RIL (Calls, SMS, Data)
- Sensors
- Video Playback
- Wi-Fi
- MTP
- VoLTE
Known issues/Bugs :
- VoWiFi
- You tell me the rest
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed any root implementation
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 /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless). Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.
Instructions
- Flash MIUI 12.0.1 ID or 12.0.2/12.0.3 Global in fast boot.
- Install custom recovery.
- Download the latest LineageOS build.
- Wipe Data, Dalvik, Internal, Cache
- Flash the ROM
- Format data
- Reboot
For people who wish to use GApps, use MagiskGApps by @Wacko1805 ,
OR
MindTheGApps
Downloads
Download ROM
Download MagiskGApps
Credits
LineageOS Team
@SparXFusion
@whyredFire
@Pulkit Agarwal
@henloboii
@TechyMinati
& All People Who helped me in a way or Other !
Source Code
- ROM: https://github.com/LineageOS
- Device Tree: https://github.com/Redmi-MT6768/android_device_xiaomi_merlin
- Kernel Source: https://github.com/Redmi-MT6768/android_kernel_xiaomi_mt6768
If you liked my work, press thanks on this thread
Last edited: