quick and dirty: is there a way to play a sound on boot?
I tried to place android_audio.mp3 file in /data/local but still no sound is being plaied.
Any clue?
Thx
Good question
It's a question I've been asking myself this very day.
Since there's no default sound, no way to know where to put the file or how to name it.
Any ideas?
It should be somewhere around system/media but no clue.
NathanielCaron said:
It's a question I've been asking myself this very day.
Since there's no default sound, no way to know where to put the file or how to name it.
Any ideas?
It should be somewhere around system/media but no clue.
Click to expand...
Click to collapse
Hmmm I know its possible... I would also like to know where to put such a file
Sent from my Galaxy Nexus using XDA
It is not enabled in the source code, no.
BAMF Paradigm has boot sound, however.
I've been wondering about the same thing for awhile now but could never find any information on it. I'm glad their working on a kernal to allow it. I started making a boot animation assuming sound was set.
I remember the newer MIUI builds having a sound on boot. Cool the first couple times, annoying after that.
dev/null/ said:
I've been wondering about the same thing for awhile now but could never find any information on it. I'm glad their working on a kernal to allow it. I started making a boot animation assuming sound was set.
Click to expand...
Click to collapse
Its in the framework, not the kernel.
adrynalyne said:
It is not enabled in the source code, no.
BAMF Paradigm has boot sound, however.
Click to expand...
Click to collapse
I don't suppose you're going to share with us huh?
Sent from my Galaxy Nexus using XDA App
Not today, but we will, yes
We are working on getting the code public.
It isn't my work to be sharing, so...its not my place to just throw it out there.
adrynalyne said:
It is not enabled in the source code, no.
BAMF Paradigm has boot sound, however.
Click to expand...
Click to collapse
I suppose we could flash the ROM and see where the sound file is located... That would be an option but i assume the sound file is packaged in the same .zip file as the animation itself...
Hydera5 said:
I suppose we could flash the ROM and see where the sound file is located... That would be an option but i assume the sound file is packaged in the same .zip file as the animation itself...
Click to expand...
Click to collapse
The boot sound is a mp3 format under system/media but it won't work with other roms only on BAMF rom there's must be more to it
Sent from my Galaxy Nexus using xda premium
Related
my evo 2.2 is already rooted with amon recovery but i cannot do adb commands before i was able to now i cant thnx for looking
Too much information..
Can you try asking your question again only this time try not to bombard us with so many details?
nebenezer said:
Too much information..
Can you try asking your question again only this time try not to bombard us with so many details?
Click to expand...
Click to collapse
Epic
10-char
got a stock evo 2.1 rooted it.. with clockwork installed custom rom and kernel updated to 2.2 everything is okay used romanger to go back between clock work and arom... but still cant get the adb commands to work... actuall just trying to push a spc mp3 file tried replacing with root explorer no go
One thing a lot of us had trouble with going from 2.1 to 2.2 was the su app didn't like being bundled with a rom. Uninstall your su app and install the one from the market.
Let us know if this fixes it.
HELP
nebenezer said:
One thing a lot of us had trouble with going from 2.1 to 2.2 was the su app didn't like being bundled with a rom. Uninstall your su app and install the one from the market.
Let us know if this fixes it.
Click to expand...
Click to collapse
tried that, only because i was not able to install (update) the one from the market so i uninstalled the on on the rom and installed the one from the market
i've read through tons of threads and it seems that alot of people are having issues replacing the spc mp3 file on 2.2
foresure84 said:
i've read through tons of threads and it seems that alot of people are having issues replacing the spc mp3 file on 2.2
Click to expand...
Click to collapse
What is that file used for?
Where is it in the system?
Is that the audio that plays during the boot animation?
yes
nebenezer said:
What is that file used for?
Where is it in the system?
Is that the audio that plays during the boot animation?
Click to expand...
Click to collapse
yes that's what i'm referring to the boot animation... by the way thnx for all you guy's support and patience with us noobs
Does adb recognize your phone?
Sent from my SUPERSONIC
wierd
dglowe343 said:
Does adb recognize your phone?
Sent from my SUPERSONIC
Click to expand...
Click to collapse
yes it does im assuming the stock recovery uses the red exclamation... now i have the yellow one i tried to remount and i get an error.....
so why must we adb on the 2.2 when the 2.1 all you needed was root explorer? to change boot animation and sound.....
The boot animation in 2.2 is a single .zip file. Boot animations are something I haven't gotten into much (on the EVO) so I'm not sure how it was on 2.1 but I'd guess it was more like the Hero where it was a .gif or two and a sound file.
When the boot animation is packaged in a single .zip file you can't just swap out parts of it. You'd have to unzip it, change what you want, and make sure the xml (if there's on in there) is adjusted accordingly. If you swapped the sound file for one that was of the same name you'd probably be fine to rezip and drop the whole zip back in there.
This is pure speculation though. I may be totally wrong. If I were gonna try to customize my boot though that's where I would start.
nebenezer said:
The boot animation in 2.2 is a single .zip file. Boot animations are something I haven't gotten into much (on the EVO) so I'm not sure how it was on 2.1 but I'd guess it was more like the Hero where it was a .gif or two and a sound file.
When the boot animation is packaged in a single .zip file you can't just swap out parts of it. You'd have to unzip it, change what you want, and make sure the xml (if there's on in there) is adjusted accordingly. If you swapped the sound file for one that was of the same name you'd probably be fine to rezip and drop the whole zip back in there.
This is pure speculation though. I may be totally wrong. If I were gonna try to customize my boot though that's where I would start.
Click to expand...
Click to collapse
is it possible that you can take a look for me
You can use pushboot found in the development section to change the sound and/or the bootanimation.
foresure84 said:
is it possible that you can take a look for me
Click to expand...
Click to collapse
Sure. Can you post the mp3 you want to use? If I can get it working I'll just shoot the finished package back to you.
attachment
here is the file
3 weeks of reading post and you send me a message on how to post an attachment ... lol if the xda members knew how overwhelming it can be for a noob lol
foresure84 said:
here is the file
Click to expand...
Click to collapse
Cool, dl'ing virus rom now so I can see exactly what you're working with.
Are we sure you actually do have su permissions and it was just an issue with this boot animation package?
Can you mount your /system as R/W in root explorer?
O/T- nice bike Busa's are some bad bi$%es man. Nothing quite like em really.
I've never felt such unbelievable power as when I've driven a busa, and smooth as hell too! They're so smooth you could convince an idiot it has an electric motor
I sold bikes in FL for a few years, probably the most fun I've ever been paid to have
foresure84 said:
so why must we adb on the 2.2 when the 2.1 all you needed was root explorer? to change boot animation and sound.....
Click to expand...
Click to collapse
Same goes for 2.2. Just swap out the files in /system/customize/resource/ I've also seen them in /system/media/ depending on which rom you're using.
Sent from my SUPERSONIC
Soon after I rooted my phone on launch day, I manually disabled the boot sound (unfortunately, I don't remember which method). Now, regardless of which ROM I flash, I NEVER have a boot sound. Can someone help me out and let me know how I can about troubleshooting this further?
I've tried the obvious, by checking if the ROM I'm flashing has one (it does), and looking through Root Explorer to add a mp3 in various places, but nothing seems to work. Am I missing something very simple here?
you have to have a music file with the same name and format in the same location as in stock.
Same ROM's have different directory's for boot sound and animations. Check next two..
system/customize/resource (stock rom)
system/media (fresh & calkulin rom)
Edit: Btw I have try it, and does replace animation on Calkulin but still no sound... Which ROM are you using?
Rydah805 said:
you have to have a music file with the same name and format in the same location as in stock.
Click to expand...
Click to collapse
This may be my issue. I'm using CM7 (DESTROYED - link to forum below) so there is no system/customize directory. Can I just create it and put something in there? Does it need to be named specifically? android_boot.mp3???
erik077 said:
Same ROM's have different directory's for boot sound and animations. Check next two..
system/customize/resource (stock rom)
system/media (fresh & calkulin rom)
Edit: Btw I have try it, and does replace animation on Calkulin but still no sound... Which ROM are you using?
Click to expand...
Click to collapse
See above - CM7 - Destroyed. I don't have an issue with the animations at all, just the boot sounds.
Stock file is called SPC_animation_final.mp3 but check witch someone who have same rom like you.
oubravs2b said:
Can I just create it and put something in there? Does it need to be named specifically? android_boot.mp3???
Click to expand...
Click to collapse
NO. You cant do that, must be specific (based on rom)
Tried to create system/customize/resource directory manually, copied the mp3 from system/media that came with the ROM and pasted into that new directory, renamed it android_audio.mp3 with no avail. Still no boot sound.
Tried renaming that to SPC_animation_final.mp3 and same result. Anything else I can try?
Send a PM to person who made that ROM...
erik077 said:
Send a PM to person who made that ROM...
Click to expand...
Click to collapse
Will do - but realize this occurs regardless of which ROM I use. It's not ROM specific.
Thanks for the help all!
Try Fresh ROM, you should have sound saying "freshhh"
Sorry, I was thinking with Sense on my mind.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
You cannot do a boot sound on an AOSP rom.
Only Sense Roms.
nosympathy said:
You cannot do a boot sound on an AOSP rom.
Only Sense Roms.
Click to expand...
Click to collapse
Really....wow. Was definitely not aware of that! I'll throw Fresh on there again tonight and see what I get. Maybe I've just had AOSP ROMS on there ever since. I thought I for sure tried out a few Sense, but maybe not.
Again - thanks to everyone. I didn't expect to get this much response. Really helps.
oubravs2b said:
Really....wow. Was definitely not aware of that! I'll throw Fresh on there again tonight and see what I get. Maybe I've just had AOSP ROMS on there ever since. I thought I for sure tried out a few Sense, but maybe not.
Again - thanks to everyone. I didn't expect to get this much response. Really helps.
Click to expand...
Click to collapse
Yea, like they said, only sense roms have sound enable, no aosp, CM7 for example, support boot sounds.
teh roxxorz said:
Yea, like they said, only sense roms have sound enable, no aosp, CM7 for example, support boot sounds.
Click to expand...
Click to collapse
Sure enough! Flashed Fresh and got boot sound. I could have sworn I had a Sense ROM in there somewhere in the past 6-9 months, but maybe not. Thanks again guys.
oubravs2b said:
Sure enough! Flashed Fresh and got boot sound. I could have sworn I had a Sense ROM in there somewhere in the past 6-9 months, but maybe not. Thanks again guys.
Click to expand...
Click to collapse
No worries, it happens to the best of us.
How do I go about changing my boot animation for rooted OTA update. I've tried changing the boot animation.zip in /data/local.
If anyone could boint me in the right direction would be most appreciated.
have you tried pasting the bootanimation zip inside system/media.
P.s. you will see a folder named audio, DONT touch it
Tried the one in media with no success. :/
Try /data/animations ?
dpilcher said:
Try /data/animations ?
Click to expand...
Click to collapse
There is no /data/animations. :/
Try system\customize\resource
Brought to you by the little voices in my head
dased14 said:
Try system\customize\resource
Brought to you by the little voices in my head
Click to expand...
Click to collapse
Didn't work.
Does anyone even have any idea about how to do this?
What's the exact name of the Rom your using might help find the right spot for it. Who built it (virus,myn,mik,ect....) every bit of info helps.
brought to you by the voices in my head
From his first post it is HTC's 4.22.651.? OTA update and it seems to have been moved entirely as I tried while I was playing around with it to change the boot animation and it would not work for me either
Evo 4g running CM7 nightly 95
i just ripped that rom(supersonic_4.22.651.2_deodexed) apart and i found the bootanimation in system\customize\resource named SPC_bootanimation.zip
dased14 said:
i just ripped that rom(supersonic_4.22.651.2_deodexed) apart and i found the bootanimation in system\customize\resource named SPC_bootanimation.zip
Click to expand...
Click to collapse
Sorry thought you were on 3.7, my bad. I believe he may be correct in the location, but also try
data/syscustomize/resource/
and do make sure you name it correctly with the underscore _ and not the . with lower case spc_bootanimation.zip . If you get the sound to work let me know, been trying for some time. Word is out that it needs to be named version11samelength.mp3 but I have had no success with either lower or upper case. But man do I have a sweet ani...eh D? lol
dased14 said:
i just ripped that rom(supersonic_4.22.651.2_deodexed) apart and i found the bootanimation in system\customize\resource named SPC_bootanimation.zip
Click to expand...
Click to collapse
That's not there for me. Also, as stated I'm using the supersonic stock rom.
Nevermind there was a file there named that. Was just hidden for some reason. Just wrote over it with my custom bootanimation.zip and it worked. Thanks a bunch.
dpilcher said:
Sorry thought you were on 3.7, my bad. I believe he may be correct in the location, but also try
data/syscustomize/resource/
and do make sure you name it correctly with the underscore _ and not the . with lower case spc_bootanimation.zip . If you get the sound to work let me know, been trying for some time. Word is out that it needs to be named version11samelength.mp3 but I have had no success with either lower or upper case. But man do I have a sweet ani...eh D? lol
Click to expand...
Click to collapse
There is a sound file there if you want to check.
tehbeetus said:
That's not there for me. Also, as stated I'm using the supersonic stock rom.
Nevermind there was a file there named that. Was just hidden for some reason. Just wrote over it with my custom bootanimation.zip and it worked. Thanks a bunch.
There is a sound file there if you want to check.
Click to expand...
Click to collapse
glad you got it to work
Okay before i get bashed for Not searching the forums, i have searched them i realize there is a ton of posts about boot animation sounds, problem is I have tried them all and cant add sound to my boitanimation using rootbox nightly latest build, (because i always update each new nightly) Anyway if anyone can help me please do, ive tried coping my mp3 to /system, i do not have a /system/sounds folder, but i tried to make one as well as /system/sounds/poweron, ive tried using an. Ogg instead of a. Mp3, ive tried using boot animation changer app with add sound button... There is too much to even list what ive tried, so my qustion is, is anyone out there successfully added sound to bootanimation in rootbox using note2 i317 or any note2 t0le, if you have please let me know how, thanks
majicmazo said:
Okay before i get bashed for Not searching the forums, i have searched them i realize there is a ton of posts about boot animation sounds, problem is I have tried them all and cant add sound to my boitanimation using rootbox nightly latest build, (because i always update each new nightly) Anyway if anyone can help me please do, ive tried coping my mp3 to /system, i do not have a /system/sounds folder, but i tried to make one as well as /system/sounds/poweron, ive tried using an. Ogg instead of a. Mp3, ive tried using boot animation changer app with add sound button... There is too much to even list what ive tried, so my qustion is, is anyone out there successfully added sound to bootanimation in rootbox using note2 i317 or any note2 t0le, if you have please let me know how, thanks
Click to expand...
Click to collapse
Should be system/media/audio/ui and be named PowerOn.ogg. I'm not on that rom, but that's how most are.
well, I found the directory you told me to go to, placed the file made sure the name was PowerOn.ogg, tested to make sure the file actually plays, it does rebooted, no dice went back to the directory to make sure the file was still there, it was, also tried poweron.ogg just for kicks, still nothing, any other suggestions?
9wire said:
Should be system/media/audio/ui and be named PowerOn.ogg. I'm not on that rom, but that's how most are.
Click to expand...
Click to collapse
Some roms don't have the sounds enabled, I believe, but check the permissions, too.
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Sorry kenny, and qustion to 9wire and anyone else
majicmazo said:
well, I found the directory you told me to go to, placed the file made sure the name was PowerOn.ogg, tested to make sure the file actually plays, it does rebooted, no dice went back to the directory to make sure the file was still there, it was, also tried poweron.ogg just for kicks, still nothing, any other suggestions?
Click to expand...
Click to collapse
9wire said:
Should be system/media/audio/ui and be named PowerOn.ogg. I'm not on that rom, but that's how most are.
Click to expand...
Click to collapse
9wire said:
Some roms don't have the sounds enabled, I believe, but check the permissions, too.
Click to expand...
Click to collapse
First of kenny, I apologize, thank you for moving my thread to the proper location, 9wire, or anyone else for that matter is there a way to enable sounds if that is the case?
With S-OFF, I imagine this is possible. Has anyone done so?
godhamba said:
With S-OFF, I imagine this is possible. Has anyone done so?
Click to expand...
Click to collapse
Yeah, you can do this. I use the Google Edition HTC One boot animation. Just Google it and you can find the file. Simply rename it bootanimation.zip and place it in /system/media. Make sure you replace the bootanimation.zip currently in there to something else such as bootanimation.bak. You might have to change permissions to rw-r-r as well.
my /system/media doesn't have an existing bootanimation.zip. Nevertheless I placed that file in that location, set permissions and the stock Verizon animation still showed. Now I'm stumped. Pulled the file from HERE, trying both a manual addition as well as flashing the flashable zip provided.
Frankie1588 said:
Yeah, you can do this. I use the Google Edition HTC One boot animation. Just Google it and you can find the file. Simply rename it bootanimation.zip and place it in /system/media. Make sure you replace the bootanimation.zip currently in there to something else such as bootanimation.bak. You might have to change permissions to rw-r-r as well.
Click to expand...
Click to collapse
godhamba said:
my /system/media doesn't have an existing bootanimation.zip. Nevertheless I placed that file in that location, set permissions and the stock Verizon animation still showed. Now I'm stumped. Pulled the file from HERE, trying both a manual addition as well as flashing the flashable zip provided.
Click to expand...
Click to collapse
Are you running a Sense rom? If so, the boot animations are located in System-Customize-Resource. There are two that you need to replace, one for booting up, vzw_bootup.zip, and one for shutting down, hTC_downamination.zip.
Sent from my HTC6500LVW using Tapatalk
A ha! Thanks and thanks to @andybones who helped me out via PM.
jaydubbs said:
Are you running a Sense rom? If so, the boot animations are located in System-Customize-Resource. There are two that you need to replace, one for booting up, vzw_bootup.zip, and one for shutting down, hTC_downamination.zip.
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
jaydubbs said:
Are you running a Sense rom? If so, the boot animations are located in System-Customize-Resource. There are two that you need to replace, one for booting up, vzw_bootup.zip, and one for shutting down, hTC_downamination.zip.
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
Hmm... I did this and for some reason the boot animation wasn't replaced but the down animation works fine. Side note, does the boot sound in that folder play for anyone else?
HTC One s-off
On the stock HTC ROM, to change the boot animation, you have to change two files in 'system/customize/resource/' : "htc_bootup_one.zip" and "vzw_bootup.zip" (capitalization matters). They both have to be replaced with fully functional boot animations. When I changed mine, it wouldn't work if I just changed one or the other, I had to change both.
On the stock HTC ROM, to change your down animation, you have to replace "hTC_downanimation.zip" (capitalization matters) in '/system/customize/resource/' with a functioning down animation.
On custom ROMS, you have to look to find where it's at. Sometimes it's in 'system/media' named "bootanimation.zip", sometimes it's not. Remember, it has to be a functioning replacement, otherwise it will show the stock ANDROID boot animation.
IceDragon59 said:
On the stock HTC ROM, to change the boot animation, you have to change two files in 'system/customize/resource/' : "htc_bootup_one.zip" and "vzw_bootup.zip" (capitalization matters). They both have to be replaced with fully functional boot animations. When I changed mine, it wouldn't work if I just changed one or the other, I had to change both.
On the stock HTC ROM, to change your down animation, you have to replace "hTC_downanimation.zip" (capitalization matters) in '/system/customize/resource/' with a functioning down animation.
On custom ROMS, you have to look to find where it's at. Sometimes it's in 'system/media' named "bootanimation.zip", sometimes it's not. Remember, it has to be a functioning replacement, otherwise it will show the stock ANDROID boot animation.
Click to expand...
Click to collapse
Actually, you don't have to replace the htc_bootup_one.zip. You can rename it to .bak and replace or do the same to the vzw_bootup.zip and it will work. I actually removed my htc_bootup_one.zip and replaced the vzw one and everything works fine. Probably helps that the boot up animation I use was made for the One variants that don't have anything to do with Verizon
jaydubbs said:
Actually, you don't have to replace the htc_bootup_one.zip. You can rename it to .bak and replace or do the same to the vzw_bootup.zip and it will work. I actually removed my htc_bootup_one.zip and replaced the vzw one and everything works fine. Probably helps that the boot up animation I use was made for the One variants that don't have anything to do with Verizon
Click to expand...
Click to collapse
That's very odd. Now that I try it without the "htc_bootup_one.zip", it works, but it didn't when I originally replaced it. Very, very odd.
I grabbed a flashable boot animation (including audio) from the HTC One section and was finally able to get the animation to work after messing with the .xml file. Tried to throw the audio in with it and couldn't get it to work...I'm on Bonestock and noticed there wasn't any audio with the regular boot animation...could it be the Rom? Volume is up btw.
To get a better idea of what I did I'll include the tread. I wasn't able to flash, so I had to manually replace/rename the files in my system/customize/resource folder and then change the name for the boot animation in the .xml file. I tried to follow the steps to get the audio file included as well, but it just reverted to a basic android boot animation when I attempted that.
http://forum.xda-developers.com/showthread.php?t=2357926
If there's not a solution, its not a big deal...I'm probably overlooking something. Thanks guys!
Sent from my HTC6500LVW using xda app-developers app
brholt6 said:
I grabbed a flashable boot animation (including audio) from the HTC One section and was finally able to get the animation to work after messing with the .xml file. Tried to throw the audio in with it and couldn't get it to work...I'm on Bonestock and noticed there wasn't any audio with the regular boot animation...could it be the Rom? Volume is up btw.
To get a better idea of what I did I'll include the tread. I wasn't able to flash, so I had to manually replace/rename the files in my system/customize/resource folder and then change the name for the boot animation in the .xml file. I tried to follow the steps to get the audio file included as well, but it just reverted to a basic android boot animation when I attempted that.
http://forum.xda-developers.com/showthread.php?t=2357926
If there's not a solution, its not a big deal...I'm probably overlooking something. Thanks guys!
Sent from my HTC6500LVW using xda app-developers app
Click to expand...
Click to collapse
If I recall correctly, there is an option in the XML file that tells it not to play audio when it's not the first time you set up the phone, meaning it only plays on initial setup. You need to change that setting to play every time. I don't want audio on my boot animations, so I leave it alone.
IceDragon59 said:
If I recall correctly, there is an option in the XML file that tells it not to play audio when it's not the first time you set up the phone, meaning it only plays on initial setup. You need to change that setting to play every time. I don't want audio on my boot animations, so I leave it alone.
Click to expand...
Click to collapse
Thanks for the quick response...I'll have to get in there and look around. With my skill level, I probably won't be able to find it, but I'll give it a shot.
brholt6 said:
Thanks for the quick response...I'll have to get in there and look around. With my skill level, I probably won't be able to find it, but I'll give it a shot.
Click to expand...
Click to collapse
Add this code to the XML file.
Code:
audio="/system/customize/resource/MP3_file_name_here.mp3"
This is assuming the sound you want is located in the 'resource' folder. If not, give the correct path and filename. Hope this works for you.
IceDragon59 said:
Add this code to the XML file.
Code:
audio="/system/customize/resource/MP3_file_name_here.mp3"
This is assuming the sound you want is located in the 'resource' folder. If not, give the correct path and filename. Hope this works for you.
Click to expand...
Click to collapse
I had tried that like it said in the OP, but for some reason when I added that in there it changed the boot animation completely and still with no audio. Ah well, it's probably more convenient with out it.
Sent from my HTC6500LVW using xda app-developers app
Can the images be replaced with anything as long as the other file is correct?
Does anyone know?
Sooo... Tried flashing this one:
http://forum.xda-developers.com/showthread.php?t=2357926
But no worky... Might try and do it manually.... hmm... Still stock animation. I'm not sure what's going on....
Resource folder: http://i.imgur.com/a6ni4Oo.png (tried replacing the bootdownanimation back to .zip as well...
Also here is where the Boot Animations lie:
Stock ROMS use /system/customize/resource/hTC_bootup_one.zip
CM/AOSP ROMS use /system/media/bootanimation.zip
Google Edition ROMS that use /system/customize/resource/Google_bootanimation.zip
Click to expand...
Click to collapse
Sent from my HTC6500LVW using Tapatalk
I am having a hard time copying the file into the right folder, I get an error message about permissions but the folders are RW, using ES file explorer