Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[GUIDE] How to Create Custom Boot Logo (splash.img) for Snapdragon Devices

$
0
0
What is splash.img ?
splash.img is the raw file in which the boot logo (splash screen - the picture displayed when the device is booted) is stored.
It is stored under the partition: /dev/block/bootdevice/by-name/splash in many devices (might vary for devices)

How can I know if my device uses splash.img ?
This splash.img is found mostly in Snapdragon devices (atleast as far as I have seen).
To check if your device uses it, just go to the directory '/dev/block/bootdevice/by-name/' and see if there's a partition block named 'splash'.
Or else you can also check your stock ROM (or stock firmware) to see if it contains the splash.img ..

Where should I get the stock splash.img from?
It can be dumped to your storage by the command:
Code:

su
dd if=/dev/block/bootdevice/by-name/splash of=/sdcard/splash.img

(You may also find it in your factory images (stock ROM))

How do I edit/modify/create the splash.img ?
(It's a quite lengthy process, I'll explain it in detail soon..)
As of now, you can reply in this thread by attaching your splash.img (along with device name) so that I can see what format it is and I'll create a tool for your device.

DEVICES SUPPORTED as of now:
(Do not use the tool created for some other devices in your device, it may brick your device)

Type 1 splash.img: (RAW RGB24 format)
Type 2 splash.img: (RLE encoded RAW RGB24 format)
Type 3 splash.img: (CM-SPLASH based)
Quote:

Lenovo Zuk Z1
Wileyfox Storm
Wileyfox Swift
Yu Yuphoria, Yunique & Yutopia
(thanks to makers_mark who helped me do this, and which was also inspired from her tool RLimager tool)

What about Mediatek devices ?
For MTK devices, you might have a different partition for that called 'logo'.
Browse in /dev directory to find out where that is present.
After you have found out, dump the logo.bin file by:
Code:

dd if=/<the_directory_where_logo_is_present>/logo of=/sdcard/logo.bin
Now you can edit the logo.bin using this tool:
Changing Boot Logo (logo.bin) Program

After editing, you can reflash it by:
Code:

dd if=/sdcard/logo.bin of=/<the_directory_where_logo_is_present>/logo

Hit the Thanks:good: button if you found this helpful.

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>