Boot-logo

From Tinker Board Wiki
Jump to: navigation, search

How to change your own boot logo on

Android M

Requirement

1.  Please prepare the 24 bit bmp file and the length/width must be divisible by 4.
     For example : 1000x400, 1920x1080 are OK, but 1921x1000 is not allowed
     We recommended that you can use the Microsoft paint to save the picture as the 24 bit bmp.
     We suppose the picture name is logo.bmp

2.  Use the linux tool "convert" to change the format

$ convert -compress rle -colors 256 logo.bmp logo_kernel.bmp

     logo.bmp is the file which is come from step 1 and logo_kernel.bmp is the file which is after convert.

3.  Replace the logo.bmp and logo_kernel.bmp to the kernel

4.  Rebuild kernel image

     How to rebuild kernel:
     https://tinkerboarding.co.uk/wiki/index.php?title=Software#Android_6.0.1_kernel

     NOTE: Please notice that the version of "convert" is also importance. The version of convert must be equal to the below

 $ convert -version
 Version: ImageMagick 6.6.9-7 2017-03-14 Q16 http://www.imagemagick.org
 Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
 Features: OpenMP

     If your OS is Ubuntu 12.04,just user apt to get the convert package

 $ sudo apt-get install imagemagick

     If you have no Ubuntu 12.04, you can use the Tinker Board with Tinker-OS V2.0.3

 $ sudo apt-get install graphicsmagick-imagemagick-compat

     https://github.com/TinkerBoard/debian_kernel/releases/download/2.0.3/20170928-tinker-board-linaro-stretch-alip-v2.0.3.img.zip

You can reference the bootanimation.zip and replaced the png file inside. The Android framework will
play the picture from 0.png to the last png file one by one. And it will look like an animation.
After you finish the zip file, please put the bootanimation.zip to /system/media/bootanimation.zip
The zip file name must be bootanimation.zip.
Media:Bootanimation.zip

Wallpaper

Please check the following 2 commits. One is for HDMI and the other is for DSI.
https://bitbucket.org/TinkerBoard_Android/rk-device-rockchip-rk3288/commits/a5a00b724063b3992a1e6ad711e69e0f4ecd63ce?at=sbc/tinkerboard/asus/Android-6.0.1
https://bitbucket.org/TinkerBoard_Android/rk-device-rockchip-rk3288/commits/0a382ad572b909d758553c43a6b6c929aacbadc6?at=sbc/tinkerboard/asus/Android-6.0.1