Use bootanimationProgramThe boot screen is displayed. If you need to modify the boot screen, you need to modify the source code.
B) Code
Frameworks/base/cmds/bootanimation /*
Frameworks/base/CORE/RES/assets/images/Android-logo *
2) Android 2.0 and later
A) Description
Use the bootanimationprogram to display the on-premises image. If you need to modify the on-premises image, you only need to create a bootanimation.zip package based on the format.
/System/media directory or/data/local directory. If both directories exist
B) Code
Frameworks/base/cmds/bootanimation /*
Frameworks/base/CORE/RES/assets/images *
/system/bin/bootanimation, which should be the third-screen animation control, has been tested in several steps:
1. restart the instance properly. After the instance is started, the System
is generally around S, and the c8600 is slow; [Here I have replaced the typical boot
animation, file
In/system/media I only put two images
go in]
2. Delete
/system/media ZIP file; restart; time
about seconds. [after the android text is displayed on the second screen, the android letters are highlighted in sequence, until boot]
3. modify/init. RC file, shield the following code; restart, time 95 s; [No obvious interface changes, however, the boot time is short.]
# service bootanim/system/bin/bootanimation
# user graphics
# group graphics
# disabled
# oneshot
4. delete/system/bin/bootanimation, restart, time 92 S; [black screen after the second screen; this score is good, it is 18 s less; keep this configuration]
the above execution shows the source code of the boot part posted on the Internet, which is correct.
the approximate logic of the source code is:
1. after the android text is displayed on the second screen, the zip file under/system/Media/is checked and an animation is displayed.
2. if not, the android text animation will be displayed. The text consumes less resources, so there is time to decrease
3. after I delete the bootanimation file, there is no service to start this android text animation; speed
is getting faster;
recommended
; in fact, my original intention is to display the earliest interface that displays text output at Linux Startup; the result is that the startup time is optimized;
if you are interested, you can use the Program
monitor the startup time for the test.