Using Fedora 25 building Android 7 for Nexus 5X is relatively simple. The only caveat is that to really take advantage of the hardware you need vendor blobs which you can get by running the scripts at https://github.com/anestisb/android-prepare-vendor