FORUMS

[TIP] Disable Camera Sounds (root required)

248 posts
Thanks Meter: 74
 
By j4mm3r, Senior Member on 29th June 2010, 06:03 AM
Post Reply Email Thread
Ah... just having fun with root...!

So, if you want to get rid of the camera sounds, follow these steps on your rooted X10:

Prerequisite:
Rooted X10 using the root tutorial (http://forum.xda-developers.com/showthread.php?t=711907).

Busybox installed (download from market)

Fire up your favorite terminal emulator on the phone or launch a shell using "adb shell" (requires android sdk) and run along:

First make the /system partition writable:
Code:
# mount -o remount,rw -t yaffs2 /dev/mtdblock2 /system
Checkout these files:
Code:
# cd /system/media/audio/camera
# ls -l sound0
-rw-r--r--    1 0        0             9164 Feb 21 02:48 no_sound.ogg
# ls -l sound1
-rw-r--r--    1 0        0             4384 Jun 29 04:33 af_success.ogg
-rw-r--r--    1 0        0             6515 Jun 29 04:33 self_timer.ogg
-rw-r--r--    1 0        0           10806 Jun 29 04:33 shutter.ogg
-rw-r--r--    1 0        0            5987 Jun 29 04:33 start_rec.ogg
-rw-r--r--    1 0        0             6279 Jun 29 04:33 stop_rec.ogg
And there are more directories like sound2 and sound3. OK so basically, just replace each of the sounds under soundX folder with no_sound.ogg
Code:
# cp sound0/no_sound.ogg sound1/af_success.ogg
# cp sound0/no_sound.ogg sound1/self_timer.ogg
# cp sound0/no_sound.ogg sound1/shutter.ogg
# cp sound0/no_sound.ogg sound1/start_rec.ogg
# cp sound0/no_sound.ogg sound1/stop_rec.ogg
So when you've got sound1 folder fully patched, simply copy it over sound2 and sound3:
Code:
# cp sound1/* sound2/
# cp sound1/* sound3/
Et Voila!

(You may have to restart the Camera app by killing it via Task killer application or simply restart your phone)


Further development:

Want the phone to say "Say Cheese..."?

You can basically record your own sounds in "ogg" format and replace them in the respective folder either sound1, 2 or 3... but just make sure that you record sounds which are under 5 seconds or so... longer sounds really doesnt make much sense and I really don't know how the Camera app is designed to handle it... YMMV.
29th June 2010, 06:05 AM |#2  
Senior Member
Flag Göteborg
Thanks Meter: 1
 
More
You pervy, upskirt-shooting /b/-tard.
29th June 2010, 06:16 AM |#3  
Member
Thanks Meter: 0
 
More
Actually, I can set there to be no camera-sound through the settings. Can't you guys do that?
29th June 2010, 06:20 AM |#4  
OP Senior Member
Thanks Meter: 74
 
More
Quote:
Originally Posted by pally777

Actually, I can set there to be no camera-sound through the settings. Can't you guys do that?

yea i think I had that option before I rooted my phone... but the japanese firmware that the root relies upon doesnt !
29th June 2010, 06:21 AM |#5  
Senior Member
Flag Göteborg
Thanks Meter: 1
 
More
Quote:
Originally Posted by j4mm3r

yea i think I had that option before I rooted my phone... but the japanese firmware that the root relies upon doesnt !

Slightly off-topic: Didn't Japan recently made it a law that cameras had to make a sound to avoid the secret upskirt-shots the japanese guys are so fond of?
29th June 2010, 06:27 AM |#6  
OP Senior Member
Thanks Meter: 74
 
More
Quote:
Originally Posted by ddewbofh

Slightly off-topic: Didn't Japan recently made it a law that cameras had to make a sound to avoid the secret upskirt-shots the japanese guys are so fond of?

thats it... this is why i wanted to help our japanese fan boys!!
29th June 2010, 08:20 AM |#7  
Senior Member
Thanks Meter: 2
 
More
or.. you know.. /system/default.prop
ro.camera.sound.forced=0

...
Post Reply Subscribe to Thread

Tags
camera, root, sounds, x10

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes