1

Don't remove this question please, it was previously removed from a programming board and I don't know where else to ask.

What is a logo partition and what is the format of it?

The header of the 8Mb partition:

00000000   88 16 88 58  C2 8A 0A 00  ...X....
00000008   4C 4F 47 4F  00 00 00 00  LOGO....

I guess it is a bootscreen picture, right ? What is the format of this image ?

1

1. What is “logo” partition on a lenovo phone?

The logo partition (based on my experience with Mediatek devices) contains :

  • The very first boot logo (not the Boot Animation)
  • Battery Charging Sequences (many png images).
  • Second boot logo (boot_logo file).
  • Battery charging digits and percentage sign (each digit or sign has its own image).
  • (For devices supporting Fast Charge) Fast charging sequences (many png images)

2. I guess it is a bootscreen picture, right ?

Not the boot logo only, It contains many images.

3. What is the format of this image ?

Not one image only, all of them are PNG files.

4. Additional details

88 16 88 58 is the partition offset.

C2 8A 0A 00 is the partition size, this is little endian byte order.

4C 4F 47 4F is the partition name.

I can't confirm if this is Mediatek specific or not.

Mediatek MT65xx/MT67xx Logo Editor

If you wish to change the very first boot logo (not the boot animation) of your device based on MT65xx/MT67xx platforms. Try LogoBuilder.

LogoBuilder can unpack and repack your logo.bin file which contains :

  • Boot logo
  • Battery Charging Sequences.
  • Second boot logo (boot_logo file).

LogoBuilder is simple to use:

  • Unpack your logo.bin file.
  • Edit what you want.
  • Re-pack it.

The LogoBuilder can make an update.zip to flash your new logo.bin file with a custom recovery.

Edit:

  • Nice! Is there a specification or source code of the such "logobuilder" ? Where is the first byte address and "png" metadata located ? Because I don't see there any recognizable png headers inside... – L.Integra Feb 26 '18 at 12:44
  • You don't see them because the file is packed/encrypted, how to unpack it ask the developer. – M. Abdelhafid Feb 26 '18 at 13:20
  • But "ask the developer" does not answer the question what the format of the partition is :) – L.Integra Feb 26 '18 at 13:22
  • You could edit your question or start another thread with the title "How logo.bin is packed / encrypted in MTK phones" – M. Abdelhafid Feb 26 '18 at 13:24
  • why another ? all that you said - just commented on the very obvious data in the header . I have to copy paste my question again .. can you please remove your answer ? – L.Integra Feb 26 '18 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.