修改bootable/bootloader/lk/app/aboot/aboot.c
else if(reboot_mode == FASTBOOT_MODE)
{
//boot_into_fastboot = true; //注释掉boot_into_fastboot
boot_into_recovery = 1; //将boot_into_recovery值改为1
}
然后修改bootable/bootloader/lk/makefile文件
#ifeq ($(TARGET_BUILD_VARIANT),user) //注释掉这个
# CFLAGS += -DDISABLE_FASTBOOT_CMDS=1
#endif