[APP] Silent Samsung Camera App [EK02] [12/10/2011] - Samsung Epic 4G Touch

For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1, replacing the ogg files with silent ogg files, recompiling, signing, and then replacing the stock Camera.apk/odex files.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk and Camera.odex
IN CASE THIS DOESN'T WORK FOR YOU
Edit: To clear up some of the confusion, I'm going to explain the steps a little more clearly.
First, unzip the attached file as Camera.apk to the root of the sdcard ( /sdcard ).
Using ADB (original files will be backed up to /system/bak) :
Code:
adb remount
adb shell
# mkdir /system/bak
# mv /system/app/Camera.* /system/app/bak/
# cp /sdcard/Camera.apk /system/app/
exit
Or Using Root Explorer (original files will be backed up to /system/bak) :
Code:
Go to /system
- Mount R/W
- Menu - New Folder - Name: bak
Go to /system/app
- Move Camera.apk and Camera.odex to /system/bak
Go to /sdcard
- Copy Camera.apk to /system/app
If you want to change the other camera sounds, they are in:
\system\media\audio\ui
You can just rename, move, or delete (after backing up) them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
EDIT 2 (12/10/2011): I've added the Camera.apk from EK02 with silent focus sounds. The newer camera version seems to have a few more options in the settings than my first upload.

Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.

natelw said:
Awesome, why couldn't you make it an install by .apk save some of us that are waiting to root.
Click to expand...
Click to collapse
The only way to make it installable to update the existing Camera.apk is to sign this with the Samsung signature. I don't have that.

can I just flash this through cwm?

imacomputa said:
can I just flash this through cwm?
Click to expand...
Click to collapse
I'm not quite sure how to make it flashable. I just used ADB in the Android SDK:
adb remount
adb pull /system/app/Camera.apk ./Camera.apk.backup
adb push Camera.apk /system/app

will this install along side the original or replace it?

BLOWNCO said:
will this install along side the original or replace it?
Click to expand...
Click to collapse
It replaces the original Camera.apk. That's why you should make a backup of the original first. The only difference is that there is no focus sound. You will still have the shutter sounds in the \system\media\audio\ui directory, but those are easy to change if you need to.
If you really wanted to, I suppose you could recompile it under a different app name, so that you could have both versions.

I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?

kcbedo said:
For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1:
apktool if framework-res.apk
apktool if twframework-res.apk
apktool d Camera.apk
Replacing the ogg files with silent ogg files,
...and then recompiling:
apktool b Camera
Finally, I signed the Camera.apk and pushed it to /system/app.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk
IN CASE THIS DOESN'T WORK FOR YOU
Click to expand...
Click to collapse
Just tried it and it is working good. Any way to remove the shutter sound also?

crawrj said:
Just tried it and it is working good. Any way to remove the shutter sound also?
Click to expand...
Click to collapse
The other camera sounds are in \system\media\audio\ui
You can just rename, move, or delete them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg

imacomputa said:
I just used root explorer instead and replaced the camera app, however its constantly force-closing whenever I go into settings or try to take a video. The focus square in the middle of the camera is all crazy too. It takes photos just fine though. Should I try again using adb instead?
Click to expand...
Click to collapse
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.

kcbedo said:
I'm not quite sure why it would do that. You could try rebooting and clearing Dalvik cache. You are using it on an SPH-D710 with Samsung firmware, right?
I forgot to check video recording, but I went back and it didn't Force Close on me. I'm able to get to Settings okay also.
Click to expand...
Click to collapse
Yep I am. I'll try it again wiping the dalvik cache and report back. thanks.
---------- Post added at 11:43 PM ---------- Previous post was at 11:25 PM ----------
Nope, still not working.
---------- Post added at 11:53 PM ---------- Previous post was at 11:43 PM ----------
Okaaaay... so I made a few mistakes here and there, SOMEHOW it's working now. Went into recovery (did the stock kernel + root trick, so I am on stock) but for some reason the stock recovery immediately scanned my sdcard root for apks and started installing them by itself(where the camera.apk of yours was stored). I forgot I needed Clockworkmod, so I went ahead and reflashed cwm and cleared dalvik cache but it didn't work. So next thing I tried was just installing the camera.apk like a normal apk. It didn't work and actually made my phone reboot. I then reinstalled the stock apk like a normal apk, then went back and cleared the dalvik cache again. Finally, I went back into root explorer again and copied over the camera.apk file (yours) and replaced the old one, AND installed it like a normal app. It now works totally flawless with the exception of the video recording still making shutter noises, but still pictures is completely silent. Thanks for all your help!

I tried installing this but didn't have any luck. First when I would browse to your .apk and download it, I'd tap it and get the warning about replacing an existing app. I would say OK, but kept getting "application not installed". So I manually removed /system/app/Camera.apk and retried. This time it let me, but when I would open the app it would force close - i.imgur.com/INl0Z.jpg . I would up restoring the stock Camera.apk and it's ok now. Any idea what I'm doing wrong?

OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.

you cannot install it you have to remove the old version and replace it using adb or root explorer

aiverson23 said:
OK to get this to work with Root Explorer and have everything working perfectly (No weird autofocus crosshairs) I moved BOTH orginal Camera.apk and Camera.ODEX out of the system/apps folder and onto my memory card for backup purposes.
Then extracted the camera.apk from OPs zip file and moved it into System/Apps and DID NOT install. Just placed it in there and then went and ran the program. I am running perfectly fine. No FCs, and it is completely silent.
I did also go into the sounds folder like OP says and changed the name of all the sounds that you will have to do. But other than that I hope that clears up any confusion on how to get this working by using root explorer.
Click to expand...
Click to collapse
Confirmed. I had to remove Camera.odex as well and NOT install the .apk, simply replace it. Now I have regular crosshairs and no sounds. Thanks for the tip!

Thanks, I figured out it was the odex file that was screwing me up. Thanks!

Got it working with Root Explorer... I had the issue yesterday with FC and crazy focus bracket things being I didn't remove the Odex file.

Anyone else have problems with the Camera "shortcuts" within the camera app disappearing after the app closes?
WOndering if this is a bug in the Camera app itself. Most settings save but not the shortcuts. The other thing I noticed with the unmodded app was the if you set the camera to black and white, the selection does not survive a reboot. On the original Epic, the selections remained until changed.

Great find. This was driving me crazy. This was the one place I hadn't looked.

Related

Apps That Are Safe to Remove/Rename/Freeze in CM7 [Updated 2/16/12]

I haven't seen anything posted about this so I figured I'd post the list of apps that I have renamed or removed in CM7. Some are apps that the tablet won't ever use and some are apps that I personally won't be using. I'm sure there are more but these are the ones I've done so far. Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.
ADW Launcher.apk (if you're using a different launcher)
Androidian.apk
AdroidTerm.apk
Bluetooth.apk
Browser.apk (if you're using a different browser)
Camera.apk
CarHomeGoogle.apk
Cyanbread.apk
CMStats.apk
CMUpdate.apk
CMWallpapers.apk ((if you're using a different wallpaper)
Contacts.apk
DeskClock.apk
Development.apk
DownloadPrividerUi.apk
DSPManager.apk
Email.apk
FileManager.apk
FOTAKill.apk
GenieWidget.apk (news and weather widget)
GoogleQuickSearchBox.apk
HTMLViewer.apk
LatinIME.apk (if you're using a different keyboard)
LiveWallpapers.apk (if you're using a different live wallpaper)
MagicSmoke.apk
Mms.apk
Music.apk (if you're using a different music app)
OneTimeInitializer.apk
Pacman.apk
Phone.apk (RENAME THIS LAST)
Protips.apk
RomManager.apk
SetupWizard.apk
SoundRecorder.apk
SpareParts.apk
Talk.apk
TelephonyProvider.apk
Visualization.apk
VoiceDialer.apk
DO NOT RENAME: ContactsProvider, GoogleCalendarSyncAdapter or GoogleContactsSyncAdapter you will end up with framework and/or GApps errors.
I have often wondered why alot of these were left in the ROM.
I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk
I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
jwilliamf said:
I always delete lots of those apk even before I flash the update.zip
you can add:
Protips.apk
packman.apk (maybe)
RomManager.apk
Click to expand...
Click to collapse
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
You *can* keep SoundRecorder if you want to - and it makes sense ot include it in the ROM. True, the Kindle Fire doesn't have a built-in mic, but I have one of these mics and it works great. It just doesn't use the speakers if this mic is plugged in, since it's detected as a headset + mic.
http://www.amazon.com/Switcheasy-ThumbTacks-Microphone-touch-Black/dp/B0021IAJEG
Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...
Aahz Pervect said:
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
I just delete or rename them in the system/app folder using root explorer.
hdmunger said:
Just curious, regarding Contacts.apk and Phone.apk...are the two interdependant or will Contacts work without Phone.
Seems to me that using Contacts synced to your G-Mail account would provide the e-mail addresses of your contacts (just ignore the phone numbers) for any e-mailing you might want to do from your Fire...
Click to expand...
Click to collapse
Your contacts should show up in your gmail automatically, at least they do for me.
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk
DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Click to expand...
Click to collapse
This was addressed already:
airmaxx23 said:
Please note: When you rename phone.apk you will get a message saying that phone has stopped working and it will not stop popping up, just hold down your power button to reboot and it won't come up again.]
Click to expand...
Click to collapse
Edit: Just reread your post and realized my response isn't addressing the issue... I would erase this post if I could.
DesDr0id said:
As I recall from previous posts, renaming such apks like phone and telephony will cause FC's in the settings menu and possibly other areas.
Sent from my Kindle Fire using Tapatalk
Click to expand...
Click to collapse
The only temporary issue is when renaming phone it, causes it to force close, once you reboot it doesn't happen again. I've had them all renamed for a day or so and I've been through a lot of the settings and have not had an issue.
Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.
androidcues said:
Why rename when you simply evict? make up some extra space for yourself...
do it with adb... root explorer titanium, your fingers, out of /system/app/* and then their corpse cousins over in /data/data/* This is where I learned... http://wiki.cyanogenmod.com/wiki/Barebones.
Telephony, bluetooth, latinime, latinimetutorial mms phone street torch music dsp sound recorder talkback. com.amazon.mp3 was a hated app of mine since time immemmorial!
My routine when flashing CM nightlys on other phones is rather than take the time to clean up the rom for myself, i would just flash the full rom along with the gapps and then the titanium zip as a system file so its there when I get into android... then use the titty with a pre-determined list and just rip a lot of stuff almost 30-80MB and that gave me a LOT of breathing room on the G1/Dream.
When Titanium got down to the last app =Wifi Calling App the phone would go nuts.. and I always had to hit the reboot at the specific time to get it to reboot (if I missed that time, then I had to do batt-pull) get into recovery do wipe cache and dalvik, then reboot recovery then fix permissions and boot back.. and all was well.
the point is when you take out the music and telephony, especially DSP Manager, anything that uses audio is tied to other parts of the framework -- but its always fixable with a reboot and fix permissions.
Click to expand...
Click to collapse
I always rename them and leave them for a few days before deleting them just to be sure things still play nicely.
Browser (I use silk)
Gallery (I use QuickPic)
ADW (I use go Launcher)
Aahz Pervect said:
I've been wondering about this as well and have been both mucking around with the ROM zips as well as simply deleting things with Root Explorer as it's just plain silly for Phone to exist on the Kindle Fire.
Just to pick your brain a bit: Are you simply editing the zip contents (seems safest) or are you actually extracting everything and then re-compressing it once you've removed the fluff?
Click to expand...
Click to collapse
Yes! Before flashing, open zip file and delete any apks that you don't need. Easiest way in my opinion.
Some more stuff you can safely remove (few already mentioned)
ADWLauncher.apk
Androidian.apk
AndroidTerm.apk
CMStats.apk
CMUpdateNotify.apk
CMWallpapers.apk
Development.apk
FileManager.apk
Livewallpapers.apk (Live wallpapers still work, just none are included)
MagicSmokewallpapers.apk
Protips.apk
SpareParts.apk
VisualizationWallpapers.apk
I created this little list of commands every time I install a new build of Cm7. Feel free to use it. ~30 apk's or so removed. Some stuff you might want to keep if you use it, be sure to remove from the command below, such as browser or gallery. I use other applications so I remove them
Code:
adb remount
adb shell
cd /system/app/
rm VoiceDialer.apk Androidian.apk AndroidTerm.apk Bluetooth.apk Browser.apk Camera.apk CarHomeGoogle.apk CMStats.apk CMUpdateNotify.apk CMWallpapers.apk Contacts.apk DeskClock.apk Development.apk DSPManager.apk Email.apk FileManager.apk Gallery3D.apk GenieWidget.apk LiveWallpapers.apk MagicSmokeWallpapers.apk Mms.apk Music.apk Pacman.apk Phone.apk Protips.apk RomManager.apk SoundRecorder.apk Talk.apk TelephonyProvider.apk VisualizationWallpapers.apk
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)
foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Click to expand...
Click to collapse
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).
foxdog66 said:
Not trying to be an ass or anything but just removing the apk does not uninstall the app. The data will still be there and the device will sill think its installed (even tho you won't see the app in the app drawer) it shouldn't cause any issues but if your removing a bunch of stuff, might as well uninstall them correctly and reclaim the space they take up.
Titanium backup would probably be the easiest way to do it but what I prefer to do is put it all into a script. That way I can run it on whatever rom I install.
An example of how to uninstall the browser via command line...
rm/system/app/Browser.apk
pm uninstall com.android.browser
It should then say "seccess"
With system apps you need to remove the apk first then run the pm uninstall name.of.package command. Hope someone found this helpful
Edit: also, I wouldn't remove, uninstall or rename talk.apk because the market uses it in some way (can't remember for what exactly but it needs it)
Click to expand...
Click to collapse
How do you find out what the name of each apk's matching package?
Takenover83 said:
Are you sure ;p
None of the apk's I removed show up in "/data/app" or "/system/app". So IMO, they are gone. Even checking the "/cache/" and it's contents. No trace of them there either. (I do wipe "cache/dalvik-cache" after deleting apk's).
Click to expand...
Click to collapse
Well the apk is gone but the /data/data/package data is still there. Try "adb shell pm list packages" and see if any of your removed apk's package names are listed.

Camera fix local.prop not working

Sorry to post this, it seems like it should be such an easy thing.
I'm on a rooted GB.EL29 stock and wanted to silence the camera.
I've done both of the methods below, but I still get a double 'ding' sound when I set the phone to silence and take a pic.
Please help, or at least let me know im not alone.
Methods tried:
1. Rename sound effects in /system/media/audio/ui
Files to rename:
Cam_Start
Cam_Stop
camera_click
camera_click_short
Shutter_01
2. Create local.prop in /data/
File contains ro.camera.sound.forced=0
TheRealJobe said:
Sorry to post this, it seems like it should be such an easy thing.
I'm on a rooted GB.EL29 stock and wanted to silence the camera.
I've done both of the methods below, but I still get a double 'ding' sound when I set the phone to silence and take a pic.
Please help, or at least let me know im not alone.
Methods tried:
1. Rename sound effects in /system/media/audio/ui
Files to rename:
Cam_Start
Cam_Stop
camera_click
camera_click_short
Shutter_01
2. Create local.prop in /data/
File contains ro.camera.sound.forced=0
Click to expand...
Click to collapse
Coincidentally, I also have tried the #2 option after researching earlier today how to silence the camera shutter. It did not silence it.
In fact, the first time I deleted the folder and files after it didn't work, I must have deleted the wrong file because I got all kinds of pop ups, force closes, and a boot loop that would end in a power down.
I had to Flash a Nandroid Backup. Luckily I had 2 Nandroid backups, because one of them was bad due to checksums not matching.
I have found answers regarding silencing the shutter, including
ROM's that have this baked in, and there is a camera app, camera fx I believe.
I have the ICS Camera installed from Overstew and ssconceptz. I may ask them regarding this.
Anyway, you're not alone, and ALWAYS have a Nandroid Backup, just in case
delete the media files, then edit the apk and remove the additional hidden media files compiled into the apk.
TheRealJobe said:
Sorry to post this, it seems like it should be such an easy thing.
I'm on a rooted GB.EL29 stock and wanted to silence the camera.
I've done both of the methods below, but I still get a double 'ding' sound when I set the phone to silence and take a pic.
Please help, or at least let me know im not alone.
Methods tried:
1. Rename sound effects in /system/media/audio/ui
Files to rename:
Cam_Start
Cam_Stop
camera_click
camera_click_short
Shutter_01
2. Create local.prop in /data/
File contains ro.camera.sound.forced=0
Click to expand...
Click to collapse
download Camera ICS from the market coupled with rom toolbox and block ads and your are good to go... It has an option to silence camera
playya said:
download Camera ICS from the market coupled with rom toolbox and block ads and your are good to go... It has an option to silence camera
Click to expand...
Click to collapse
I downloaded the Camera ICS app.
I silenced the camera, but the shutter still click clacks.
remove the camera apk file from any custom Rom in the development section and replace your existing one.
Found a Very Easy Solution!!
Shut up! Camera!
http://forum.xda-developers.com/showthread.php?t=1237466
Just download, and you're good to go.
You can turn it on and off with a touch.
Works Perfectly on my SE4GT!!
No more Shutter click clack!!

[APP] Silent Samsung Camera [EL29] [4/11/2012]

Big thanks to kcbedo for this thread, and Neotelos_com for his apkTools.
This is the stock EL29 camera with the autofocus, autofocus_error, and cameratimer silenced.
I did this because after installing kcbedo's hack for the EK02 silenced camera, my gallery was showing error triangles for any pictures I took prior to installing his hack. With this hack, that no longer happens and the camera is still silent.
Since this is exactly like his hack, I'm going to quote his install instructions. They're the exact same.
kcbedo said:
For some reason, the autofocus beep on the Samsung camera really bugs me.
The audio files for this are inside Camera.apk:
/res/raw/autofocus_ok.ogg
/res/raw/autofocus_error.ogg
/res/raw/cameratimer.ogg
I tried 7zip, MetaMorph, and a few other things to replace these with silent ogg files, but Camera.apk would Force Close.
I ended up just decompiling Camera.apk using apktool version 1.4.1, replacing the ogg files with silent ogg files, recompiling, signing, and then replacing the stock Camera.apk/odex files.
The attached Camera.apk worked for me, with no autofocus beep, and no Force Crashes.
REQUIRES ROOT
MAKE SURE YOU BACK UP YOUR EXISTING /system/app/Camera.apk and Camera.odex
IN CASE THIS DOESN'T WORK FOR YOU
Edit: To clear up some of the confusion, I'm going to explain the steps a little more clearly.
First, copy the attached file 'Camera.apk' to the root of the sdcard ( /sdcard ).
Using ADB (original files will be backed up to /system/bak) :
Code:
adb remount
adb shell
# mkdir /system/bak
# mv /system/app/Camera.* /system/app/bak/
# cp /sdcard/Camera.apk /system/app/
exit
Or Using Root Explorer (original files will be backed up to /system/bak) :
Code:
Go to /system
- Mount R/W
- Menu - New Folder - Name: bak
Go to /system/app
- Move Camera.apk and Camera.odex to /system/bak
Go to /sdcard
- Copy Camera.apk to /system/app
If you want to change the other camera sounds, they are in:
\system\media\audio\ui
You can just rename, move, or delete (after backing up) them.
The files are:
Cam_Start.ogg
Cam_Stop.ogg
camera_click.ogg
camera_click_short.ogg
Shutter_01.ogg
VideoRecord.ogg
Click to expand...
Click to collapse
Note: to edit the files mentioned at the end you MUST be rooted (or using adb shell on your computer). Some popular file browsers are Rootexplorer ($), ES File Explorer, and Astro
Finally, if this helped you please feel free to thank me.
his EKO2 worked flawlessly with EL29. no camera issues or gallary.
locoboi187 said:
his EKO2 worked flawlessly with EL29. no camera issues or gallary.
Click to expand...
Click to collapse
It had issues with my phone (which is stock), so I posted this in case someone else's phone has issues.
If yours didn't, move along.
not working
after following the exact root explorer steps my camera was gone from the launcher. i rebooted and it was still gone. i then tried matching the new camera.apk permissions to the old camera.apk permissions, rebooted and still not showing up.
do i need a new camera.odex, too? am i missing something?
using stock rooted SGSII EL29 (odin one touch)
currently went back to stock camera and is working fine. still want silence...
UPDATE:
tried again, this time leaving the Camera.odex in /system/app and it works! i'm also not getting some of the weird crosshairs or FCs as mentioned in the original thread.
THANKS!!
Worked perfectly for me. Haven't found any glitches at all.

[MOD] Really disable camera sounds in ICS

I have tested this to work on LP8, should work on other stock ROMs too.
Step 1.
Rename the camera shutter sounds. You can find these files in /system/media/audio/ui. The files are outlined below. You can either do this in a file explorer that supports root, or through adb. In fact the commands below are the exact commands you need to use after you use adb root and remount the /system as read/write.
Code:
adb shell
su
cd /system/media/audio/ui
mv camera_click.ogg camera_click.ogg.bak
mv Shutter_01.ogg Shutter_01.ogg.bak
mv camera_click_short.ogg camera_click_short.ogg.bak
mv Cam_Start.ogg Cam_Start.ogg.bak
mv Cam_Stop.ogg Cam_Stop.ogg.bak
Step 2.
The above will still leave the camera auto-focus sound. To remove that, replace the Camera.apk in /system/app with the attached file.
It is best to take a backup of the Camera.apk before you replace it by copying it somewhere else.
If you have placed the Camera.apk attached here in a folder called NoSound, then the commands below can be run on adb to do this -
Code:
adb pull /system/app/Camera.apk
adb pull /system/app/Camera.odex
adb push NoSound\Camera.apk /system/app/Camera.apk
works perfectly on lpf
What also works: use Automateit Pro or Tasker:
Make a rule that kicks in when:
camera starts -> disable sound
camera stops -> eable sounds
That kills the focus beep, also the crazy beep beep with the self timer.
As simple as that.
Plus remove all unwanted oggs with root explorer.
A couple of questions...
Can I manage the focus beep by downloading Automatelt or do I need Pro ??
also can post 1 be done on a rooted Gingerbread 2.3.6 phone or only ICS ?
markmessier8888 said:
A couple of questions...
Can I manage the focus beep by downloading Automatelt or do I need Pro ??
Click to expand...
Click to collapse
can anyone verfiy that it 100% works?
I have been looking for this, i will try it
Any one tried this on LPS?
it seems to work only on LPF, when i tried on LPG, my camera app was lost.
it shouldn't affect your camera app in any way but I dunno why it happened to you. I removed all the ogg files in the /system/media/audio/ui/ folder except the one for low battery notification since it's the only one I ever need. After that no more focus, shutter or beep sounds.
Working fine on my lpg. the icon itself may have moved location in touchwiz...
The autofocus sound is part of the camera.apk
You can create this yourself with your current camera.apk by copying it to you computer, open in 7zip (or similar) and replacing 2 sound files
To remove sound from the apk, all that is needed is for 2 sound files to be
replaced by empty files (0k in size):
camera.apk\res\raw
autofocus_error.ogg
autofocus_ok.ogg
Click to expand...
Click to collapse
I've attached two blank files you can use
Brendo said:
Working fine on my lpg. the icon itself may have moved location in touchwiz...
The autofocus sound is part of the camera.apk
You can create this yourself with your current camera.apk by copying it to you computer, open in 7zip (or similar) and replacing 2 sound files
I've attached two blank files you can use
Click to expand...
Click to collapse
THANK YOU!!!
i copied the original camera apk to my computer,
use 7zip to open it, its my first time looking inside an apk file, didnt know 7zip can do that.
i replaced the 2 files with yours, and it worked!!!
simply amazing!!!!
i'm so happy, thanks.
Good to hear
I tried playing around with vrtheme to see if I could create flashable zip, but having not created one before, kept getting errors...
-----
Sent from my GT-P7310 CM10 using XDA Premium HD app
So I have exactly the same problem in my SGS II phone (JB ROM): after renaming all the sounds in the mentioned directory, the focus sound is still there (although it is silent when phone is silent mode but I want the camera to be always silent).
I tried replacing those two files in SamsungCamera.apk (the camera app in Jelly Bean). After restarting, I launched the camera app and the focus sound was gone. But there is one significant problem: the camera does not focus at all - picture taken is all blurry!
I really have no idea what this could have to do with the sound files!
So I thought that maybe it does not like the ogg files being just 0 B files (which is no proper format for empty ogg file). I made an empty ogg file in Audacity and exported it, it had like 4 kB. I used it to replace the two files in the apk. After replacing it in my phone, the camera does not even start and tells me that Camera app has stopped. Any idea what might have gone wrong?

[Q] Note 2 Gallery/Lockscreen wallpaper help

Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
SilveradoZ71 said:
Had the bright idea to delete the stock gallery app while clearing bloatware. Unbeknownst to me, that was needed to set the lock screen wallpaper to anything other than the stock wallpapers. I use quickpic instead. Now I can't set a picture as the lock screen background (I can change wallpaper).
I've tried reinstalling the gallery, but when choosing to set the paper from the home screen, the gallery option does not show up. Is there a way to again associate the gallery, or an alternative app to do so?
Click to expand...
Click to collapse
I'm no expert, but have you restored gallery back to /system/app or did you just click on .apk and chose to install it? Because if you installed it, it went to /data/app - maybe that's the reason it does not function as it supposed to?
And second, try to run it as an app - see if it starts in first place, maybe there's something else missing. Perhaps you deleted odex file as well, and because of this it does not start?
Just did a little experiment - restored apk and odex files back to /system/app - and option to change wallpaper appeared again. No reboot needed.
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
akp.ajinkya said:
Move gallery apk to system/app and set the permissions to rw-r-r aand reboot.
Click to expand...
Click to collapse
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
SilveradoZ71 said:
I believe you both are right, as I just installed like normal. Noob issue though, when I go to copy and paste the apk into system/app, I get a permission denied message. I'm rooted of course and granted es file explorer su privileges, so I'm not sure why. Any suggestions?
Thanks for the help
Click to expand...
Click to collapse
You need to remount /system as read-write, just like you did before removing apps (if you removed them manually). Go to your terminal emulator or use ./adb shell get superuser (by typing "su") and type: mount -o rw,remount /system
After that you can move files to*/system. Just don't forget to reboot or remount /system as read-only when done.
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
SilveradoZ71 said:
Root explorer allows pasting and permissions changing. I'm not sure I'm using the right apk. I had a nexus one that installed and worked (though not able to change lock screen). I uninstalled it, and installed 2 different versions of the Samsung app. It never gets recognized on the reboot like the nexus one did. I assume I'm using the wrong one. Any link to an official one? I am on 4.1.2 stock.
Thanks again
Click to expand...
Click to collapse
I'm using 4.1.2 stock, so here are files from my /system/app:
http://ge.tt/11an8Gz
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Userius said:
I'm using 4.1.2 stock, so here are files from my /system/app:
Sha256sum:
9f1a440e1aefb1bed74c0c8b0cdd0e462d24d70cad3da7063034db5f905f2d52 SecGallery2_Galaxy.apk
cf96394bcce1c1b07915265b953074d79960f530b4872770597f6cd4349ffd0e SecGallery2_Galaxy.odex
Good luck, and let me know if this helps.
P.S. Next time you clean you ROM, just move files to some location (for example your PC) Comes in handy later, I know that from my own painful experience
Click to expand...
Click to collapse
Any specific way to install it all back? I put everything back in system/app and rebooted. Nothing changed, it's not installed, and Android didn't "Update Apps" on the reboot. I try to install it with package installer like any other app and that fails. I've tried your odex and mine (which was never deleted).
That's great advice!

Categories

Resources