Search code examples
androidcompilationandroid-sourceboot-animation

How to compile an AOSP project with my own custom bootanimation?


I'm trying to compile AOSP with a custom bootanimation, but with no success. And I just have run out of approaches... To change bootanimation, I've already done:

  1. 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 } }

  2. edited permissions on system/core/include/private/android_filesystem_config.h

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

However, when Android boots up, it just shows the Google trademark, skipping the boot animation. Can someone point what I'm missing?

PS: I'm successfully compiling AOSP. It boots up with all features ok. My problem is only with bootanimation customization on the compiled project.


Solution

  • Ok. I've solved my problem. The issue was that besides all the things I've done, the bootanimation.zip file MUST be compressed with store method.