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
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
Attachments
Last edited: