It's a software problem too. To have the same capabilities my phone did when it was new a few years ago, I have to find 3rd party play store backups to get apps with the right SDK to install. The bootloader isn't unlockable. Samsung won't provide updates. Google is actively hostile to providing apps which work (both not hosting the working versions and abusing things like their power over the signing keys to quickly deprecate old Android SDKs).