Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,360 Members 53,879 Now Online
XDA Developers Android and Mobile Development Forum

Remove camera shutter sound [solved] / Parse Error - Galaxy S5 -

Tip us?
 
isroisro
Old
(Last edited by isroisro; 21st April 2014 at 04:33 AM.)
#1  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
Default Remove camera shutter sound [solved] / Parse Error - Galaxy S5 -

How to do it - This is how I removed the camera, I think:

- I deleted all the camera related ogg files from system media ui

- I changed system csc custom.xml where it says camera shutter on to off (my guess is that this fixed it)

^If this does not work, read through the post and see what happened, maybe it was something else. Not sure as I have done so many things at once.

-------------------- Original post:-------------------------------------------------------------


I live in Australia,

Although there is no law here for cameras to have a sound, Samsung thought that putting a permanent sound on would be a great idea. In reality it makes the camera useless.

So I wanted to remove the camera shutter sound and did this -this worked on my note 3-:

1. rooted the phone

2. went to system/app - removed samsung.camera.3.apk (or sth like that)

3. opened the app with winrar, went to res/raw and replaced all .ogg files with empty text files with the .ogg extension, identical to the ones with the sounds

4. put the app back in system/app

5. restarted the phone


---

problems:

A) the original samsung app has been replaced with the google stock one

B) when i go to system/app and try to open samsung.camera.3 it says " there was a problem parsing the package”.

* when i put the app with the changed ogg files on the SD card and try to install it from there it does not let me... it just ends up saying app not installed.

* if i put the samsung app with the original ogg files in system/app i still get the parse error... but if i try to install this one from the SD card it does get installed.

* if i take the .ogg files from the samsung app and put them back in my modified app it still doesnt let me install it from the SD card

(the install from unknown sources is clicked)


Please help me!
 
isroisro
Old
(Last edited by isroisro; 20th April 2014 at 03:46 PM.)
#2  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
I have discovered that if I replace just shutter.ogg I can install that app from the SD card and the shutter sound is gone. However, the zoom click is not.

Based on this I guess the parse error is either:

a) as I put ogg files that were empty, the overall size of the app changed
b) samsung has some way of telling if you replace some files in that app

?!?!

LE: I have used zipsigner 1.1 to resign the app with the changed ogg files. Now I can install it from the SD card -still does not work inside system-, but it force crashes when I try to use it. I seriously do not understand what is going on.

On the Note 3 I just replaced the ogg files with empty renamed text files and it worked perfectly.
 
isroisro
Old
(Last edited by isroisro; 20th April 2014 at 04:32 PM.)
#3  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
So now I have replaced all the ogg files with renamed working ogg files -not empty text files renamed- and it still force closes even if I can install the app after resigning it...

what the f is going on?

Another thing I noticed - inside the Note 3 camera app I dont see any classes.dex file which exists inside the Galaxy S5 camera app. Wonder why.

Any idea at all would be really appreciated!

LE; for some reason now it will not let me install the original samsung app anymore either. I have no freaking idea why not since I could install the original before. Now the installer runs and then it says app not installed. Unbelievable.

LE2: i have also edited customer.xml. Which is strange is that I had to disable knox first before being able to edit it. While on the Note 3 i could edit the file easily.
 
simacca
Old
#4  
simacca's Avatar
Senior Member
Thanks Meter 102
Posts: 914
Join Date: Apr 2006
Location: Kent, uk
I just hold the power button down and put the phone onto vibrate or mute.

Sent from my SM-G900F using Tapatalk
 
isroisro
Old
(Last edited by isroisro; 20th April 2014 at 05:25 PM.)
#5  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
The thing is that there is a law in korea and japan that all cameras must make sounds. I guess they are too paranoid (stupid) when it comes to privacy. This law does not exist in America or Europe. That is why in those areas you can put it on mute or silent and there is no camera sound anymore. Unfortunately, for some messed up reason, HTC and Samsung send „Oceania”-zone phones to Australia. And they come with no way to turn that sound off, even if there is no legal requirement here.


---


Anyway, my biggest problem now is that it will not let me install the original samsung app anymore either. And I do not understand why. All I did was install and uninstall modified camera apk. So why cant I install the original one anymore?!
 
isroisro
Old
#6  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
Ok so...

I went to the Applic Manager, All apps and then emptied the cache for a lot of processes that seemed related to installing stuff or cameras.

After that I could Install the original camera app from the sd card again.

Surprisingly enough I see that now I can finally mute the camera.

This is either because:

- I deleted all the camera related ogg files from system media ui

- I changed system csc custom.xml where it says camera shutter on to off (my guess is that this fixed it)

...

Anyway so now the sound is gone and the original app back.

The sound is also gone in the google app. I couldn't turn it off in this app either before.

So yeah...


---

Sent from my SM-G900I using xda app-developers app
 
ElenaPower
Old
(Last edited by ElenaPower; 8th June 2014 at 11:08 AM.)
#7  
Senior Member
Thanks Meter 30
Posts: 133
Join Date: Jan 2011
I am rooted. I copied the original shutter.ogg and shutter_multiple.ogg to my Mac. With Audacity I opened the files and amplified the whole stream by -50dB (so its totally silent). Then I safed these files as ogg and put them back to /system/media/audio/ui. What I did exactly was I first renamed the original souds and put the new files there afterwards so I did not overwrite any file. Then I changed the attributes to 644 and it worked without a reboot.

I am in germany and here we have the same law like in korea. So you cannot turn of the shutter sound in settings of the camera.
 
isroisro
Old
#8  
Member - OP
Thanks Meter 1
Posts: 35
Join Date: Feb 2011
Quote:
Originally Posted by ElenaPower View Post
I am in germany and here we have the same law like in korea. So you cannot turn of the shutter sound in settings of the camera.
Are you sure? cause last year I used the firmware for Germany on the S4 to mute the camera...
 
tCizler
Old
#9  
Senior Member
Thanks Meter 45
Posts: 342
Join Date: Sep 2011
I tried this method, but I don't have a custom.xml file. The closest I have is a customer.xml file. And it doesn't have a shutter setting in it to turn off.

Sent from my Galaxy S5

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android Wear App Review: EchoWear Song Search – XDA Developer TV

Yesterday on XDA Developer TV, Producer AdamOutler tore down a Samsung … more

Blast Those Flags with Knock the Flags

Lately, we have seen a rather drastic shift in the world of mobile device gaming. The infamous Angry … more

Hide Numbers on Your SMS and Call Logs with Reflection

How many times have you given your device to someone else in order to show them a … more