msm8909+android5.1.1 Modifying model number (phone model)

Source: Internet
Author: User

/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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.