Unfortunately, right now, it doesn't seem like it's in the best interest of companies to make a device that lasts for 10 years which they continue to support through software updates.
Sometimes I do a mental juggle: In my life, provided my phones last for ~3 years, I'll probably end up buying between 10-20 phones. Multiply that out by (in theory) the population of earth, * the exponential growth factor, and you suddenly realise how impossible that would be. So, somethings got to change - people have to optimise for what they've got, not what can be sold to them.
https://images.apple.com/environment/pdf/products/iphone/iPh...
The CO2 emissions of course aren't a perfect proxy for the environmental impact (and Apple is likely a leader in reducing the amount so other phones will be higher), but it at least gets us in the ball park.
Looking at the numbers I don't think phones are the first thing to worry about.
I think part of the problem is the rate of change: a smart phone from 10 years ago is dramatically different from one 5 years ago.
That rate of change is slowing, though, just like it did in desktop and laptop computers about 5 years ago.
When they increase flash and RAM a bit more, I think it will make sense to make (and buy) more durable phone hardware.
My 2 year old Moto X Play does everything I need (Firefox, Messenger and Spotify, 90% of the time), and I only bought it because my old phone broke and the X Play had the longest battery life of any reasonably priced smartphone at the time.
When it eventually breaks, I'm just going to get a budget model. If I could get a dumbphone/featurephone with a week-long battery life, that could do Firefox, Messenger and Spotify in any reasonable fashion, I would jump on it instantly.
Also, not even remotely new with the S8; it was supported at least back to the Note 5 / S6 generation, possibly earlier.
I would have been fine with an S6 or S7, but my company has standardized on the S8/S8+ (and iPhone X for some managers, because of course).
At that point I think we'll be mining landfills. But yes, the disposable, replace everything, super short refresh cycle has to end. My wife just got rid of her Nexus 4 from 2012 - a five year run. Is that good enough or can we get them to go longer?