Boot animation
In Android Automotive every Vendor/ Manufactures has their own boot animation for their products to display some sequence of images (Company logos) while device startups.
The boot animation prepared by manufactures of the device and it contains their logo.
The source code integration for boot animation is different for different vendor.
Here will discuss about,
- How to create own boot animation from scratch
- How to replace the own boot animation in board
- Source code different between two vendors/ manufacturers for boot animation integration
Create own boot animation,
- Convert video file into .PNG file by using video to PNG converter online application
- Create the folder part0 and we can add so many folders like part1, part2,etc
- In the part0 folder put those .PNG file that will appear during boot
- Create the desc.txt file and add the following contents,
1080 1920 30
p 1 0 part0
First line is1080 1920 is display resolution – It is depending upon the physical display.
Next is 30FPS this speed of the frame.
The next line is set the property for part0 folder, here 1 is how much time the image in the folder repeats and the 0 is delay of each image.
- Finally create bootanimation.zip file by selecting part0 folder and desc.txt
- In Windows use 7zip tool
( or)
- In Linux use following command
zip -0 -r ../bootanimation.zip ./*
- Provide the permission.
chmod 0777 bootanimation.zip
- Here the article about for two different manufacturers,
- Change boot animation on board for manufacture 1
Following commands will help to achieve this for development, for this we need to make mount system as write and read, replace the bootanimation file in the following location.
adb push bootanimation.zip /system/media
Finally reboot and enjoy your own boot animation on board.
- Change boot animation on board for manufacture 2
Following commands will help to achieve this for development, for this we need to make mount system as write and read, replace the bootanimation file in the following location.
adb push bootanimation.zip /product/media
Finally reboot and enjoy your own boot animation on board.