This is an unofficial Guide for installing the official Sailfish X image on your Xperia X (single sim-version, it might possibly work with the dual-sim version but that's untested) using Linux/MacOS.