You can now develop Android O ROMs for selected unlocked Xperia devices via Sony’s Open Devices program. The recently released build guide gives developers the necessary tools and instructions to begin their development and the new software binaries adds support for Xperia XZ Premium, Xperia XZs, Xperia XZ, Xperia X Performance, Xperia X and Xperia X Compact. This means you can now build and flash your own version of Android O on all devices mentioned above.
The Xperia™ XZ Premium has now been added to Sony’s Open Devices program. This means you can now build and flash your own version of Android N on Xperia XZ Premium devices. This software is meant for developers and can be unstable due to its early stage.