Reference: Modify the android boot Interface

Source: Internet
Author: User
The Android system boot animation includes Android text and Android light-emitting animation. The boot animation mentioned in this article is the first one. The text below begins! 1. make the current screen pixel image (the default simulator is 320*480) using ps to make a 320*480 image, save the selected "Save As Web pixel Note: It seems to only support png-24, the RLE file generated in other formats is not displayed normally. If you are interested, you can verify it again. 2. convert images to raw format use the convert command provided by ImageMagick in Linux to convert the raw format. Command: Convert-depth 8 android_logo.png RGB: android_logo.raw note: by default, the imgagemagick tool has been installed in Ubuntu 10.04. If the current system is not installed, run the following command to install sudo apt-Get install ImageMagick 3. to convert raw format to RLE file requires the android compiled rgb2565 tool, in the android/out/host/linux-x86/bin directory (Android is the current source code directory ), the conversion command is as follows: rgb2565-RLE <android_logo.raw> initlogo. so far, the image to be displayed after RLE is enabled, that is, the initlogo. RLE, note This is the object name. To change the object name, you must modify Android/system/CORE/init. macro in H: # define init_image_file "/initlogo. under RLE ", you need to add the initlogo. rle is added to the android file system. 4. find ramdisk. imgfile (Android/out/target/product/generic/ramdisk. IMG), change the file name to ramdisk.img.gz, and decompress gunzip ramdisk.img.gz to get ramdisk. IMG, someone may ask, How can I change the file name back? Otherwise, use file ramdisk. IMG: ramdisk before decompression. IMG: gzip compressed data, extracted from UNIX: ramdisk. IMG: ASCII cpio archive (svr4 with no CRC. 5. use cpio to Extract files: Create a temp directory: mkdir temp CD temp cpio-I-f .. /ramdisk. IMG 6. export File List: cpio-I-t-f .. /ramdisk. IMG> List Note: List is a text file that stores ramdisk. IMG file structure, we need to add initlogo to this file. rle. The modified file is as follows: Data default. prop Dev init. goldfish. RC init. RC initlogo. rle proc sbin/adbd sys system 7. generate ramdisk. IMG cpio-o-h NEWC-O ramdisk. IMG <list Note: ramdisk is generated based on the description of the list file. imgfile 8. use ramdisk. IMG overwrites Ra in the SDK directory Mdisk. IMG (Android-SDK-Windows/platforms/Android-2.1/images/ramdisk. IMG), You 'd better back up it first. 9. Start the simulator and you will be able to see our own boot interface.

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.