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

Search This thread

Royna

Senior Member
Aug 23, 2018
109
91
Samsung Galaxy S7
Samsung Galaxy J2
1674876297098.png


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

Installation:
  • 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!

Notes:
  • 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

Downloads
ROM:
Feel free to join support telegram group here

Kernel source: Here
 
Last edited:

Royna

Senior Member
Aug 23, 2018
109
91
Samsung Galaxy S7
Samsung Galaxy J2
ChangeLog
- 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)
- 2022/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
 
Last edited:

tanovicd123

New member
Jan 28, 2023
3
3
Thanks for the rom! I will try it as soon as i install gapps. Also, what on bootloader version do i have to ve (Android 12, 13)?
 
  • Like
Reactions: hacker812c

TestUserG

Member
Sep 7, 2022
23
12
Can I flash magisk for root (ramdisk support)? Is there also lineageos recovery to flash instead of twrp? Last, is selinux enforcing or permissive?
 
  • Like
Reactions: hacker812c
Feb 7, 2022
12
12
sorry to bother, but for some reason i cant access my internal storage in any way with this rom installed (not with my phone nor my pc) i have the android 13 bootloader installed and precisely followed every step. what went wrong?
 
  • Like
Reactions: hacker812c

Royna

Senior Member
Aug 23, 2018
109
91
Samsung Galaxy S7
Samsung Galaxy J2
hi, why are you using kernel 4.14? i thought android 13 must be use 5.15
? Does S20 have 5.15 kernel to get android 13? Minimum requirement is 4.14. 5.15 is for phones released with a13 and even it is a not a requirement, OEMs can choose 5.10.
5.15 is the latest GKI version.
Also if it can't boot then why did I post?
 

testchmb

New member
Feb 3, 2023
2
2
Hi, how to install Google Phone? I tryed to install it from playstore using nikgapps, but i cant bc it says that my phone not supporting it. I also tryed to install MidThegapps but it didnt work
 
  • Like
Reactions: hacker812c

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Screen flickers when you put it to your ear during a call. There is no such problem on GSI firmware. sensors are OK

    UPD:
    Hover proximity value near the ear
    View attachment 5838681

    Hover proximity value on a table with an open sensor
    View attachment 5838683

    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?
    Will be fixed, found fix for it
    1
    New build is up
  • 6
    1674876297098.png


    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

    Installation:
    • 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!

    Notes:
    • 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

    Downloads
    ROM:
    Feel free to join support telegram group here

    Kernel source: Here
    4
    ChangeLog
    - 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)
    - 2022/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
    3
    For the TWRP for Android 13 bootloader, check this
    3
    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.
    3
    Screen flickers when you put it to your ear during a call. There is no such problem on GSI firmware. sensors are OK

    UPD:
    Hover proximity value near the ear
    IMG_20230217_025357.jpg


    Hover proximity value on a table with an open sensor
    IMG_20230217_025424.jpg


    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?