LineageOS
Enable tethering on LineageOS using ADB
Update
After updating to a newer version, I couldn’t get the below steps to work any more. Here is some extra stuff to get it to work again. It comes down to build.prop
not accepting the changes you make because it’s being loaded as read-only. Remounting the filesystem as read-write and then pushing the updated file will do the trick.
Run the following through ADB with root enabled (flash the SuperSU zip found on the lineage OS website and enable root in the developer settings).