FORUMS
Remove All Ads from XDA

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

827 posts
Thanks Meter: 1,393
 
Post Reply Email Thread
12th January 2020, 07:08 PM |#471  
Typhus_'s Avatar
Senior Member
Flag Lisbon
Thanks Meter: 546
 
Donate to Me
More
Quote:
Originally Posted by adeii

Stock/vanila Android rom or MIUI ? logo.img? oeminfo.img?

Android One...stock ROM.

None of those imgs exist.
13th January 2020, 09:29 AM |#472  
Senior Member
Flag Sajlent Hil
Thanks Meter: 66
 
More
Quote:
Originally Posted by ThePanToster

Hi
I've got Huawei P9 Lite (VNS-L21)

Tried, but can not find right resolution. It not uses fullscreen (1080 x 1920) but smaller, centralized HUAWEI pic. Does it use the same dimensions as bootanimation?
That splash.img is archive, that could be unpacked with 7zip! In cust.log there are interesting lines:
Code:
I:=================update logo=================
I:start update normal logo...
E:read mccmnc from oeminfo fail, so go on update normal logo!
I:real path:/system/emui/base
E:/cust_spec/logo/oemlogo.mbn is not exist
E:/version/region_comm/oversea/logo/oemlogo.mbn is not exist
E:/cust_comm/logo/oemlogo.mbn is not exist
E:/cust/hw/eu/logo/oemlogo.mbn is not exist
E:/cust/hw/normal/logo/oemlogo.mbn is not exist
E:/hw_oem/logo/oemlogo.mbn is not exist
I:logo file path = /product/etc/logo/oemlogo.mbn
I:this cust logo is new logo!
I:logo type is 351, the logo is the same.
I:logo type is 352, the logo is the same.
I:logo type is 353, the logo is the same.
I:Don't need to update logo!
I:update normal logo end.

I:start update charge logo...
I:real path:/system/emui/base
E:/cust_spec/logo/chargelogo.mbn is not exist
E:/version/region_comm/oversea/logo/chargelogo.mbn is not exist
E:/cust_comm/logo/chargelogo.mbn is not exist
E:/cust/hw/eu/logo/chargelogo.mbn is not exist
E:/cust/hw/normal/logo/chargelogo.mbn is not exist
E:/hw_oem/logo/chargelogo.mbn is not exist
E:/product/etc/logo/chargelogo.mbn is not exist
E:/vendor/etc/logo/chargelogo.mbn is not exist
E:/system/global/logo/chargelogo.mbn is not exist
E:/system/emui/lite/logo/chargelogo.mbn is not exist
E:/system/emui/oversea/logo/chargelogo.mbn is not exist
E:/system/emui/base/logo/chargelogo.mbn is not exist
E:Can not find any file in cfg
I:start check charge_logo logo path
I:/data/cust/logo/chargelogo.mbn logo NOT exist. this is normal and continue next!
!I:/cust/preinstalled/public/logo/chargelogo.mbn logo NOT exist. this is normal and continue next!
!I:/system/media/logo/chargelogo.mbn logo NOT exist. this is normal and continue next!
!E:all logo path NOT existI:charge logo path get FAIL. This is normal, if the charge logo don't need update!
I:update charge logo end.
I:--------------copy----------------
Look for file oemlogo.mbn in any of upper mentioned path. Or custom made oemlogo.mbn could be put in someone of these paths. Default is /system/emui/base. Or /product/etc/logo/oemlogo.mbn.
Funny thing is that /oeminfo partition is not part of full OTA package of stock ROM. Must be backed up before any changes, on every phone!
Attached Thumbnails
Click image for larger version

Name:	hp3.png
Views:	46
Size:	26.3 KB
ID:	4925651  
13th January 2020, 03:16 PM |#473  
Senior Member
Flag Sajlent Hil
Thanks Meter: 66
 
More
Quote:
Originally Posted by intel_outside

thanks for creating tool
device:ZTE nubia NX513J
file:https://mega.co.nz/#!oewGRYZL!05QJkm...EZxbmy0su8oFLc

If you got colorful NUBIA logo after flashing output\splash.img, tool works!
Attached Files
File Type: zip NUBIA.zip - [Click for QR Code] (11.33 MB, 2 views)
14th January 2020, 05:46 PM |#474  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by adeii

Look for file oemlogo.mbn in any of upper mentioned path.

I found oemlogo.mbn in /product/etc/logo
drive.google. com/open?id=10MTYsbRy1HTMTKbP3xASwfqDJVgog9LK

Quote:
Originally Posted by adeii

Or custom made oemlogo.mbn could be put in someone of these paths

Can I create a custom oemlogo.mbn file in some kind of graphics editor?
16th January 2020, 12:34 AM |#475  
Senior Member
Flag Sajlent Hil
Thanks Meter: 66
 
More
Quote:
Originally Posted by ThePanToster

I found oemlogo.mbn in /product/etc/logo

Yes! It is good file with 3 bitmaps, in RGB565 format with header before every bitmap/image.
oemlogo.mbn = header (.img) + pic1 (.bmp) + header2 + pic2 + header3 + pic3
File is cutted with any hex editor, where ascii text "BM" is start point of header of any BMP file.
File can be made/re-join by running MAKE-LOGO.bat, but maker for P9 Lite is not made yet...
Quote:
Originally Posted by ThePanToster

Can I create a custom oemlogo.mbn file in some kind of graphics editor?

Yes, but not today. Site rawpixels.net shows that pic1/2/3.bmp got best views as 1080x1920, rgb565, rgba, 16bit bitmaps.
Paint.Net with rgb565 plugin is not doing good, saves bitmap, but is not readable with image viewers.
GIMP also can export picture as BMP, 16bit, R5 G6 R5, but file size is different for about 20bytes than original.
FFMPEG often can be used for converting from/to bmp, png, rgb24, rgb565....but also something is wrong.
Try to edit those bmps in package for your custom oemlogo and I will see what I can do next to complete logo maker.
Hm, PhotoShop maybe can save bitmaps as bmp, rgb565, 16 bit.
Attached Files
File Type: 7z P9L.7z - [Click for QR Code] (116.2 KB, 4 views)
16th January 2020, 03:44 PM |#476  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by adeii

Try all 3 oemlogo.mbn in p9loemlogo.7z, if any work.

Each one of them is mirrored and upside down
First:

Fullmod:

Repack:
16th January 2020, 06:11 PM |#477  
Senior Member
Flag Sajlent Hil
Thanks Meter: 66
 
More
Quote:
Originally Posted by ThePanToster

Each one of them is mirrored and upside down

Good side is that all works (colors are good, no blackscreen nor bootloop).
This should works!
01-B2P (bmp2png), edit png or made yours 1080x1920, 02-P2B (png2bmp, rotate CW, V-flip, rotate CCW), 03-MakeLogo to join all the parts into oemlogo.mbn.
16th January 2020, 11:31 PM |#478  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by adeii

This should works!

It's not mirrored, but still upside down
Yesterday, 01:52 AM |#479  
Senior Member
Flag Sajlent Hil
Thanks Meter: 66
 
More
Quote:
Originally Posted by ThePanToster

It's not mirrored, but still upside down

How about now? (rotate CW, V-flip, rotate CW)
Attached Files
File Type: zip P9L-OEMLogoMaker.zip - [Click for QR Code] (10.43 MB, 4 views)
Yesterday, 03:36 AM |#480  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by adeii

How about now? (rotate CW, V-flip, rotate CW)

It's good!
Maybe not perfectly centered, but it works
The Following User Says Thank You to ThePanToster For This Useful Post: [ View ] Gift ThePanToster Ad-Free
Post Reply Subscribe to Thread

Tags
boot logo, bootlogo, change bootlogo, extract bootlogo, extract splash.img

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes