I take no credit for this, original posted by
NUNsLAUGHTER92
[FONT="]Well the first place I posted this was deleted (original CM6 thread by Isaac) so I've decided to post it again in a new thread because some people want to know how to do it.
- Where the files are/go
build.prop - /system
init.local.rc - /system/etc
bootsound - /system/bin
android_audio.mp3 - /data/local
So you need to do four things to make this work...
1: Add these lines to your build.prop file -[/FONT]
[FONT="]### Safe to Delete: Start ###
ro.config.play.bootsound=1
### Safe to Delete: End ###[/FONT]
[FONT="]
2: Add more lines in init.local.rc -[/FONT]
[FONT="]###Bootsound - Safe to Delete: Start ###
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running # to correct timing
start bootsound
on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###[/FONT]
[FONT="]
3: Add the file 'bootsound' from below to /system/bin
4: Add any .mp3 named "android_audio.mp3" to /data/local
(I'll attach one to let you see how it works, it's the droid sound that I used before.)
Note 1: rename bootsound.txt to just bootsound, you don't want an extension. It won't let me upload the file without doing that.
Note 2: Add all of those lines to the bottom of the files. I guess you might not have to, but why not do what we know works.
Note 3: Make sure that every line of code that doesn't start with the "Safe to Delete" thing is all the way to the right because if not it won't work.
Or if you want to go the easy route here is one that's put together already for CM7. DO NOT use this with CM6 because of build.prop differences, there might also be other things that are different. There will be one made for CM6 soon.
Also, not flash-able either just move the files to the appropriate places. - CM7 bootsound
Here are the files for CM6, again, not flash-able just move to the correct place - CM6 bootsound [/FONT]
[FONT="]
Attached File(s)
http://www.mediafire.com/?vozjp5tdlt7wvc1
http://www.mediafire.com/?gs765qdx2essc36
I can confirm this work, just did this!!!
These are the files for cm6: http://www.mediafire.com/?dr770262n42pehv
[/FONT]
NUNsLAUGHTER92
[FONT="]Well the first place I posted this was deleted (original CM6 thread by Isaac) so I've decided to post it again in a new thread because some people want to know how to do it.
- Where the files are/go
build.prop - /system
init.local.rc - /system/etc
bootsound - /system/bin
android_audio.mp3 - /data/local
So you need to do four things to make this work...
1: Add these lines to your build.prop file -[/FONT]
[FONT="]### Safe to Delete: Start ###
ro.config.play.bootsound=1
### Safe to Delete: End ###[/FONT]
[FONT="]
2: Add more lines in init.local.rc -[/FONT]
[FONT="]###Bootsound - Safe to Delete: Start ###
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running # to correct timing
start bootsound
on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###[/FONT]
[FONT="]
3: Add the file 'bootsound' from below to /system/bin
4: Add any .mp3 named "android_audio.mp3" to /data/local
(I'll attach one to let you see how it works, it's the droid sound that I used before.)
Note 1: rename bootsound.txt to just bootsound, you don't want an extension. It won't let me upload the file without doing that.
Note 2: Add all of those lines to the bottom of the files. I guess you might not have to, but why not do what we know works.
Note 3: Make sure that every line of code that doesn't start with the "Safe to Delete" thing is all the way to the right because if not it won't work.
Or if you want to go the easy route here is one that's put together already for CM7. DO NOT use this with CM6 because of build.prop differences, there might also be other things that are different. There will be one made for CM6 soon.
Also, not flash-able either just move the files to the appropriate places. - CM7 bootsound
Here are the files for CM6, again, not flash-able just move to the correct place - CM6 bootsound [/FONT]
[FONT="]
Attached File(s)
http://www.mediafire.com/?vozjp5tdlt7wvc1
http://www.mediafire.com/?gs765qdx2essc36
I can confirm this work, just did this!!!
These are the files for cm6: http://www.mediafire.com/?dr770262n42pehv
[/FONT]