Fairphone is great. I really can recommend it. It is a bit expensive at first and the specs are not something special, but mine seems to be almost indestructible. I dropped it like a 100 times and the screen is still fine. If it ever breaks I can replace it myself cheaply. I think in the long term, this makes it a lot better than many other phones. Also, a lot of the materials were sourced responsibly.
They even have a list on their forum with OSs you can install. https://forum.fairphone.com/t/operating-systems-for-fairphones/11425