Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 869
Marcelo Avatar asked Jan 15 '15 17:01

Marcelo


People also ask

How do I change the Bootanimation of a custom ROM?

Open Root Browser (or your file manager) app and once inside, locate your original boot animation file (bootanimation. zip) in /system/media. 3. Long-press the file, choose Rename and name it to bootanimation.

What is Bootanimation zip?

The "Android Boot Animation" is a script used to load PNG files when the device boots. It is contained within an uncompressed zip file called bootanimation. zip.


1 Answers

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.

like image 105
Marcelo Avatar answered Sep 22 '22 18:09

Marcelo