Creating your own INITLOGO.RLE files

If you follow the details below, you will be able to make your own INITLOGO.RLE file that will appear after the Allwinner logo and before the animation starts.

You will need the ImageMagick suit of tools to add the convert tool. With Ubuntu 10.04 this should already be installed but if not, use the following command to install it.

sudo apt-get install imagemagick

I started with a Windows BMP file that has to be 800 x 480 in size. I then used the following command to convert this to PNG.

convert initlogo.bmp initlogo.png

Then I use the following to convert the image to a RAW format that is the correct size for the RLE encoding later.

convert -depth 16 initlogo.png rgb:initlogo.raw

Next you need to use the pre-compiled rgb2565 that is located in the out/host/linux-x86/bin directory in the Android build. I copied the file to the home/bin directory so that it would run from the PATH I have already setup as part of my Linux installation. Just make sure you can run this file without adding a path to it 🙂

rgb2565 < initlogo.raw > initlogo.rle

You should now have a file that is 1,536,000 bytes in size. If not, check all the commands again. If the file is not this size, it won’t work.


NOW. The only issue I have seen is that the colours are not retained so you need to experiment a little with colours but it looks good enough for now.

By Dave McLaughlin

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s