wzh@lenkeng-HP-Pro-Tower-ZHAN-99-G9-Desktop-PC:/media/extern_sda/wzh/rk3588_android/device/rockchip/rk3588$ git show
commit e8da2099dccfed7f7b348c2e324d9c3d3e555d39 (HEAD)
Author: wzh <wuzenghong@lenkeng.com>
Date: Tue Jun 4 09:53:48 2024 +0800
添加开机logo,注意压缩bootanimation.zip时压缩方式要选仅存储
Change-Id: I0222563c4b104ed4f6ce4e335236f813ab3b40f2
diff --git a/bootanimation.zip b/bootanimation.zip
new file mode 100755
index 0000000..43e26d5
Binary files /dev/null and b/bootanimation.zip differ
diff --git a/device.mk b/device.mk
index 70e4381..0fcec48 100644
--- a/device.mk
+++ b/device.mk
@@ -43,6 +43,9 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
+PRODUCT_COPY_FILES += \
+ device/rockchip/rk3588/bootanimation.zip:/system/media/bootanimation.zip
+
# copy xml files for Vulkan features.
![](https://img-blog.csdnimg.cn/direct/eec35ff44b324903bc53a7899cf57f36.png)
![](https://img-blog.csdnimg.cn/direct/9bb7c623296748b99e0eac2f8fa1f56b.png)
![](https://img-blog.csdnimg.cn/direct/c6b1ca0eedda49c48bd54a72a7e3183f.png)
![](https://img-blog.csdnimg.cn/direct/25d90239994945dab71c0ee795de4665.png)
1920 1080 2 含义:前两个数字代表图片的像素宽度和高度,2 代表帧数,也就是1秒播放的图片张数
p 0 0 part2含义:p 代表标志位,0 表示无限循环,0 表示阶段间隔时间为0,part2 表示对应文件夹
desc.txt 文本格式:Unix+UTF-8
制作 bootanimation.zip
以存储方式压缩成zip文件