"1. Boot in to TWRP-recovery
2. Open Terminal under the advanced tap
3. Type the following
setprop persist.lineage.nofool true
in the terminal
4. Reboot the phone"
https://www.reddit.com/r/LineageOS/comments/88xywy/victim_to_software_counterfeit/dwokspp/