I recently got ahold of an original Google Pixel XL phone so I could upload my large collection of photos and videos to Google Photos without having to (repeatedly, permanently) pay for a storage plan. The battery has been recently replaced and is in great condition, and am planning to take steps to ensure its future endurance (only charging it to 80%, using a slower charger to reduce heat, etc.).
Another thing that concerns me, however, is the endurance of the storage. As some of you may know, flash storage can only be rewritten a limited number of times before it wears out and becomes unusable. (This is why typical, low-cost memory cards fail quickly when used in surveillance systems or dash cams, due to their repeated writes.) I specifically sought out a 128 GB model over the more typical 32 GB model because, by its nature, it has four times the write endurance (as the data now spreads out over four times the memory cells).
However, I'm wondering what exactly this write endurance is. How much data can I write to an original Pixel XL 128 GB before its storage chip eventually fails? In other words, how many terabytes of photos and videos can I back up using the phone before its storage fails and I have to get another one?