Nokia has decent phones dirt cheap that you can repair yourself, and you can buy spare parts cheap too, and it runs completely vanilla Android, with good multi year upgrade policy.
https://www.youtube.com/watch?v=kh-7sMEDxyw
My wife has her eye on a Nokia G42, and it has both Micro SD slot and minijack. So you can use a 1TB MicroSD and laugh all the way to the bank at those who bought an S24 Ultra with 128GB ๐ ๐คช ๐ ๐ ๐