How to compile an AOSP project with its own custom butanization?

I am trying to compile AOSP with custom butanization, but without success. And I just ran out of approaches ... To change the butanization, I already did:

  • created a .zip file with the following structure: bootanimation.zip {desc.txt part0 {000.png, 001.png, ......, 010.png} part1 {011.png, 012.png, .... .., 021.png}}

  • edited permissions for system / kernel / include / private / android_filesystem_config.h

  • placed the bootanimation.zip file in / system / media /

However, when Android boots up, it simply displays the Google trademark, skipping the boot animation. Can someone point out what I am missing?

PS: I am successfully compiling AOSP. It loads with all the functions in order. My problem is only setting up butanization in the compiled project.

+7
android compilation android-source
source share
2 answers

Ok I solved my problem. The problem was that besides everything I did, the bootanimation.zip file MUST be compressed using the storage method .

+4
source share

@mthama writes:

Ok I solved my problem. The problem was that, in addition to everything I did, the bootanimation.zip file MUST be compressed using the store method.

The solution is to not use compression when packing the archive. This can be achieved on Linux with the following command:

zip -0r bootanimation.zip desc.txt part0 part1 

The -0 option indicates that it does not use compression, and the -r option indicates that recursively includes the contents of part0 and part1 .

There are also ways to do this using a graphical interface, for example. with 7-Zip as shown in this answer: https://superuser.com/a/337087/295453

+2
source share

All Articles