1. Download our Official Android App: Forums for Android!

Root Non app way to disable camera shutter?

Discussion in 'Android Devices' started by Tejer, Aug 9, 2012.

  1. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    So I did a little searching to see if there was a method of disabling the camera shutter sound. Being rooted I explored the the root files and went to where the camera sounds are located. I tried a method that changes the extension to .old on all the sound files for our camera. To my surprise, the sounds all played just fine even when I removed the files completely and moved them somewhere on the SD card. I'm not sure what the heck is up with that, but if anyone has any idea what would work to get rid of the annoying sound, that would be great.
     

    Advertisement

  2. Dark One

    Dark One Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    786
    Joined:
    Jan 15, 2012

    Jan 15, 2012
    786
    188
    93
    The file you need to get rid of is camera_click.ogg. It's in system/media/audio/ui I think.
     
  3. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    I removed it, but the clicks are still there no matter what..
     
  4. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    I've tried renaming and removing files with no luck at all. I just cant figure out why the files are still being played even when they are not even on the device, and I even rebooted each time I made changes to the files to test something new out.
     
  5. Dark One

    Dark One Android Expert
    Rank:
    None
    Points:
    93
    Posts:
    786
    Joined:
    Jan 15, 2012

    Jan 15, 2012
    786
    188
    93
  6. kwknott

    kwknott Android Expert
    Rank:
    None
    Points:
    253
    Posts:
    1,520
    Joined:
    Mar 19, 2012

    Mar 19, 2012
    1,520
    729
    253
    I removed all the camera sound files from the ui folder. It must have default file somewhere else
     
  7. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    Is it possible that Virgin has integrated the sounds into the app itself and they do not rely on those files? Or maybe, I wonder if they located and cache those files somewhere else the first time the camera app is run as a safeguard? I may try to clear data on the app and see. Maybe I'm just making up stuff for the next sci-fi tech movie too, who knows :thinking:
     
  8. MacFett

    MacFett Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    3,236
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    3,236
    740
    223
    Male
    Worshipping Cthulhu
    Sietch Tabr
    Have you rebooted after renaming the files?
     
  9. kwknott

    kwknott Android Expert
    Rank:
    None
    Points:
    253
    Posts:
    1,520
    Joined:
    Mar 19, 2012

    Mar 19, 2012
    1,520
    729
    253
    I tried a reboot and even clearing cache in recovery and clear data in app
     
  10. ktb83

    ktb83 Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    653
    Joined:
    Jun 10, 2012

    Jun 10, 2012
    653
    212
    93
    It's true. The ogg sound files are built into the apk (/res/raw/) I'm going to try replacing the files in the apk.
     
  11. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    Yes! I feel slightly ninja guessing that correctly :D That would be awesome if you could do that and distribute! I'm not trying to use the camera for anything secret, I just find the click noise to be an annoyance :rolleyes:
     
  12. Hashtag

    Hashtag Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    573
    Joined:
    May 28, 2012

    May 28, 2012
    573
    184
    93
    Male
    High School
    Carl Junction, Missouri
    It might be easier to just open up the sound files, silence them with audacity or audition, then put them back in and compile the apk rather than replacing them.

    EDIT: Okay, I did that. It works on mine just great, but you may have to personally sign it. I'm not sure. And I had to uninstall the stock camera app, then install this one. All the noises are silenced though, so that's a plus :D
     

    Attached Files:

  13. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    I've tried a few tutorials with no luck, what is the easiest way to sign the apk? I tried installing it they way you described but it always says file not installed when trying. I've yet to sign an apk so I'm having a little difficulty finding a guide that is up to date.

    EDIT: I found some sort of program that is supposed to sign it and allegedly did sign it. I did things in this order. Uninstalled the Camera app and rebooted the phone. Upon attempting to install the modified app it still gives me the message "Application not installed". I'm not sure what's with that :(
     
  14. Artine

    Artine Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,304
    Joined:
    Jul 20, 2012

    Jul 20, 2012
    1,304
    585
    213
    The Moon
    I've discovered that if you rename the camera shutter audio file and change its location and then use another camera app (I prefer Camera360 Ultimate, myself), and within that alt app's settings turn shutter sound off, it will be dead silent.
     
  15. MacFett

    MacFett Android Expert
    Rank:
    None
    Points:
    223
    Posts:
    3,236
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    3,236
    740
    223
    Male
    Worshipping Cthulhu
    Sietch Tabr
    Since it is a system app I don't think you can just install it. I think you need to flash it via recovery or you can drop it into the /system/app/ folder (that is what I had to do with a system app on my transformer that isn't in the ROM I am using).
     
  16. Artine

    Artine Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,304
    Joined:
    Jul 20, 2012

    Jul 20, 2012
    1,304
    585
    213
    The Moon
    Yep.
    Drop the apk into the /system/app/ directory, then attempt an install (from that location). Should work like a charm.
     
  17. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    Thanks, it's still a no go. I've tried just about everything I can think of to get it installed but even in the system/app section it wont install there either.
     
  18. Artine

    Artine Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,304
    Joined:
    Jul 20, 2012

    Jul 20, 2012
    1,304
    585
    213
    The Moon
    Is /system/app mounted as R/W, or R/O? You need it mounted as re-wrtiable (R/W) before you can install anything there. A program like Root Explorer or Total Commander has this option. You simply drop the apk in there after mounting the directory as R/W, then touch the apk to install it from there.
     
  19. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    Yes, I'm using File Manager and I've mounted the system as writable. I'm not sure why it's acting so funny. Has anyone else gotten it to install?
     
  20. Hashtag

    Hashtag Android Enthusiast
    Rank:
    None
    Points:
    93
    Posts:
    573
    Joined:
    May 28, 2012

    May 28, 2012
    573
    184
    93
    Male
    High School
    Carl Junction, Missouri
    Yes, it's working on mine. I'm sorry about my last set of instructions, you don't install it, and you don't install the last one. I should have thought about my wording better :/

    Here's what you do...

    1-copy the patched camera apk to your sdcard.
    2-in a root explorer app, go to /system/app/ and delete CameraApp.apk(leave the CameraApp.odex)
    3- copy and paste the patched apk into the /system/app, and the reboot your phone. When it starts up, you will have a camera app with no shutter sound.
     
    jimslim and Tejer like this.
  21. Tejer

    Tejer Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    313
    Joined:
    Jul 20, 2011

    Haha, that worked like a charm, thanks so much! Partially my fault for being a noob about it and not thinking to do that. Ah, a silent camera shot finally :D
     
  22. Murf1

    Murf1 Android Enthusiast
    Rank:
    None
    Points:
    88
    Posts:
    594
    Joined:
    Jul 25, 2012

    Jul 25, 2012
    594
    89
    88
    Male
    IT
    Indiana
    I AM NOT ROOTED. I downloaded this and renamed it CameraApp2.apk. When I go to install it, it says it will replace a system app. So I canceled the install. (I'm guessing being I'm not rooted it would fail the install.) I was hoping by renaming it, it would install as an additional camera app and I could test it to see if it would mute the sound on a non-rooted phone. But I guess it doesn't work that way. :(
     
  23. Artine

    Artine Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,304
    Joined:
    Jul 20, 2012

    Jul 20, 2012
    1,304
    585
    213
    The Moon
    (Yes, I'm quoting myself.)

    To add to this, if you're able to edit the build.prop you can disable camera noise that way, too.

    And considering you said you didn't try to install it anyway, I would try that now. There are also plenty of other camera apps that allow you to disable the sound - I wouldn't be so hard-pressed on using the stock app, but to each their own.
     
  24. Murf1

    Murf1 Android Enthusiast
    Rank:
    None
    Points:
    88
    Posts:
    594
    Joined:
    Jul 25, 2012

    Jul 25, 2012
    594
    89
    88
    Male
    IT
    Indiana
    If won't install. I'm sure it is a permissions issue since I'm not rooted. Also, none of the camera apps they make ever silence my shutter sound. Apparently you have to root and mess with files to get rid of it. :mad:
     
  25. Artine

    Artine Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    1,304
    Joined:
    Jul 20, 2012

    Jul 20, 2012
    1,304
    585
    213
    The Moon
    I'm sorry none of the methods work for non-root :(

    But alas, that's part of the reason for rooting any device - giving you full control, even over some of the simple things. Like the camera noise. But if you're that worried about rooting, just wait until we get a recovery going then by all means go for it - you've got nothing to worry about at that point :)
     

Share This Page

Loading...