当前位置:网站首页>Add new startup logo and startup / shutdown animation in mt6735
Add new startup logo and startup / shutdown animation in mt6735
2022-07-28 10:25:00 【Manong XO】
One 、 Turn it on logo
Turn it on logo In two parts , One is :《uboot logo》, The other is :《kernel logo》,Android When starting up, it will display 《uboot logo》 picture , Then it shows 《kernel logo》 picture . There are some Android The mobile phone will make these two pictures the same , therefore , When we start the machine, we don't feel the change .
Next, I want to change the original 《uboot logo》、《kernel logo》 Replace :
Enter the command :
cd ~/mt6735/bootable/bootloader/lk/dev/logo/wvga
Enter storage and start up logo Under the table of contents , take wvga_uboot.bmp wvga_kernel.bmp Replace these two pictures , And then mt6735 Compile and download the source code to AP7200 Mobile development board , Turn it on , See the effect .
uboot logo
kernel logo
Two 、 Power on animation
(1) Make pictures
Make a group of pictures, animations and other videos we usually see , In fact, it's from the circulation of pictures , Each picture is called “1 frame ”, It's usually used 1 How many pictures are played per second to calculate the number of frames , such as 1 Seconds to play 12 A picture , Namely 12 frame . So show the boot animation , Then we need to make a group of different pictures to play constantly . Be careful : Make a group of drawings, such as part0, At least one , There is no upper limit , But there are too many pictures , The boot will be slow , A group of pictures is an integral multiple of the number of frames , such as :12 frame , A group can 12、24、36 A picture .
desc.txt What's in it :
480 300 12
c 1 0 part0
c 1 0 part1
c 0 0 part2
480 300 12 A resolution of 480*300 The number of frames is 12
c 1 0 part0 c: display mode 1: Not infinite loop part0: According to the first 0 Part of the picture
c 1 0 part1 c: display mode 1: Not infinite loop part1: According to the first 1 Part of the picture
c 0 0 part2 c: display mode 0: Infinite loop part0: According to the first 2 Part of the picture
Package and compress the pictures after making them , When compressing part0 part1 part2… desc.txt Select all , The compression mode is storage mode :
stay Linux Next, use the following command to package them together :
zip -Z store raindi-bootanimation.zip part0/.png part1/.png part2/*.png desc.txt
(2) Replace the original boot animation
Input instructions at the terminal , Look at the copied files raindi-bootanimation.zip
open AllAudio file
AllAudio The contents of the document :
(3) compile
source ./build/envsetup.sh
lunch 28
make 2>&1 | tee build.log
(4) Download to AP7350 Mobile development board and start to check the effect
Power on animation effect :
3、 ... and 、 Shutdown animation
The addition of shutdown animation and startup animation is similar , Briefly describe the steps :
- Make a series of pictures , For continuous playback , Form an animation effect .
- Pack the pictures , Note that the compression type is “ Storage ”.
- Copy the packaged pictures to the following directory :
cp /xxx/raindi-shutanimation.zip ~/mt6735/frameworks/base/data/sounds
4. modify AllAudio.mk Contents of Li , Make it possible to generate boot animation after compilation :
vim ~/mt6735/frameworks/base/data/sounds/AllAudio.mk
Be careful : The shutdown animation generates :system/media/shutanimation.zip Boot animation is :system/media/bootanimation.zip, Pay attention to the difference between the two when modifying
cd ~/mt6735/out/target/product/p6s_65u_l1/system/media
————————————————
Copyright notice : This paper is about CSDN Blogger 「JefferySimon」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/m0_37526672/article/details/80285882
边栏推荐
- Vulnerability analysis hevd-0x8.integeroverflow[win7x86]
- 13、哈希表——两个链表第一个公共节点
- Troubleshooting of tool failure caused by Chinese characters in PT kill query
- What kind of knowledge payment system functions are more conducive to the development of the platform and lecturers?
- Redis design specification
- brief introduction
- 巧用ngx_lua做流量分组
- It is said that the global semiconductor equipment giant may build a joint venture factory in Shanghai!
- Get to know SuperMap idesktop for the first time
- ogg里用多个filter语法应该怎么写?
猜你喜欢
随机推荐
11、链表反转
数据库安全 --- 创建登录名 用户+配置权限【笔记】
Install MySQL under centos7, and the online articles are not accurate
Leetcode076 -- the kth largest number in the array
Sort - quick sort (fast and slow pointer Implementation)
DBeaver的操作日志
Sword finger offer
PHP生成二维码(学习)
IE兼容性问题处理
语音聊天app——如何规范开发流程?
leetcode076——数组中的第 k 大的数字
Leetcode -- minimum number of rotation array
Typora使用教程
Oracle中的小知识
Aqua Data Studio 18.5.0导出insert语句
6. Double pointer -- the sum of the two numbers of the incremental array is equal to the target number
gcc: error trying to exec 'as': execvp: No such file or directory
Go json.Decoder Considered Harmful
配置树莓派,过程和遇到问题
SQL Server 2016 学习记录 --- 数据定义






