I’m confused. What are you trying to accomplish? Anyway you shouldn’t use root on Android as that breaks the security model.
I would look to see which of those devices officially support Lineage OS if any. They all look ancient so don’t be surprised if they are either not supported or support was dropped.