I currently use the redmi note 4 from Xiaomi, and my biggest complaint is the camera. I heard that the camera on the pixel XL is better than the z2 force, but I'm tempted by the force's dual cam and portrait mode. The other problem I have is MIUI 9 from Xiaomi sometimes stutters even with 4gb of RAM. I'm not the biggest fan of stock Android, but I'd go with it 9 times out 10 if it means that the performance will be smooth. I hear that both Moto and Pixel use very lightly modified versions of Android, which sounds great. I find the mods of the Z line very interesting, one of the primary reasons I'm still not sure which phone to choose. I like long lasting batteries but since there's a mod for additional power, I wouldn't mind the z2 force's mediocre battery. I don't mind late updates as long as the current software is not running like a mess. I occasionally game, and watch Netflix on my phone. So to summarize, here are the most important points for me:
-Price (around 250-350)
-Stable software
-Camera
-Design (I find both phones lacking in this department).
-Battery
The primary reason I'd go with the z2 force is Mods, the primary reason I'd go with Pixel XL is software.
Thank you for helping me find the sweet spot.