http://www.2cto.com/kf/201401/270727.html
执行: source build/envsetup.sh
lunch aosp_mako-userdebug
然后make -j12 开始编译。
在编译完成了之后,进入到out目录下,会有boot.img, userdata.img, system.img 依次使用fastboot flash boot boot.img fastboot flash userdata userdata.img fastboot flash system system.img 烧机结束后,使用fastboot
reboot重启就可以了