Android version of the popular compiler user to modify the configuration

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
Here Insert Picture Description

2. Modify the default value ro.adb.secure

device/qcom/common/base.mk
Here Insert Picture Description

3. Add adb filter user authentication

system/core/adb/Android.mk
Here Insert Picture Description

4.user version open fastboot

bootable/bootloader/lk/app/aboot/aboot.c
Here Insert Picture Description

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
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_23327993/article/details/90692027
Recommended