G1 Custom Boot Splash Images

You need an 320x480, 8bpp image, e.g. this one. Given it's name is splash.png, convert it with ImageMagick and ensure that the resulting file size is 460800 bytes:

 

convert -depth 8 splash.png rgb:splash.raw

Then you need to convert the image to the format that is used by Android. This conversion is done with a tool called rgb2565 which is found in the Android source distribution. You can download the source code here and compile it with gcc.

 

gcc -O2 -Wall -Wno-unused-parameter -o rgb2565 to565.c
rgb2565 < splash.raw > splash.raw565

Ensure splash.raw565 has 307200 bytes!

 

If you haven't done so already, download the Hard SPL, put it onto the root of your Android SD-Card and power on your phone with the home key pressed. Select "install any update" and install the file splhard1_update_signed.zip.

Reboot with the camera key pressed. You should see skating Androids. Connect via USB to your workstation and press the back button. You should now read the text FASTBOOT in the middle of the display.

Download the Android fastboot tool from here. Now you are finally able to flash the splash image:

 

./fastboot flash splash1 splash.raw565
./fastboot flash splash2 splash.raw565
./fastboot reboot
Copyright (C) 2007-2010