[Q] Custom boot animation with sound - Nexus One Q&A, Help & Troubleshooting

Hi,
I have tried to make a custom boot animation with sound. The animation works, the sound does not -.-
I tried everything:
- name ist boot.mp3/android_audio.mp3 and put it in data/local.
- Named one of the folders "android", and listed it in the "desc.txt" file.
refer to a tutorial by DevHead at androidforums.com
What should I do so that my Nexus One plays a sound at startup ?
(Yes i have already googled that )
(I´m using the latest Cyanogenmod nightly with IR´s Kernel.)

Helwin said:
Hi,
I have tried to make a custom boot animation with sound. The animation works, the sound does not -.-
I tried everything:
- name ist boot.mp3/android_audio.mp3 and put it in data/local.
- Named one of the folders "android", and listed it in the "desc.txt" file.
refer to a tutorial by DevHead at androidforums.com
What should I do so that my Nexus One plays a sound at startup ?
(Yes i have already googled that )
(I´m using the latest Cyanogenmod nightly with IR´s Kernel.)
Click to expand...
Click to collapse
ive been trying to do this too to no avail ill get back to you

/system/media/bootaudio.mp3

The default init.rc doesn't have the entry for boot audio, most probably.
Attached the file. Search its name on the net and see what it does.

Any progress on this?

Got sound working!!!
Found a solution to my own question. Its still not 'completely' working though! The sound works for exactly half the length of the .mp3 file
Got the steps from here:
http://forums.androidcentral.com/htc-mytouch-4g/69792-mod-how-unlock-your-boot-animation-audio.html
My current setup is as follows:
Google Nexus One
OS: CM7 Nightly - cm_passion_full-252.zip
Kernel: 2.6.38.8_AVS-950mV_CFS_AXI_720p_1152MHz_091711_CM7.zip
Steps that worked for me:
1. Download bootsnd.sh.txt and remove the".txt" then copy to the root of your sdcard.
2. Use root explorer or equivalent to set /system to r/w.
3. Start terminal emulator up on your device.
4. type "su" + enter to gain root privileges.
5. Type "cd /sdcard" + enter.
6. Type "sh bootsnd.sh" + enter(You will NOT see any output DO NOT RUN THE SCRIPT MORE THAN ONCE OR YOU WILL HAVE TO REFLASH YOUR ROM.)
7. Place your "android_audio.mp3" of choice in system/media/
8. Reboot to hear your boot audio!!

This is exactly the same file as the one I've attached 1/2 year ago.
It modifies the init.rc to play boot sound.

Thanks, but in your reply there were no steps explained.
Can you help in fixing audio playing partially?

Most probably not. When does the audio cut off? What event causes it? Bootanimation stops when it happens (showing screen)?

The sound stops almost at 50% of mp3 length. For example if sound is for 22 seconds, it stops at 11seconds.
Boot Animation continues.
Can you help?

KoolPal said:
The sound stops almost at 50% of mp3 length. For example if sound is for 22 seconds, it stops at 11seconds.
Boot Animation continues.
Can you help?
Click to expand...
Click to collapse
Silly question but if you make the MP3 twice as long by adding empty sound at the end does it play the whole thing through?

Related

[Q] Swap startup sound

Ok, silly question / problem. I've been tinkering with my phone trying to get the startup sound changed and its REALLY kicking my hind quarters. I've got a replacement PowerOn.wav and PowerOn.snd (properly mod'd) with 16-bit / 44100hz settings (same as the default file) but no joy. I've tried a couple different files in this format with no luck. I've even tried it on different roms (cognition, perception, dilligaf, darky, and paragon) all with no luck. I'm doing something wrong and I have no idea what it is.
Can someone break it down for me barney-style exactly what the requirements are for a startup sound?
Help?
I don't know if there are specific requirements, but I have had success with using SGS Tools to replace my startup sound. All I did was put my sound file on my phone (in wav format) in sdcard/sgstools/. I went into SGS Tools and chose modify boot sound, navigated to my file, and it worked. You can do the same with the shutdown sound.
Sent from my SGH-I897 using XDA App
if you're using a kernel that supports custom boot animations (bootanimation.zip) then you cannot change it (in fact, there is no boot sound).
if you are using a stock kernel that supports samsung's boot animation (bootsamsung.qmg) then you can change it with any .wav using SGS tools.
the custom boot animation is the key then. been bashing my head against a brick wall for a week now. thanks for clearing it up for me. so now my question becomes, what do i need to do to change the script to run the boot sound? what enables a custom boot animation? i remember something about playlogos1 or something.
playlogos1 is samsung's binary for showing their "bootsamsung.qmg" files, all the custom kernels that support "bootanimation.zip" have a change in initramfs to support the AOSP boot animation support that removes "playlogos1"... you'd have to either modify the initramfs and compile a new kernel OR use one of samsung's kernels to restore the playlogos1 binary to it's old functionality.
as for getting a boot sound to play with the bootanimation.zip, as of right now, I do not know of any way to do this. I tried recreating the boot sound script from various verizon phones that do that loud "DROID" sound, but it refused to even run from the command line (stagefright seems to be finnicky on our phones) let alone during boot because I didn't create a service for the boot sound. <--- someone would have to do this and create a kernel and working binary/script
That's the explenation I've been looking for, I knew when the boot sounds quit working just not why. Thanks.
On the other side, shutdown sounds and custom shutdown animations work.
well... you can put a script in /system/etc/init.d/S01bootsound and have it do this
Code:
#!/system/bin/sh
/system/bin/playlogos1 &
sleep 10
killall playlogos1
if you've removed the samsung boot qmg files then this will only play the sound file. problem is its delayed by 10 seconds into the boot process and i'm having a devil of a time making a boot animation sync up to that particular time. still trying to figure out how to insert the file earlier into the boot process.

How To Change Your Boot Up Sound

Before anyone reads the following instructions, I would like to point out that THESE INSTRUCTIONS WERE MADE BY makbil, I only thought that since it was only a post in a thread it would take a lot of time to find it, credits all go to him!
Here is a short guide for those who want to change their boot up sound.
1- Find your dream file and convert it to ogg format (Google will be very helpful in finding free converters).
2- Rename the converted file to: android_audio.mp3
3- Copy the converted & renamed file to your SD card.
4- Using "Root Explorer" go to /data/local (Astro does not work, it will not show root folders)
5- View the permissions for android_audio.mp3 there (It's read for all and read/write for user)
6- Delete android_audio.mp3
7- Copy android_audio.mp3 from your SDcard to /data/local.
8- Check permissions and change to the previously observed values.
9- Exit Root Explorer.
10- Reboot (nornal)
Enjoy your new boot sound
Again, credit goes to makbil.
Ah, very nice... unfortunately it's only for around 17 secs, whereas my boot animation is for about 25secs... anyway for us to make it match the duration of the boot animation?
Try slowing down the sound very slightly so it lasts longer, or you could add something extra at the end?
The sound file is just under 1 minute in length so it could not be that...
Well you don't need a sound file that lasts just under 1 min if your animation is only 25 secs, try shortening it
I just cut the audio file to 25s but the music still stops around 16/17s into the boot animation. Maybe there is a duration limit?
There is no time limit, because I moved there a song which lasts over six minutes. The song will stop when system is ready, of course!
You can set also downanimation sound, if You go to /system/customize/CID/ and open default.xml. Open it and cp text
audio="/data/local/android_audio.mp3" /> between
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip"
and
fps="15" />
Like this:
<ShutdownAnimation image_png="/system/customize/resource/downanimation.zip"
audio="/data/local/youraudioname.mp3" fps="15" />
And You must not convert your song. It is enough, if it is mp3.
I will try this again after submitting this..
Sent from my Desire HD using XDA Premium App
Keeping it mp3 instead of ogg fixed it. It now plays until the boot animation finishes or system becomes ready.
No success with this. I am running LeeDroid v 2.5 final. I have tried the steps you mentioned above and couldn't get this to work. Does this require re-flashing the ROM??
Will this work on a Evo 3d?
No success either for me. I'm running Beatmod Bliss Sense Hybrid

Changing the Boot Animation

For those wanting to change the boot animation on your Thunderbolt, here is a quick tutorial. Remember that you do this at your own risk- I take no responsibility. It is fairly simple though.
1. Download your preferred bootanimation and place on the root of your sd card.
2. Rename to "bootanimation.zip" (without the quotes of course)
3. use root explorer and navigate to the /system/media folder OR /system/customize/resource folder for VirusROM (I think)
4. rename the "bootanimation.zip" to "bootanimation.zip.old" and "Finalthunder.mp3" to "Finalthunder.mp3.old"
5. Next navigate to your sdcard, and find the bootanimation.zip file that you downloaded and renamed.
6. long press and choose copy
7. now navigate to the /system/media folder on your phone and toggle to mount R/W
8. Then just paste the bootanimation and done!
9. Reboot to check out your new boot animation
I will be trying to reach out to several devs who have made boot animations and see if they will let me post a link to them here so we can have a centralized place to get anims from. Will update as soon as I start hearing back from those devs.
How do you change the boot sound?
I was able to change this right after root by using the same methods as I used on my DINC. But I want to replace the boot sound as well. I have tried renaiming to thunderfinal.mp3, android_audio.mp3, and (VZW_) something .mp3 to no avail. Any suggestions or success?
madroix said:
I was able to change this right after root by using the same methods as I used on my DINC. But I want to replace the boot sound as well. I have tried renaiming to thunderfinal.mp3, android_audio.mp3, and (VZW_) something .mp3 to no avail. Any suggestions or success?
Click to expand...
Click to collapse
rename it to:
thunderfinal.mp3.old
and it "should" work. at least it worked for me. if you change the bootanimation, just add ".old" after .zip
FYI - I don't think that is the correct location - at least it's not on my Thunderbolt. Check here: /system/customize/resource and find the VZW_bootanimation.zip.
I replaced that with one of my choice and it's working fine. The sound is there as well: FinalThunder.mp3.
elemerica said:
FYI - I don't think that is the correct location - at least it's not on my Thunderbolt. Check here: /system/customize/resource and find the VZW_bootanimation.zip.
I replaced that with one of my choice and it's working fine. The sound is there as well: FinalThunder.mp3.
Click to expand...
Click to collapse
It depends what rom you are using. The debloated rom has those files placed in media. I am running the debloated rom now.
Where can I download other boot animations?
In xda there are a ton of boot animations. Just use the search. I put "boot animation" in the search tab and got a ton of results.
sent from your mom's house via XDA Premium app
runhopskipjump said:
It depends what rom you are using. The debloated rom has those files placed in media. I am running the debloated rom now.
Click to expand...
Click to collapse
If you are running Debloat then its in the /system/media folder.
sent from your mom's house via XDA Premium app
The stock rom is:
/system/customize/resource/bootanimation.zip
Same as EVO not DINC, DINC called it VZW_bootanimation.zip
I've been working on a few of my own boot animations. The problem I found is that when I dropped in my own boot animation and left the finalthunder.mp3 right where it was. It no longer played the thunder sound?? I assumed that changing the name of finalthunder would make it go away otherwise it would play no matter what.
So why did it stop playing when I didn't touch it?
**EDIT
Duplicate post. Sorry!
Maybe the sound is tied to the original boot animation through a script or other file...not really sure. I am going to play around with it this week and see if I can get the sound working as I have a couple ideas myself. If I find something that works I will be sure to post back and let you know.
Sent from my ADR6400L using XDA Premium App
changing Stock animation
I'd like to know as well. I can't see anywhere in the VZW_bootanimation.zip where that file is even referenced...
Of course, I'm not exactly a scholar in this area. I just want to use a custom sound with my custom boot ani.
Thanks!
B
*UPDATE*
I extracted all the stock folders from the zip, I changed 1 PNG (the quietly brilliant splash in the 'android' folder), rezipped it and put it back on the bolt. When I rebooted the screen was blank BUT the finalthunder.mp3 STILL played... and there was no animation.
I kept the PNG file name that I changed the same as the original... not sure why it stopped working tho. {Note - I rename the zip (attached) after I have it on my SD card. then move it to the system/customize/resource.}
hey guys, having some problems making mine
i was able to make everything but i get no image. I made 120 jpg files for the VZW folder and placed them in their.
I then customized the HTC screenie for the android folder, and finally in the progress folder i placed a .gif (which i didn't think was a problem).
I also placed the desc.txt file as well, zipped it up and placed in in /system/media. No dice...
Anyone else having an issue or has had this issue and knows what i need to do??
edited because
Anybody got any cool boot animations running on their Tbolts yet?
Awesome this worked great. Thinks for the instructions.
okay, i need some assistance, I'm trying to make a fairly simple boot animation, but NONE of the animations ive used have worked I am obviously not doing something right, but not sure what
I can't get this to work either... I'm running DaBamf ROM and put these files in the system/media folder to replace what was there and all I get is a black screen and no sound at all... I haven't messed with the stock location of these files yet, so we'll see...
Ok this is a weird solution but it has worked for me.
1. down load the link below and flash it. When it boots up you will get the famous rick roll bootanimation that jcase put up on April 1st.
2. Go to /system/media/ and replace the bootanimation.zip with whatever bootanimation.zip you want.
3. If you want to add custom boot sound you have to name it android_audio.mp3 to replace what is there. If you don't want any sound delete the existing android_audio.mp3 or you will get Rick Astley every time you boot.
That has allowed me to change bootanimation and get custom sound each time I have replaced the ROM. If that works for you thank me and enjoy.

Show how to get htc startup sound on cyanogenmod 7.1!

hi guys, did anyone know how to get the boot sound back!! after flashing cyanogenmod 7 theres no boot sound ;-( you can also change the animation
so im sure there must be a way to add sound back too!! hope anyone knows the way and could tell me!!
Ok for those of you who want this feature i tell you how to get it!!
htcbootsound.rar contains the original htc startup sound. here we go
1. download and extract the htcbootsound.rar
2.you will get the bootsnd.sh file and the bootsound.zip put both on sd card
3.reboot phone into recovery mode and mount system first
4.then flash the bootsound.zip by install zip from sd if its done
5.reboot your phone
6.run the Terminal Emulator
7.write: su (allow superuser)
cd / sdcard (space after cd and / is important)
sh bootsnd.sh
reboot
from now you v got the htc original startup sound how cool is that!!
big thanx to kartik.ansal who teached me this!! let me know if you like this
I tried this, but still don't hear any sound on bootup. I searched many threads in many forums, but can't seem to get this to work. Is it just not possible on the Galaxy Mini? I can get boot animations to work, just not the sound.
D1358531 said:
I tried this, but still don't hear any sound on bootup. I searched many threads in many forums, but can't seem to get this to work. Is it just not possible on the Galaxy Mini? I can get boot animations to work, just not the sound.
Click to expand...
Click to collapse
go to system/media then look if there is the file poweron.ogg then rename it to android_audio.mp3
I had the same problem on mebitek rom, so renaming the file did the trick
good luck
abdovar said:
go to system/media then look if there is the file poweron.ogg then rename it to android_audio.mp3
I had the same problem on mebitek rom, so renaming the file did the trick
good luck
Click to expand...
Click to collapse
I already have that file in the system/media folder, but still nothing happens.
D1358531 said:
I already have that file in the system/media folder, but still nothing happens.
Click to expand...
Click to collapse
Since you haven't mentioned what rom you use, so first check that the bootsound is not disabled in settings -> cm settings -> performance then scroll down.
if it isn't, let's do it again by renaming the bootsound file to poweron.ogg and give it the correct permissions rw-r--r--
this workaround looks foolish but who knows
D1358531 said:
I tried this, but still don't hear any sound on bootup. I searched many threads in many forums, but can't seem to get this to work. Is it just not possible on the Galaxy Mini? I can get boot animations to work, just not the sound.
Click to expand...
Click to collapse
Just follow the introduction step by step! it works everytime dont forget something, if you on squads cm you have to rename the audio to poweron.ogg and enable bootsound in settings!
Sent from my GT-S5570 using xda premium
I was able to get the boot sound to work by following the instructions here: http://forum.xda-developers.com/showpost.php?p=17100460&postcount=1
Many thanks to eollie !!

Broken Out Revo - Boot Sound

I found how get boot sounds on my Revo with BrokenOut. Here are the steps I used.
1) Find whatever music file you like (should fairly be short)
2) Convert it to an ogg file with your favorite music editor.
3) Rename the file you just created to VZW_PowerOn.ogg
4) Mount System as R/W if is R/O
5) Put the VZW_PowerOn.ogg file into /system/sounds/power
6) Reboot
Please let me know how works!
Thanks
Here is a screenshot while in Root Explorer.
It didn't work for me. I skipped Step 4 - I was able to create the /power directory and rename the .ogg file and put it in there, so I didn't think I needed to do Step 4. Is that where it went wrong? Let me know, as I think it'd be great to have a boot sound!
I added a screenshot to the original post above while inside Root Explorer.
This is for Broken Out. If you are using a different rom I can't help.
Another problem could be that the sound is too long. I would keep it under 15 sec.
Make sure the sound plays correctly on your phone before restarting.
Have a look at the screenshot. Make sure the sound is in the correct location.
Hope this helps!
works for me.
Sent from my VS910 4G using xda premium
Super Manager
Mark Once Again said:
I added a screenshot to the original post above while inside Root Explorer.
This is for Broken Out. If you are using a different rom I can't help.
Another problem could be that the sound is too long. I would keep it under 15 sec.
Make sure the sound plays correctly on your phone before restarting.
Have a look at the screenshot. Make sure the sound is in the correct location.
Hope this helps!
Click to expand...
Click to collapse
I am on BO and using Super Manager I do not have the extension of for power that you show in the screenshot.
I can get system/sounds/effect. It shows LowBatteryM3.ogg but does not show a power option. Any thoughts?
Just make the necessary folder and put the sound inside.
Need help updating
I would love to be able to update my revolution from gingervolt 2.0 to Broken Out Revo but unfortunately every link to the vz7 rom takes me to a dead end. This is becoming very frustrating, could someone please provide a link to download vz7 that actually works?

Categories

Resources