Boot animation sound....

Discussion in 'Android Hacks and Help' started by Suuperflie, Jul 23, 2011.

  1. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    I flashed a custom boot logo and boot animation to my Droid the other day, but how can I get the audio "Droid" to play with the new animation?
     
  2. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    For the boot animation, I assume you mean a bootanimation.zip. If you are on Gingerbread, you need to take the Droid sound file and put it in /system/media/audio/notifications. On Froyo, I think it's just in /system/media/ or /data/local.

    The audio file also needs to be referenced by name in the bootanimation.zip. Just add a line that says:
    s soundfile.mp3

    Assuming you have a part0, part1, etc it should go after the line that says:
    p # # part0

    if you want it to play when the animation starts.
     
  3. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6

    Ok, I'm having trouble locating the sound file. Nothing displays in the folders under notifications or ringtones. The don't show up in rsdlite either. As you can tell, I'm new at this.
     
  4. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    I don't know how to do sounds on a boot logo (which is what you use RSDLite for), but the boot animation folders (notifications) should be there on Gingerbread. What do you mean that you can't find the sound file? Did you install the boot animation through ADB or through Clockwork?
     
  5. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    I pushed it through adb. I found the sound files through root explorer. Now I'm trying to figure out where to put it.
     
  6. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    You're running a Gingerbread ROM right? And the bootanimation.zip is pushed to /data/local or /system/media? From square one it should have just been a matter of:

    adb push bootanimation.zip /data/local
    adb push boot.mp3 /system/media/audio/notifications

    Also, does the boot animation actually support sound, or are you trying to add it? If you're trying to add it, you'll need to unzip bootanimation.zip, go into desc.txt and add this line after part0 (or whatever the first folder is called):
    s name_of_sound_file_here

    If this doesn't solve your problem, it's probably the most efficient to have you just post your bootanimation.zip and I can get it setup for you.
     
  7. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    I'm running ss 4.96 froyo. Will the paths still be the same?
     
  8. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Nope. Sound paths are different. You need to push the sound into /data/local and/or /system/media. You should only need it in the same folder as bootanimation.zip, but I'd push both just to be sure. Also, just to confirm, the sound you are trying to add came with the bootanimation right? You're not adding something to it?

    So yours should have been:
    adb push bootanimation.zip /data/local
    adb push soundfile /data/local

    or if you pushed to /system/media:
    adb push bootanimation.zip /system/media
    adb push soundfile /system/media
     
  9. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    I assume by adding a line that references the sound file you meant in the desc.txt file?
     
  10. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    No, the bootanimation originally didn't have sound to it. I'm just trying to add the stock "Droid" sound to it.
     
  11. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Then you definitely need to extract the archive and edit desc.txt and add that line. Then rebuild the archive using STORE as the compression method. Make sure its still named bootanimation.zip and push it. Everything should work assuming all the file names are correct and the sound file is in the right folder.
     
  12. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    Ok, in the bootanimation.zip file there is only a part0 folder with all the .png images for the animation and then the desc.txt file. The only thing in the desc.txt file is this:

    480 427 18
    p 0 0 part0

    After adding the line you posted it's now this:

    480 427 18
    p 0 0 part0
    s boot.mp3

    That is everything that's in the bootanimation.zip file.
     
  13. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Okay then, now once you zip it back up with store compression, you'll need to rename your sound boot.mp3 and push it to /data/local and /system/media (just to be sure). Make sure bootanimation.zip gets pushed to /data/local. After that's all done, reboot. Note that the sound file doesn't need to be inside the zip.

    You should be all set.
     
  14. Suuperflie

    Suuperflie Member

    Joined:
    Apr 2, 2011
    Messages:
    351
    Likes Received:
    6
    Trophy Points:
    18
    Ratings:
    +6
    K, I have winzip15 pro, but I don't see a "store" compression option.
     
  15. androidfan44

    androidfan44 New Member

    Joined:
    Jul 13, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    7Zip or WinRAR should have it. I personally used WinRAR to zip up mine. I think "STORE" just means zip up with no compression, but when messing with bootanimations and logos, it's probably best to know for sure.
     
Search tags for this page
google bootmp3 for android
,
add sound file to bootanimation
,
android boot animations with sound
,
android boot.mp3
,

boot animation sound android

,
boot animation with sound android
,
boot animations files and sound
,
custom boot animation with sound for android
,
how to add mp3 to android boot animation
,
how to pute a bootanimation sound on android