[MOD] Customize your Boot Splash + ZIPs in Post#2 + Online Splash Zip Generator

touch of jobo

Senior Member
Oct 21, 2008
755
644
0
Groningen
You can generate your own custom boot splash! (You must be S-Off!)
(This is the first picture you see when you boot up your device, before the boot animation starts. The one you also see before booting into recovery.)

How to do it:

Disclaimer:
You have unlocked and rooted your device, flashed custom recoveries, and turned it S-Off, so by now you should know that you have nobody to blame but yourself.
Anyway: This tool is provided as is, with no warranty whatsoever. If you brick your device, I will feel sad for you but I will not be responsible.



Some context:
A while ago I made this tool for the One S Ville. It was the result of mapping out all the partitions and figuring out hboots. See this thread. (Don't flash the zips from that thread on your M8!)
Since then, I have added support for the One M7, it turned out that the .zip files for the Ville are also good for the Ville C2, and I added support for the Desire X.
Now I also added support for the One M8. It is the same as the M7 except for the partition number.


Thanks to @Sneakyghost for testing this version of the online generator.
Also, I did not do the research myself. It was already mapped. Sneaky told me the partition number.


How it works:
On the One M8, partition 12 (/dev/block/mmcblk0p12) contains the boot splash.
The first 4050kB, 4147200 bytes (1080 x 1920 x 2), are raw RGB565 bitmap data.
On boot, this data gets copied into the frame buffer. We can put anything in there.

The boot splash generator resizes your image to 1080x1920 and then converts it to raw 16 bit RGB data.
It then puts the result into a recovery-flashable .zip file. When run on the phone in recovery, it unpacks the raw image file and copies it into partition 12.


Back to stock:
The attached .zip files are recovery flashable. They contain the stock boot splashes. (I took a .zip from the generator and replaced the splash image with the images from extracted RUUs.) So if you ever want the stock splash back, you can flash this. Running a RUU will also flash the stock splash back.


Share & Enjoy!
If you create any cool splashes, that others might like, please post them in this thread with a pictures and zips.

-Jobo
 

Attachments

Last edited:

Sneakyghost

Senior Member
Jul 24, 2008
8,296
13,574
263
InMyHead
Hey buddy thanks for doing this for us. I also appreciate your permission to put your generator in a frame on venomroms.com - cool gimmick! We do love your work mate. Makes stuff very easy.

Just another warning for those who overread it in the first post: M8 Splash screen sits in Partition 12 - that's where the M7 has its HBOOT!
DO NEVER FLASH THE M8 SPLASH ON THE M7 WITH A RECOVERY ZIP! IT WILL BRICK YOUR M7

(just saying).
 
Last edited:

touch of jobo

Senior Member
Oct 21, 2008
755
644
0
Groningen
how can i backup my bootsplash
In an adb shell in recovery mode, you can dd the contents of p12 into a file:
dd if=/dev/block/mmcblk0p12 of=/sdcard/splashbackup.img

To restore, you dd the file back into the block device:
dd if=/sdcard/splashbackup.img of=/dev/block/mmcblk0p12

(Make sure your sdcard is mounted.)

/!\ Be careful:
If you enter the wrong partition number you may have a brick.
For other devices than the M8, the partition number may be different.

-Jobo