Modify boot logo
- Find logo_gen.py under device\qcom\common\display\logo
- If not To install Python, first execute the following command sudo apt-get install python-imaging
- Copy the image that needs to be made into the logo_gen.py directory at the same level. Note that the image resolution should be the same as the device screen resolution Consistent
- Run the following command to generate splash.img, execute python ./logo_gen.py logo.png
- Connect the device and run the following command
- adb reboot bootloader
- fastboot flash splash splash.img
- fastboot reboot
li>
- Check if the logo is replaced successfully
Modify boot animation
- The storage path of boot animation and shutdown animation is: vendor\qcom\proprietary\qrdplus\Extension\apps\BootAnimation;
-
After the modification, compile the system, and then system can be used;
Compile:source build/envsetup.sh
lunch
m clean
m -j16 - Flash the system to check whether the modification is successful
Flash the system:- adb reboot bootloader
- fastboot flash system system.img
- fastboot -w
- fastboot reboot
< /ul>
< li>Replace the produced animation with the zip package (bootanimation.zip and shutdownanimation.zip) in the path