Installing rom zip through TWRP replaces recovery instead of intalling os
alright I actually figured it out: the trick is to flash the stock ROM using this tool and then fastboot TWRP, install the TWRP and then install Lineage all without formatting the internal storage. I don't know why that works, but it does.