This guide covers the steps for flashing Android firmware into hardware device. These steps can be used to flash AOSP build into a hardware device. Please follow the steps in order.
Please follow the instructions on the Flashing Devices page for unlocking the device.