LineageOS-18.1 For Samsung Galaxy M20, M30, A30, A40[UNOFFICIAL]

Written on December 30, 2020 by Samar Vispute

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

Working features:

  • RIL ( Data,SMS,Calls )
  • SELinux
  • Fingerprint sensor
  • WiFi
  • Bluetooth
  • Camera (All of them on a30 and a40)
  • Camcorder
  • Audio
  • GPS
  • Sensors
  • Video Playback
  • ZRAM
  • Internal audio recording
  • Face unlock
  • Glove Mode (High touch sensitivity)
  • Pixel’s Extreme Battery Saver
  • Signature spoofing (for MicroG)

Known issues

  • IMS (VoLTE,ViLTE,VoWiFi)
  • Bluetooth calls
  • Extra cameras on m20 and m30

Reporting Bugs

  • Don’t report bugs if you have any custom kernel or module installed
  • Create new issue here.
  • 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 /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)
  • If the problem disappears after running “setenforce 0” from a root shell, grab /proc/avc_msg.


Click here



  • Fixed proximity sensor on m30, a30, a40
  • Enabled double tap to wake on m30, a30, a40
  • Switched to OSS exynos power HAL
    • Improved performance and battery backup
    • Fixed delay in wakeup
  • Lineage source upstream

  • Initial Lineage 18.1 build
  • Merged December 2020 ASB and feature drop
  • Lineage source upstream
  • Fixed Video flicker issue


  • Fixed Fingerprint authentication in third party apps
  • Fixed Browser crash whilst doing some activities ( eg. watching youtube videos )
  • Enabled device controls feature in power menu
  • Misc improvements


  • LineageOS source upstream
  • November security patch
  • Added Seadvault(Video)
  • Added Advanced reboot
  • Added Signature spoofing support for microG
  • Moved blur toggle to Display options
  • Enabled AOD on a30
  • Improved corner radius on a30 and a40
  • Added Quick Access Wallet feature on power menu


  • Added Face Unlock
  • Removed restrictions for system audio record
  • Added Extreme Battery Saver
  • Some minor improvements


  • Added Glove Mode support (High touch sensitivity)
  • Optimized ART
  • Some minor fixes


  • Initial release for m30, a30, a40


  • LineageOS source upstream
  • Enabled ZRAM writeback
  • Misc improvements


  • Initial Release

ROM info

  • Kernel - 4.4.x
  • Chipset - Exynos7904


NOTE: Safetynet doesn’t work in this rom and Enabling Magisk Hide will cause kernel panic/random reboot.


Join my telegram channel to get latest updates

Support group


1) Boot into latest recovery

2) Do factory reset

3) Flash latest build

4) Reboot your device once the installation is done

Note: If you wanna flash from TWRP then you’ll have to disable forcedencryption (by flashing this Disable_forcedencryption patch) and format data