Hi
Is it possible to make the Android Bootanimation play longer than 3-5 seconds before booting to the homescreen?
"BootAnimation: Adding boot video capabilities, default /system/media/boot.mp4 (BOOTVIDEO_FILE change the format can be modified), supportmp4, wmv and other mainstream formats"
RK3288 devices now also support mp4 boot.mp4 video as boot video.
This also plays for 3-5 seconds before booting to Android Homescreen.
Even tried to write a script in boot.img, init.rc for sleep 10 but it only makes the screen black for 10 seconds and not bootanimation/video play longer for eg 10-15 seconds.
Even tried in init.rc
Hi, Dewet,
Plz check "frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp"
Function SurfaceFlinger::bootFinished() is used to terminate boot animation.
BTW, I cannot see this commit:
"BootAnimation: Adding boot video capabilities, default /system/media/boot.mp4 (BOOTVIDEO_FILE change the format can be modified), support mp4, wmv and other mainstreamformats"
You should also check BootAnimaition source code in framework/base/cmds/bootanimation/ , to see its exit logic.
Hi, Dewet,
Plz check "frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp"
Function SurfaceFlinger::bootFinished() is used to terminate boot animation.
BTW, I cannot see this commit:
"BootAnimation: Adding boot video capabilities, default /system/media/boot.mp4 (BOOTVIDEO_FILE change the format can be modified), supportmp4, wmv and other mainstreamformats"
You should also check BootAnimaition source code in framework/base/cmds/bootanimation/ , to see its exit logic.
Hi
It was actually in Nagrace NT-V6 firmware the boot.mp4 video bootanimation, here is the commit
2014-12-30 e296bf9 Android->BootAnimation:添加开机视频功能,默认为/system/media/boot.mp4(可修改BOOTVIDEO_FILE改变格式),支持mp4,wmv等主流格式
Maybe it can also be implemented in Firefly firmware and boot-time increased to 15 seconds for bootanimation/video to play longer.
Or a setting in build.prop or Android Settings menu to increase/reduce boot-time so that it plays your own bootanimation/video longer/shorter.
It was actually in Nagrace NT-V6 firmware the boot.mp4 video bootanimation, here is the commit
2014-12-30 e296bf9 Android->BootAnimation:添加开机视频功能,默认为/system/media/boot.mp4(可修改BOOTVIDEO_FILE改变格式),支持mp4,wmv等主流格式
Maybe it can also be implemented in Firefly firmware and boot-time increased to 15 seconds for bootanimation/video to play longer.
Or a setting in build.prop or Android Settings menu to increase/reduce boot-time so that it plays your own bootanimation/video longer/shorter.
interesting! when you integrate this, please share your work with us! thank you very much for your contribution to the community!
You can setup the actual bootanimation zip to run for a certain amount of loops. So, if you use the frames per second with the amount of frames in the bootanimation, you can calculate the number of loops to make it last as long as you want.
Then if you change the "p" to a "c" in the desc.txt, it will complete that line of the animation even if the bootup has finished behind the scenes.
http://forum.xda-developers.com/showthread.php?t=1852621
So, you can do it pretty easily without having to change anything in the actual system code.
Edit: and if you unpack/repack the boot animation, remember that the compression method needs to be STORE (none) or it won't work. Also, make sure to delete any Thumbs.db if you're doing it from windows, as that will stop the animation from working correctly.
Where exactly is the bootanimation.zip file located in the RK3288 SDK source tree?
I've found the code in ~frameworks/base/cmds/bootanimation, but can't find bootanimation.zip.
Apologies in advance if answer might be obvious, but I'm new to this platform/environment.
Thank you.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) | Powered by Discuz! X3.1 |