Buy an iPhone and you might get 4-5 years of official software updates. Android phones typically get 1-3 years of updates… if they get any updates at all. But there are ways to breathe new life into some older Android phones.
The folks behind postmarketOS want to go even further: they’re developing a Linux-based alternative to Android with the goal of providing up to 10 years of support for old smartphones.