Mi 9 Splash / Boot Image creation script. - Xiaomi Mi 9 Themes, Apps, and Mods

Rainy Sunday so I thought i would change the dull boot splash screen of my new MI 9.
Usage is easy enough (provided you have python installed)
The MI9 Logo.img contains 4 images in BMP format.
1. The regular LOCKED boot screen
2. The Fastboot screen.
3. The UNLOCKED boot screen.
4. The screen you hope you will never see...System destroyed.
Image dimensions MUST be in 1080x1920 format BMP 24Bit. (Check to see if your file size of each individual picture is 6.2MB when you create one.)
During boot Xiaomi displays picture 1 and if unlocked, then picture 3. So if you want a consistent appearance you have to have both set to the same picture.
The python script is about as simple as it gets. The only annoying thing was to find the proper offsets for the MI9.
Replace the images with the new ones that you would like displayed..and you are ready to run the script.
Usage of the python script would be : python mi9_logo.py and thats it. (Of course this all depends on your environment)
Once the script is done you should see a file called : logo_new_mi9.img in the directory.
This one you can simply flash via fastboot.
Command is like this : fastboot flash logo logo_new_mi9.img
followed by : fastboot reboot
Hope someone will find this post helpful.
Cheers
Nicolas
Edit : New python script

Super cool!
Time to replace that "unlocked" text at the bottom with something else more desirable!

Tacticle dot (.)
Sent from my MI 9 using Tapatalk

Thank you! :good:

Amazing! yesterday I was just wondering how could I change this!
One question: please take a look at the Mi 9 boot: with your tool we can edit the really first static image (the one before the powered by android animation comes in), right?
So to sum it up, the android boot works like this:
Bootloader locked: static image (Mi mi.com) -> animation (Mi mi.com powered by android) -> lock screen
Bootloader unlocked: static image (Mi mi.com ? unlocked) -> animation (Mi mi.com powered by android) -> lock screen
Am I right?
Sorry if this can seem redundant but I'd like to understand how things work and this will be surely helpful for others.

If your bootloader is locked you will only see image 1 > boot animation from /media.
If your bootloader is unlocked you will see image 1 followed by image 3 > boot animation from /media.
As I said before, if you want a consistent image displayed with an unlocked bootloader you need to set picture 1 and 3.
That is why the images are labeled pic1.bmp , pic2.bmp , pic3.bmp and pic4.bmp.
Change pic1.bmp and pic3.bmp for unlocked bootloader...
Hope that clarifies it a little bit.

Thank you now this is very clear.
Any chance you know how to extract these 4 (pic1... pic.bmp) original files from the Mi 9?
Maybe these could be useful (from my Mi 9):
logo /dev/block/sde47
splash /dev/block/sda21

Logo extraction via hex editor...
Well it is easy enough using a hex editor or if you feel really bored, write a python script for it. I did not bother with writing a script since i only needed the originals from my MI9 once..so i did it manually.
Anyways... I took the logo.img from the original global rom zip file.
You can extract them from you currently running system via
su dd if=/dev/block/bootdevice/by-name/splash of=/sdcard/splash.img
(Splash dump was completely empty for me so i do not know what is supposed to be in there)
su dd if=/dev/block/bootdevice/by-name/logo of=/sdcard/logo.img
Once you have those you just open the logo.img in a hex editor and go to offset $4000
There you will find the logo identifier "LOGO!!!!" text followed by the offsets for the individual pictures.
Best seen in the snippet of the python script
offset0 = 0x4000 Logo ID
offset1 = 0x5000 First Image start offset
offset2 = 0x5f4000 Second Image start offset
offset3 = 0xBE3000 Third Image start offset
offset4 = 0x11D2000 Fourth Image start offset
outpt = open("logo_new_mi9.img", "wb") Create the new logo.img
emptyContent = [0 for i in range(0x17c1000)] Just to make sure we have all 0's
mi9offset = [0x4C, 0x4F, 0x47, 0x4F, 0x21, 0x21, 0x21, 0x21, 0x05, 0x00, 0x00, 0x00,
0xEf, 0x05, 0x00, 0x00, 0xF4, 0x05, 0x00, 0x00, 0xEF, 0x05, 0x00, 0x00,
0xE3, 0x0B, 0x00, 0x00, 0xEF, 0x05, 0x00, 0x00, 0xD2, 0x11, 0x00, 0x00,
0xEf, 0x05]
mi9 offset is the interesting part
this contains the text LOGO!!!! in hex 0x4C, 0x4F, 0x47, 0x4F, 0x21, 0x21, 0x21, 0x21
followed by the offset for the first picture and its length.. 2 words length in little endian
meaning 0x05,0x00,0x00,0x00 becomes $5000 aka...first picture start
0xF4,0x05,0x00,0x00 becomes $05f4000 = size of picture in bytes
0xF4,0x05,0x00,0x00 becomes $005f4000 = offset start of picture 2
This process repeats until we reach picture 4.
Since we are dealing with BMP images you could just search the file for occurrences of "BM" which indicated the BMP header.
Simple copy and paste from beginning of one BM header to the next will give you the original BMP.
As I said..I only wanted the original logos once...so i was way to lazy to write the python for it, even tho it is quick.
Nicolas

SirTAVARES said:
Remove Unlocked boot Logo (via fastboot) - https://drive.google.com/open?id=1iBrH7bg73i-2StF7kYvxH-T27HzQ-s9E
Click to expand...
Click to collapse
Thank you

I've made a custom splash logo showing the specs of the phone in an 8-bit style.
Here's the img file

Unfortunately it won't stick after updates. And won't take the time to do it every update at the PC.
Thanks for this gimmick though.

Can someone make one with the Google logo in white same as on the pixel devices?
Maybe the files in this thread will help.

Extracted from a Pixel 3 XL, here are the original Google bootscreen ported for our Xiaomi Mi 9!
I adapted them to 1080x1920 and, as a bonus, there is also the Android Q version with a black background. The horizontal ratio (splashx:screenx) is the same as the Pixel 3 XL.
Hope you have fun!
If you run Pixel Experience on the Mi 9, please please make a video of the Mi 9 booting with this bootscreen and the Pixel Experience bootanimation!

*justintime* said:
Unfortunately it won't stick after updates. And won't take the time to do it every update at the PC.
Thanks for this gimmick though.
Click to expand...
Click to collapse
Well not that it takes long in the first place.
Since i am not using OTA or whatever and i flash my updates manually I do not really see this as a downside. :good:

Works great! Had this on my old Mi6 and now on Mi9 as well ) Also I think it's possible to flash the logo in TWRP (the chinese one that lists all partitions)? So I could keep flashing the img after every update without having to connect to a PC.

Yankarin said:
Extracted from a Pixel 3 XL, here are the original Google bootscreen ported for our Xiaomi Mi 9!
I adapted them to 1080x1920 and, as a bonus, there is also the Android Q version with a black background. The horizontal ratio (splashx:screenx) is the same as the Pixel 3 XL.
Hope you have fun!
If you run Pixel Experience on the Mi 9, please please make a video of the Mi 9 booting with this bootscreen and the Pixel Experience bootanimation!
Click to expand...
Click to collapse
Here is the logo with your images... on PE latest build. Black is great!
White
Black

@Nicolas72 Is it also possible to create a 1080*2340 boot-logo? Thank you very much for your great work!

lukigoes said:
@Nicolas72 Is it also possible to create a 1080*2340 boot-logo? Thank you very much for your great work!
Click to expand...
Click to collapse
Not quite sure, could be that the boot process only supports 1080x1920..since this is the size of the original one.
Creating it should not be a problem but the offsets need to be recalculated.
I will upload a new script for that size probably tomorrow. So you can try at your own risk hehehe.
(It will not explode or anything thats for sure)
Nicolas

Nicolas72 said:
Not quite sure, could be that the boot process only supports 1080x1920..since this is the size of the original one.
Creating it should not be a problem but the offsets need to be recalculated.
I will upload a new script for that size probably tomorrow. So you can try at your own risk hehehe.
(It will not explode or anything thats for sure)
Nicolas
Click to expand...
Click to collapse
That would be really great, thank you very much in advance. If it works I surely will share my design.

lukigoes said:
That would be really great, thank you very much in advance. If it works I surely will share my design.
Click to expand...
Click to collapse
Changed the offsets. Works for me. 1080x2340 display.
enjoy
Nicolas

Related

Custom Splashscreens, and watermarking your HD2

Changing the splashscreen for your own.
Splashscreens. We all hate the operator splashscreens, and some of us like to have our own custom ones.
The process is simple.
1 - create your image, 480 x 800 as a 24 bit bmp.
The process fails if the bmp isn't 24bit.
In photoshop, choose save as BMP, and if it only gives you the option of 8 bit colour, then cancel out of the save, click Image - Mode - RGB Colour. (index colour gives 8 bit BMP)
2 - get nbimg-1.1win32.zip from THIS thread and extract it to a folder with your BMP image.
3 - With nbimg.exe and your bmp in the same folder, open up a command prompt** in that folder, and issue the command
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x600 -S 64 -D PB8110000
This will create nameofphoto.bmp.nbh which you flash using customruu.exe, just like flashing a rom or radio.
This splashscreen will show for the first 12 - 14 seconds, up to the point where the animation splash starts. (Which is part of teh rom, and nothing to do with this).
This new splashscreen will stay until you flash either a new one yourself, or a stock rom, which will return it to stock, or some custom roms also include custom splash screens.
The point is, it's as easy to get rid of them as it is to flash them.
**To open a command prompt in the currently viewed explorer folder in vista/7, you can press shift and right click in the folder window, which will give you the option to 'open command window here', , , , which is handy.
---------------------------------------
Watermarking your Leo
in the command
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x600 -S 64 -D PB8110000
the 0x600 refers to the memory location where the splash screen is written.
It turns out that you can also flash splashscreens to 0x601 with the same command as above, but 0x601 instead of 0x600
nbimg -p 18400 -w 480 -h 800 -F nameofphoto.bmp -T 0x601 -S 64 -D PB8110000
The splash at 0x600 would show when the phone first comes on, but then change to the 0x601 splash when the RGD info appears, until the animation starts.
The usefulness really comes in when you flash a stock rom, because this second splash isn't removed, (Tested with tmous 2.13 and O2 uk stock roms), so even if your thief has enough skill to know about flashing to wipe all trace, the second splash will remain.
Mine has a 'reward if found' message with contact details, and an image of me, with a warning to potential buyers that it's stolen if the seller isn't me, hehe
Also, remember the second splash screen uses the same memory space as magldr so DONT flash a secondaryscreen unless you are okay with removing magldr.
Brilliant!
Samsamuel, the watermark is a superb idea!
Now, as my photoshop/DTP skills are rudimentary at best, would you consider posting your watermark file, & I think I could just about manage to edit it for myself.
Thanks a lot if you do, and I understand if you don't want to.
thanks sam, some useful info there!
ebeam said:
Samsamuel, the watermark is a superb idea!
Now, as my photoshop/DTP skills are rudimentary at best, would you consider posting your watermark file, & I think I could just about manage to edit it for myself.
Thanks a lot if you do, and I understand if you don't want to.
Click to expand...
Click to collapse
well, the file i flash has my info on it, so is no good to you.
Whatever editing software you use, just make sure 'mode' is set to 'RGB' and not 'indexed colour' and it should save as 24bit.
Ive attached a blank 24 bit bmp of teh right size, but when you edit it, (for example in photoshop) you will still possibly get mode changes as layers get added by photoshop, so you still need to be aware what pops up when you hit save.
conantroutman said:
thanks sam, some useful info there!
Click to expand...
Click to collapse
Welcome.
The only way to revert the second-level splash screen to stock is by flashing the picture that was originally there. It takes a while to find these stock images, which you then have to turn into an .nbh file, and in some cases, you would be forced to recreate the image.
However, the first-level splash screen is usually the same as the second-level splash. In this case, just find a stock [first-level] .nbh, convert the .nbh into a .bmp (there are utilities here on XDA), then convert the .bmp into a .nbh using the "watermark" method.
--------------
I attached the stock T-Mo USA second-level splash screen and the stock WWE HD2 second-level splash screen here.
@samsamuel, feel free to link those 2 splash screens in the first post.
thanks for the input. its kinda what i expected, though i don't believe the official roms ever contained a level two splash, because otherwise when (i, we, you) flashed a level 1 screen, level two would still show and it doesn't.(on a phonethat hasn't had a custom level 2 splash added)
i've tested with several stock roms now, and my second splash never gets removed.
however you have hit on what i would do in the event of returning it, which is apply the stock screen to both 1 and 2 so it looks like a single splash.
samsamuel said:
well, the file i flash has my info on it, so is no good to you.
Whatever editing software you use, just make sure 'mode' is set to 'RGB' and not 'indexed colour' and it should save as 24bit.
Ive attached a blank 24 bit bmp of teh right size, but when you edit it, (for example in photoshop) you will still possibly get mode changes as layers get added by photoshop, so you still need to be aware what pops up when you hit save.
Welcome.
Click to expand...
Click to collapse
Thanks again. I appreciate the help!
sweet.thanks.
Update - turns out i DID have to return my phone to o2, and could i find a way to remove the watermark splash?? no, no i couldnt...
so i ended up doing sumflipnols method of getting a stock o2 splash and creating a second splash with it. It looks like one splash, and the phone came back to me without a hitch.
Thanks for sharing. Watermark is really a great idea.. I will try it on weekend
Why is this not in the Tips & tweaks posting? this is great info!
xnifex said:
Why is this not in the Tips & tweaks posting? this is great info!
Click to expand...
Click to collapse
Yeah its really a good idea
I've created a watermark but still the screen it replaced is Splash screen. Could you tell me where I m wrong
SpottierPython said:
I've created a watermark but still the screen it replaced is Splash screen. Could you tell me where I m wrong
Click to expand...
Click to collapse
when issuing the command, if you use 0x600 it replaces thewhole splash, if you use 0x601 it replaces the second half of the first splash.
don't be mistaken into thinking it watermarks it for the whole time it's turned on, it only lasts for 7 seconds during bootup
first splash for 7 seconds
watermark for 7 seconds
animation
welcomehead
stock would be
first splash for 14 seconds
animation
welcomehead
samsamuel said:
when issuing the command, if you use 0x600 it replaces thewhole splash, if you use 0x601 it replaces the second half of the first splash.
don't be mistaken into thinking it watermarks it for the whole time it's turned on, it only lasts for 7 seconds during bootup
first splash for 7 seconds
watermark for 7 seconds
animation
welcomehead
stock would be
first splash for 14 seconds
animation
welcomehead
Click to expand...
Click to collapse
Thanks alot but this is what I did. I created a watermark with 601 and flash it with Custom RUU. But after flashing I m having a picture like this
Splash (The one I created for Water mark not for Splash)
HTC Watermark Screen
Animation
WelcomeHead
Should I give it another try....
do you have hspl installed? it requires it.
Ofcourse bro how can take risk
Maybe post a small vid of your issue?
Sorry My bad. The command provided by you creates two files one NB and 2nd NBH. I used NB and created my nbh from NUtil and this solution doesn't work for me where as when I used the nbh created by nbimg util through your command then it works. Cheers
Sorry mates for inconvenience.
heh no worries, glad its sorted.

[GUIDE] How to Create Custom Splash Screen (Boot Logo) for Le Max

Note:
This is not bootanimation, this is the splash screen (the 'LeEco' boot logo which is displayed when device is switched ON)
This is for LeEco Le Max2/Max1/Max Pro Only ..
For other devices, please send me your splash.img so that I can create a tool for you too.
Requirements:
1. Rooted LeEco Le Max 2 / Max1 (X900) / Max Pro (X910) [any ROM]
2. Optional: Terminal Emulator app or Custom Recovery or atleast working fastboot in computer.
3. You're proceeding at your own risk.
STEPS to create splash.img:
Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..
It's not yet tested by anyone.
1. Download & Extract this: Le_Max_Splash_Logo_Maker.zip
2. Make sure you have 3 pictures (same or different) in 1440x2560 resolution in PNG format.
(It seems Le Max displays any 1 picture from the 3 pictures randomly while switching ON, so I think you'll have to use 3 pictures)
3. Now rename your 3 pictures as logo1.png, logo2.png, logo3.png & replace it inside "pics" folder of the extracted folder.
(Similarly you can replace other pictures in it carefully if you wish)
4. Finally, run the 'CREATE_LOGO.bat' to create splash.img , which you can find inside the "output" folder after completion.
STEPS to flash splash.img:
Choose any one easy method:
a. To flash from recovery:
Transfer the flashable_splash.zip to your device and flash from TWRP or CWM or Philz or any other custom recovery.
b. To flash from Terminal Emulator:
Transfer the splash.img to your device's Internal Storage, Open Terminal Emulator & enter the following to flash it:
Code:
su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
c. To flash from Fastboot mode:
Code:
fastboot flash splash splash.img
Note:
Incase something goes wrong or device doesn't bootup, flash the stock splash.img from custom recovery or fastboot.
Credits:
1. @GokulNC (myself ) who wrote this script.
2. Modified from my tool here: [GUIDE] How to Create Custom Splash Screen (Boot Logo) for Zuk Z2/Z2 Pro
3. Thanks to @pablo01 who provided stock splash.img of Le Max1 X900
Hit the Thanks :good: button if it worked for you
Don't forget to post here the custom splash screens that you made, since others may find it useful
GokulNC said:
Note:
This is not bootanimation, this is the splash screen (the 'LeEco' boot logo which is displayed when device is switched ON)
This is for LeEco Le Max 2 Only ..
Requirements:
1. Rooted LeEco Le Max 2 X820 (any ROM)
2. Terminal Emulator app installed.
STEPS to create splash.img:
Before proceeding, make sure fastboot is setup properly in your computer (just incase something goes wrong)..
It's not yet tested by anyone.
1. Make sure you have 3 pictures (same or different) in EXACTLY 1440x2560 resolution in PNG format.
(Actually, it seems Le Max2 displays 3 pictures one by one while switching ON, so I think you'll have to use 3 pictures, but feel free to explore)
2. Download & Extract this: Le_Max_2_LeEco_Splash_Logo_Maker.zip
3. Now rename your 3 pictures as logo1.png, logo2.png, logo3.png & replace it inside "pics" folder of the extracted folder.
(Similarly you can replace other pictures in it carefully if you wish)
4. Finally, run the 'CREATE_LOGO.bat' to create splash.img , which you can find inside the "output" folder after completion.
STEPS to flash splash.img:
1. Transfer the splash.img to your device's Internal Storage.
2. Open Terminal Emulator & enter the following to flash it:
Code:
su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
(You can also flash from fastboot as given below)
Note:
Incase something goes wrong or device doesn't bootup, download this: stock_splash.zip. Extract it & flash the splash.img from fastboot like:
Code:
fastboot flash splash splash.img
Credits:
1. @GokulNC (myself ) who wrote this script.
2. Modified from my tool here: [GUIDE] How to Create Custom Splash Screen (Boot Logo) for Zuk Z2/Z2 Pro
Hit the Thanks :good: button if it worked for you
Don't forget to post here the custom splash screens that you made, since others may find it useful
Click to expand...
Click to collapse
Any app on Play Store can apply an other boot animation?
Inviato dal mio Le X820 utilizzando Tapatalk
working good for me . thank you.
Q. how do you unpack the original splash.img?
M4nu3l1c4t4 said:
Any app on Play Store can apply an other boot animation?
Click to expand...
Click to collapse
This is not bootanimation bro...
This is the boot logo (the Le logo which is displayed when the device is switched ON)..
And BTW, please don't quote the entire thread
Dmxsir said:
working good for me . thank you.
Q. how do you unpack the original splash.img?
Click to expand...
Click to collapse
There's no automated tool for that, I did that manually..
It's a bit technical, so I'm not sure if I can make it understand to others who don't have an experience with this..
Anyway, here's what I did:
1. Your device's resolution is 1440x2560, and I saw using Hex Editor that the splash image is raw bgr24 format...
Which means there's 3 bytes per each pixel, so total no. of bytes for a picture=1440*2560*3, which is 11059200 (A8C000 in hex)
2. The first 512bytes is the header of a splash picture (it starts like "SPLASH!!" followed by resolution in little endian format; don't worry about those details). It doesn't contain any pixels data, so remove (or skip) that first 512Bytes and take the next 11059200 (A8C000 in hex) bytes and store it in a new file, say temp.img
3. Now you have to convert the temp.img to a picture file (preferably PNG), so I use the ffmpeg tool for that.
Code:
ffmpeg.exe -f rawvideo -vcodec rawvideo -pix_fmt bgr24 -s 1440x2560 -i temp.img -vframes 1 -y temp.png
4. Now you have first picture with you (temp.png)..
Similarly, after exactly 12MB (12582912bytes or C00000 in hex) of the picture in the splash.img, there's the header of picture of second pic, which is followed by its raw pixels data (as I've said from point 1), and similarly you can extract the picture2..
It seems there are 6 pictures, so you'll be doing this 6 times..
It may seem like it's a tedious process, but once you're good with using the Hex Editor with it, it'll just take a few minutes.. (You'll know the tricks of how to do this easily and fast with experience)
I have not explained everything in detail, as I don't have time now
And, I don't intend to make any automated tool for extracting it, since splash.img varies for devices, and I'll be wasting time for something that'll be useful to a single device only (or probably no one will use it, since who cares about extracting it really while there's a tool to create a new one?)
And also, by default, I have included the stock pics only in the /pics/ folder (So if you want to edit the stock pics, you may take a backup of those somewhere and do it)
BTW, you may post the splash.img that you created here, since others may find it useful..
(Just zip it to reduce the 72MB splash.img size to just 200kB or something before posting )
thank you for that explanation, i will look into it.
attach my israeli version .
:good:thank you very much man...
Creating a batch of splash screens for this device. Unfortunatly behind a work firewall so have to attach via XDA to make sure they work.
First up Samurai Champloo
Le max developer phone...
Thanks after flashing some custom rom it changed the splash logo and I wanted stock one.
pubg
pubg boot screen
Can someone make one with google logo like pixel phones?
download link is off
edit: Qr code is working
thanks very much

[GUIDE][Redmi Note 5A/Y1 Lite] How to Change Boot Logo (Splash Screen)

Note:
This is not bootanimation, this is the splash screen (the 'Mi' boot logo which is displayed when device is switched ON)
This is for Redmi Note 5A = Y1 Lite = ugglite Only (Snapdragon Variants)..
This is NOT for 'Redmi Note 5A Prime = Y1 Lite Prime = ugg'. (For this device, if you want, send me your splash.img)
For other devices, please send me your splash.img so that I can create a tool for you too.
Requirements:
1. Rooted Xiaomi Redmi Note 5A / Y1 Lite (ugglite) (Snapdragon) (any ROM)
2. Optional: Terminal Emulator app or Custom Recovery or atleast working fastboot in computer
3. You're proceeding at your own risk.
STEPS to create splash.img:
1. Download & Extract this: Redmi_Note_5A_Y1_Lite_Splash_Maker.zip
2. Make sure you have a picture with resolution 720x1280 or lower.
Note:
This device has a fixed size of of few kBs allocated for splash image frame buffer, so only very light-weight pictures can be used.
(If you alter this limit in the script, fastboot picture will not appear in fastboot mode..)
It's recommended to use picture with 3 or 2 colors only, like Black & White pictures.
So you'll have to try many pictures till you get a successful one.
3. Now rename your picture as logo.png or logo.jpg according to its format & replace it inside "pics" folder of the extracted folder.
(Similarly you can change other pictures too)
4. Finally, run the 'CREATE_LOGO.bat' to create splash.img , which you can find inside the "output" folder after completion.
Note:
You'll get an error like "PICTURE IS LARGE IN SIZE" if it's not possible to create a logo with that picture.
In that case, try any one of these below:
a. Try compressPNG.com to reduce no. of colors in PNG picture.
Upload your picture, click Settings, reduce number of colors to 2, Apply & download it & try again.
b. Reduce the picture resolution.
For example, this picture:View attachment 4073256 can edited to something like this: View attachment 4073257
(Hope you understand what I say)
c. Try some other picture.
STEPS to flash splash.img:
Optional: To backup your original splash.img:
Code:
dd if=/dev/block/bootdevice/by-name/splash of=/sdcard/splash.img
(Not necessary though.. You may get it from the stock firmware itself.)
Now, Choose any one easy method to install:
a. To flash from recovery:
Transfer the flashable_splash.zip to your device and flash from TWRP or CWM or Philz or any other custom recovery.
b. To flash from Terminal Emulator:
Transfer the splash.img to your device's Internal Storage, Open Terminal Emulator & enter the following to flash it:
Code:
su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash
c. To flash from Fastboot mode:
Code:
fastboot flash splash splash.img
Note:
Incase something goes wrong or device doesn't bootup, flash the stock splash.img from custom recovery or fastboot.
Credits:
1. Based on my original tool for Redmi Note 4
2. @malyszynio who provided the stock splash.img of Redmi Note 5A (ugglite) & tested this tool.
Hit the Thanks :good: button if it worked for you
You're welcome to post the splash images that you created..
FOR MEDIATEK VARIANTS:
For MTK devices, you might have a different partition for that called 'logo'.
Browse in /dev directory to find out where that is present.
After you have found out, dump the logo.bin file by:
Code:
dd if=/<the_directory_where_logo_is_present>/logo of=/sdcard/logo.bin
Now you can edit the logo.bin using this tool:
Changing Boot Logo (logo.bin) - LOGO BUILDER Program
After editing, you can reflash it by:
Code:
dd if=/sdcard/logo.bin of=/<the_directory_where_logo_is_present>/logo
If you did this successfully, please share the details of how you did it so that it will be helpful for others..
Or if that tool doesn't work, send me your logo.bin or splash.img, I'll check it..
Thanks a lot! I will try it :B
LOGO is LARGE
I spent 1 day looking for suitable pictures, but all can not always arise notif LOGO IS LARGE IN SIZE, can you post custom custom logo for redmi note 5a
Thank you for your generous contribution to Xiaomi mobile phone users.
This time I need a Splash Maker for Redmi Note 5A Prime (ugg).
Please create a Splash Maker Redmi Note 5A Prime (ugg).
Thank you for your attention.
Regards.
After I try to make a splash boot logo RN5A Y1 Lite (ugglite) successfully applied
But the logo display is not too long (too fast) which then followed by Mi Unlocked logo display.
Splash Screen Maker is not as good as Splash Screen Maker for Redmi Note 4X (mido).
Hopefully splash maker for RN5A Y1 Lite can be as good as for RN4X (mido).
Regards

[Guide] Change Xiaomi Mi Max 3 (nitrogen) boot logo

I modified moonheartmoon's tool for Xiaomi MI 8 in order to work with Mi Max 3.
I haven't compiled the Windows binary and used the python script only.
Download
How to use (Linux&Unix)
1. Download and unpack.
2. Edit the 5 bmp files, do not change filename or format. Some editors use unsuitable RLE encoding, so beware.
3. Run python genlogo.py and you get logo_new.img (python3).
4. flash through fastboot
Code:
fastboot flash logo logo_new.img
5. Enjoy!
How to restore
Just flash logo.img taken from an official fastboot tgz ROM.
NOTES:
1. Bad news: the locked boot image has been changed and it covers only the small part of the screen (1080x334 instead of 1080x1920 for the MI8). So there's no possibility to customize the whole screen. Good news: the unlocked boot image however kept the 1080x1920 format. So if your bootloader is unlocked, you can take control of the majority of the screen.
2. I removed the unlocked logo from the unlocked boot image and erased the red star from the cap of the bunny on the fastboot image as an exercise.
3. Some editors use different encoding for BMP by default instead of the type of RLE necessary. Like for example GIMP. At least the size of the image should not be larger than the ones in the zip archive. If you are not sure, you can convert your image using ffmpeg like this:
Code:
ffmpeg -hide_banner -i input.png -pix_fmt rgb24 -s resolution -y output.bmp
where resolution must be specified like: 1080x1920 for the unlocked image or 558x992 for the fastboot image.
4. I take no responsibility if you brick your phone. Although I confirm, that it works for me.
Cheers: Dwokfur
This version also works fine for the Xiaomi Mi Pad 4 Plus. Thanks a lot!
Cool :good: Thanks a lot.
for windows please

[TOOL] Create your own splash screen for your Lenovo Yoga Tab 3 (YT3-850F)

While working on a custom ROM for this tablet model, I found a very useful tool posted on XDA by the member @GokulNC in this thread which allows you to create a splash screen for different Qualcomm devices.
I took the file for another model and got it to work with this model just by following the prompts the creator has left throughout the posts, at the end, I just had to change the line
SUPPORT_RLE24_COMPRESSIONT = 1
for
SUPPORT_RLE24_COMPRESSIONT = 0
inside the Python code, in the bin folder.
I have been testing it with several images and it works perfectly
DISCLAIMER:​
- I am not responsible for the misuse of the code.
- Changing your splash screen should not crash your device, the worst thing that can happen to you is that the Linux penguin appears on the screen, but the system should boot normally, anyway, I am not responsible for dead devices or any problems related to using this tool.
- As for all other flashing activities, you must have unlocked your bootloader.
- This method was tested on Android 5, I wouldn't recommend trying it on Android 6 because the stock splash.img from that version seems to be in a different format, that one weighs around 200KB while this one weighs almost 3MB.
Instructions:
1) Download the tool
2) Get an image with an exact resolution of 1280 x 800 pixels, then put it in the pics folder naming it "logo.png".
3) Rotate the image once to the right (you can do it with the Windows photos app, when you put the mouse over the file, a resolution of 800x1280 should appear, otherwise, open the image with Paint, verify that it has been open vertically and then press save, the image will be overwritten and will now be displayed vertically).
4) Run CREATE_LOGO.bat, you will get a splash.img in the output folder, move it to your fastboot folder.
5) Put your tablet in fastboot mode (turn it off and connect it to the computer while pressing Vol -).
6) Open CMD in your fastboot folder and type:
fastboot flash splash splash.img
Click to expand...
Click to collapse
7) Restart your tablet using:
fastboot reboot
Click to expand...
Click to collapse
You should now see your new splash screen.

Categories

Resources