[ROM][STABLE] LineageOS 15.1 Custom Rom For MI A2 Lite

0
560

LineageOS is a free, community built, aftermarket firmware distribution of Android 8 (oreo), 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.

What’s working :

  • Boots
  • RIL (Calls, SMS, Data)
  • Fingerprint
  • IR Blaster
  • Wi-Fi
  • Bluetooth
  • Camera
  • Camcorder
  • Video Playback
  • Audio
  • Sensors
  • Flash
  • LED
  • GPS
  • Volte


Known issues:

  • Nothing

Instructions :
Download the latest build and GApps
Reboot to bootloader
Download the oreo stock rom. From Here
Download platform tools and extract them straight into the stock rom folder. Not images folder.
Replace the system.img and boot.img with the boot.img, system_other.img and system.img in images folder (system.img and system_other.img are same. Just make 2 copies of system.img and rename one to system_other.img):-|
Replace modem.img from pie stock rom. Grab it HERE
Then use flash_all.bat to install the rom. ( We are using fastboot method because the TWRP is completely broken and doesn’t even let us flash the rom. But @33bca is working on one. We’ll soon have stable TWRP )
Let the flashing be completed.
After the flash is completed, just go to recovery (stock los one) format data again.
If you want gapps, boot to twrp by downloading official TWRP and using fastboot boot *******.img
Flash gapps
Reboot. After first boot, reboot to twrp
Then flash this kernel in the same recovery.
That’s it. Now just reboot and you have a working stable LineageOS

Screenshots :

Downloads :


Special Thanks to @LCockx and @a.dev for testing the builds