Shutter Sound - Nexus S General

I think it's annoying that shutter sound exists and you can't just shut it off in the camera app. The only way is to be in silent mode, which I am in most of the time. But today I forgot while using a computer lab at school and a loud shutter click went off. Ugh.
I realize that renaming/removing the OGG files for the shutter sound and video sound are the easiest.... BUT I see myself flashing new ROMs left and right.
Perhaps there's a way to write a script to do this? I'm not too good with scripting as easy as that sounds... lol.
Edit: Something like this for script manager?
Code:
mount -o remount,rw /dev/block/mtdblock4 /system
mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.ogg.old
mv /system/media/audio/ui/VideoRecord.ogg /system/media/audio/ui/VideoRecord.ogg.old
mount -o remount,ro /dev/block/mtdblock4 /system

bumpity help anyone?
doesnt seem like script manager likes my script lol.

Well you didn't replace it with anything... Wouldn't you need to replace it with a sound file that is silent?

AtomicPC said:
Well you didn't replace it with anything... Wouldn't you need to replace it with a sound file that is silent?
Click to expand...
Click to collapse
I know you can rename the file to something else and just have a nonexistent file. I've tried it on other phones. Should be the same on NS. I just fail at scripting.
I mean what I essentially typed out up there was what you woudl type into terminal window. Is that what you would put in a script? LoL.

I've had the camera app fc when I removed the sound. I just made a silent ogg file with the same bitrate, sampling, and compression characteristics as the one it's replacing. Rename the silent file to camera_click.ogg and VideoRecord.ogg and it's silent from then on.

Related

Ahhh Help!! Speakphone switches on in-call!

I just got the X1 today and I've already experienced a major problem. When I call a number and it gets through, everything is normal
But if I call a number that is engaged, the engaged tone is played out via the loudspeaker and NOT the earpiece. Is there a way to change this?? Its blasting the "doo doo doo" near my ear when I happen to call someone who's engaged!!
Thanks a lot!! I can't use this phone properly until I get some help on this!
I've also had this problem, it's annoying as hell.
Has anyone been experiencing this problem as well?
this is normal on this phone, mine does the same. I've gotten annoyed of the calldrop sound and stopped it from playing via the registry.
oh... can you give me the exact file names and locations for these wav files??
So the engaged tone one and the call-drop one?
Thanks a lot!
here is the call drop registry change:
Code:
HKCR\ControlPanel\Sounds\CallDrop
Script: erase "p"
I'm not sure what you mean by "engage tone". the calldrop.wav is located in \windows\
i found the locations thanks.
Can I just delete the entry instead of just deleting the "p" from the file name??
I'm actually thinking of extracting the Busy.wav and then making it softer manually using the Audacity program. BUTTTT - I tried to extract it to a folder, but after dragging it to the new folder, there's nothing in the folder. Like it never copied across. The weird thing is that when I copy busy.wav again, it asks me whether I want to replace the original (yet invisible) busy.wav file.
Any ideas on why this happens to busy and calldrop.wav files ONLY??? The others copy across as normal. Could it be the cause of the problems to begin with??
Thanks
i'm not sure if you could just delete the "p". The "p" tells the phone to play the calldrop.wav. by deleting the p you're telling the phone not to play calldrop.wav
i haven't tried to copy the busy.wav i'm not sure why it would be invisable. what are you using to copy the files?
i found that mine will play the busy signal on the loud speaker if i dont hang up the phone in a certain amount of time. when i call and get a busy signal, it will play thru the ear piece but if i forget to hang up, it will play thru the loud speaker. i think it does that on purpose to let you know that you did not properly end the call.
just my guess tho
its a mess... There's something special about this busy.wav file. Could be a deeper problem than first imagined. Well I just used a completely different file to do another "busy" tone.
I've uploaded it here if someone wants it. Just put straight across and change the relevant registry entry in the location that was mentioned above. Makes a perfectly decent engaged tone that isnt too loud but is just audible to you.
domyue said:
i found the locations thanks.
Can I just delete the entry instead of just deleting the "p" from the file name??
Click to expand...
Click to collapse
Deleting the entry only may still play some system sound (not sure though)
I'm actually thinking of extracting the Busy.wav and then making it softer manually using the Audacity program. BUTTTT - I tried to extract it to a folder, but after dragging it to the new folder, there's nothing in the folder. Like it never copied across. The weird thing is that when I copy busy.wav again, it asks me whether I want to replace the original (yet invisible) busy.wav file.
Any ideas on why this happens to busy and calldrop.wav files ONLY??? The others copy across as normal. Could it be the cause of the problems to begin with??
Thanks
Click to expand...
Click to collapse
The busy.wav is marked as a "System file" and hence is not visible when you copy it to your PC. On your PC, open the folder where you put the file and goto Tools>>Folder Options in the pop-up window, goto the View tab and click on Show hidden files and folders as well as uncheck Hide protected operating system files (Recommended). This should show up the busy.wav file.
having this problem too - think that reg fix only works for calls but if u get any other kind of alert it will come through the speaker

Disabling camera click sound

I couldn't find an option to disable the camera click noise when you take pictures, but if you remove the file associated with the click the camera fails gracefully and doesn't make that obnoxious, loud noise anymore.
I believe this requires a rooted phone but I'm too new to android to know if that is, indeed, the case.
You can likely do this with a terminal emulator, but these are the steps I took:
Connect your phone to a computer with the sdk and drivers installed
Open a command prompt and navigate to your sdk/tools folder
Type 'adb shell' in a command prompt
Type the following commands in the shell (omitting the #)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.bak
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
The mount commands remount the readonly filesystem so you can write and then mounts it back. The move command renames the sound file of the click.
There is also a 'VideoRecord.ogg' file that can be moved to disable the 'ding' that occurs when you start and stop the video. I prefer that so did not move it on my device.
Hope it helps someone.
My phone doesn't make camera clicks when vibrate or silent is on.
madforpancakes said:
My phone doesn't make camera clicks when vibrate or silent is on.
Click to expand...
Click to collapse
Same here.
jsoverson said:
I couldn't find an option to disable the camera click noise when you take pictures, but if you remove the file associated with the click the camera fails gracefully and doesn't make that obnoxious, loud noise anymore.
I believe this requires a rooted phone but I'm too new to android to know if that is, indeed, the case.
You can likely do this with a terminal emulator, but these are the steps I took:
Connect your phone to a computer with the sdk and drivers installed
Open a command prompt and navigate to your sdk/tools folder
Type 'adb shell' in a command prompt
Type the following commands in the shell (omitting the #)
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.bak
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
The mount commands remount the readonly filesystem so you can write and then mounts it back. The move command renames the sound file of the click.
There is also a 'VideoRecord.ogg' file that can be moved to disable the 'ding' that occurs when you start and stop the video. I prefer that so did not move it on my device.
Hope it helps someone.
Click to expand...
Click to collapse
or you just can set your phone in silence or vibrate....duh??!!
Thanks for posting that, very interesting.
Unfortunately, it does appear that you need to be root to rename the file. If you haven't rooted the phone then the mount commands fail.
Maybe it's time to root this thing!
DKM119 said:
or you just can set your phone in silence or vibrate....duh??!!
Click to expand...
Click to collapse
You're right, silly me, why go through the effort of making the phone do precisely what I want and be exactly what I need?
What is this, an effing iPhone forum?
DKM119 said:
or you just can set your phone in silence or vibrate....duh??!!
Click to expand...
Click to collapse
Wow, I don't know why you have to crap on the post. I think this post is very useful. I, like the OP, don't like having my camera make a sound whenever it takes a picture. I can clearly see that the picture has taken (unless I'm trying to take a picture of myself, but I can tell you I don't do that very often), so I don't see a need for an audio cue if it's not necessary.
Turning the sound down before taking a picture would be a hassle. What if I do it, take my picture and then forget to turn it back on? I don't see a need for this type of deconstructive criticism, especially when people have already said what you have said without the disdain.
Anyway, thanks jsoverson, it worked for me.
Perhaps you want to take a picture without the subject knowing? ;-)
jsoverson said:
You're right, silly me, why go through the effort of making the phone do precisely what I want and be exactly what I need?
What is this, an effing iPhone forum?
Click to expand...
Click to collapse
Lol funny tou said that...I didn't mean to sound that bad...but really there is no need to go trough all that hassle if all you need to do is put your phone in silence unless you're a sick person that wanna take pictures of other people without their consent...anyway good job with the codes but useless for regular people...oh yeah this is just my opinion.
I think it's useful to note how you may disable the sound permanently, and also useful to note that you can disable it temporarily by silencing your phone. These facts don't need to be mutually exclusive, guys
Thanks OP! I'd like to permanently disable the sound. I turn on a LOUD profile when I'm out, and it's always annoying to hear that "CRACK" shutter sound
i usually don't mind the sounds phones make from the camera shutter, but on the nexus one it's very loud. this guide worked to disable sound, thanks
Nice post. This way you can have your phone on loud AND not have the camera click. FYI: To turn the camera sound back on, simply reverse the second command like so
Code:
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# mv /system/media/audio/ui/camera_click.bak /system/media/audio/ui/camera_click.ogg
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
Thanks for this. The noise is really irritating.
My phone makes the sound with the sound set to silent and vibrate. And its very loud. Much louder than even my ringtones or notifications.
Hi, and thanks for the code.
I was wondering if someone could make a gscript code for this so that we could toggle camera sound on/off without a computer.
thanks
L
samawil said:
Hi, and thanks for the code.
I was wondering if someone could make a gscript code for this so that we could toggle camera sound on/off without a computer.
thanks
L
Click to expand...
Click to collapse
If you have one of the many file browser applications (Astro is a decent free one) you can rename it manually
bobtentpeg said:
If you have one of the many file browser applications (Astro is a decent free one) you can rename it manually
Click to expand...
Click to collapse
insufficient permission according to Astro.
I'm rooted etc, running Cyan b3...did you manage to change it this way?
In Astro I went to the file, long press, edit, rename, and get insufficient permision message.
L

Changing the startup/shutdown media

I would like to change the startup and shutdown image and audio for the Vibrant. Does anyone know who to do this?
Thank you.
Yeah I have to plug in headphones or cover the phone when rebooting. I hate the loud shutdown/startup.
I'm pretty sure you have to root the phone first because those files are stored on the phone's internal storage which is protected normally. I really hate those sounds... I can deal with the silly T-Mobile crap...
Any progress on this?
Well it was easy enough to find the shutdown audio file,
(/system/media/audio/ui/Shutdown_128.ogg)
but I'm still looking for the startup audio file (which seems louder I think). I'll confess that I haven't really tried as I don't have much time. Anyways, you first need to root the phone (easy, and it's on this forum), then I REALLY recommend downloading Root Explorer. You can find it on the market. It costs 2.50 Euros I believe, but it's well worth it. SuperUser will ask you for permission for "Root Explorer" have permission. Just say yes. Anyways, navigate to the location above and just delete the Shutdown_128.ogg file and that's it! No more annoying shutdown song. Someone look for the start up one too cuz I don't like it. Also, the t-mo animations during startup and shutdown are located at "/system/media/video/shutdown". They are all .png files and there are about 14 or so of them, and I don't know how the phone handles them so back them up before you mess with them.
On another note, since you already have "Root Explorer" installed, it would be cool to choose your own ringtones from the available "Ringtones" options in the settings, right? To do this, just navigate to "/system/media/audio/ringtones" and delete all the crappy ringtones from there and replace with your own edited mp3 ringtones. Same goes for the notifications in the notification folder.
Still not sure how to make the phone stop playing ringtones low at first, then loud. But like I said...no time.
UPDATE
Found it. It's in "/system/etc". It's called "PowerOn.wav". Just move or delete it.
Shut up the stupid
Alternatively, if you are a haptic-only or a no touch input feedback user you could go to:
Settings->Sound & Display->System volume
...and turn it all the way down.
http://forum.xda-developers.com/showthread.php?t=732311
The startup file is in \etc\PowerOn.wav
Just rename it to something else (e.g. PowerOn.wav.bak), and you won't get the startup sound.
There is also a thread in the Vibrant Dev forum about completely removing the shutdown graphic. All this is easy if you're rooted.

silent camera shutter/video record sounds (for stock and enom)

On the G2, when you take a picture or start a recording, it makes a pretty loud sound. It's pretty annoying for me, so I decided to replace them with silent files. The files still plays when you take a picture or record a video, but since it's silent nothing can be heard.
I have this working for stock and enom's rom. Not sure if it works with CM6.1.
I have included the silent files as well as the originals. Obviously you can use whatever sound you want.
camera_click.ogg
VideoRecord.ogg
camera_click-original.ogg
VideoRecord-original.ogg
[*Please suggest if there are better ways of doing this. I'm a total noob at this.*]
to back up original files on G2:
These are the two files on your phone you'll want to back up in case you need to restore them later.
/system/media/audio/ui/camera_click.ogg
/system/media/audio/ui/VideoRecord.ogg
adb push camera_click.ogg /data/local/camera_click.ogg
adb push VideoRecord.ogg /data/local/VideoRecord.ogg
adb shell
$ su
# mount -o remount,rw /dev/block/mmcblk0p25 /system
# rm /system/media/audio/ui/camera_click.ogg
# rm /system/media/audio/ui/VideoRecord.ogg
# cp /data/local/camera_click.ogg /system/media/audio/ui/camera_click.ogg
# cp /data/local/VideoRecord.ogg /system/media/audio/ui/VideoRecord.ogg
# cd data/local/
# rm camera_click.ogg
# rm VideoRecord.ogg
*I'm not sure if I need to mount /dev/block/mmcblk0p25. Can someone clarify?
Thanks - worked for me (froydvillain1.7.1)
The commands are done through Android Terminal? Also does it matter where I download the zip (root of sd, etc)?
Sent from my T-Mobile G2 using XDA App
I usually just delete those before I flash a rom. This also works for CM but I think they have different names. +1 for showing everyone how to do it w/ terminal. I wasn't going to because of the implications it [no camera sound] could have. Some countries legally require manufactures to have the sound there for either corporate/government settings dealing with proprietary or sensitive information or to discourage voyeuristic tendencies (you all know what I'm talking about). Just make sure to not get in trouble with it. OP, may want to put some sort of disclaimer in the post dealing with that subject, you know - CYA (google it if you don't know).
And no,
mount -o remount,rw /system
is all that's needed. I've never had to use the other remount line to delete/add to the system. Especially the media folder.
EDIT: I was thinking about this last night and remembered it can be done with Root Exlporer (or any file explorer than can mount /system r/w). Just navigate to those directories, MOVE, not copy, the files somewhere else like your sdcard or the data/local directory. That way you have the originals and the sounds are gone. I'd put an X at the end of the name too just to be safe. I'll post the terminal script for this since it's much shorter than your current method for those that just love using terminal.
Great - I was looking for a way to silence that camera shutter sound.
Thanks for this.
Thanks for sharing this! I had been using Tasker to silence all audio whenever the camera app was open, but this is a much more elegant solution.
chaose said:
On the G2, when you take a picture or start a recording, it makes a pretty loud sound.
Click to expand...
Click to collapse
Do you happen to know what the sound files are for when you depress the shutter button halfway (which causes the camera to focus in preparation for taking an image, if your device is configured to do that)? That sound is even more annoying than the shutter sound itself. I've poked around in /system/media/audio/ui, but I haven't been able to find the right sound file.
Also, you can just delete the files - it doesn't cause problems if they aren't present.
mikedoherty said:
Do you happen to know what the sound files are for when you depress the shutter button halfway (which causes the camera to focus in preparation for taking an image, if your device is configured to do that)? That sound is even more annoying than the shutter sound itself. I've poked around in /system/media/audio/ui, but I haven't been able to find the right sound file.
Click to expand...
Click to collapse
I would also like to know this one as well, as I haven't figured out where that sound is located either.
dustrho said:
I would also like to know this one as well, as I haven't figured out where that sound is located either.
Click to expand...
Click to collapse
I think it must be baked into the OS somehow, I've played every sound file I could find, and none of them were it. Incredibly ridiculously frustrating.

[Q] How to remove shutter sound

Greetings,
I need help with my xperia x2. im using MR2. my problem is, i want my camera shutter to have no sound. there are only option to change the shutter sound. no shutter with 'no sound' option. I don't want to silent my phone to make the shutter no sound. is there any other option? I don't mind installing new .cab for my camera. so please somebody. help me...
thanks,
The only way I am able to get by without sound is to turn the volume on the phone all the way down.
Now I can get it done. I replace the file on Program Files/ xperiacamera/ sounds.blob with 0kb file. just create new notepad, and save it as sounds.blob, and then replace with the original file. it works for me. and I will never need artificial sound for my camera shutter.
Rempit said:
Now I can get it done. I replace the file on Program Files/ xperiacamera/ sounds.blob with 0kb file. just create new notepad, and save it as sounds.blob, and then replace with the original file. it works for me. and I will never need artificial sound for my camera shutter.
Click to expand...
Click to collapse
This is a good method! It works fine!! Thanks!

Categories

Resources