[How To] Boot Sound - Optimus V Android Development

I had started a thread asking for help on how to do this. So since its pretty much confirmed it works on most phones even when you didnt realize it was installed Ifigured it was time to give it a proper [How-To].
Disclaimer:I am not responsible if you break,brick,hump,throw against wall or any other action you do to your phone. By using this script you agree anything that happens is your own noobtastic fault. Any attempts at blaming me for anything other than this being fantastic will result in you being pointed and laughed at.
If you are using BACKSIDE/IHO or have already installed the script dont I REPEAT DONT run the script again. Doing so makes multiple instances of the commands and will stop the bootsound from playing. If you run the script more than once you will have to delete somethings to get it to work. SO be warned DO NOT RUN THE SCRIPT IF YOU HAVE ALREADY OR ARE USING BACKSIDEIHO ROM
The ability to play boot sounds is not activated in CM7 based roms. You have to run a script that will enable this function on CM7 based roms. I remember somebody posting this a short while back but it wouldnt work for me. Apparently the sound file I was using was not named properly.
I found a tutorial on CMforums about how to do this. Tested it and everything works great. Several people have tried this on Froyo roms and not have it work. Also it appears on some phones it just wont work at all.
This is what you do.
1. Download this shell script here bootsnd.sh
2. Place it on the root of your SD card & then open Terminal & type the following
su
cd /sdcard
sh bootsnd.sh
3. Now by using a file manager program with R/W (Read/Write) go to the /system/bin in your phone & make sure the file has transfered over! It should say BOOTSOUND & have permissions set to rwxrwxrwx! for this I use Root Explorer or you can use File Manager once you have selected R/W
4. Before transferring your sound file over rename it on your pc, android_audio and make sure it is a .mp3 file. Transfer the sound file from your pc to the root of your SDcard. Now move your sound file you want to play when the phone boots to /system/media of your phone & rename it android_audio you will have to be in R/W mode! Typically fifteen seconds is plenty long and just perfect, however anything over 30 seconds will get cut off.
5. Reboot & enjoy your new BOOTSOUND B)
I dont take credit for this and I am just adding the info here, if you wanna give thanks make sure you go here as well & say thanks to Colpophage for his help on this topic - say thanks here
Click to expand...
Click to collapse
If your having trouble getting sounds to play this should fix the problem.
Here is how to fix it.
Make sure you are mounting in R/W mode on each of these steps.
deaver_92 on XDA said:
To start go to
/system/etc/init.local.rc
and open it in the text editor. Delete everything from
###Bootsound - Safe to Delete: Start###
to
###Bootsound - Safe to Delete: Stop###
Delete any instances of it.
Click to expand...
Click to collapse
Using a app like root explorer, goto /system/bin and delete the file bootsound.
Back out to /system now open build.prop in text editor mode, look for this text.
Code:
ro.config.play.bootsound=1
Delete it from the build.prop and save and exit.
This is optional but recommened.
Reboot phone.
Verify no sound is playing.
Now run the script again and reboot.
You should have a boot sound again.
Click to expand...
Click to collapse
Thanks to danieljc1, Jerryscript, deaver_92 on XDA and most importantly colpophage on CMforum.

Sorry, no boot sound for me. I even tried to fix it with the tutorial and nothing.

MaKTaiL said:
Sorry, no boot sound for me. I even tried to fix it with the tutorial and nothing.
Click to expand...
Click to collapse
if you're using a froyo rom, it's a simpler and different method to get the boot sound.
you need the .mp3 saved as
/system/sounds/poweron/PowerOn.mp3
that's all.
if it still doesn't work, try re-encoding the mp3, or use a different one. sometimes the system's picky about which mp3s it'll use for a bootsound.

bigsupersquid said:
if you're using a froyo rom, it's a simpler and different method to get the boot sound.
you need the .mp3 saved as
/system/sounds/poweron/PowerOn.mp3
that's all.
if it still doesn't work, try re-encoding the mp3, or use a different one. sometimes the system's picky about which mp3s it'll use for a bootsound.
Click to expand...
Click to collapse
The problem is: there is no folder under the name of sounds. Should I create one?

MaKTaiL said:
The problem is: there is no folder under the name of sounds. Should I create one?
Click to expand...
Click to collapse
yes.
10 char min post length

If you are using a CM7 based ROM, here's a flashable zip file you can use:
Activate-Bootsound-signed.zip
Boot into recovery and flash after flashing any CM7 based ROM.
Note- If you have made changes to the files mentioned by eollie, you must remove your changes before flashing this.

Thanks Jerry. out of curiosity, is there a size or time limit for these boot sounds? i was thinking of adding the very opening of "Zoo Station" by U2.

I dunno about cm7, but I put a 40 second mp3 as the bootsound in froyo, and it played all the way past when the sd card mounted on the home screen.

The most I've been able to play is about 90 seconds, larger files didn't even play for me.

mjs2011 said:
Thanks Jerry. out of curiosity, is there a size or time limit for these boot sounds? i was thinking of adding the very opening of "Zoo Station" by U2.
Click to expand...
Click to collapse
Remember some Rom cookers have supercharged the boot process. So the best thing to do is use a timer and time how long you have from the flash from the second bootanimation to when the phone does the soft vibirate to let you know its loaded.

is there any way to use a sound for when the phone powers off also

it is not working for me...i did nothing eollies thread and i only flash Activate_Bootsound-signed.zip this on that you have given,but steel boot sound is not working.I am currently on cm7 6.5.8.Please tell me what to do to enable boot sound???
Thanks in advanced....

Please remove the paid app from your post. It is against the rules. Plus there is a zip created by jerryscript that does this.
Another thing you edited the post for better wording yet instead of typing out into you abbreviated it. Also used the letter u instead of typing you. /faceplam Your post is horribly written using leet speak and text speak because you either cant spell or are too lazy to use proper words.

I can't believe it...I did everything mentioned in the first post, and I actually got the boot sound to work on my Galaxy Mini running CM7.2! Thanks so much!

Don't forget to hit thanks!
Sent from my SGH-T959V using Tapatalk 2

eollie said:
Don't forget to hit thanks!
Sent from my SGH-T959V using Tapatalk 2
Click to expand...
Click to collapse
That's the first thing I did

suyashc said:
it is not working for me...i did nothing eollies thread and i only flash Activate_Bootsound-signed.zip this on that you have given,but steel boot sound is not working.I am currently on cm7 6.5.8.Please tell me what to do to enable boot sound???
Thanks in advanced....
Click to expand...
Click to collapse
try this adding on system/etc/init.local.rc
dont delete any previous data writed there and copy this code and paste it below there so ur boot sound get work
and make sure u need to follow the first given on bin then try
the code is
Code:
###Bootsound - Safe to Delete: Start ###
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running # to correct timin
start bootsound
on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###

GT-I9100 running slimTW5 v3.0
Hi,
Tried all your suggestions.
Regenerated bootsound/edited init.local.rc/build.prop
But still no sound - using android_audio.mp3 - which is valid !!!
Was able change bootanimation.
Something I'm missing or just not possible in this rom ?
Thanks or any advise

I couldn't get the script to work for me either, but the manual method did work for me. The file I had was an ogg, so I edited that part of the bootsound file and the off plays.
Sorry, I don't know why yours doesn't work. Did you make sure your bootsound file has no extension?
Sent from my LG-VM670 using xda app-developers app

it doesn't works on galaxy gio running on cm7

Related

[Q] Flashable Bootanimation.

Are there any flashable boot animations for the DHD?
and in particular, the droid x boot?
if there isn't could someone please tell me how to change mine to this? with links to the files? or a link to a flashable zip?
You don't need to flash them... just use Root Explorer and drop "bootanimation.zip" in \data\local
For the actual animations just search the Themes section in the Desire HD forum. You can also look in the Themes sections for original Desire as most of them should work too. I'm sure someone will have ported the Droid X one, if not try looking in the Themes sections of the Droid X forum... you get the idea
CitizenLee said:
You don't need to flash them... just use Root Explorer and drop "bootanimation.zip" in \data\local
For the actual animations just search the Themes section in the Desire HD forum. You can also look in the Themes sections for original Desire as most of them should work too. I'm sure someone will have ported the Droid X one, if not try looking in the Themes sections of the Droid X forum... you get the idea
Click to expand...
Click to collapse
I have the files i want.
the bootanimation.zip and android_audio.zip
but how do I move them from my sd or computer into that folder ? I have the folder open in root explorer right now.
Edit: I worked it out now to test it
Edit: it did not work.
P1xelVandal said:
Edit: I worked it out now to test it
Click to expand...
Click to collapse
Extract the zip file for the boot sound as it's the .mp3 you need to use. Bootanim stays as .zip
Reply back know how you get on / if you need any help etc.
Oh, and be sure to press the "Mount R/W" when in the correct folder in Root Explorer. Wont let you change anything otherwise
CitizenLee said:
Extract the zip file for the boot sound as it's the .mp3 you need to use. Bootanim stays as .zip
Reply back know how you get on / if you need any help etc.
Oh, and be sure to press the "Mount R/W" when in the correct folder in Root Explorer. Wont let you change anything otherwise
Click to expand...
Click to collapse
wow I feel stupid. I was using the temp files from the top of the list in my sdcard XD thank you.
oh wait it didn't work xD I have bootanimation.zip and android_audio.mp3 in data/ local and it doesn't work. i've rebooted twice since they've been there. what else am I doing wrong ?
Try the two files I have attached and see if they work. You will need to extract the zip for the start sound as it wouldn't let me attach the mp3. Also, you will have to rename the other zip from black_bootanimation.zip to bootanimation.zip. I have loads of them so need to keep the file names different.
Reboot and they should work
Still no luck. even with your files, in data/local with r/w it just won't work? is it something to do with me being on the stock rom, kernel and radio?
I don't know but this is really weird ? could it be a permissions thing? thank you so much for trying to help me though.
it couldn't be that i'm using a mac could it?
No probs man
I've never had a poke around inside a stock ROM for DHD but I expect the files still go in the same place, so it must be a permissions thing as I doubt it would be radio or kernal related.
Silly question I should have maybe asked earlier... you have a rooted phone right? If not none of this will work!
As for a being on a Mac, shouldn't make a difference as you can transfer all the stuff to /data/local/ on your phone... only need a computer to put the files on your SD card if you didn't download them with your phone.
haha yes my phone is definitely rooted, I'm pretty sure I have radio and engineering S-OFF, I had SHIP, now I have ENG, I would really like to know what the problem is though.
would it be possible to fix the permissions ? should I use rom manager to fix them ? or do it manually in root explorer?
If it is a permission problem, rom manager's fix permissions option did not solve the problem.
It would be so much easier just having a flashable zip xD
You could give it a go with ROM Manager yeah.
I must admit, I'm stumped with this! I bet it's something really easy that we're both overlooking!
rom manager didn't work.
it has to be something obvious. I would flash a new rom, but then I need to flash a new radio, because last time I ran leedroid, and android revolution HD, my microphone wouldn't work so I had to restore my backup.
having to do all that just for a boot animation and sound would be such a pain.
Well I'm going to sleep, most likely, and hopefully someone will have worked something out by the time i get back or wake up.
You could push it with adb.
Sent from my DHD
jambamkin said:
You could push it with adb.
Sent from my DHD
Click to expand...
Click to collapse
Yeah, that's definitely another option.
Sent from my Desire HD using XDA App
Or another option is that your current rom just does not read bootanimation from /data/local/. Try it with custom rom, or put it to /system/.. I do not remember which folder. But look for bootanimation.zip.
jambamkin said:
You could push it with adb.
Sent from my DHD
Click to expand...
Click to collapse
I'm not sure how to use adb. or where to get the drivers.
jkoljo said:
Or another option is that your current rom just does not read bootanimation from /data/local/. Try it with custom rom, or put it to /system/.. I do not remember which folder. But look for bootanimation.zip.
Click to expand...
Click to collapse
I found bootanimation, not .zip but i can't make the system file r/w only r/o
after much trial and error, i found it at last....
@P1xelVandal in case you had not installed any custom ROM then the original bootanimation.zip can be found in the following location:
/system/customize/resource
Rename the original one to bootanimation_bak.zip before replacing in case any error occurs.
And, of course, you have to mount the file system in R/W mode for the changes to take place.. worked fine for me... piece of cake now.
Bump...
I've also just read somewhere that you could try /system/customize/resource/
Let us know how you get on mate
I gave up and flashed a radio and Android Revolution HD. It works fine now. Thank you for helping
Sent from my Desire HD
i'm using gingerbread cynogenmod.. i couldn't find the folders.. at my case, the bootxxx.zip was at /system/media/ do i put the sound file here? and what is the appropriate name for it? thank u in advance.
sub7even said:
i'm using gingerbread cynogenmod.. i couldn't find the folders.. at my case, the bootxxx.zip was at /system/media/ do i put the sound file here? and what is the appropriate name for it? thank u in advance.
Click to expand...
Click to collapse
android_audio.mp3 and it should go in the same place and rename the original/s

[Q] Splash and boot animation; im not sure if i did it right...

Can someone test these? I wasnt sure how or which format the boot animations were supposed to be; the first set is in full resolution (1900 by 1080 methinks) I also compiled a GIF, and a smaller set of images.
I used one of the many wonderful splash converter/genertor programs to make the IMG.
There are also two free wallpapers that I made (altair+tron to give you an idea)
I've tried just about every tutorial for flashing both a boot animation or a splash screen and I cant get either to work. I'm running unrevoked, my hboot is newer than 2.x, I tried formatting my (2gb; dont have another one) micro sd to fat32, I AM rooted (s-off) I have sdk and adb and the drivers all installed correctly. I'm zipping uncompressed with 7zip, (aes-256), editing text files with notepad(but i tried with and without editing), pushed the files into media, local, resources, and one more(but im to lazy to look up where) all with no results except having a blank black boot screen. I have tried using terminal emulator, file explorer, and many other things.(that's all I can pull off the top of my head right now) Any help is greatly appreciated!
As of yet I have no idea if any of these work(well except the wallpapers ), because none of the other boot animations OR splash screens work either... Maybe tomorrow ill try flashing a new rom and see if that fixes it. If they DONT work, please help me fix them/let me know what I did wrong. (because I have 3 more i'd like to finish making) I've spent the last 4 days trying to make this work and I'm pretty frustrated right now...
Well there are no files to test, and if you used unrevoked, you have to create your splash screen slightly different, and needs to be converted from a .nbg extension, not the .rgb656 extension.
teh roxxorz said:
Well there are no files to test, and if you used unrevoked, you have to create your splash screen slightly different, and needs to be converted from a .nbg extension, not the .rgb656 extension.
Click to expand...
Click to collapse
Strange... i attached them... here they are.. If i change the rom then the other tutorials should work?
sharxbyte said:
Strange... i attached them... here they are.. If i change the rom then the other tutorials should work?
Click to expand...
Click to collapse
Again not attached. You have to wait til the uploader reaches 100% in the popup window or it won't attach.
Bootanimations:
sense > /system/customize/resource
AOSP > /system/media
I was waiting for it to load, went back to edit the post, and forgot to wait for it to finish... Then I couldn't edit/attach it for 5 minutes... But ya, it's attached now.. Sorry for the wait.
Hello? anyone? It's attached now...
taking a look.....
only the splash and wallpapers will work. the boots are all formatted incorrectly and it needs to be a series of .png's not one .gif.
dkdude36 said:
only the splash and wallpapers will work. the boots are all formatted incorrectly and it needs to be a series of .png's not one .gif.
Click to expand...
Click to collapse
Thanks for looking. I wasn't sure because I've read on more than one thread that people had used Gif's. Im pretty sure at least two of the boots were png series.. How should I format them?
any1 here?
sharxbyte said:
Thanks for looking. I wasn't sure because I've read on more than one thread that people had used Gif's. Im pretty sure at least two of the boots were png series.. How should I format them?
Click to expand...
Click to collapse
this was sent to me by another member here. your desc should read 480 800
each frame of vid needs to be 480x800 png(yes you have to have it frame by frame)
hope this helps some
"quoted from pseudoremora"
After creating your bootanimation -- You need to make sure that a couple things have been done correctly for the bootanimation to 1) Work and 2) Be able to be flashed via recovery.
1) To make the bootanimation work
a. Make sure that after creating the animation itself that the .zip you create has NO compression -- (e.g You use "store" mode, instead of "normal" -- both 7zip/Winrar have this feature)
b. Make sure the desc.txt file is properly formatted and has the correct folder names inside the file. Also make sure you have a carriage return (press enter) at the VERY last line of your desc.txt file
c) Make sure the .png filenames are somewhat sequential and organized. (e.g. BootUp001, BootUp002, BootUp003, etc)
2a) To make a flashable package
a. First create a folder to house the bootanimation and you'll also need to explicitly define the folder names that you want the animation to be pushed to. (e.g -- Inside lets say the "MyBootanimation" folder -- you should have three folders; they're names respectively are:: system/customize/resource
Inside the resource folder is where your newly created bootanimation.zip will go.
2b) To make the package flashable and work in recovery; you'll need a update-script file which should be in a folder called:: META-INF (ALL CAPS); inside that folder should reside, three more folders:: com/google/android/. The update-script file will go INSIDE the android folder.
So, to get this to work, you'll open the "MyBootanimation folder and inside it should reside to folders (system (and it's subfolders); which houses the bootanimation and META-INF (and it's subfolders); which houses the update-script). You need to select both files and zip them up in NORMAL mode, not "store" mode. This will create your new package, which you then need to sign via whatever method you use. I use command line and I'd like not to explain that if I don't have to.
--------------------------------------------------------------------------------
i have been doing further reasearch and experimentation... at the moment im waiting for my phone to boot and test the animation.(it failed) I found scripts for gimp that auto crop(with w/h and x-y offsets)/resize in batch so that can save lots of time there.
I'll follow your instructions and see how that works. Should I make the files inside system? (customize/resource) I'm currently running Kings UNleashed GB R3 NEON if that changes anything... i have HBOOT 2.10, and no ENG extended fastboot commands as far as I'm aware. Amon Ra supersonic-v2.3 recovery
If im successful in making the signed working file then ill post it up here =]
Okay, so I was unsuccessful... It installs properly, but the animation doesnt play; it black-screens, then finishes booting... help? I'll attach the whole signed zip so you have exactly what i have.
bootanimation.zip
EDIT: seem to be having a problem uploading the file i have it working for(system\customize\resource) will try to upload tomorrow
try this dropbox http://dl.dropbox.com/u/9628638/tron1.zip
let me know if this works for you
I installed it and same thing; black screen.. you said you got it working? what did you do to make it work?
try this one http://dl.dropbox.com/u/9628638/tron2.zip
i renamed all the png(heard that it had to have at least 5 characters and ran those through png optimizer) renamed the folders and changed the desc to match.
i think your bootanimation maybe in (system\media)
try it and let me know
dased14 said:
try this one http://dl.dropbox.com/u/9628638/tron2.zip
i renamed all the png(heard that it had to have at least 5 characters and ran those through png optimizer) renamed the folders and changed the desc to match.
i think your bootanimation maybe in (system\media)
try it and let me know
Click to expand...
Click to collapse
Thanks =] will test.
this is an installable package, yes?
Yes, flashable zip
Sent from my SPH-P100 using XDA App
dased14 said:
Yes, flashable zip
Sent from my SPH-P100 using XDA App
Click to expand...
Click to collapse
Rebooting now... and.... waiting................... and not working =[
thanks a lot for trying... You got it working on your phone? any1 else want to give it a try?
EDIT: would having a bootanimation in both customize/resource and System/media cause a conflict and so make neither work? I actually found customize/resource and put the file in there, but it doesn't work either... maybe if i remove it then the one in system/media can work...
EDIT AGAIN: apparently it has no effect =[
Yes plays a little slow, running myn's 2.2. Do you know where the bootanimation is on that rom that might help
Sent from my SPH-P100 using XDA App
dased14 said:
Yes plays a little slow, running myn's 2.2. Do you know where the bootanimation is on that rom that might help
Sent from my SPH-P100 using XDA App
Click to expand...
Click to collapse
I've tried putting it in both applicable directories with no success... =/ what ROM are you using?

Here's what I want to do

So here is my thing, I want a custom splash screen and boot animation but I'm running into a problem. Everytime I try to flash it using
fastboot flash splash1 evosplash1.rgb565 I get the error (failed: no remote access) or something like that.
I found out it's because my hboot is 2.10......
but I am unable to downgrade from what I have seen because my readout from adb shell is that I have the 40000 block build or something like that and because i have that build I cant downgrade and because I cant downgrade I cant have a custom splash page and boot animation.
Any ideas?
It isn't at all true that you can't have a custom splashscreen or boot animation. You can either find a flashable zip of the boot animation you want to use and flash it via recovery, or you can manually place it in the correct folder and set permissions using Root Explorer. The location of the boot animation is dependent on the rom. If it isn't flashable, it needs to be named exactly bootanimation.zip in order for it to work once you've put it in the correct folder. I usually just rename the old one and leave it there in case I decide I don't like the new one.
Splashscreens, and I might be wrong about this because I've never used a custom one, can be loaded as a PC36IMG in the bootloader. I believe there are a small handful of them that can be flashed in recovery.
Hopefully someone that actually knows something about splash screens will chime in, since I'm afraid I may be giving out bad information when it comes to that.
(from... Evo/MIUI/Tapatalk)
Thank you for your insight. The issue I'm running into is I can't figure out how to get into the folder to place the boot animation. With the hboot being 2.10..... it won't let me change anything in there.
Dboy352 said:
Thank you for your insight. The issue I'm running into is I can't figure out how to get into the folder to place the boot animation. With the hboot being 2.10..... it won't let me change anything in there.
Click to expand...
Click to collapse
Your hboot has nothing to do with it, you need to boot into the rom and do it there. You can use Root Explorer to copy/cut and paste the boot animation into the correct folder. Rename the existing one to something else, you'll need to mount as r/w by tapping the button near the top that says "mount r/w". After you've moved the new boot animation and renamed it properly (if needed), you will need to set the permissions to match the old one. You can do this by long pressing the file and selecting permissions from the list. Then mount as r/o the same way you mounted r/w. When you've finished, reboot.
You should see your new boot animation
If you don't have Root Explorer, I would suggest buying it - it will come in handy. You can also use EStrongs and I believe File Expert has an option for root access. In ES File Explorer, you have to enable root functions in settings. I don't know if you can mount r/w through the app and it may not operate the same as my directions, but it's free. For root file actions, Root Explorer is just more polished in my opinion and well worth the money.
(from... Evo/MIUI/Tapatalk)
plainjane said:
Your hboot has nothing to do with it, you need to boot into the rom and do it there. You can use Root Explorer to copy/cut and paste the boot animation into the correct folder. Rename the existing one to something else, you'll need to mount as r/w by tapping the button near the top that says "mount r/w". After you've moved the new boot animation and renamed it properly (if needed), you will need to set the permissions to match the old one. You can do this by long pressing the file and selecting permissions from the list. Then mount as r/o the same way you mounted r/w. When you've finished, reboot.
You should see your new boot animation
If you don't have Root Explorer, I would suggest buying it - it will come in handy. You can also use EStrongs and I believe File Expert has an option for root access. In ES File Explorer, you have to enable root functions in settings. I don't know if you can mount r/w through the app and it may not operate the same as my directions, but it's free. For root file actions, Root Explorer is just more polished in my opinion and well worth the money.
(from... Evo/MIUI/Tapatalk)
Click to expand...
Click to collapse
Thanks man, works great. The only issue I'm having is I can not get any audio. The audio is in the format spc_bootanimation_final.m3 and the bootanimation is spc_bootanimation.zip, any ideas?
Dboy352 said:
Thanks man, works great. The only issue I'm having is I can not get any audio. The audio is in the format spc_bootanimation_final.m3 and the bootanimation is spc_bootanimation.zip, any ideas?
Click to expand...
Click to collapse
Well, that 'man,' is actually a lady, and a good one too. Working on another gold star.
And it needs to be SPC_bootanimation_final.mp3 [yes, its case sensitive.] And try renaming the animation to just bootanimation. Are you on an aosp or sense rom?
Sorry mam, not man lol. Wish my ol lady was that technical lol.
I'm on sense, I didn't know if I shuld try to rename it to just bootanimation.zip or not since the rom's animationwas spc_anmation.zip and it was all in lowercase as well. I'll try the upper on the audio though.
Dboy352 said:
Sorry mam, not man lol. Wish my ol lady was that technical lol.
I'm on sense, I didn't know if I shuld try to rename it to just bootanimation.zip or not since the rom's animationwas spc_anmation.zip and it was all in lowercase as well. I'll try the upper on the audio though.
Click to expand...
Click to collapse
Well with gaining the skill, comes time, lol.
Well its been since 'nam since I ran sense, though I keep the kingdom rom as my sense rom. For the audio, with the SPC in caps, that should work, and the same for the just bootanimation.zip as well.
Ok, so the mp3 wasin format SPC_bootanimation_final.mp3 and I set the permissions the same as the bootanimation. Could it be because it is just the audio file, not a zip with the text file in it?
Dboy352 said:
Ok, so the mp3 wasin format SPC_bootanimation_final.mp3 and I set the permissions the same as the bootanimation. Could it be because it is just the audio file, not a zip with the text file in it?
Click to expand...
Click to collapse
Well the audio file is just that, just the file .mp3. It may have been because they weren't formatted/named correctly.
So here is where I am. I have the boot animation working flawlessly and have successfully changed it to 4 different animations without problem. Sound is still the problem. Here is what I have tried.
SPC_bootanimation_final.mp3
spc_bootanimation_final.m3
SPC_bootanimation.mp3
spc_bootanimation.mp3
SPC_bootsound_final.mp3
spc_bootsound_final.mp3
SPC_bootsound.mp3
spc_bootsound.mp3
I have it in the same folder as the animation (system/customize/resource) with the same permissions (Readwner, group, others...Write: group)
I'm at a loss, everything should work but still no sound.
You should have SPC_animation_final.mp3 in the system/customize/resources folder, and nothing?
Nope, nothing. I have played the file just to make sure it has sound and it does. I also tried moving it to system/media as android_audio.mp3 as was suggessted in another thread with nothing. Now boot sound worked with the stock rom, aybe from flashing it, it changed the audio setting maybe? I'm gonna try and change that real quick and see if it works.
Ok so I'm not getting it, all sounds are completely up. The only thing I ca figure is maybe somewhere in the rom it has been blocked/disabled for sounds at bootup. That's the only thing I can think of.

[Q] Turn off camera shutter sound

I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
can't freaking delete this post... tried to edit it and since im a new member it wouldn't let me within 5 minutes...my full reply is farther down.
http://forum.xda-developers.com/showthread.php?t=1994626
I believe that you can unroot directly from the superuser app that is sideloaded via this rooting method. Once unrooted, the changes that you made should remain. If they don't for some reason, all you have to do is keep root and just deny apps that request superuser access.
jhaaaa said:
I love this phone.
But, I can't turn the camera shutter sound off.
I have seen the following solutions:
Edit build.prop and set the camera sound value to =0
or
Use Camera Zoom Fx app and delete the camera_click.ogg file
I would prefer to do the former.
I guess I need to root my phone to do this - or is there an easier way?
I have never rooted a phone and I don't have a need for a rooted phone other than to be able to r/w the build.prop file.
Can I root it, edit the build.prop file, and then unroot it and have the build.prop file keep my edits?
Does anyone have any straightforward steps on how to root and then unroot this phone?
Thank you for any guidance you can provide!
J-Ha
Click to expand...
Click to collapse
You would need to root it to edit the build.prop, as it is located in system. That other way to unroot might work to keep it but if you use lgnpst it would replace all the system files, giving you your stock build.prop again. If you wanted to delete the ogg file you would still need to root for that. At least on my phone the camera_click.ogg file is located it /system/media/audio/ui directory. You could just move it somewhere else as a backup. But....being rooted is awesome
is their a complete fix to this.?
HelloDominick said:
is their a complete fix to this.?
Click to expand...
Click to collapse
jat255 said:
HelloDominick, any reason my post above doesn't work for you? That fixed the sound issue for me.
Click to expand...
Click to collapse
You had to root the phone first right or no.?
This solution didn't work for me. I did all of it, and upon resetting permissions, it makes a new file" build.prop.bak and I still get shutter sound. Using es file explorer
Sent from my LG-LS970 using xda app-developers app
i rooted my device where is the location to edit the camera sound.?
I dont see this code "ro.camera.sound.forced=1" anywhere
NVM. I found it, im getting old now.
but tested it and it works like a charm
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Colonel Travis said:
HelloDominick - I still haven't gotten around to rooting the phone, so I haven't done this yet. Do you really have to have the sound off on the phone in order for this to work?
Click to expand...
Click to collapse
Yes. Even deleting the camera shutter sound and editing the build.prop result in this. I just did it myself
Sent from my LG-LS970 using xda app-developers app
Anyone try repackaging the camera apk wi th out the shutter sound. Its what we had to do with the evo 3d`s
Sent from my LG-LS970 using Tapatalk 2
jat255 said:
Hmm... That's interesting. Only thing I can think of is maybe set the permissions via adb? Maybe ES has some issue?
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Found the solution to be rebooting after the entire process. I forgot I hadn't done it, and decided to just reboot for the hell of it. No shutter sound
Sent from my LG-LS970 using xda app-developers app
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
thecolor said:
I think (once rooted) is safest to just overwrite the click sound(s) with a silent one. Then it plays but you can't hear it. works for me and any camera proggy that defaults to the system will use it too.
Click to expand...
Click to collapse
Where is the camera sound located in the filesystem? Thx!
hallucinate said:
Where is the camera sound located in the filesystem? Thx!
Click to expand...
Click to collapse
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
thecolor said:
On the LGoG it's in: system > media > audio > ui > camera_click.ogg
It may be in a different location on other devices.
You have to be rooted in order to write over system files, but I just renamed the original to camera_click.ogg.bak and then copied the silent version in with the same original name "camera_click.ogg" less the quotes and making sure it's an ogg file too, so there is no system playback error.
Hope that helps.
Click to expand...
Click to collapse
Replaced the file but no love, same click sound... Any other path?
hallucinate said:
Replaced the file but no love, same click sound... Any other path?
Click to expand...
Click to collapse
I assume it's the LGoG you are attempting this with?
Mine is the first generation (incase there are other generations.)
You'll also want to verify it was overwritten. I'd try playing the sound once you do... just to be sure it's the write file.
Otherwise, you might search your device for the sound and see if it's listed elsewhere.
In case the program you are using does not have "system" write capability, I might suggest ES File Explorer.
Either way, you will have to access the settings to turn on the ability to "write" to root in order to "overwrite the file".
Additionally (if the file is changing back - or so it would seem)... be sure to check the permissions it has before you overwrite it and when you do (assuming success).. make sure to set the "new" files permissions to the same as what the old file had. Else, the OS might overwrite the "new" file with a tared (backed up) version... knowing that it's been screwed with.
It's kind of a form of protection from corruption (computer sees potentially bad file and replaces it with good file.)
Good luck and happy fourth!
Phantom camera_click.ogg
I beg your forgiveness for my ignorance, but I've never done much tweaking to file systems after a rooting... but my gf has the Sprint Optimus G and can't find the camera_click.ogg file at all using Astro File Explorer. Does anyone know any other location it may be at? As a computer technician, I'm embarrassed at my lack of know-how around the Droid OS!
Not sure if you looked at this thread: http://forum.xda-developers.com/showthread.php?t=2051384
Read the op then go to page 11 and you see there are 2 fields that need to be changed.
After you do that and reboot as it states, you will have sound when you have your volume on and no camera sound when you turn the volume down to vibrate or silent. At least that is how it is for me. I prefer it that way.
Hope this helps
Sent from my LG-LS970
Naturally
Per Murphy's law, after she and I both looked for around 30 min before giving up and me posting on the forums, I downloaded the ES file explorer and found both files within seconds.
Got it with the silent camera while the phone is on silent/vibrate. Now for a little tweaking to silence it with the volume up.
Thanks for your help, guys and gals. No wonder XDA-devs is one of, if not the, top-notch sites!
Regards,
Agnati

[Q] System UI tones, and how to change them...

...ok, this has me stumped and I figured someone here might know the answer.
I am trying to change the call connect and the call disconnect tones on my S4. My phone is of course rooted, and I see the sound files located in /system/media/audio/ui - they are in .ogg format. I see the following files (call related):
Call_Connect.ogg
TW_Call_Disconnect.ogg
I replaced both files with the sounds of my choice (same file name, same permissions, same format)...but...when I dial out or disconnect, I get the S4 default connect tone / disconnect tone. I also did a complete factory reset...same result, WTF?
EDIT: Also, I did make sure that the system folder was mounted and writable...
Ok, I want to offer a little more info...
I have:
Made sure the files have the same name. (there are no dupe's in the directory either)
Made sure the files have the same permissions that all other files in that directory have.
Verified the files were updated by listening to them via my root explorer.
Rebooted 6519845619685465196847 times.
Cleared phone app cache, nova launcher cache, and even did a factory reset (dalvik, cache, data).
I even removed the files from that directory all together (which should have killed the call connect and call disconnect notifications)...but the stock ones STILL PLAY...WTF?
Used ADB to open a shell session and LOGCAT to see if I could spot something happening while I placed a call, and came up with nothing relevant, which is weird because if LOGCAT is supposed to show everything the phone is doing, then why is there no information on what sounds are being used for those events...
It is as if the files exist or are cached somewhere else...but I cannot locate any other .ogg or audio file anywhere else on the device at all.
This is driving me insane.
Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2
elesbb said:
Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Thank you for giving me a place to start looking.
elesbb said:
Might be in the framework res file
Sent from my SGH-M919 using Tapatalk 2
Click to expand...
Click to collapse
Ok, it wasn't in that file, but it was in the SecPhone.apk file. However, editing that file immediately caused my phone to crap itself. I replaced the two files in the archive and then put that modified file back into /system/app and then rebooted and wiped dalvik and cache. When I got the phone back up, I tried using the phone, and instantly it (over and over I might add) said that com.android.phone has stooped working...oh yeah, and my modified sounds didn't play either.
Guess I'm stuck with the default unless I either learn a lot more about working with Android, or someone hooks me up with some knowledge, or better yet, an app that someone has that can successfully change this.
STrooperTK421 said:
Ok, it wasn't in that file, but it was in the SecPhone.apk file. However, editing that file immediately caused my phone to crap itself. I replaced the two files in the archive and then put that modified file back into /system/app and then rebooted and wiped dalvik and cache. When I got the phone back up, I tried using the phone, and instantly it (over and over I might add) said that com.android.phone has stooped working...oh yeah, and my modified sounds didn't play either.
Guess I'm stuck with the default unless I either learn a lot more about working with Android, or someone hooks me up with some knowledge, or better yet, an app that someone has that can successfully change this.
Click to expand...
Click to collapse
Ah that actually makes more sense
But.....
Give me the audio files and your ORIGINAL SecPhone.apk and i shall sprinkle some pixie dust on them and watch them merge as one might even use it myself depending on what they sound like (BTW put the audio files and SecPhone.apk into a folder and zip that folder then attach the zip)
elesbb said:
Ah that actually makes more sense
But.....
Give me the audio files and your ORIGINAL SecPhone.apk and i shall sprinkle some pixie dust on them and watch them merge as one might even use it myself depending on what they sound like (BTW put the audio files and SecPhone.apk into a folder and zip that folder then attach the zip)
Click to expand...
Click to collapse
Got an alternate drop location and or email address? File is just a little big too big for the forum to accept (too big by just 2 or 3 megs)...
STrooperTK421 said:
Got an alternate drop location and or email address? File is just a little big too big for the forum to accept (too big by just 2 or 3 megs)...
Click to expand...
Click to collapse
PM sent with a link to my file drop for my media fire account
elesbb said:
PM sent with a link to my file drop for my media fire account
Click to expand...
Click to collapse
Done!
The tones are nothing special, but (to me) better then stock.

Categories

Resources