Android Rom customization knowledge

Source: Internet
Author: User

We usually package the upgraded Rom into a recovery package. Can be rediscoveredProgramThe identified and processed packages should have a fixed format. Some important constraints I understand are as follows:

1) it must be a standard ZIP package;

2) The recovery script must be stored in the META-INF \ com \ google \ Android \ Update-script;

3) Some other certificates and signature information should be placed under \ META-INF.

Is it possible for us to customize our own Rom?

In theory, we can customize it ourselves.

The simplest customization should be to take an existing basic Rom that is considered to be good, replace some resources, add some built-in system programs, and then package and release;

To be more advanced, you should modify some built-in system programs, such as the original system programs in Chinese;

When it comes to a more advanced version, you should download the Android system source code on the official website of Android and compile it based on system-level customization and transplantation. For example, the current hot Android source code compilation system is transplanted.

If it is a simple self-made Rom, we should mainly solve the following problems:

1. Select a relatively stable internal and basic, Which boot. IMG is included in the update.zip package, and most of the System directories are directly available, which can be used as the basis for custom Rom.

2) modify the system. For example, you can customize something like this: System \ etc \ apns-conf.xml, this is to set the APN access point; System \ etc \ hosts, this is to set the host file, now many people cannot bind a Gmail package, so they can add one in this host file: 74.125.93.113 android.clients.google.com (of course, it is hard to say how long this address can be used )... if you want to customize something, you can view it on your own.

3) re-package the ROM signature. The previous article has introduced the basic structure of a rom package, but the package based on this structure still cannot be installed by recovery, because there is no signature! Rom signature can download an automatic signature tool auto-sign. Google is recommended for details. (Note: The Rom signature tool must be supported by java1.6, so the system must have a jre1.6 environment ).

Related Article

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.