Right after Cyanogen announced discontinuation of its services including the Cyanogen-supported nightly builds from 31st Dec ’16, the original team behind CyanogenMod took the matter in its own hands with the release of a new OS called Lineage OS.
Although Lineage OS is not only a re-brand of CyanogenMod, but it’ll still remain largely the same as the last builds of CyanogenMod were meant to be. And that gives us a hint that rooting Lineage OS would still remain very much similar to that of getting root access on CyanogenMod ROMs.
Although CyanogenMod ROMs have always had root access built-in, but on the more recent builds of the ROM, the feature was kept disabled by default upon install. But enabling the feature back on is as simple as it can be.
How to Enable Root on Lineage OS
- Enable Developer options: Go to Settings » About phone » Tap seven times on Build number.
- Go back to Settings main menu and open Developer options from there.
- Look for Root access setting, and set it to Apps and ADB or Apps only or ADB only, as per your need.