• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Disable Camera Sounds?

Deleting the file from /system/media/audio/ui won't work. The HTC camera app uses its own internal audio files. Here is how to remove them:

Back up an original unmodified copy of /system/app/HTCCamera.apk for safe keeping
Open HTCCamera.apk in your favorite archive program as a .zip
Remove /res/raw/camera_click.ogg and any other sounds you don't want (I removed them all)
Replace the original /system/app/HTCCamera.apk with your modified file
Change the permissions to rw-r--r--
Clear Dalvik cache and reboot.
 
  • Like
Reactions: sabresfan
Upvote 0
edit::: Ostrich Egg beat me, but will leave this here because maybe it's helpful.


This is how you do it (need to have root):

1) Connect device to computer with USB debugging

2) open command prompt / terminal and go to sdk folder

Type at the command line: "adb pull /system/app/HTCCamera.apk"

This should download the camera app from your phone to your computer.

3) Look in the folder on your computer for HTCCamera.apk

4) Make a copy of this file as a backup.

5) Rename the original file to HTCCamera.apk.zip and Open the APK file in archiving program (such as Winrar)

6) Inside the zip file, find the sounds at /res/raw/ and delete the sounds you don't want (they are OGG files) you can delete all of them.

Note: this might not matter but to be safe (this is what I did) make sure if you delete all of them the empty "raw" folder is still in the archive. If you are using winrar it deletes the empty folder and you need to navigate back to /res/ , right click and do "create new folder".

7) After you deleted the files from the zip, rename HTCCamera.apk.zip back to HTCCamera.apk

8) At the command prompt again, transfer the file to your phone's Sdcard by typing: "adb push HTCCamera.apk /sdcard/HTCCamera.apk"

9) Enter the adb shell by typing "adb shell"

Type the following at the adb shell (not the $ or # part, just the commands):
$ su
# mount -o remount,rw /dev/null /system
# rm /system/app/HTCCamera.apk
# cp /sdcard/HTCCamera.apk /system/app/HTCCamera.apk
# mount -o remount,ro /dev/null /system
# rm /sdcard/HTCCamera.apk
# reboot


When the phone is rebooted, you might need to make shortcuts to the camera app again (old shortcuts might be missing)

Now there should be no sound. good luck.
 
Upvote 0
Deleting the file from /system/media/audio/ui won't work. The HTC camera app uses its own internal audio files. Here is how to remove them:

Back up an original unmodified copy of /system/app/HTCCamera.apk for safe keeping
Open HTCCamera.apk in your favorite archive program as a .zip
Remove /res/raw/camera_click.ogg and any other sounds you don't want (I removed them all)
Replace the original /system/app/HTCCamera.apk with your modified file
Change the permissions to rw-r--r--
Clear Dalvik cache and reboot.

ok... tried this all on my phone... hope it works. rebooting now:smokingsomb:
 
Upvote 0
Okay so anyone with more knowledge than me correct me if I'm wrong but if your are rooted you could probably use root explorer to get a copy of camera.apk. Make a copy on your computer and keep the original for safety. Then on the one you are going to modify remove the file you need to with 7-ZIP then replace the one on the phone with the modified one.

7-ZIP lets you look within the apk without decompressing it if I'm not mistaken.
 
Upvote 0
Okay so anyone with more knowledge than me correct me if I'm wrong but if your are rooted you could probably use root explorer to get a copy of camera.apk. Make a copy on your computer and keep the original for safety. Then on the one you are going to modify remove the file you need to with 7-ZIP then replace the one on the phone with the modified one.

7-ZIP lets you look within the apk without decompressing it if I'm not mistaken.

How is it that you'd be able to get the fire from the sd card to the computer? I have the apk cord to the sd via root explorer. Now getting it onto the computer...? Use 7-zip for sure? It won't show just exploring the sd from the computer as it is..
 
Upvote 0
How is it that you'd be able to get the fire from the sd card to the computer? I have the apk cord to the sd via root explorer. Now getting it onto the computer...? Use 7-zip for sure? It won't show just exploring the sd from the computer as it is..

You have to copy the HtcCamera.apk from the System to your SD Card first then you can get it from your Phone
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones