This tutorial aims to provide detailed instructions on how to solve these caveats, building and flashing AOSP for the Nexus 5X with verified boot and using separate lock screen/encryption secrets. It should also apply for the Nexus 6P with small changes, but I was unable to test it since I didn’t have a Nexus 6P at hand.