[Q] Startup sound for GT540 CM7! - GT540 Optimus Android Development

Hi XDA!
I would like to ask if there is a method(which really works) to set startup and maybe shutdown sounds for the LG GT540.
In the stock 2.1 I remember changing startup/shutdown sounds easily, I just replaced the sound files with another.
Or is there any script or any way to include sound in bootanimation.zip?
I can't believe that everything supports boot sounds, except Cyanogenmod7
If you can help, please do it!

In 2.1 boot sound is loaded by program who is initiated by init.rc, you should to to edit boot, place "playmp3" program in place where is located in 2.1 and you can use the same path like in 2.1 system.

that won't work pebe if i remember you need a modded kernel because if you modify the init.rc it will get replaced on each reboot

eoghan2t7 said:
that won't work pebe if i remember you need a modded kernel because if you modify the init.rc it will get replaced on each reboot
Click to expand...
Click to collapse
That's bad The 2X startup sounds are very good, for now it remains a dream.
Sent from my GT540 using xda premium

Really ? When you repack boot image it won't restart its contents.
Sent from my LG GT540 Swift using Tapatalk

pebe94 said:
Really ? When you repack boot image it won't restart its contents.
Sent from my LG GT540 Swift using Tapatalk
Click to expand...
Click to collapse
You can mod the init.rc and pack it into a boot.img yes that works but you cant edit it using root explorer but i just remembered a work around i will post it after i get some sleep
Sent from my GT540 using xda premium

for playing startup sound need libaudioalsa.so because bin/playmp3 have link for this file.
Try use this files from P500 2.2/2.3 and edit the init.rc

miroslav_mm said:
for playing startup sound need libaudioalsa.so because bin/playmp3 have link for this file.
Try use this files from P500 2.2/2.3 and edit the init.rc
Click to expand...
Click to collapse
Thanks, hope I can get it to work, but please help me a little bit more.
I'm downloading the system dump of the Optimus One, I assume the file will be there which I need.
Where do I need to put this libaudioalsa.so file?
Then where should I copy my .mp3 and what should be it's name?
What to edit in init.rc?

eoghan2t7 said:
You can mod the init.rc and pack it into a boot.img yes that works but you cant edit it using root explorer but i just remembered a work around i will post it after i get some sleep
Sent from my GT540 using xda premium
Click to expand...
Click to collapse
Awaiting your workaround

preparing it now

Related

[AUDIO][CWM3][01/21/11] Custom Boot/Shutdown Sounds - Edify/Amend

[01/21/11] These new .zip files are updated to work with all versions of CWM, the scripts are both Edify and Amend friendly. Enjoy!
Previews:
Startup
Shutdown
Shutdown 2
Shutdown 3
There are 6 files attached here, all flashable through ClockworkMod. The titles of the files should be self-explanatory. You'll notice that one of the .zip's will flash you back to the stock Epic boot and shutdown sounds.
I've confirmed that they work with DI18 stock (rooted), DK28 stock (rooted), and Bonsai 1.1.4, so I don't see why they wouldn't work on any ROM.
Your phone must be rooted and have ClockworkMod Recovery (any version).
*I suppose I must do the obligatory I AM NOT RESPONSIBLE IF YOU JACK YOUR PHONE UP*
Instructions:
- download flashable .zip and flash through clockwork.
That's it, reboot and enjoy!
Taken from transformers?
Sent from my SPH-D700 using XDA App
sceptor said:
Taken from transformers?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
No, the sound effect is a portion of (what I believe to be) the Droid Incredible boot sound; I created the "epic" and associated sound processing.
Sent from my Emotionlessly Bonsai'd Epic 4g.
Pretty sweet! It does kind of remind me of the first time I saw Optimus Prime transform in the live action move. The "Epic" part is a nice touch.
Need help getting this to work. I have done every step to the T, and still no avail. I have custom boot animations as well as custom boot sounds but, for some reason this one file just says unsupported file type after clicking on it in /system/etc folder. It plays while on the sdcard itself. So if you know a work around that would be great cause this boot sounds is awesome.
Sent from my SPH-D700 using XDA App
frag_effect said:
Need help getting this to work. I have done every step to the T, and still no avail. I have custom boot animations as well as custom boot sounds but, for some reason this one file just says unsupported file type after clicking on it in /system/etc folder. It plays while on the sdcard itself. So if you know a work around that would be great cause this boot sounds is awesome.
Click to expand...
Click to collapse
This is probably a dumb question, but did you unzip the .wav first? Assuming that you did, you should have a file on your sd card with the name "PowerOn.wav"; if you copy that file into /system/etc you should have no problem. Verify that you have a file in that folder with that exact name, not just the "PowerOn.bak" that you may have created in backup up your original boot sound.
What file manager are you using? I've done this using both Astro and Root Explorer and am able to select the file in /system/etc and it plays on the built in music player.
Added the option to flash through clockwork, updated OP with options.
very nice I will install this
reminds me of transformers or THX
Just flashed the CWM zip and dangit still nothing. I must have changed something in that folder. Im going to reinstall my rom and see if that fixes my prob. I really want this boot sound.
Sent from my SPH-D700 using XDA App
Well that solved my problem. Idk what went wrong before.
Sent from my SPH-D700 using XDA App
frag_effect said:
Well that solved my problem. Idk what went wrong before.
Click to expand...
Click to collapse
Yeah that's weird, well glad you got it working. Enjoy!
Sent from my Emotionlessly Bonsai'd Epic 4g.
Do you think you can make a boot animation to match this sweet sound?
Sent from my SPH-D700 using XDA App
Just what mammon's boot loader needed - thx!
Sent from my fully armed and operational frozen Epic using XDA App
frag_effect said:
Do you think you can make a boot animation to match this sweet sound
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I agree
Sent from my SPH-D700 using XDA App
SwimDrewid said:
Just what mammon's boot loader needed - thx!
Click to expand...
Click to collapse
His ROM is exactly why I created this in the first place! Didn't care much for the one he included, but I love his ROM and the boot animation!
frag_effect said:
Do you think you can make a boot animation to match this sweet sound?
Click to expand...
Click to collapse
You read my mind! I've been learning about how to make one today. The only catch is, it will only work on a ROM with a custom kernel, or a kernel that has been modified and re-compiled. Currently the only Froyo ROM that I know of that this might be an option with is Mammon's Bonsai ROM (which is what I run).
I'll keep fiddling and see what I can come up with.
any thoughts for a similar one for the power down?
mikeschevelle said:
any thoughts for a similar one for the power down?
Click to expand...
Click to collapse
Yep, just about to post one! I have several but gonna start with one and see if folks like it.
sweetness cant wait
I like it nice work....
Sent from my SPH-D700 using XDA App
yea ive made my own since his rom came out. but is there a way to extend the length of play

Boot sound

Can someone help me get my boot sound back most of the roms are without I'm on FireFly_2.1_Clock and the ujgl2 modem I have wav file i've tried sticking it in the system/etc file the system/media/ui file do i need to rebuild the bootanimation.zip file? Or change something in the xml?
Sent from my SAMSUNG-SGH-I897 using XDA App
Sorry UGJL2 modem
Sent from my SAMSUNG-SGH-I897 using XDA App
Hydro360 said:
Can someone help me get my boot sound back most of the roms are without I'm on FireFly_2.1_Clock and the ujgl2 modem I have wav file i've tried sticking it in the system/etc file the system/media/ui file do i need to rebuild the bootanimation.zip file? Or change something in the xml?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Custom boot sounds don't work with the cappy kernels that have a modded playlogo1 file, which we need to have custom boot animations, and all of the current dev kernels use. It just doesn't work.
If you build roms in the rom kitchen, you can restore boot sounds with sgs tools
Sent from my GT-I9000 using XDA App

[BOOT] Halo Reach Android Edition

I saw some folks were requesting a Halo Reach boot animation. I tried out the one that was created for the EVO by Crackanug which worked for my stock EB13 on genocide. I had issues with the sound working on it correctly but maybe someone can figure it out. This was after converting the mp3 to wav from the zip and renaming to PowerOn.
Regardless great work by Crackanug! Be sure and thank him on his thread!
http://forum.xda-developers.com/showthread.php?t=940780
http://db.tt/8ckaZk1 (props to Tiffany84 from the EVO forums for creating the flashable zip)
This is for rfs. We need a edify zip to work with cwm3.
Sent from my SPH-D700 using XDA App
Heres one that has amend and edify scripts in it...
tested on my RFS system but should work with CWM3 too
edit: I didnt touch the sound file. I just took the boot animation and stuck it in a flashable zip that supports CWM and CWM3
I just flashed this on mine and it works fine I got ext4 with the genocide kernel and it word just fine I like it lol simply android lol
Sent from my SPH-D700 using XDA App
swweeeeeeeet thanks works perfectly!
Gotta say I'm extremely pleased with this boot animation, thanks a bunch for this
Sent from my SPH-D700 using XDA Premium App
Any one get the sound mp3 to work?
It goes in /system/media/audio/Power_on.mp3 ?
zman519 said:
Any one get the sound mp3 to work?
It goes in /system/media/audio/Power_on.mp3 ?
Click to expand...
Click to collapse
You need to put it in system/etc.. that is where my sound goes and works perfect...
And it needs to be a .wav file I believe
Worked great, but caused a lot of fc after flashing?
Sent from my SPH-D700
jkrough0728 said:
You need to put it in system/etc.. that is where my sound goes and works perfect...
And it needs to be a .wav file I believe
Click to expand...
Click to collapse
I tried mp3 and ogg. I will try a .wav when I get back to my PC
Sent from the Drivers Seat of my Suby txting and Driving doing 100MPH+ in a school zone! Ha.
I went ahead and put it altogether in one flashable zip through CWM. Just flash and you should be good to go with boot and sound. Now I may be wrong but your rom/kernel has to support sound with boot. And remember sound is short on the Epic boot so the whole thing won't play... I have been looking into that but havent found it yet...
Let me know if you have any issues with the zip.. Enjoy!
http://dl.dropbox.com/u/30540166/Halo%20Boot%20with%20Sound.zip
jkrough0728 said:
I went ahead and put it altogether in one flashable zip through CWM. Just flash and you should be good to go with boot and sound. Now I may be wrong but your rom/kernel has to support sound with boot. And remember sound is short on the Epic boot so the whole thing won't play... I have been looking into that but havent found it yet...
Let me know if you have any issues with the zip.. Enjoy!
http://dl.dropbox.com/u/30540166/Halo Boot with Sound.zip
Click to expand...
Click to collapse
Download doesn't work.
Sent from my SPH-D700 using Tapatalk
Oops ... My bad this one should work...
http://dl.dropbox.com/u/30540166/Halo%20Boot%20with%20Sound.zip

[MOD] Patched libsqlite.so (i/o boost, ++ quadrant)

Hey,
I have patched the libsqlite.so for our Optimus Black to work on our 2.2 version.
I needed to change the source in order to disable the sqlite sync function and compile the file from scratch, this will result in:
- Faster I/O Operations
- 200-300 point quadrant boost
So far I only shared this with Yusei and nunogil (which is on Nova and relax ROM) but after long-term testing it seems to be it's stable enough for sharing to everyone else.
Instructions for cookers:
- Just replace the file for the one in /system/lib/libsqlite.so before packing
Instructions for stock users:
- Just replace the file for the one in /system/lib/libsqlite.so using root explorer
When I get home I'll attach the file.
It will be included in your next release, isn't it?
Huexxx said:
It will be included in your next release, isn't it?
Click to expand...
Click to collapse
Its already included since Nova v1 and in Relax because I sent it to nunogil. Pays ROM doesnt have it though.
Sent from my LG-P970 using XDA App
Aha, ok.......
Does it work on stock rom too ?
What file attributes should be after copying ? CHMOD 644 ?
@Noejn
Patched libsqlite.so . it can use in stock firmware EUROPE OPEN v10e?
somboons said:
@Noejn
Patched libsqlite.so . it can use in stock firmware EUROPE OPEN v10e?
Click to expand...
Click to collapse
Of course, you can use it.
Will this work on other phones too? I have a samsung galaxy 3 running android 2.2.
Just followed all instructions, including permissions on UK v10d.. and now com.android.mms is caught in a fc loop.. idiot as I am, no backup of the default libsqlite. so can anyone post it up for me please
Sent from my LG-P970 using XDA App
now going through the misery of trying to flash the stock firmware V10D from the ****ty filesonic server, after doing the mod in this thread my phone app, messaging app and com.android.acore all force close. I have had enough of this phone .. anyone want it when I get it alive again: mint condition with box and everything PM me.
Cannot get the KDZ method to work: fails with
OnStepMsg STEP_TYPE_ENV_ERROR delete m_pLGCyonUpdate
Any help would be appreciated .. this is no longer a phone!! no phone app no messaging .. please can someone post up the stock V10D libsqlite.so please please please!!!!!
Sent from my LG-P970 using XDA App
here's my libsqlite.so, i packed it in rar
Hope it helps
Libsqlite.rar
p.s : i'm using CM7 SK7.2
Many thanks Agent, sorted
Sent from my LG-P970 using XDA App
FatherD said:
Many thanks Agent, sorted
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
you're welcome

[GUIDE] Revert from a 2.3 rom back to 2.2 with cwm

ever wanted to flash back to froyo but didnt want to use the almighty odin? well here is a simple solution that should let u install froyo on a gb build without any errors
1.open the 2.2 rom you want to flash on the file explorer on your computer then click into the META-INF folder then com, google, android, and u will see the file updater script, delete that file (if u have problems getting that to delete use a program like winrar)
2.put the updater script u downloaded in replace of the old one (if winrar or any other program made u unzip the file and didnt zip it back up automaticlly make sure its done then place the file back to your phone and flash away
dont forget about the thanks button
http://forum.xda-developers.com/showpost.php?p=16409955&postcount=48
could this be used via root explorer?? With no PC needed at all?
Sent from my SGH-T959 using XDA Premium App
bdubs4200 said:
could this be used via root explorer?? With no PC needed at all?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
if u can get the files in the correct place, give it a try
As long as your not on a cm7 based rom u can just flash the rom....
If anyone tried this an it worked plz let me know have broken USB port an can't risk my phone since its my connection to outside world lmao an will hit thanks button
Sent from my SGH-T959 using XDA Premium App
will this work for cm7/cm7 based rom
krackers said:
will this work for cm7/cm7 based rom
Click to expand...
Click to collapse
Yea that's what he is talking about regual 2.3 roms u can just go back but not cm try it out an let me know
Sent from my SGH-T959 using XDA Premium App
Nice it should be really usefull. I would try it but im not on cm7.
But you should put that on the title and op that it is for cm7 based roms(if it is)
Sent from my SGH-T959 using XDA App
es7241 said:
Nice it should be really usefull. I would try it but im not on cm7.
But you should put that on the title and op that it is for cm7 based roms(if it is)
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
its pretty much based for cm7/miui possibly even jvq/jvr roms havent tried it much on those
Plz
My pc is acting up an i cant edit file so could someone make one for me an upload thanks button will be hit
This is helpful, but you have to know why first. The difference is the difference in the install scripts. In CWM versions before CWM3, we used amend scripting. Amend scripting is no longer supported in CWM3 and above, it now uses edify scripting.
Kernels that contain recovery prior to CWM3, you can flash the old scripts just fine. For example, cmenards latest JVQ based kernel supports both amend and edify scripting, and is based off CWM 2.5.x.x.
Its all in knowing what you are running, and what's compatible.
I wont get too preachy on this, but Odin is your friend, nothing to be scared or wary of, and with regular use to actually set you back to stock, will create a much better running environment for your Vibrant experience. Shortcuts around it will eventually cause all kinds of issues.
Sent from my ZenDroid, meditating on the XDA App
gamikzone said:
if u can get the files in the correct place, give it a try
Click to expand...
Click to collapse
I'm sensing a "go ahead and F#Ck it up see what happens and let me know" sort of vibe....??
Sent from my SGH-T959 using XDA Premium App
I can't get this to work I used astro file to place updater script in the rom an then deleted old one then tried to flash it says installing then it abort what am I doing wrong also tried win rar
Edit:did not work install aborted
Sent from my T959 using XDA Premium App
Wondering
Has this worked for anyone?
The OP missed some key points in this "guide".
If your zip file is using is using the old amend scripting, then there will be one file called update-script (not updater).
The newer scripts, edify scripting, uses two files, update-binary and updater-script, and you need both files if your kernel or recovery method is cwm3 or later, edify scripting only.
Or you could save a dev a future headache, and just use Odin.
Sent from my ZenDroid, meditating on the XDA App
Br1cK'd said:
The OP missed some key points in this "guide".
If your zip file is using is using the old amend scripting, then there will be one file called update-script (not updater).
The newer scripts, edify scripting, uses two files, update-binary and updater-script, and you need both files if your kernel or recovery method is cwm3 or later, edify scripting only.
Or you could save a dev a future headache, and just use Odin.
Sent from my ZenDroid, meditating on the XDA App
Click to expand...
Click to collapse
Well the rom i used has both of those Eugene rom which zip is edify an when i flashed it was doing kernel then it started to flashed words disapperd an came back it an then it rebooted and then it looped on flash part
I'm just going to say, if you can use ODIN, do it.
Jasonhunterx said:
Well the rom i used has both of those Eugene rom which zip is edify an when i flashed it was doing kernel then it started to flashed words disapperd an came back it an then it rebooted and then it looped on flash part
Click to expand...
Click to collapse
You're talking about his last deadhorse kernel. That one, if memory serves me, even has a pre-kernel flash that you did through sgs kernel flasher, then the rom and full kernel. Coming from that one friend, I do believe Odin is your only option.
s15274n said:
I'm just going to say, if you can use ODIN, do it.
Click to expand...
Click to collapse
And if you can't, find a friend with a pc you can use for ten minutes.
Sent from my ZenDroid, meditating on the XDA App
im sorry if this hasnt worked for anyone who wants to downgrade and not use odin, i must of missed that part about updater vs update i will look in to it
Can't Odin broken USB port have warranty but phone is currently off so can't replace an I need battery life
Sent from my SGH-T959 using XDA Premium App

Categories

Resources