I’d recommend Pixel but they have terrible battery life and they heat up pretty easily. On the other hand, they have support for Graphene OS, long software support and very nice cameras. Samsung and Xiaomi are absolutely worst choices when it comes to software; they are filled to brim with bloatware and worse, blatant spyware. The only way to use them is to immediately install a clean alternative OS, such as LineageOS.