[Xiaomi Mi A1 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 Mi A1 Only (Snapdragon Variants)..

For other devices, please send me your splash.img so that I can create a tool for you too.

Requirements:

1. Rooted Mi A1 (any ROM)

2. Optional: Terminal Emulator app or Custom Recovery or atleast working fastboot in computer

3. You're proceeding at your own risk.

FOR NEW FIRMWARES FOR WHICH THIS TOOL DOESN'T WORK, TRY THIS NEW TOOL here:

https://xdaforums.com/mi-a1/themes/tool-tissot-splash-maker-mod-5-pngs-t3799701/

Also, try these if that didn't work:

https://xdaforums.com/showpost.php?p=76713069&postcount=42

https://xdaforums.com/mi-a1/how-to/guide-how-to-change-boot-logo-splash-t3681033/post75978168

(I don't know if it works; an user seems to have successfully used it to create splash.img for new bootloader)

I never had the latest splash.img from the latest firmware, so I can't create a proper unless someone sends me :)

For older firmwares, proceed below:

STEPS to create splash.img:

1. Download & Extract this: Mi_A1_Splash_Maker.zip

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

Note:

Mi A1 logo has a fixed size of 100kB allocated for splash image frame buffer, so only very light-weight pictures can be used.

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 be 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 4

2. [MENTION=7981978]OtrovX[/MENTION] who provided the stock splash.img of Mi A1.

Hit the Thanks :good: button if it worked for you :)

You're welcome to post the splash images that you created..