I'm no fan of planned obsolescence either, which is why I got a Fairphone, which was supposed to be easy to repair and possibly even get modular hardware upgrades. Never happened, of course, and my phone just developed a fatal problem this week.
So this thread about more secure phones is coming at an excellent time for me. Legacy OS seems like a prime contender. Not sure about the hardware yet.
I see a lot of people on the internet having an attitude like "geee, it's 3 years old phone, time for an upgrade". All while hardware is still perfectly fine for 100% of the things average person needs the phone for.