I've noticed that there are a few posts on how stock AOSP will not necessarily boot on the Nexus 5X. I've followed earlier posts that recommended grabbing
this project and following the instructions provided there.
I've just about tried everything I could find and have had no luck.
I picked revision MDA89E (android-6.0.0_r12) which is the first revision to support Nexus 5X. Then, I tried the following:
fastboot flashall -w- Flash stock image provided by Google -> works fine
- adb reboot bootloader && fastboot flashall -w
- Does not boot
Individual fastboot flash
Curiously, on the Nexus 6P, I was able to get it to boot after flashing just system and userdata. So I tried that on the 5X.
- Flash stock image provided by Google -> works fine
- adb reboot bootloader && fastboot flash system && fastboot flash userdata && fastboot reboot
- Does not boot
Add vendor directory created by android-prepare-vendor
- Copy over vendor/ as created by android-prepare-vendor
- make clean && make -j16
- fastboot flashall -w
- Does not boot
In all of the above, my lunch target was: aosp_bullhead-userdebug
In all of the above, after the boot didn't work, I tried flashing just the vendor image over. That didn't work either.
Could someone please provide comprehensive instructions on how to get an AOSP build running on the Nexus 5X?