I have an original iPhone in my drawer. It was decent 15 years ago, but not safe now.
AFAIK Android has always used dm-crypt (should be familiar to any Linux user) with AES, which I'm pretty sure is still safe.
Back then I think maybe it used CBC mode, whereas now it defaults to XTR, but again AFAIK, CBC is still safe, it's just that XTR performs better for block devices or something.
Someone please correct me if I'm wrong.
The purpose of encryption is not to keep secrets eternally. The purpose of it is to keep secrets long enough that by the time they're revealed, they aren't worth anything.
I can maybe see someone repairing phones to boot them and grab unencrypted data. But no one is holding on to them for 20 years to decrypt them.
I think that’s what concerns people. And makes random phones of interest to bored people. A decent percent of phones probably have nudes. And I think that data stays sensitive.