Splash image partition format (8110 4G and probably other 240x320 KaiOS phones)

138 views
Skip to first unread message

Luxferre

unread,
Jan 11, 2019, 8:15:45 AM1/11/19
to comp.mobile.nokia.8110
OK, I finally got the format of the splash partition (the one that displays 'Powered by KaiOS' by default), it's quite simple, I think this can be given away for now how to create it without obscure scripts (duplicating from Discord channel):

  • First 8 bytes (0 to 7): SPLASH!! (or 53 50 4C 41 53 48 21 21 in hex)
  • Bytes 8 to 11: 32-bit width, little-endian (for 8110: f0 00 00 00, equals to 240)
  • Bytes 12 to 15: 32-bit height, little-endian (for 8110: 40 01 00 00, equals to 320)
  • Bytes 16 to 19: 32-bit image type, little-endian (for 8110: 00 00 00 00)
  • Bytes 20 to 23: 32-bit 512-block count, little endian (for 8110: 2c 01 00 00, equals to 240x320x2/512 = 300)
  • Next 488 bytes: zero-filled
  • Bytes from 512: raw 16-bit image data in BGR565LE format

The ready-made header file (logohdr.bin) is attached.

The BGR565LE images can be created from PNG with this command:

ffmpeg -vcodec png -i input_logo.png -vcodec rawvideo -f rawvideo -pix_fmt bgr565 -s 240x320 -y bgr_logo.bin

Then just use cat to join the header:

cat logohdr.bin bgrlogo.bin > splash.img

And the image can then be overwritten to splash partition.

Enjoy!
logohdr.bin

speeduploop

unread,
Jan 11, 2019, 8:33:37 AM1/11/19
to comp.mobile.nokia.8110
The Nokia 8110 seems to be able to render animations --> https://garbsch.eu/posts/updating-bootlogo-and-bootanimation-for-nokia-8110-4g/

Luxferre

unread,
Jan 11, 2019, 8:36:23 AM1/11/19
to comp.mobile.nokia.8110
Bootanimation.zip is another story. This guide is for the initial kernel splash screen which must be static.

PuriShnit

unread,
Jan 11, 2019, 9:04:10 AM1/11/19
to comp.mobile.nokia.8110

Bootanimation.zip can easily be customized. --> standard Android bootanimation...

(.zip must not be compressed at all, otherwise won't work).

Dhruv Sharma

unread,
Jan 19, 2019, 7:40:21 AM1/19/19
to comp.mobile.nokia.8110
For updating the bootanimation, can I simply replace bootanimation.zip?

Nayam Amarshe

unread,
Jan 19, 2019, 2:35:46 PM1/19/19
to comp.mobile.nokia.8110
Great work!

speeduploop

unread,
Jan 21, 2019, 9:27:37 PM1/21/19
to comp.mobile.nokia.8110

...had to link it here...
;)

Dhruv Sharma

unread,
Jan 24, 2019, 7:37:42 AM1/24/19
to comp.mobile.nokia.8110
 How do I overwrite the splash partition?

PuriShnit

unread,
Jan 24, 2019, 8:50:31 AM1/24/19
to comp.mobile.nokia.8110

With 'dd' command.

Is your phone rooted, or you have recovery with test-keys?

On 24 January 2019 12:37:45 pm Dhruv Sharma <dhruv.sh...@gmail.com> wrote:

 How do I overwrite the splash partition?

--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.
To post to this group, send email to banana...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bananahackers/39a1368e-8954-4790-a83b-a05ab4b035c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dhruv Sharma

unread,
Jan 24, 2019, 9:40:25 AM1/24/19
to comp.mobile.nokia.8110
My phone is rooted


On Thursday, January 24, 2019 at 7:20:31 PM UTC+5:30, PuriShnit wrote:

With 'dd' command.

Is your phone rooted, or you have recovery with test-keys?

On 24 January 2019 12:37:45 pm Dhruv Sharma <dhruv.sh...@gmail.com> wrote:

 How do I overwrite the splash partition?

--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahackers+unsubscribe@googlegroups.com.

Dhruv Sharma

unread,
Jan 24, 2019, 9:57:08 AM1/24/19
to comp.mobile.nokia.8110
Can someone help me? I have the splash.img partition ready. I do not know how to overwrite it on my rooted device.

PuriShnit

unread,
Jan 24, 2019, 10:09:43 AM1/24/19
to comp.mobile.nokia.8110

So copy the splash.img to your SD card & insert in the phone.

Or push with adb to /data/local/tmp/

Then, (example if placed in the root of your SD card):

adb shell
busybox telnet localhost
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
reboot

Now you should see your phone booting with your custom splash screen...

Enjoy!

On 24 January 2019 2:57:09 pm Dhruv Sharma <dhruv.sh...@gmail.com> wrote:

Can someone help me? I have the splash.img partition ready. I do not know how to overwrite it on my rooted device.

--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahacker...@googlegroups.com.

To post to this group, send email to banana...@googlegroups.com.

Dhruv Sharma

unread,
Jan 24, 2019, 10:33:35 AM1/24/19
to comp.mobile.nokia.8110
Thanks it worked


On Thursday, January 24, 2019 at 8:39:43 PM UTC+5:30, PuriShnit wrote:

So copy the splash.img to your SD card & insert in the phone.

Or push with adb to /data/local/tmp/

Then, (example if placed in the root of your SD card):

adb shell
busybox telnet localhost
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
reboot

Now you should see your phone booting with your custom splash screen...

Enjoy!

On 24 January 2019 2:57:09 pm Dhruv Sharma <dhruv.sh...@gmail.com> wrote:

Can someone help me? I have the splash.img partition ready. I do not know how to overwrite it on my rooted device.

--
You received this message because you are subscribed to the Google Groups "comp.mobile.nokia.8110" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bananahackers+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages