[ROM][13.0][UNOFFICIAL] LineageOS 20.0 for Galaxy A51 4G

Search This thread


Senior Member
Aug 23, 2018
Samsung Galaxy S7
Samsung Galaxy J2
  • Like
Reactions: Lipsum26


Sep 7, 2022
Also, very very important! Encryption does not work... please add it to "what's not working". Will you fix it please as it poses a security threat especially in recovery where data are unencrypted?


Jan 30, 2023
screen brightness is fully increased to scan fingerprint. Can't the brightness increase locally as in stock?


New member
Feb 23, 2023
Samsung Galaxy A51
Hello! I flashed this on my A51 phone not too long ago, but today I came across a bizzare issue. After leaving the phone on for a while, I found the screen dimmed with the LineageOs working logo on screen. Pressing any button didn’t seem to do anything and the only way to get the device out of this “state” was to fully restart it. Is there any way to fix this?


Mar 30, 2021
Awesome stuff, really !!
Can someone who already installed the March build check whether the phone encryption is working? This is the only criterion for me really :)

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    @TestUserG @Royna

    The thread has been cleaned from all the useless off-topic drama. You are invited to restart the discussion on a more respectful basis or move it to PM.

    Thank you for your collaboration.

    XDA moderation team.
  • 7

    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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. You can also view the changelog for a full list of changes & features.

    What's working:
    • RIL (Calls, SMS, Data)
    • Bluetooth
    • Wi-Fi
    • Camera
    • Video Recording
    • Video Playback
    • Audio (Record and Playback)
    • Sensors
    • Flashlight

    What's not working:
    • VoLTE (Blame Samsung for that)
    • FOD working only on highest brightness Now it's functional
    • Camera HAL3 and 48MP back camera, this is due to Samsung's extension to camera HAL is not recognizable by AOSP (Again blame Samsung)
    • Feel free to report any issues you may encounter with relevant logs

    • Download the latest supported Lineage OS build
    • Reboot to recovery
    • Wipe data, system and cache/dalvik cache
    • Flash the LineageOS zip
    • (Optional) Flash arm64 gapps of your choice (NikGapps or BitGapps are recommended)
    • Reboot to system and enjoy!

    • GrassKernel is included with the ROM (See here)
    • To use MTP as default, enable developer options and choose file transfer as default mode for usb configuration
    • Only for A51 4G variant, 5G has different SoC therefore not supported
    • EFE - Enabled FBE, the one without EFE suffix is decrypted build. applies from Apr 25 builds

    Feel free to join support telegram group here

    Kernel source: Here
    If you want to help me: Donate
    - 2023/01/28
    • Initial build
    - 2023/02/01
    • ROM side
      • Fix headset audio (Reverted to stock audio libs, may fix other audio issues)
      • Adjust screen max brightness/Auto brightness values. (Values from TrebleDroid GSI rro for A51)
      • Fix padding (Again GSI values)
      • Switch to EROFS for /vendor
    • Kernel Side Changelogs
      • Import EROFS driver
      • Import Android Incremental-FS driver
      • Import NTFS3 driver from Paragon software
    - 2023/02/25
    • ROM side
      • Extend max brightness to 365 (Same as OneUI stock)
    - 2023/03/23
    • ROM Side
      • Enable FBE
      • Add support for display doze
      • Uprev camera provider HAL to 2.6
      • Fixes FOD by boosting brightness when finger is touched
        • Also works even if Night Light/Extra Dim is on
    • Kernel Side
      • Fix proximity reversed values
      • Fix problems enabling dual AP feature
      • More same as kernel changelogs
    - 2023/04/26

    - Enable Wi-Fi AP auto recovery
    - Kill logspam of ABox and media driver
    - Kill freqboost of ABox for heating (fixup previous call audio bug)
    - Implement FOD wakeup for A51 (fixup previous fod area sleep bug)

    - Fix back NFC for A51
    - Fix DRM L1
    - Fix offline charging
    - Fix distorted bt audio in calls
    For the TWRP for Android 13 bootloader, check this
    Hello, is there any possibility that this rom will be ported to the official lineage operating system in the future? I am grateful for your support for our device.
    Screen flickers when you put it to your ear during a call. There is no such problem on GSI firmware. sensors are OK

    Hover proximity value near the ear

    Hover proximity value on a table with an open sensor

    I've been looking for a few days now how to set up this sensor

    Does anyone know what config file is responsible for this?