Luckily there is a mobile phone OS and hardware that isn't produced by the world's largest advertising company, and furthermore doesn't allow two different corporations to be involved in the core OS of the device.
Seriously, get a Pixel and install GrapheneOS, or maybe a Fairphone with LineageOS.
Ah, the Google tax. They can turn the lock of that door (bootloader) when they choose to do so.