1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Enabling boot sound

Discussion in 'Droid X Hacks' started by oldschool71, Sep 30, 2010.

  1. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Has any one had any luck with getting sounds during boot to work and not just at the end?
  2. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Update

    I have modified the build.prop and been able to get the startup sound to work but still only plays at the end of the animation. In the string that starts as:
    # BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone

    There are seven lines of code all beginning with the # symbol. I removed all seven lines and replaced them with the following.

    # BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone
    persist.mot.powerup.tone=/data/local/whatevertoneyouwant.ogg
    # END IKSHADOW-1784

    The sound you want to play needs to be placed in your phone in the /data/local folder
    I have not tried to use any other format types i.e. .mp3 but the .ogg format does work
  3. squidlymandingo
    Offline

    squidlymandingo Premium Member Premium Member Developer

    Joined:
    May 9, 2010
    Messages:
    671
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Boston
    I have successfully done this as a theme squid2 d2 on the droid 2 by loading thr r2d2 roms bin that is where the script is to get the sound I loaded it to the 2.3.15 leak. It works flawlessly
  4. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Got it working

    I have been able to get bootanimations to play on my droid x with sound. I took the following steps to enable this. I used root explorer to move the files.

    1. Download the attached file. This file is one that I removed from a R2D2 D2.
    2. Unzip the file and save the file to your sdcard. The file is labeled bootanimation.
    3. Use root explorer and go to the folder /system/bin.
    4. In that folder locate the file named bootanimation and save it as bootanimation2
    5. move the file that you just renamed to your sdcard
    6. move the new file that you downloaded and placed on your sdcard to the folder /system/bin
    7. simple as that.

    You will need to make sure that what ever audio file that is assigned to your bootanimation is saved in the folder /system/media

    Have to give squidlymandingo a thanks for supplying the files from the R2D2 D2. Thanks

    Attached Files:

  5. squidlymandingo
    Offline

    squidlymandingo Premium Member Premium Member Developer

    Joined:
    May 9, 2010
    Messages:
    671
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Boston
    Thanks for the props I have the r2d2 full theme in beta for the x give it a try,it has everything the droid. 2 rom has. Glad to be of help
  6. Casen
    Offline

    Casen New Member

    Joined:
    Sep 30, 2010
    Messages:
    278
    Likes Received:
    3
    Trophy Points:
    0
    Does the sound need to be in a certain format? And where at in the animation does it play? Does it start with the animation, or near the end? Does it loop?
  7. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    The sound works in mp3 and ogg formats. The desc.txt tells it when to play and for how long. Check into some posts on writing or modifying the desc.txt.
  8. Casen
    Offline

    Casen New Member

    Joined:
    Sep 30, 2010
    Messages:
    278
    Likes Received:
    3
    Trophy Points:
    0
    well, i made my own boot... u have a vague idea where to look for desc.txt modifications?
  9. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    The desc.txt file is located in the bootanimation.zip file.
  10. stevewitt
    Offline

    stevewitt New Member

    Joined:
    Aug 9, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    N.W Indiana
    ]

    I followed the above instuctions to the letter and when I rebooted I had no boot animation whatsoever. Any ideas?
  11. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Are you using the stock bootanimation or have you downloaded a new bootanimation? The stock bootanimation does not have sound in it and that is why I am asking.
  12. stevewitt
    Offline

    stevewitt New Member

    Joined:
    Aug 9, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    N.W Indiana
    I guess I'm a little confused, which boot animation should I be using with your method? Is there a boot animation with sound already in it that I should be using?
  13. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    You should be able to find the r2d2 bootanimation that has sound in it. I have been messing around with that one and I actually have it playing different sound clips during the boot up.
  14. stevewitt
    Offline

    stevewitt New Member

    Joined:
    Aug 9, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    N.W Indiana

    I have the R2D2 boot animation.zip file. What I confused about is how does your method work with that. Where should I have the boot animation.zip and how does your method change that?
  15. stngfreek
    Offline

    stngfreek New Member

    Joined:
    Sep 8, 2010
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    Great work, I got this to work very easily. Nice post.
  16. stevewitt
    Offline

    stevewitt New Member

    Joined:
    Aug 9, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    N.W Indiana

    I'm obviously missing something here, could someone give me a hand on this?
  17. stevewitt
    Offline

    stevewitt New Member

    Joined:
    Aug 9, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    N.W Indiana
    Never mind, I got it.
  18. Casen
    Offline

    Casen New Member

    Joined:
    Sep 30, 2010
    Messages:
    278
    Likes Received:
    3
    Trophy Points:
    0
    I got all that, but what line do I add into the desc.txt

    I have
    480 480 13
    p 1 0 android
    p 1 0 part0
    p 1 1 part1

    And the sound is a mp3. I have tried android.mp3 android-audio.mp3

    I never found the r2d2 with sound, so could you let me know how close I am?
    Also, I am on the 2.2 ota, but had to sbf to 2.3.13
    DROID X: Rooted, DeoDexed, BigDXSerenity Red
  19. oldschool71
    Offline

    oldschool71 New Member

    Joined:
    Sep 30, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    You are closse but the Sound that you are looking to play must be set up differently than the images. here is what my desc.txt looks like.

    p 1 15 part0
    s Imperial2.mp3

    p 1 0 part1
    s none

    p 1 0 part2
    s d2_r2d2_pu.ogg

    Placing the s before the name of the file that you want to play is the key. As you can see from mine I have set it up to play 2 different audio files at different times. I would think that yours should look something like this.

    480 480 13
    p 1 0 part0
    s android.mp3

    p 1 1 part1



    Let me know if you need any other help.
  20. Casen
    Offline

    Casen New Member

    Joined:
    Sep 30, 2010
    Messages:
    278
    Likes Received:
    3
    Trophy Points:
    0
    Thank you for fixing that. As soon as I get back to a computer, ill edit that and try.


    DROID X: Rooted, DeoDexed, BigDXSerenity Red
Search tags for this page
android create boot sound script file
,

boot sound cm9

,

boot sound ics

,
cm 10 boot sound
,

cm9 boot sound

,

download boot sound android

,
dx cm9 boot sounds
,

enable boot sound android

,
enable boot sound on evo 4g
,
enable bootsound android script
,
enable bootsound di cm9
,
how to enable boot sound
,

how to enable boot sound on android

,
how to enable boot sound on ics
,

motorola droid 3 enable boot audio