[I9305] boot.img Splash Screen

djb77

Recognized Developer / Contributor
Oct 2, 2011
3,093
7,354
0
43
NSW
github.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
 

Attachments

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
That typically happens when you're using the wrong size to convert the image. Make sure you're using 720x1280 and not any other resolution
 

djb77

Recognized Developer / Contributor
Oct 2, 2011
3,093
7,354
0
43
NSW
github.com
That typically happens when you're using the wrong size to convert the image. Make sure you're using 720x1280 and not any other resolution
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?)
 

djb77

Recognized Developer / Contributor
Oct 2, 2011
3,093
7,354
0
43
NSW
github.com
I'll need to check it at home... but i suspect the rle might be badly encoded.

How did you make it by the way?
Using a PNG to RLE converter that I found on XDA. I dare say that somehting was encoded bad for this to happen.
If I knew exactly how it was to be encoded (or had the right encoder) I would be right hopefully.

It's just that I would probably want to create more splashes in the future, and even though I'd be grateful if this file was fixed, I'd also like to know how to make them properly in future
 

djb77

Recognized Developer / Contributor
Oct 2, 2011
3,093
7,354
0
43
NSW
github.com
Here lies the catch: RLE is a means of encoding anything.

IF my memory doesn't fail me, you need a RAW file encoded in RLE. Now, you might need a RGB565 RAW file...

Take a look: http://forum.xda-developers.com/showthread.php?t=1516711
Still seem to be having the same issues.
Is it possible since there was no initlogo.rle there that it isn't properly supported by the kernel?
I know that it does show something when I put one there, but maybe there's something that needs adding to show it properly.
 

daedric

Senior Member
Dec 24, 2006
2,204
456
163
Porto
I've been digging the source code looking for logo loading code... and i suspect we MIGHT be missing something, i'm failing to find this instruction: load_565rle_image
 

djb77

Recognized Developer / Contributor
Oct 2, 2011
3,093
7,354
0
43
NSW
github.com
I've been digging the source code looking for logo loading code... and i suspect we MIGHT be missing something, i'm failing to find this instruction: load_565rle_image
So it might not support that format at all by stock. It's weird how it does read that file though.
 
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