The system/media directory contains a few media files, such as bootanimation.zip. Some png images in the compressed package are used for boot animation, which can be used to change the boot screen. Some audio files in the audio directory are used for ringtones and notifications.In fact, the main step of this article is to customize the ROM is how to package the unlocked ROM signature. If it is only packaged back to zip, android does not recognize it, an error is reported when the ROM package is verified.
After you place the custom apk file in the system/app directory, you can also change the boot screen, add custom ringtones, and add commands (under system/bin, then you need to package the package back to the zip file.
Then, you need to use the signature tool to sign the zip package. The signature tool can be found:
Http://androidforums.com/developer-101/8665-how-signing-roms.html
Download. You must register a user to log on before downloading. The downloaded tool is executed in windows.
Run:
Autosign. bat
Set CLASS_PATH for the first time and add testsign. jar. The setting process is very simple. First, enter 2:
Then it will guess that your testsign. jar is in the current directory, So enter yes:
Select 4, manually enter the ROM path to be signed, and then enter yes:
The signature process takes some time and requires patience. After the signature, no new file is generated. It is completed by modifying the original file.