Monday, November 28, 2011

Android Dev - Silence camera click (needs a rooted phone)

1) Turn On USB Debugging
settings > applications > development

2) Install ADB Tools
http://developer.android.com/guide/developing/tools/adb.html

android-sdk-linux/tools$ ./android

Select 'Android SDK Platform-tools'

adb kill-server
sudo adb start-server
adb devices

http://groups.google.com/group/android-discuss/browse_thread/thread/f85a795644e65b59?pli=1

3) Remove the camera_click.ogg file from your phone.

http://androidforums.com/motorola-droid/30759-turn-off-camera-shutter-sound.html

You must be rooted to do this but you can do this using ADB Shell or Terminal Emulator. Make sure to change /system to RW first.
ADB shell
SU # this requires a rooted phone, else permission denied
mount -o remount,rw /dev/block/mtdblock4 /system
mv /system/media/audio/ui/camera_click.ogg /system/media/audio/ui/camera_click.ogg.old

Done!!! No more Clicking sound

There are a few programs on the market that allow you access the file on root as well through a GUI if your not comfortable using command lines.

No comments: