ninjame@ubuntu1604:~/aosp/kernel/msm$ cd arch/arm/boot/ ninjame@ubuntu1604:~/aosp/kernel/msm/arch/arm/boot$ ls -l zImage-dtb -rw-rw-r-- 1 ninjame ninjame 8441144 5月 23 00:27 zImage-dtb ninjame@ubuntu1604:~/aosp/kernel/msm/arch/arm/boot$ pwd /home/ninjame/aosp/kernel/msm/arch/arm/boot
export TARGET_PREBUILT_KERNEL=/home/ninjame/aosp/kernel/msm/arch/arm/boot/zImage-dtb
重新编译bootimage
make bootimage
成功后,若有类似如下的输出:
Copy: out/target/product/hammerhead/kernel Target boot image: out/target/product/hammerhead/boot.img out/target/product/hammerhead/boot.img maxsize=23519232 blocksize=135168 total=9369600 reserve=270336 #### make completed successfully (03:29 (mm:ss)) ####
重启手机进入bootloader模式
adb reboot bootloader
刷入内核
fastboot flash boot boot.img
重启手机
fastboot reboot
~晒图,换上自己的签名了,哈哈~ ,不过g4ad03fa 打脸了。。。