LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.
Hii this rom is not official this is the reason we will find many bugs such as when we shutdown and charge phone it automatically goes to download mode and battery backup is very poor and phone overheat on normal use and fingerprint sensor is very slow thank you
Install twrp for lineage os through odin (link in first post) In Twrp reboot to recovery to gain root. Or You can extract the tar file and install recovery in existing custom recovery then reboot to recovery