Flash Lineage OS without GApps, use microG if necessary. That will be miles better than either stock Android or iOS. Sure, that isn't really general user-accessible, but I'd expect it to be pretty easy for the general HN reader.
Or use Pinephone if you want "actual" privacy. Librem 5 is an alternative as well, albeit an overpriced one.