[Q] How to use PowerON and PowerOFF sounds with CM9-based roms? - T-Mobile LG G2x

I've done a fair bit of googling and searching here on XDA but haven't found anything that worked and wondered if perhaps I was simply doing something incorrectly.
I've tried placing my poweron.mp3 and poweroff.mp3 in folders with those same names under root\system\media\audio
the files themselves directly in the audio folder, tried them under system\etc
and I believe another location but no matter what I hear nothing when booting using EB's build 2.
Anybody have any ideas on where to go next with this?

They need to be in .ogg format. Go here (http://media.io/) and convert the .mp3 files to .ogg and place them in the poweron and poweroff folders under System\Media\Audio. They should be named PowerOn.ogg and PowerOff.ogg respectively. Should work after that.

Should this work under CM7 / EB 2.3.7 also? I just tried it exactly as you said and no dice

Are this and the reason we can't have bootanimation(is that poweron?) noises the same?
Cause if so... That's a CM7(probably 9) issue.

I've been googling for a few days now and can't seem to find how to use poweron/poweroff sounds with CM-based ROMS. Anybody else have any luck?

I guess the Cyanogen stuff may not support it. I use Weapon w/Faux Kernel and it works fine for me. Sorry guys.

I'll try asking on the cyanogen forums and post any relevant answers here. Thanks again though.

Related

Captivate Cog 3.0.2 Boot Sound

Searched through almost every thread relating to this post and found absolutely nothing. I just flashed Cog 3.0.2 and it works like a dream. The only issue is I am trying to now change the boot sound to a file of my choosing. Default has no sound file. I have looked in these place so far with no luck:
system/media
system/etc
There is no poweron.wav file anywhere and adding one i created myself did nothing.
Any sure fire ways to do this? Id really appreciate some help
Still searching and found nothing. Does anyone even know the designgears site url? The wordpress they have is outdated and cached. Seriously even suggestions would help at this point

Boot Animation Sound Files?

I'm currently running CM7 nightly. I can't seem to find a post anywhere explaining just exactly how or where, or what you need to do to place a .ogg sound file to work on boot. Also I would assume it needs to be renamed also. Help please! Thanks!
Sent from my LG-P999 using xda premium
AlphaVirii said:
I'm currently running CM7 nightly. I can't seem to find a post anywhere explaining just exactly how or where, or what you need to do to place a .ogg sound file to work on boot. Also I would assume it needs to be renamed also. Help please! Thanks!
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
+1
I've been trying to figure this out as well.
Well it used to work pre-ginerbread for me, but after GB now the Startup and shut down sounds are gone. Since CM7 is 2.3.5 I'm pretty sure it should go into /system/media/poweron/PowerOn.ogg. HOWEVER this does not seem to work for me in the OTA GB that was released. It worked before in Froyo but not GB.
in Eclair it was a .wav file and was placed in /etc/PowerOn,wav (/system/etc/ is the same place)
In Froyo it seemed to have been moved to /system/media/poweron/PowerOn.ogg
In Gingerbread It should go in either /system/media/Poweron.ogg OR /system/media/poweron/PowerOn.ogg
I just did two at once and couldnt tell which it was and I'm at work so playing with my phone constantly is hazardous to my budget.
Now that I think of it, I have not had any custom ROMs that have the PowerOn sound, nor the PowerOff sound enabled.
I'm thinking it must be some script that needs to be run?
I know the location of the audio files.
But they won't play.
Has anyone found a solution to this?
There is a script somewhere on XDA called bootsnd.sh. It enables power on sound but not power off animation + sounds I believe.
Sent from my LG-P999 using XDA App
tahahawa said:
There is a script somewhere on XDA called bootsnd.sh. It enables power on sound but not power off animation + sounds I believe.
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Power Off animation and sounds are contained within poweroff.apk in the system/app directory. You can decompile, change animation and sounds and recompile but make sure sound files are not compressed.
jboxer said:
Power Off animation and sounds are contained within poweroff.apk in the system/app directory. You can decompile, change animation and sounds and recompile but make sure sound files are not compressed.
Click to expand...
Click to collapse
I checked Cyanogen and a few other ROMs I have on my PC. None have the poweroff.apk file.
I thought that maybe I'd find it in a stock ROM. Lucky me: Stock Gingerbread OTA 2.3.3 Rooted flashable zip v1.0.0
I was able to locate the audio files.
But my question is this:
can i remove all the other files? and leave only the audio files? will it still work?
I'd hate to try and end up spending an hour or two trying to figure something out that I don't know how to do.
(I've read that I would have to "sign" the apk before putting it on my device. I found the intruction/thread for that)
OrganizedFellow said:
I checked Cyanogen and a few other ROMs I have on my PC. None have the poweroff.apk file.
I thought that maybe I'd find it in a stock ROM. Lucky me: Stock Gingerbread OTA 2.3.3 Rooted flashable zip v1.0.0
I was able to locate the audio files.
But my question is this:
can i remove all the other files? and leave only the audio files? will it still work?
I'd hate to try and end up spending an hour or two trying to figure something out that I don't know how to do.
(I've read that I would have to "sign" the apk before putting it on my device. I found the intruction/thread for that)
Click to expand...
Click to collapse
You do not resign system apps after you modify them. If you do they won't work. Just recomplile and zip align them.

Triumph ICS audio location

I have CM9 running ICS on my Triumph, loving it. The only question I have is where are the locations for the powerup and powerdown audio files? I found the audio folders but didn't know where to put a powerup file. I'm assuming it would go into /system/media, possibly into /audio/ui and just rename it to Powerup.mp3. Not sure if there is another folder somewhere else, the folder structure is different than Froyo and that's what I'm used to tweaking. Thanks in advance!

SOA Bootscreen w/sound

I am trying to make a custom boot w/sound but last time I tried getting sound to work I bricked my phone. Any help would be appreciated. I also am considering trying to figure out how to do a SOA theme for SCOM.
BTW somebody created the same boot animation on another phone but with no sound. So I have that already.
Maybe this will help you or atleast point you in the right direction.
http://forum.xda-developers.com/showthread.php?p=14136008
Sent from my Maybach s 4g
JonnyStreetz said:
Maybe this will help you or atleast point you in the right direction.
http://forum.xda-developers.com/showthread.php?p=14136008
Sent from my Maybach s 4g
Click to expand...
Click to collapse
I found somebody who created the same animation that I wanted to do so I have reposted the bootanimation.zip and have converted the theme to wav format (don't know if I needed to do that or not) and replaced the PowerOn.wav from the ect folder. The rom I am using already had boot sound. So I was able to just replace the files. What I want to know is the bootsnd.sh file listed in the tutorial the same file needed for our phone? Also it listed a different directory for pushing the sound file. Is this something that is different per phone or ROM or just a preference?
ShadyAce80 said:
I found somebody who created the same animation that I wanted to do so I have reposted the bootanimation.zip and have converted the theme to wav format (don't know if I needed to do that or not) and replaced the PowerOn.wav from the ect folder. The rom I am using already had boot sound. So I was able to just replace the files. What I want to know is the bootsnd.sh file listed in the tutorial the same file needed for our phone? Also it listed a different directory for pushing the sound file. Is this something that is different per phone or ROM or just a preference?
Click to expand...
Click to collapse
I have a feeling I know what bootsnd.sh file your talking about. No you dont need that for the current roms for the phone. That script is for phones running roms like CM7 that dont have bootsound turned on.
Put the poweron.wav in the same directory as the factory one is now. In converting the file to wav did you just rename it or actually convert it using a program on your pc? Just renaming it will not always work.
eollie said:
I have a feeling I know what bootsnd.sh file your talking about. No you dont need that for the current roms for the phone. That script is for phones running roms like CM7 that dont have bootsound turned on.
Put the poweron.wav in the same directory as the factory one is now. In converting the file to wav did you just rename it or actually convert it using a program on your pc? Just renaming it will not always work.
Click to expand...
Click to collapse
I have a conversion program on my system. I have the animation and the audio file posted in themes right now. Planning on tweaking it a bit and making it my own creation once I have more of an idea of where I want to take it. And will be attempting to make it flashable in a week or two I hope.

[Q] Custom Boot Animations and Boot Audio - Where

Ok i have a US Cellular Galaxy S3 and i want a custom boot animation, and boot audio, currently running LiquidSmooth beta2. i can replace the boot animation but nothing ive tried allows me to use a custom boot audio file, can anyone tell me where the file needs to go, what file name / format it needs to be? is there something else that needs to be done in order to get it to work properly?
Lynkz83 said:
Ok i have a US Cellular Galaxy S3 and i want a custom boot animation, and boot audio, currently running LiquidSmooth beta2. i can replace the boot animation but nothing ive tried allows me to use a custom boot audio file, can anyone tell me where the file needs to go, what file name / format it needs to be? is there something else that needs to be done in order to get it to work properly?
Click to expand...
Click to collapse
on aosp roms look in system/media folder for the bootanimation.zip. Correct me if I'm wrong but, I'm thinking the bootaudio goes there also. And most likely you will have to add the line for the boot audio to the build.prop and I'm sure the kernel will have to support it.
Like I said someone correct me if I'm wrong about the boot audio.
Good luck
Oh and the formats will be bootanimation.zip and bootaudio.mp3 or bootaudio.ogg. try both
undarated said:
on aosp roms look in system/media folder for the bootanimation.zip. Correct me if I'm wrong but, I'm thinking the bootaudio goes there also. And most likely you will have to add the line for the boot audio to the build.prop and I'm sure the kernel will have to support it.
Like I said someone correct me if I'm wrong about the boot audio.
Good luck
Oh and the formats will be bootanimation.zip and bootaudio.mp3 or bootaudio.ogg. try both
Click to expand...
Click to collapse
thank you for the info, ill see if i can find the stuff for the build.prop and see if i cant get it working, i may also be able to set the filename/find out the file name from build.prop
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

Categories

Resources