[Xiaomi Redmi Note 4 Guides, News, & Discussion] GokulNC:
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 Xiaomi Redmi Note 4 (mido/whatever) Only (Snapdragon Variants)..

(For variants other than mido, please post your splash.img here so that I can check if it can work in your device)

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 4 (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:

(For devices with latest firmware, use this tool: https://xdaforums.com/showpost.php?p=75231024&postcount=48)

1. Download & Extract this: Redmi_Note_4_Splash_Maker.zip

2. Make sure you have a picture with resolution 1080x1920 or lower.

Note:

Redmi Note 4 logo has a fixed size of 100kB 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.

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:

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:

su
dd if=/sdcard/splash.img of=/dev/block/bootdevice/by-name/splash

c. To flash from Fastboot mode:

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 3

2. [MENTION=5905746]Ravi Kumawat[/MENTION] who provided the stock splash.img of Redmi Note 4 (mido - Snapdragon) & 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:

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:

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..