LineageOS-18.1-Plus For Samsung Galaxy M20 [UNOFFICIAL]

Written on September 10, 2021 by Samar Vispute

LineageOS 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.

Whats working

  • SELinux
  • RIL (Data,SMS,Calls)
  • Userdata encryption[FDE]
  • Fingerprint sensor
  • WiFi (2.4Ghz/5Ghz)
  • Bluetooth
  • Camera
  • Camcorder
  • Audio
  • GPS
  • NFC
  • Sensors
  • Video Playback

Known issues

  • IMS (VoLTE,ViLTE,VoWiFi)
  • Extra cameras

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.

“Plus” features

  • iOS blue accent color and dark background color
  • Faceunlock
  • Safetynet passes without magisk
  • Internal sound recording
  • Per-app volume control
  • Applock
  • Three finger swipe to screenshot
  • Long screenshot
  • Signature spoofing for microG
  • Revamped power menu with a blurred background
  • D2TS on trebuchet
  • Pixel offline charging animation
  • Styles -
    • Inter,GoogleSans,OneplusSlate,SamsungOne fonts
    • Rounded and RoundedRect Icon shapes with more rounded corners
    • PrimerBlue accent color
    • Typographic clockface
  • Many backend changes to improve UI performance and app launching speed


Inter font, Rounded Shape(with more rounded corners), PrimerBlue Colour applied from Styles



  • Merged September ASB (android-11.0.0_r43) & LineageOS source upstream
  • Signed build with private keys
  • Fixed screenlock crash for some devices
  • Enabled dolby audio effect
  • Added thermal HAL based on google’s implementation for pixel phones (better overheating protection)
  • Fixed “unknown” model name for some devices
  • Replaced CameraGo with OpenCamera
  • Updated common blobs from a40 android 11
  • Many misc improvements

  • Merged August ASB (android-11.0.0_r40) & LineageOS source upstream
  • Disabled tracing and iorap (reduces overhead, increases performance)
  • Fixed memory management issues
  • Misc improvements


    Included vendor (source built, full vndk 30(R))</li>
  • Compiled as much as possible blobs from source
  • Nuked samsung junks from vendor
  • Enabled 5Ghz wifi support, yes!
  • Updated Midgard GPU driver to r26p0
  • Merged July ASB (android-11.0.0_r39) & LineageOS source upstream
  • Added App-lock
  • Added per-app volume control
  • Improved app launching speed
  • Added dt2s support on trebuchet
  • Many misc improvements !


  • Renamed LineageOS version to 18.1-plus
  • Merged June ASB (android-11.0.0_r38) & LineageOS source upstream
  • Fixed Bluetooth Calls (Thanks @ponces)
  • Added Inter,GoogleSans,OneplusSlate,SamsungOne fonts to Styles
  • Added new PrimerBlue theme to Styles/Colour
  • Added Rounded and RoundedRect Icon shapes with more rounded corners to Styles/Shape
  • Updated CameraGo to the latest version
  • Allowed user to add/remove QS with one click
  • Added power menu customizations (airplane mode, screenshot, lockdown, bugreport, user switcher)


  • May security patch and LineageOS source upstream
  • Compiled kernel with clang
  • Improved battery backup
  • Fixed Performance profiles
  • Added new UI default accent and background colors
  • Misc improvements


  • April security patch and LineageOS source upstream
  • Improved UI performance
  • Improved app launching speed
  • Merged A40 R kernel sources (A405FNXXU3CUC2)
  • Misc improvements


  • March security patch and LineageOS source upstream
  • Added new faceunlock impl with 3rd party apps support
  • Added long screenshot support
  • Added Devfreq boost driver (boosts the device that controls how quickly data can move between RAM and the CPU (improves overall fluidity))
  • Added wireguard support
  • Merged M205FDDS7CTL2 kernel sources
  • ZRAM improvements
  • Added typographic lockscreen clock face
  • Corrected lowest brightness level
  • Misc improvements


  • Lineage source upstream
  • Passes safetynet without magisk (no more random reboot)


  • February security patch
  • Lineage source upstream
  • Added option to disable fastcharge in battery settings
  • Revamped power menu with a blurred background
  • Improved quick settings and notification shade appearance
  • Added iOS blue accent color and dark background color
  • Added Three finger swipe to screenshot support
  • Added Pixel offline charging animation
  • Misc improvements


  • 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

Device info

  • Kernel - 4.4.x
  • Chipset - Exynos7904



Join my telegram channel to get latest updates

Support group


Required firmware: Android 10 (OneUI 2.0)

If you are coming from stock rom or any custom rom

1) Boot into Latest TWRP or Lineage recovery

2) Format data

3) Flash latest build

4) Flash gapps package (optional)

5) Reboot your device once the installation is done

If you are already on LineageOS

1) Boot into Latest TWRP or Lineage recovery

2) Flash latest build

3) Flash gapps package (optional)

4) Reboot your device once the installation is done


  • Auto-brightness doesn’t exist on m20 since both devices doesn’t have physical light sensor on stock rom, they are using camera as light sensor which is quite hacky and comsumes lotta power