[GUIDE] How to Change Boot Logo (Splash Screen) for Snapdragon Devices (splash.img)

Search This thread

vexa

Senior Member
Sep 16, 2013
158
224
Denpasar, Bali
Sorry to hear that. One of last attempts to hack splashscreen.
This is stock splash with changed few bytes, looks the same, maybe some dots are wrong, but does it boot right?

UPDATE: Finally figured out splash image structure.
16kb header, 4 BMP with different resolutions and sizes, wasted rest.
Locked splash - 1080x2160, Fastboot - 1080x1920, System destroyed - 1080x2160, Unlocked splash - 1080x2160.
Try RN7SplashMod.

hey, both are booted just fine and I don't see any difference between these two. is that normal?
 
  • Like
Reactions: adeii

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
hey, both are booted just fine and I don't see any difference between these two. is that normal?
Finally! Redmi Note 7 Splash Maker is done!
Your splash and flashable splash are in output folder.
Unpacked maker is about 444 MB, there are few splash screen (Redmi, Mi, Android One Black/White, Google).
 

Attachments

  • Xiaomi_Redmi_Note7_SplashMaker.zip
    18.1 MB · Views: 108
Last edited:

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
Well is the proces too different for other devices?
I just wanna learn how to do it for probably any device .
Anyways, the device is Nokia 6 (PL2)
Depends on device. Common is to extract BMP, RGB24 or RGB565 picture, cut and preserve part of file before (if not on start address 0h) called header and cut remain part of file or files (if splash more pictures for fastboot, system corruption, unlocked BL, download mode etc).
HxD is handy, free hex editor that can cut off and paste part as new file.
1) Found some Nokia 6.1 /FP2 splash.img eg. this post
2) Find resolution of FP2 eg. here 1080x1920
3) Check splash.img on eg. rawpixels.net for same resolution to check format.
4) For 1080x1920, vert flip, rgb24 I got this splash.
5) For 1080x12000 I got no more images, so I could say that FP2 splash has single image splash.
6) According to last experience, no need to verticaly flip splash RGB24 image, it is BMP image. Find first two bytes of BMP image, in splash.img, they are "BM", case sensitive. And it is interesting, on 0x4000h, just like on Redmi Note 7. So, cut part 0x0h to 0x3FFF as splash-header.img ...to be continued.

---------- Post added at 11:44 PM ---------- Previous post was at 11:23 PM ----------

...part 2.
BMP 1080x1920x24bit should take about 1080*1920*3 bytes ~ 6220800 bytes for splash image (to cut off from [image.img - 16 kb header.img] ).
Than join header.img + your new splash image in BMP format + appendix.img :) with copy /b h.img+s.bmp+a.img.
Now it tricky to find right size to cut off.
Fastboot image on Redmi Note 7 takes size 6221610 bytes, (size, not size on disk value). Empty black BMP made in paint takes 6220854 bytes.
You can make own BMP or use any picture (png, jpg, gif, bmp), same or bigger and 1080x1920 and use almost the same script with magickimage to make BMP and join files to splash.img.
Even make flashable zip, if you know name (splash, logo, oemlogo etc) or partition number of splash. (eg. mmcblk0pX).

UPDATE1: Open bmp+appendix.img in Paint or GIMP or PS or something and save it as *.bmp.
Lucky, files are the same size. No appendix part :) But image is 1080x2280. Let's try it that way first.
If not works, cut off bottom part of BMP (2280-1920) and save it. And difference is empty appendix.img.

UPDATE2: So, one of these two white Android One splashes should work on Nokia 6.1, differences on size are 2 bytes.
What is interesting in Nokia 6.1 - there is additional /splash2 partition for "multi-splash-img" (unpack it, 25kb, with Universal Extract 2.0...as GZIP, using mtee.exe) and
you will got "600CN.img.FHD" 7,1 MB which also has BMP image 1080x2280 inside from 0x4000h till end.
But how to compress it back to multi-splash-img ?! Compressing *.FHD is gzip not working, unless you cut the first 10 bytes (1F 8B 08 08 BE 77 56 5D 02 00), now multi-splash-modded.img starts with 600CN....
 

Attachments

  • N61-FP2.7z
    24.3 KB · Views: 26
  • multi-splash-modd.img
    25.5 KB · Views: 10
Last edited:
  • Like
Reactions: AndroBuddy007

mechtifs

Member
Feb 3, 2017
20
0
Hi there, I'm using Sony Xperia X Compact. The splash.img is attached below. Thank you:)
Edit: I opened the image in hex editor and it showed up full of 0s. My device is rooted and I used dd to extract image and it seemed nothing was wrong:(
 

Attachments

  • splash.img.zip
    11.1 KB · Views: 5
Last edited:

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
Hi there, I'm using Sony Xperia X Compact. The splash.img is attached below. Thank you:)
Edit: I opened the image in hex editor and it showed up full of 0s. My device is rooted and I used dd to extract image and it seemed nothing was wrong:(
Is there /splash partition or /logo or /oem or /oeminfo, according to this fstab ?!
Partition table is not full. What is listed in terminal if you run: su and mount ?!
 
Last edited:

Taufiqz

Member
Mar 26, 2018
13
0
Sir my handset is redmi 6pro unfortunately i had flash redmi note 5 pro's splash logo nw it shows black can u make me a tool or give me a stock splash for my phone
 

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
Sir my handset is redmi 6pro
This is modded Redmi 5 Note splash maker. Redmi 6 Pro uses 1080x2280, 1kb header and 4 RLE images.
Stock splash is from MIUI 10.3.20 Global rom. It is splitted to header.img and splashrest.img
You can extract 4 images from Splashrest.img with extract_logo.bat
You can make output/splashRedMi6Pro.img from 3 Redmi 5 Note images (logounlocked is reprised logo.png) 1080x2160.
Hope it will work.
 

Attachments

  • XRm6pro.zip
    10.5 MB · Views: 50
  • Like
Reactions: artroeb89

m19u31

New member
May 11, 2018
3
1
Hello!
device: redmi note 5a prime (ugg)
original splash: drive google com/open?id=1Bdg7FBMRqr-PwfrHdgchCICJHBhFGUYT
 

vexa

Senior Member
Sep 16, 2013
158
224
Denpasar, Bali
Finally! Redmi Note 7 Splash Maker is done!
Your splash and flashable splash are in output folder.
Unpacked maker is about 444 MB, there are few splash screen (Redmi, Mi, Android One Black/White, Google).

hey, sorry for the late reply...
I really appreciate all the effort, thanks mate.

but still, I failed to install any of the splash in the zip. CMD says "volume full"
Untitled-1.jpg

also I found out that the modified splash is 1 byte larger than the original.
Untitled-1.png

BTW, I found some working splash for RN7 after digging on some telegram / facebook groups, but I can't find the original creator.
Stok+No_Unlocked is just stock splash without the locked / unlocked status
splashG is a "G" logo but the fastboot logo is missing in this zip.

I'm getting really confuse here because all these working splashes has totally different size :silly:
 

Attachments

  • flashable_splash-Stok+No_Unlocked.zip
    696.8 KB · Views: 14
  • SplashG.zip
    367.7 KB · Views: 10

maruashok

Senior Member
Feb 21, 2015
85
22
i have redmi note 4 mido and i have splash.img,
i want to extract it, actually i need some images from that splash and want to create my own,
i can create new splash with your tool but i want to extract existing splash, please help me how to do it.
 

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
i have redmi note 4 mido and i have splash.img,
i want to extract it, actually i need some images from that splash and want to create my own,
i can create new splash with your tool but i want to extract existing splash, please help me how to do it.
You had to cut off 1kb or 16kb from start of splash.img, rest would be 3 or 4 BMP images (splash, fastboot, unlocked bootloader splash and system failure). Just cut rest to few files, edit those BMP and join all files.
 

maruashok

Senior Member
Feb 21, 2015
85
22
You had to cut off 1kb or 16kb from start of splash.img, rest would be 3 or 4 BMP images (splash, fastboot, unlocked bootloader splash and system failure). Just cut rest to few files, edit those BMP and join all files.

and how to do this ?
i am programmer and know basic python, will you please help me.

i tried this from google
ffmpeg -hide_banner -f rawvideo -vcodec rawvideo -pix_fmt bgr24 -skip_initial_bytes 1024 -s 1080x1920 -i splash.img -vframes 1 -y output_splash.png
Source : https://forum.fairphone.com/t/fp2-change-splash-image-splash-img/29758
 
Last edited:

adeii

Senior Member
Nov 11, 2013
413
93
Sajlent Hil
and how to do this ?
i am programmer and know basic python, will you please help me.

i tried this from google
ffmpeg -hide_banner -f rawvideo -vcodec rawvideo -pix_fmt bgr24 -skip_initial_bytes 1024 -s 1080x1920 -i splash.img -vframes 1 -y output_splash.png
Source : https://forum.fairphone.com/t/fp2-change-splash-image-splash-img/29758
RGB24,RGB565 formats could be found at Samsung, Huawei, FairPhone etc. Xiaomi puts 3 or 4 BMPs as part of splash.img. In your case (mido) uses 2 RLE24 pictures and 1kb header.
There are already splash maker for mido: redmi-note-4-splash.
If you delete/comment line 48 in create-logo.bat, like ":: del /Q temp\* 2>NUL", you could see those two RLE24s named as logo.img and fastboot.img. Resolution is 1080x1920.
In this case Python 2.7 is used to convert custom png to rle24.

Modded Redmi 6 to Redmi Note 4x logo changer
 

Attachments

  • XRN4X.zip
    10.7 MB · Views: 5
Last edited:

moose m79

Member
Jun 11, 2009
21
0
emory
splash BMP a31 device

I have a egq307 ematic tablet running a rooted 4.2.2 ROM and I've changed the boot animation manually using es file explorer but am a noob and don't want to brick it changing the splash.BMP. I've gained root access to the boot loader and copied its files may I replace the factory BMP image with my own 1280x600 BMP image?
 

Attachments

  • Screenshot_2019-09-24-20-28-47.png
    Screenshot_2019-09-24-20-28-47.png
    33.4 KB · Views: 146
  • Screenshot_2019-09-24-20-28-39.png
    Screenshot_2019-09-24-20-28-39.png
    163.5 KB · Views: 144
  • Screenshot_2019-09-24-20-28-28.png
    Screenshot_2019-09-24-20-28-28.png
    153.4 KB · Views: 146

Top Liked Posts