jntdroid
Android Enthusiast
I'm by no means trying to trump this thread, and greatly appreciate all the work danthemanohyea put into that. However, the problem still remains as to why we even have to do a workaround like that. Why, even if we rename/remove those audio files, do they still play?
I haven't solved the "why", I'm not a coder or xml (I think?) guy. But I have figured out what's controlling that and causing them to play. If you look in /system/bin, there is a "bootanimation" file. I opened it up in a text editor, and most of it is garbled (need a hex editor?), but I found this text near the end of it (sorry it's not organized, simply copying from notepad):
What's odd is there are a couple of directory references that just flat out don't exist - as well as a couple of image file references. Unless they're somehow hidden...
Long story short, if you remove the bootanimation file from /system/bin (move to sd or rename, I wouldn't delete it), all sounds and bootanimations are gone - you get a blank screen for a few seconds between the "M" Logo and the main lockscreen.
I have seen no ill effects from removing that file - which makes sense.
Now, that's not an ultimate solution. When that file is removed, there seems to be no way to get any sort of boot animation between the M and lockscreen. I kind of like at least having the simple Android logo - but for now, I prefer blank with no sound.
I would imagine some tweaks to that file could fix the problem ultimately, and hopefully someone on here knows how to do it!
I haven't solved the "why", I'm not a coder or xml (I think?) guy. But I have figured out what's controlling that and causing them to play. If you look in /system/bin, there is a "bootanimation" file. I opened it up in a text editor, and most of it is garbled (need a hex editor?), but I found this text near the end of it (sorry it's not organized, simply copying from notepad):
debug.sf.nobootanimation 0 %0 80 persist.sys.playBootSnd 1 BootAnimation Get property persist.sys.playBootSnd as %s. /hidden/data/Power-on sound/ Open DIR %s OK. Find file %s. .. %s%s Open file %s OK. Open file %s failed. Open DIR %s failed. Set boot sound %s. /system/media/audio/notifications/DearDeer.ogg Get boot animation from path /data/local/bootanimation.zip Get boot animation from path /system/media/bootanimation.zip Get boot animation from path /hidden/data/Power-on animation/bootanimation.zip Get boot animation from path /hidden/data/PowerOnAnimation/bootanimation.zip Use default Android boot animation. desc.txt descMap is null %d %d %d p %d %d %s images/android-logo-mask.png images/android-logo-shine.png
There is also a reference to /system/bin/linker near the top of that file, but I could find nothing inside the "linker" file.What's odd is there are a couple of directory references that just flat out don't exist - as well as a couple of image file references. Unless they're somehow hidden...
Long story short, if you remove the bootanimation file from /system/bin (move to sd or rename, I wouldn't delete it), all sounds and bootanimations are gone - you get a blank screen for a few seconds between the "M" Logo and the main lockscreen.
I have seen no ill effects from removing that file - which makes sense.
Now, that's not an ultimate solution. When that file is removed, there seems to be no way to get any sort of boot animation between the M and lockscreen. I kind of like at least having the simple Android logo - but for now, I prefer blank with no sound.
I would imagine some tweaks to that file could fix the problem ultimately, and hopefully someone on here knows how to do it!

