Ive gotten pretty far on this, but I cannot get my boot sound to sync up with the bootanimation or play for as long as the animation goes.
Changes so far (resulting in some sound) taken from various guides and such on other samsung models ( basically shooting in the dark and hoping for a score):
1. installed the dr who boot animation going around the web that has tardis falling through the vortex - plays fine.
2. edited build.prop to include a line: ro.config.play.bootsound=1 (by accident I found that having more than one of these lines in build.prop caused sound to not play)
3. added a snippet of the dr who theme song as .wav file to /system/etc and renamed it poweron.wav
(Discovered that lengths of over 15 seconds get cut short - not sure if I canwork around this, but at this point, that seems to mean that if I want audio on my entire bootimage, then bootimage must be =< 15 seconds in length)
4. edited/created /system/etc/init.local.rc to have lines (think I dont have this right or isnt being called correctly):
service bootsound /system/etc/poweron.wav
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running
start bootsound
on property:dev.bootcomplete=1
stop bootsound
The bootanimation is fine. The sound starts a bit early ( on the model number splash) then plays and stops about 2/3 way through the bootanimation.
Can someone tell me what I am likely doing wrong or how I can sync this together?
I think I am not calling the script in init.local.rc correctly or the script is wrong somehow, as it should make the sound file play only during bootanimation and stop when it stops.
Links to files I am stripping things from (didnt record where on web they came from, so unable to give props to real creators - sorry)
1.Bootanimation file installed with cwm from sdcard
http://www.sendspace.com/file/wosw2v
2.Sound file
http://www.sendspace.com/file/u909no