Android — Change fastboot and bootloader screen’s images [AOSP]

bhavana vadodariya
2 min readOct 17, 2023

Every device has it’s own bootloader screen, which presents it’s Owner name. Eg. you can see in this left image, Huawei is the owner. Right is the fastboot image, it shows about fixing Android OS.

Left images shows bootloader screen which says, this Phone created by Huawei and powered by Android. Right image shows fastboot screen.

With understanding of basic Linux commands, you can change your Andorid device’s animation screens.

Also, once bootloader screen finishes, Android OS starts booting. Different images comes as per the content of zip file. Eg. you can see the content of sample zip file here: https://cs.android.com/android/platform/superproject/main/+/main:device/google/atv/products/.
By unziping the content, you can check any image file’s info. It should give idea about the size of image. 800x400, 1280x800 etc… Same size of image should be used in this process.

If you are going to use these changes for commercial purpose please follow Google guidelines.

The procedure which we are going to follow, will give you .img files.

You can flash these images on Android device:
logo1.img (For Bootloader image, Powered by Android screen)
logo2.img (For Fastboot screen)

This document, created with Ubuntu 14.04.
You should have installed Python.
Also install: $ sudo apt-get install python-pil.
We will use logo_gen.py script to create bootloader and fastboot screens.

$ cd AOSP_SOURCE_PATH\android\device\qcom\common\display\logo\
$ cp A.png .
$ python ./logo_gen.py A.png
//Here I have used 1280x800 as per my screen requirement.$ ll
// You can see splash.img has been created, which is your bootloader //screen
$ mv splash.img logo1.img//logo1 partition is for bootloader screen.
//Follow above procedure to create fastboot screen.
//Replace image and rename it logo2.img.
//Flash logo1.img and logo2.img images to device.
$ adb reboot bootloader → Put device into fastboot mode
$ fastboot devices → Check device should be in fastboot
$ fastboot flash logo1 log1.img → Flash bootloader partition, check with your BSP team for partition name.
$ fastboot flash logo2 logo2.img → Flash fastboot partition, check with your BSP team for partition name.
$ fastboot reboot → Observe device's reboot screens. You can see both screens have been changed.
FYI only fastboot and bootloader screen has been changed, no change in android boot animation screen (screen appears after Kernel is up and Android comes into picture).

You should be able to see the modified image for bootloader and fastboot modes.

--

--

bhavana vadodariya

Techie. Love to read books, blogs, faces. Like to cook new foods.