A20 android-sugar-standard version Boot animation modification

Source: Internet
Author: User

Well, the customer is God, asking for all kinds of more. Let's change the boot animation here.

Data are from the network search, the following directly said the operation process, followed by the source of data.

---------------------------------------------------

A Android boot animation, divided into several parts: kernel animation, this is the Linux part, I have ignored it; by the time the Init process starts up, the second animation will appear, and I'll ignore it, and I'll just start, focus, and replace the third one.

B Boot animation is a package, the name is: Bootanimation.zip must be the name, not be bootanimation.rar. When your Android source is compiled, the package will be placed in the "/data/local/" or "/system/media/" directory of the system. If you do not want to modify the content of the Bootanimation.zip in the source level, then the system boot, the two directories under a bootanimation.zip export to follow the format of the replacement can be---specific which directory first, and did not try, I made it myself under the source code.

C then how to get under the source code? To compile the Android source code, the following three commands are executed first:

1  SOURCE build/envsetup.sh2  lunch sugar_standard-Eng3  extract-bsp

Then check this time to see the out/target/product/sugar-standard/system/media/directory under the Android/directory. If not, then mkdir create it. Then put your bootanimation.zip parcel into the out/target/product/sugar-standard/system/media/directory and execute the MAKE-J8 command to start compiling the entire Android source code. When make is good, pack is ready, and the IMG can be generated.

< note Bootanimation.zip's operation rights, my own is 777 permissions >

<ps: Everything above can be done with shell scripts ~~>

D Making Bootanimation.zip

A lot of this tutorial, you can export bootanimation.zip after looking at its internal image format, properties, etc., the specific production process is not introduced. The artist is very clear about the properties of the picture inside. What does that say? Let's say something important:

1 Bootanimation.zip Decompression Open, there are three files (directories), a part1, a part2, a file properties file Desct.txt. Its three names do not change, this is written in the program is dead. Specifically, I'll take Luo Shenyang's blog fragment to cut a picture down the surface:

Pictures to make the art in accordance with the requirements of the production, it should be packaged into bootanimation.zip, this time there are two points to note:

1 when Packaging: Do not choose to bootanimation the entire directory package, but should go into the Bootanimation directory, the full selection of Part1 Part2 desct.txt three files for packaging, or packaging after the file will be more than one layer.

2 when packaging the choice, when added to the compressed file Bootanimation.zip, do not select "standard" compression, and to choose "Storage" compression, otherwise it will display a black screen.

After packing, this file is generated in this directory, if:

Then put this bootanimation.zip file into the out/target/product/sugar-standard/system/media/directory for source code compilation, or import into your system "/data/local/" Directory.

The above is for the Sugar-standard version, other such as Sugar-cubieboard2 version, should be the same operation, or even the entire Android circle, probably not much.

The following information is attached to the source:

Luo Shenyang Teacher Blog: http://blog.csdn.net/luoshengyang/article/details/7691321 His in-depth explanation of the boot animation principle.

Make a boot animation: http://blog.sina.com.cn/s/blog_4960586c0100vu5v.html He has prompted the Bootanimation.zip read and write permission, I am direct chmod 777 It's bootanimation.zip.

The last hint: Part2 part1, are all pictures in PNG format, do not have other files inside, otherwise it will crash.

How to make cool boot animation, ask the artist or Google ...

< blog above, have my email >

Over

Specific other

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.