Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. Be sure to add reprint reprint https://blog.csdn.net/qq_23327993 https://blog.csdn.net/qq_23327993/article/details/90692027
1. kernel compile macros configuration file
user version of the kernel configuration file and userdebug version used is different, this is described in AndroidBorad.mk the
device / qcom / msm8953_64 / AndroidBoard.mk
2. Modify the default value ro.adb.secure
device/qcom/common/base.mk
3. Add adb filter user authentication
system/core/adb/Android.mk
4.user version open fastboot
bootable/bootloader/lk/app/aboot/aboot.c
5. Modify the default value of ro.debuggable
In the official description, user version ro.debuggable value is 0, turned off, but usually we need to debug user version also need to put this to open.
build / core / main.mk