If one is okay with less-open hardware, the F(x)tec Pro 1 X seems to be a good higher-end smartphone that has a decent camera sensor, slide-out keyboard, AMOLED display, and can be ordered with either Ubuntu Touch or Lineage preinstalled.
It's at the top of my if-I-ever-jump-ship-from-Apple list of phones.