I have been banging my head against the wall for days now regarding this problem and can't quite figure it out. I created my own boot animation and was able to get that running just fine. I wanted to add a boot sound as well, so I did my homework and followed the instructions to a T. I resolved an error that I was getting while running the command sh bootsnd.sh, but even after it ran successfully I still was left with no boot sound. In the /system/media folder I have an mp3 named android_audio.mp3. I also verified that the build.prop file in the system folder had the line ro.config.play.bootsound=1 in it as well. I am currently running CM9 RC2 on my T-Mobile G2. Is there something I am missing? Can the G2 even play boot sounds? Has anyone gotten boot sounds to run on their G2? If so, how? Any help or pointers would be greatly appreciated and thank you all in advance for any help you may be able to provide.
Did you set permissions for the file to rwxrxxrxx?
Sent via carrier pigeon
Atomix86 said:
Did you set permissions for the file to rwxrxxrxx?
Sent via carrier pigeon
Click to expand...
Click to collapse
I double checked to make sure, but yeah the permissions were set correctly.
I can run the command 'stagefright -a -o /system/media/android_audio.mp3' from the terminal and it plays the sound without a problem.
Any other suggestions?
Are you calling it in desc.txt inside the bootanimation? I'm sure that's a part of it.
-Nipqer
I don't know if this makes a difference at all, but in the rom I use (EliteMod ICS, modified CM9 kernel, AOKP rom), seems you need to only place an boot_audio.mp3 file into /system/media/ , much like how you place boot animation.zip in /system/media, and chmod 644
Nipqer said:
Are you calling it in desc.txt inside the bootanimation? I'm sure that's a part of it.
-Nipqer
Click to expand...
Click to collapse
I did some additional research and did find a few references to adding the audio to the desc.txt file by adding a line like this 's android_audio.mp3' to it. I tried doing this and it borked the entire thing. On the reboot I saw the HTC logo, then was met by a black screen with no sound for a few moments before my home screen appeared.
kbeezie said:
I don't know if this makes a difference at all, but in the rom I use (EliteMod ICS, modified CM9 kernel, AOKP rom), seems you need to only place an boot_audio.mp3 file into /system/media/ , much like how you place boot animation.zip in /system/media, and chmod 644
Click to expand...
Click to collapse
I tried renaming it and changing the permissions again only to be met again by silence.
Thank you both for the suggestions. Do you guys have anything else I could try?
http://www.mydroidworld.com/topic/7677-how-to-add-a-bootsound-to-cyanogenmod/
i managed to add boot sound thx to that method... you will need bootsound.zip... here http://forum.xda-developers.com/showthread.php?t=1298144 and follow instructions of first link... hope it will help...
Related
For those who would like to have Nexus One boot animation for your G2 ROMs
Requirements:
Permanent root (S-OFF)
adb OR RootExplorer
Recommendations:
NanDroid backup – Part of Clockwork Recovery
Instructions:
Download the bootanimation.zip attached in this thread and save it to your adb tools folder
Use adb to push it to your phone (see commands below)
If you'd like to keep the original boot animation but want the Nexus boot animation as default, use these commands:
Code:
adb remount
adb push bootanimation.zip /data/local
adb reboot
If you'd like to replace the current boot animation, use the commands below:
Code:
adb remount
adb push bootanimation.zip /system/media
adb reboot
Sorry, if this is repeated.
I take NO credit for this. This is all what I've found and learned from the forum. I thought I should share it with you guys. Enjoy!
Thank you for this. I had been wanting the N1 boot animation since moving to the G2 and here it is I installed it, and it worked fine. However, I did so in recovery via adb (had to do adb shell mount /data first though).
Probably will be doing it again once I have CM 6.1.0 installed.
randalla0622 said:
Thank you for this. I had been wanting the N1 boot animation since moving to the G2 and here it is I installed it, and it worked fine. However, I did so in recovery via adb (had to do adb shell mount /data first though).
Probably will be doing it again once I have CM 6.1.0 installed.
Click to expand...
Click to collapse
I have been trying to get this Nexus One boot animation on my NAM Desire Z (unlocked, WWE Desire Z rom, s-off) all night, but it doesn't seem to take. Tried flashing in clockwork, pushing with adb like this, using root explorer, but nothing seems to work. Any ideas?
mrmartin86 said:
I have been trying to get this Nexus One boot animation on my NAM Desire Z (unlocked, WWE Desire Z rom, s-off) all night, but it doesn't seem to take. Tried flashing in clockwork, pushing with adb like this, using root explorer, but nothing seems to work. Any ideas?
Click to expand...
Click to collapse
Anyone have any ideas?
You could try using boot animation changer lite from the market. Pretty easy to use and it backs up the stock animation if you want to revert.
Sent from my HTC Vision using XDA App
sandire said:
You could try using boot animation changer lite from the market. Pretty easy to use and it backs up the stock animation if you want to revert.
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Awesome! Worked well, although the one they had for "Nexus One" has a weird lead into it.
mrmartin86 said:
Awesome! Worked well, although the one they had for "Nexus One" has a weird lead into it.
Click to expand...
Click to collapse
Okay, I'm still trying to figure out how these worked. I took that boot animation by modifiying it (removing some of the pictures), renaming in order, and made sure the desc.txt was in the right format, then I write it back to /system/media. What am I missing here on how this works?
I've pushed the boot animation to these 3:
/data/local/bootanimation.zip
/system/media/bootanimation.zip
/system/customize/resource/bootanimation.zip
I've attached the file I'm trying to write if you can see anything wrong it it. Thanks!
mrmartin86 said:
Okay, I'm still trying to figure out how these worked. I took that boot animation by modifiying it (removing some of the pictures), renaming in order, and made sure the desc.txt was in the right format, then I write it back to /system/media. What am I missing here on how this works?
I've pushed the boot animation to these 3:
/data/local/bootanimation.zip
/system/media/bootanimation.zip
/system/customize/resource/bootanimation.zip
I've attached the file I'm trying to write if you can see anything wrong it it. Thanks!
Click to expand...
Click to collapse
Nevermind about this. I finally found out how to fix it. I mounted the /system file in terminal emulator, then manually copied and pasted the bootanimation into those 3 places from my sd card. But do you know where I can find the boot sound?
Got it. It's all in the /system/customize/resource folder. The audio is "android_audio.mp3"
mrmartin86 said:
Nevermind about this. I finally found out how to fix it. I mounted the /system file in terminal emulator, then manually copied and pasted the bootanimation into those 3 places from my sd card. But do you know where I can find the boot sound?
Got it. It's all in the /system/customize/resource folder. The audio is "android_audio.mp3"
Click to expand...
Click to collapse
Last question, and I can put this to rest, so hopefully someone can answer it. What is the deal with the desc.txt file? I tried editing using both notepad (which I heard corrupts it) and wordpad, but it screws everything up. Here is the current settings:
512 256 30
p 1 0 part0
p 0 0 part1
And I'm trying to get it to be only 20 fps as so:
512 256 20
p 1 0 part0
p 0 0 part1
Is there a reason it won't work when I do that?
mrmartin86 said:
Last question, and I can put this to rest, so hopefully someone can answer it. What is the deal with the desc.txt file? I tried editing using both notepad (which I heard corrupts it) and wordpad, but it screws everything up. Here is the current settings:
512 256 30
p 1 0 part0
p 0 0 part1
And I'm trying to get it to be only 20 fps as so:
512 256 20
p 1 0 part0
p 0 0 part1
Is there a reason it won't work when I do that?
Click to expand...
Click to collapse
Does anyone know? I can't seem to find anywhere that explains it well enough, and I'd like to be able to develop some different boot animations.
mrmartin86 said:
Does anyone know? I can't seem to find anywhere that explains it well enough, and I'd like to be able to develop some different boot animations.
Click to expand...
Click to collapse
Well, since nobody seems to help, I kept looking and looking and hopefully I can help someone who is just as confused.
It was not the editing of the desc.txt file that caused the problem. It is when you zip the files, do not zip it with any compression. Simply zip it as a "store" option, and you should be fine if everything else is all set.
Thanks i love the boot animation!
Running HaXspresso on my wife's MT3GS -- awesome ROM, and she really loves it!
...EXCEPT for the sound that goes with the boot animation.
I've tried installing different boot animation zip files into /system/media but it looks like this ROM uses some other location for the boot animation.
So I'm wondering if anybody has ideas on how I can disable that boot sound?
blacra said:
Running HaXspresso on my wife's MT3GS -- awesome ROM, and she really loves it!
...EXCEPT for the sound that goes with the boot animation.
I've tried installing different boot animation zip files into /system/media but it looks like this ROM uses some other location for the boot animation.
So I'm wondering if anybody has ideas on how I can disable that boot sound?
Click to expand...
Click to collapse
its under system/customize/resource/ its called TMO_Bootup_sound.mp3 if you have S-OFF you can just delete it using root explorer or some app like that, if not you can do this:
go into recovery, plug your usb cable and using adb type adb remount first, adb shell and then type cd system/customize/resource after that type rm TMO_Bootup_sound.mp3 (with the capitals and all, otherwise it wont delete it) and then reboot, it should be gone
I dont know if there is any easier way to do it (u can delete the file from the rom zip file, wipe and reflash it but you would have to do a backup of the apps and all that so xD) if anyone know an easier way please share it
Cool!
I just didn't know where the file was located to delete it.
I ended up running ADB shell in recovery, but it worked out just fine. No more boot sound to annoy my wife! Yay!
Hey all. I'm having trouble adding a custom boot animation. I've been trying to use adb push to move it to /data/local/. It seems to work initially. Cmd shows it moved over the full zip file and I can see it in my phone with root explorer but when I restart my phone it just uses the default animation. I'm trying to switch to the bios boot animation that I've found on the forums. Ive only had my Incredible for about a week so its mainly stock other than rooted. Any advice? Thanks
pandalearius said:
Hey all. I'm having trouble adding a custom boot animation. I've been trying to use adb push to move it to /data/local/. It seems to work initially. Cmd shows it moved over the full zip file and I can see it in my phone with root explorer but when I restart my phone it just uses the default animation. I'm trying to switch to the bios boot animation that I've found on the forums. Ive only had my Incredible for about a week so its mainly stock other than rooted. Any advice? Thanks
Click to expand...
Click to collapse
My boot animation is actually in /system/customize/resource, maybe you could try sending it there and see if it works? Also, just checking, it is named bootanimation.zip right? I believe that matters lol, not sure. I'm sorry if I wasn't helpful, I don't exactly know much about boot animations tbh.
Sent from my Droid Incredible running Myn's Warm Two Point Two RLS5.3.
Blah12543 said:
My boot animation is actually in /system/customize/resource, maybe you could try sending it there and see if it works? Also, just checking, it is named bootanimation.zip right? I believe that matters lol, not sure. I'm sorry if I wasn't helpful, I don't exactly know much about boot animations tbh.
Click to expand...
Click to collapse
Yeah, it has the right name but still isn't working even in the folder you suggested. Also the zip file just has the part0, part1, and desc.txt files in it so I'm not sure exactly what the problem is. I'm pretty new to the droid scene. Thanks for trying though.
Finally! After a lot of searching I found out it needs to be named VZW_bootanimation.zip and the sound file is VZW_Droid.mp3 with Froyo at least. It actually is in /system/customize/resource/ after all. I just didn't scroll that far down since I didn't know about the name change. It does replace the stock animation file though so I saved it in another folder before replacing it in case I ever want to go back. Thanks for the help
The file name and location depend on the ROM being used.
This is tutorial for how to put sound with boot animation
first download attached file bootsound.zip
then extract it
you find two files
one is bootsnd.sh put this file directly in sdcard
second file is soundatboot.zip it is cwm flashable zip so in cwm mount system and sdcard then install this zip file
then reboot
now open terminal eluminator
then type following(after each command push enter)
su
cd /sdcard (there is space after cd )
sh bootsnd.sh
reboot
now when reboot there is music with bootanimation
when want to change music rename your desire sound to android_audio.mp3 and copy to system/media/
then reboot
i have this error in terminal emulator:
cd /sdcard: not found
edited: now ok!!!! (there should be space after cd )
Hold on: first, clean up the article a little more, I can't understand you very well.
Second, explain a little bit more about that script your using; what it does and whatnot.
I may know what is going on in here but what about the newbs? C'mon, do it better mate Thanks!
AlterJack said:
Hold on: first, clean up the article a little more, I can't understand you very well.
Second, explain a little bit more about that script your using; what it does and whatnot.
I may know what is going on in here but what about the newbs? C'mon, do it better mate Thanks!
Click to expand...
Click to collapse
In which part you not understand tell ill make more clear
first you installed soundatboot.zip by cwm?
And put bootsnd.sh file in sdcard?
AlterJack said:
Hold on: first, clean up the article a little more, I can't understand you very well.
Second, explain a little bit more about that script your using; what it does and whatnot.
I may know what is going on in here but what about the newbs? C'mon, do it better mate Thanks!
Click to expand...
Click to collapse
if uve done flashing ur device to CM7, more or less u have an idea how to do it
it works ! thanks...
hello, i already followed your guide without error, but i still couldn't get any sound when booting, im using cm7 kaang beta2,
i also changed my boot animation from THIS thread.
should i change the bootanimation back to the stock animation from cm7?
oh yeah, i also tested it by putting mp3 files in the /system/media where the bootanimation also exists, still,no luck so far,
don't know where it go wrong, since i didn't get any error when running the command in terminal, and when installing the soundaboot.zip, i didn't get any error message either in the cmw
uman01 said:
hello, i already followed your guide without error, but i still couldn't get any sound when booting, im using cm7 kaang beta2,
i also changed my boot animation from THIS thread.
should i change the bootanimation back to the stock animation from cm7?
oh yeah, i also tested it by putting mp3 files in the /system/media where the bootanimation also exists, still,no luck so far,
don't know where it go wrong, since i didn't get any error when running the command in terminal, and when installing the soundaboot.zip, i didn't get any error message either in the cmw
Click to expand...
Click to collapse
First in cwm mount system
then install soundatboot.zip
then reboot
then in terminal elumilator write commands
it works
It works (Cyanogenmod). Many thanks!
how about shutdown sound?
please help...thanks
It works! Much thanks for this tutorial.
shutdown sound plz...
loveablekrish said:
shutdown sound plz...
Click to expand...
Click to collapse
I tried many time but feel its not work without shutdown animation though if i get ill share
So, I tried everything you said. First time I did it, I had that bollywood boot sound. I then change it to one of my own, a .mp3 file I had converted from a .wav file; 160 kB.
But nothing happens, no sound at all. I even tried doing the whole process from scratch, including the script part. Any thoughts on this?
AlterJack said:
So, I tried everything you said. First time I did it, I had that bollywood boot sound. I then change it to one of my own, a .mp3 file I had converted from a .wav file; 160 kB.
But nothing happens, no sound at all. I even tried doing the whole process from scratch, including the script part. Any thoughts on this?
Click to expand...
Click to collapse
You tried other sounds of mp3 formate?
And changed permissions to rw-r-r ?
If doing this nothing happen just extract that zip file and put your sound in media folder then again zip and install then
nims11 said:
You tried other sounds of mp3 formate?
And changed permissions to rw-r-r ?
If doing this nothing happen just extract that zip file and put your sound in media folder then again zip and install then
Click to expand...
Click to collapse
Sorry but could you rephrase? I don't understand what you meant on your last post. Thanks nims11 for your help.
AlterJack said:
Sorry but could you rephrase? I don't understand what you meant on your last post. Thanks nims11 for your help.
Click to expand...
Click to collapse
I mean after changing new sound you changed its permission to rw-r-r?
nims11 said:
I mean after changing new sound you changed its permission to rw-r-r?
Click to expand...
Click to collapse
So, there are more steps to the ones you already mentioned?
Could I trouble you with a ste-by-step tutorial? Because I didn't know I had to do that nor your tutorial indicates so. Thanks.
worked for me ..
Hello,
I am having this error, "chown: unknown user/group root:shell".
Please help.
Thanks!
So i've researched all morning and there is simply nothing to be found. I have a bootanimation.zip the COD one if it matters. And I've tried putting in in system/media, changing the samsungboot and samsungbootloop files, tried putting it in data/local, tried changing its permissions. The most i've accomplished is turning off the boot animation. Could someone help with getting my bootanimation.zip as my bootup?
Upload your boot.zip I'll check it out for you
Sent from my SGH-T999 using xda app-developers app
wow, hey thanks, mate. Anything you could do would be much appreciated.
And this is the sound file associated with it.... well it actually won't let me upload the mp3, but here is the origional thread
http://forum.xda-developers.com/showthread.php?t=904350
I've read that its a propriety samsung file, the .qmg you have in the system/media. Since i don't know the samsung specifics they add onto the ics os, the only thing i can assume is that one would have to do a one for one switch. Which means i would have to do whatever samsung did and convert the bootanimation.zip with all its images into a bootsamsung.qmg file and replace the thing directly. I also ready and downloaded the samsung theme designer http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=13&cntsId=11264, which was said to edit these specific files, but so far no luck.
This is no fun talking to myself, common you guys with experience pipe up and steer me here. But as i was experiencing, just the samsung theming software isn't enough, apparently from what i've read it would cost big bucks to get what you need to create a full on .qmg bootanimation file. So a lot of guys have turned to pulling stuff from full on roms which have just enabled the ios to go off of a bootanimation.zip instead of samsungs stuff. I completely forgot to mention, i'm running rooted stock ics, and don't want to flash any new roms seeing as jelly bean official is on the horizon. So i guess what i'm wondering now is what do you devs do to enable the OS to boot from a .zip???
Your current ROM and Kernel must be able to support bootanimation.zip files. Otherwise, you'll have to create/convert it to sanim.zip
assuming i want to stay on the stock rom, do you know of a writeup or something specific on this sanim.zip, i;m coming up short on my google searches
I'm not giving up on this, i really want that COD boot screen.
Dude I'm sorry I was looking for your post. I'm working on it as soon as I get off work today. I'll get back to you with the solution. (Hopefully soon)
Sent from my SGH-T999 using xda app-developers app
thanks man i await anxiously
Hey lets not give up on this, I need this COD bootanimation, or for that matter anything other than tmobiles HORRID animations, man they are ugly.
bossman137 said:
Hey lets not give up on this, I need this COD bootanimation, or for that matter anything other than tmobiles HORRID animations, man they are ugly.
Click to expand...
Click to collapse
Assuming you have root, do this :
adb shell
$ su
# mv /system/bin/samsungani /system/bin/samsungani.bk
# mv /system/bin/bootanimation /system/bin/samsungani
# chmod 0755 /system/bin/samsungani
# exit
$ exit
adb push bootanimation.zip /system/media
adb push bootanimation.zip /system/media/sanim.zip
(not sure which animation the binary looks for, so pushed twice)
That should do it.
Hey thanks so much i'll give it a try. I'm using the sonic rom but not much seems to have changed. How do i access the abd shell and this command window?