1. alps \ build \ core \ Makefile file: (refer to CUSTOM_BUILD_VERNO)
Ifeq "" $ (SURPLUS_BUILD_VERNO )"
SURPLUS_BUILD_VERNO: = $ (BUILD_NUMBER)
SURPLUS_BUILD_VERNO: = $ (subst eng. $ (USER)., $ (SURPLUS_BUILD_VERNO ))
Endif
Surplus_build_desc: = $ (TARGET_PRODUCT)-$ (TARGET_BUILD_VARIANT)-$ (PLATFORM_VERSION)-$ (SURPLUS_BUILD_VERNO)
$ (INSTALLED_BUILD_PROP_TARGET): SURPLUS_PRIVATE_BUILD_DESC :=$ (surplus_build_desc)
SURPLUS_PRIVATE_BUILD_DESC = "$ (SURPLUS_PRIVATE_BUILD_DESC )"\
2. \ alps \ build \ tools \ buildinfo. sh file: (refer to CUSTOM_BUILD_VERNO)
Echo "ro. custom. build. version = $ SURPLUS_PRIVATE_BUILD_DESC"
3. xshell compilation command:
./Mk-opt = TARGET_BUILD_VARIANT = user, SURPLUS_BUILD_VERNO = v0.08 a9 new
4. In the alps \ out \ product \ a9 \ system \ build. prop file:
Ro. custom. build. version = a9-user-4.1.2-v0.08
5. You can go to the terminal to view the version number to verify the modification effect.