/system/build.prop is a property file in the Android system. Prop files are important, documenting the system settings and changes, similar to files in/etc. How is this file generated?
build/tools/buildinfo.sh scripts are specifically used to generate Build.prop files
The Build.prop file is generated in Build/core/makefile using the build/tools/buildinfo.sh script,
and append the default System.prop of the system and the settings in the custom System.prop to the Build.prop file.
There are also some device-related configurations appended to Build.prop
We need to modify settings--->about phone--->buildnumber, which file needs to be modified, refer to the link http://blog.csdn.net/loongembedded/article/ details/49996253
(1) buildnumber corresponding buildinfo.sh file
The relevant definitions in build\tools\buildinfo.sh are as follows:
If [-N "$BUILD _number"]; Thenecho "ro.build.display.id= $BUILD _number" Elseecho "ro.build.display.id= $BUILD _display_id" fi
(2) Build_number definition
The BUILD\SCM_SCRIPTS\PROJECTA.MK is defined as follows
build_number:=projecta_8909_v1.6
How to compile:
(1) Normal make–j4 and the whole re-update, no
(2) manually delete Out/target/product/msm8908/system/build.prop, then execute make-j4, or not
(3) Full compilation (delete out directory, then execute MAKE-J4)---OK
msm8909+android5.1.1 Modifying model number (phone model)