[I9305] boot.img Splash Screen

makers_mark

Senior Member
Sep 21, 2013
192
475
0
Kings Mountain
I did use 720x1280, so it is the correct size (the image have been been reszied for the forum)
Is there a certain way the mage should be saved (Index, RGB etc?)
Usually when you have your line length or resolution wrong; resulting in a double image, your image will be squished. But if your pixel format is not correct, you can wind up with a double image like you have, that is not skewed.

I think that your device is reading this as a rgb0 pixel format image, with rgb565 pixel format data (that you have given it). The difference in the two formats is- rgb0 is a 4 byte per pixel format whereas rgb565 is a 2 byte per pixel format. Hence the double image.

Using ffmpeg, you can simulate this. This just takes your initlogo png file and turns it into a raw file with pixel format rgb565. Then reads that file created as if it was in the pixel format rgb0. I did have to alter the resolution so ffmpeg wouldn't complain about the buffersize. I attached the image of the resulting png.
Code:
FFMPEG -i initlogo.png -f rawvideo -vcodec rawvideo -pix_fmt rgb565 -y initlogo_rgb565.raw
FFMPEG -f rawvideo -vcodec rawvideo -pix_fmt rgb0 -s 720x640 -i initlogo_rgb565.raw -y initlogo_rgb565_read_as_rgb0.png
You may also have an issue with your rle conversion also.

(The reason for the double image that is squished when you have your resolution jacked sideways is very different than your problem. That happens when once a line is drawn for the image, it doesn't go to the next line down and draw the next. It will draw it beside the previous line, then go down. So in essence lines 1 and 2 will be drawn side by side on line 1, then lines 3 and 4 will be drawn on line 2....squished and doubled)
 

Attachments

  • Like
Reactions: adilrenzu and djb77

FlyingPoo

Senior Member
Feb 11, 2011
81
27
48
Huntsville
www.biostormproductions.com
Hello.

I'm trying to customize the Boeffla Kernel (I9305 port) with a custom splash screen.

I've worked out that I need to use a initlogo.rle file at the root of the ramdisk, however I can't get the image to display properly.

I've atached two images, the first image is what the splash screen is supposed to look like, the second image is a photo of my phone showing how the image turns out.

Any assistance would be greatly appreciated
Have you tried saving the PNG without any compression "None/fast" out of photoshop?
If that doesn't work, try saving the image as a high resolution JPG then load it in Window paint and click save there.
 
  • Like
Reactions: djb77

mad-freaky

Member
Feb 25, 2014
15
2
0
Amsterdam
Hi Guys,

I might be really stupid here, but are you replacing the bootlogo (not sure if this is the same as the splashscreen) That says Galaxy S 3 (4G, since you use the i9305) ???

Because I have tried to change the bootlogo on the I9300 and I9305, but never got far, because I thought I would need to modify the sboot.bin, which is nearly impossible...
 

mad-freaky

Member
Feb 25, 2014
15
2
0
Amsterdam
Hi Guys,

I might be really stupid here, but are you replacing the bootlogo (not sure if this is the same as the splashscreen) That says Galaxy S 3 (4G, since you use the i9305) ???

Because I have tried to change the bootlogo on the I9300 and I9305, but never got far, because I thought I would need to modify the sboot.bin, which is nearly impossible...
 

saqibkhan

Senior Member
Sep 23, 2012
764
308
0
Thank you I might just do that :)
attach the kernel image for me here. let me try a custom image from my side and check !!

cuz I have added a Custom Boot Splash Screen (Xperia PLay) for my own personal Use and it works fine.. unless only the Resolution is wrong..
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone