I guess the first post should be updated since @abhishek987 now suggest alternative versions.Because LineageOS 15.1 by @abhishek987 thread is bloated by questions anwsered before or not dev related - ask and discuss here - to debloat main thread.
Also, I can confirm latest version works great by booting into the TWRP; installing UN-Official LOS build and TWRP-Installer; then rebooting into recovery, and installing Modified opengapps for Addon v2 and Magisk before rebooting into system; then install Magisk via Magisk Manger, reboot and install Magisk Module for the M1 A1 stock camera (the only one where everything works).