This is why we need alternatives to Google and Apple phones/OS, here is a list I have written over the years althought it may not be entirely up to date or completely accurate:
* Phone hardware alternatives to mainstream brands
* Fairphone 4 [NL]
* Librem 5 from Purism [US]
* Pinephone from Pine64 [China]
* FXTec [UK]
* Volla [DE]
* Linux-based OS
* PostmarketOS - "postmarketOS extends Alpine Linux to run on smartphones and other mobile devices. [See compatible devices: https://wiki.postmarketos.org/wiki/Devices]
* Mobian
* Manjaro ARM
* Maemo Leste
* Pure OS [US] (purism)
* Sailfish OS [FI]
* Others - mostly android-based alternatives
* Ubuntu Touch "Ubuntu Touch is not based on the "mainline" Linux kernel, but rather on the "downstream" (that is, highly patched) Android kernel that came with it originally, with an abstraction layer, halium, to adapt Android drivers and userspace to Linux systems. "
* /e/ foundation [FR]
* Lineage OS
* GrapheneOS
* LuneOS
* Nemo Mobile
* CalyxOS
edit: updated according to comments
* Phone hardware alternatives to mainstream brands
* Linux-based OS * Others - mostly android-based alternatives edit: updated according to comments