[Completed] [Q] Please help me to disable camera sound for LG f70(f370,d-315) - XDA Assist

Hello.
I m using LG F70 (F370 or D-315).
And I have an issue that has been bothered me since I bought this device.
I tried to disable camera shutter sound in my phone.
Here are the methods I ve tried so far,
: 1. I replaced .ogg files in camera.apk with ogg files with no sound and replaced the modified camera.apk in SYSTEM\PRIVATE APP folder. I didn't forget to give 644 permission, but it didnt work. So I tried re-installing it as well. but it is still making horrible shutter noise. I didn't understand the situation. I inspected the apk file again and the ogg files were staying modified. I searched in many keywords to find hidden files using Root Explorer. But I couldnt find a worthy:crying:
2. I replaced another ogg shutter sound files that are located in the SYSTEM\MEDIA\AUDIO\UI
. But it didn't work, either:crying:
3. I looked for camera profiles in build.prof file but there no seems such profile exist.
I know that there were such profile that I could change "true" to "false" to change its function in another devices, but it doesnt exist anymore in this new device.:crying:
I ve already got tired to find out how to fix this issue.'
And now I 'm begging you for some tips that hits the nail on the head.
Thank you for reading.

Sanjo711 said:
Hello.
I m using LG F70 (F370 or D-315).
And I have an issue that has been bothered me since I bought this device.
I tried to disable camera shutter sound in my phone.
Here are the methods I ve tried so far,
: 1. I replaced .ogg files in camera.apk with ogg files with no sound and replaced the modified camera.apk in SYSTEM\PRIVATE APP folder. I didn't forget to give 644 permission, but it didnt work. So I tried re-installing it as well. but it is still making horrible shutter noise. I didn't understand the situation. I inspected the apk file again and the ogg files were staying modified. I searched in many keywords to find hidden files using Root Explorer. But I couldnt find a worthy:crying:
2. I replaced another ogg shutter sound files that are located in the SYSTEM\MEDIA\AUDIO\UI
. But it didn't work, either:crying:
3. I looked for camera profiles in build.prof file but there no seems such profile exist.
I know that there were such profile that I could change "true" to "false" to change its function in another devices, but it doesnt exist anymore in this new device.:crying:
I ve already got tired to find out how to fix this issue.'
And now I 'm begging you for some tips that hits the nail on the head.
Thank you for reading.
Click to expand...
Click to collapse
So I assume that you already saw this: http://forum.xda-developers.com/showthread.php?t=2051384
If yes and you don't find your answer there, you should try to ask in the General Q&A Section of XDA for help: http://forum.xda-developers.com/general/help
Good luck!

Related

Where are the sound files for the video camera?

Hi Guys,
When you record with the video camera, it makes a very irritating noise and I'd like to delete that. The camera app lets you go silent but the video doesn't for some reason.
I've looked in (using root explorer) /system/media/audio and I can't find those sound files, is there another location sound files are kept?
Best Regards
can you pull the camera apk file? i don't have root yet but maybe i can find it for you from the apk.
I pulled this one from /system/app
http://dl.dropbox.com/u/6759990/Camera.apk
Is this the right one?
cheers
Try replacing your /system/app/Camera.apk with this one (back up original first). I reduced the volume of the two WAV files to nothing. Haven't had a chance to test it myself as I am not yet rooted.
Be sure to force stop the app and clear its data, also a reboot might be necessary.
Thanks man, I'll give this a try shortly.
were the sound files embedded in the apk?
reapur said:
Thanks man, I'll give this a try shortly.
were the sound files embedded in the apk?
Click to expand...
Click to collapse
Yes they are! And very helpfully named camstart01.wav and camstop01.wav
HAHA never thought to look in there
I see them.
That's why I like android, seems like everything is possible.
Ok I'm at work so my brain may just be fried. but I renamed your file and tried it and it wouldn't launch.
Then I modified the wav files in the .apk with audacity, and when I launch it I get an FC right away but I can still see the camera working under the FC dialog.
I'll mess with it when I get home, it's probably user error
I updated the APK in my previous post, used a newer version of apktool, old version might have been buggy.
Need to use apktool to unpack and then repack it if you are trying it yourself and then sign it with jarsigner and zipalign it with zipalign.
Be sure to force stop the app and clear the app data, also a reboot might be necessary.
I hope it works.
That worked!
Many thanks.

[REQ]Regulus notification from CM7

I don't know if this is posted in the wrong section or not, or even if this is allowed. I was wondering if anyone could post the Regulus notification sound from the CM7 rom please. I searched this forum and Google, but I didn't find anything. Thanks!
What you can do is download a CM7 rom, and then extract it.
Give me a minute or two.
Place the file in system > media > audio > notifications
thank you!
tjward5489 said:
thank you!
Click to expand...
Click to collapse
You're welcome.
And be sure to extract the file first, before placing in the folder.
Thanks
Was looking for that notification sound as well.
My apologies for reviving an old thread but I found this page looking for the regulus ringtone. Unfortunately while I have been a long time fan of android phones and tablets, (I have a cyanogen mod Nook HD+ and a dead Nexus S) I recently purchased an Iphone when I switched carriers and while I've successfully found .aac files of other ringtones I can't locate a good copy of this tone. I have found mp3 versions however converting the mp3 files haven't yielded the best results. Would anyone happen to know of a way to convert .ogg files to .aac?

[Q] Custom Key Sounds

I post this in my SGS4G Forum, but haven't gotten any hits, trying to broaden my chances of getting some help.
Ok, before i posted this i searched high and low and really couldn't find a strait answer. Here is what i am trying to do... I have a bunch of cool sounds... I would like to set these sounds as key tones... you know, like when i dial a number on my key pad.
So i got all the files in order, converted them to .ogg, and placed them in /system/media/audio/ui and renamed them key1.ogg key2.ogg etc.... Well nothing happens, i cant even play the file, it says its "unrecognized" by the stock media player and Rockplayer. anyone have any ideas?
I read somewhere that the "program" that plays these files will only recognize certain codecs or something, That is a little outside my AO (area of operation)....any help would be greatly appreciated!
panda
I found this
http://www.droidnova.com/creating-sound-effects-in-android-part-1,570.html
However, i am not a Dev so this might as well be Japanese, any hints?
That link is relevant for writting an app that plays sounds.
The app that does this, the dialer already exists though.
This rather sounds like a codec problem.
If you can't open and play those files with the native android player on your phone, the dialer won't be able either.
Recheck the encoding on those sound files and try again.
they will play from the sdcard, but when i move them to the UI folder on the root, they wont... still an encoding issue?
Could be a permission issue.
There is no permission issue on the sdcard, as all files are accessible to everyone, but this doesnt apply to files in the root folder.
So try changing the permissions.
Changed the hell out of the permissions, which made the native player play the file.. YAY!! However......when i changed the file name to Key1.ogg from key1a.ogg, i press the corresponding number on the dialer...i get nada. so sound at all, i will play with permissions a little more, maybe change the format to a lower quality file and see if that helps... Thanks for the insite!
Well the filename has to be the same as the original one, CASE SENSITIVE mostlikely.
To make sure you have absolutely the same kind of file you could extract the original sound file and use a common player (i.e. VLC?) to check the bitrate, encoding, kHz etc.
I DID IT!!! WOO HOO.. what a pain in the ass! LOL I made the files smaller... less than 16hz and 92kbps.. then sent them all to drop box... copied them to the ui folder... THEN...I renamed the originals...then renamed the new ones.. giving them god permission. It worked!! Wish i was more of a Dev.. i'd make an app to simplify it...took about an hour once i got the hang of it....

[Q] how to add extra ui sounds, like charger connect/disconnect, full battery ?

So, i need to know how to assign them, NOT how to copy them in media folder...please help!
I'm looking to do the same thing on one of my devices. I've searched around, but have found nothing. Hopefully an app that does this will come to the Play Store.
In system/media/audio/ui you find the files. Just replace them and add permissions like the existing ones
Tapatalked
pl4cid said:
In system/media/audio/ui you find the files. Just replace them and add permissions like the existing ones
Tapatalked
Click to expand...
Click to collapse
In most cases you would be correct, however not all devices have those files in place, along with the setup...
EX:
The Samsung Galaxy S3 doesn't have a charging disconnect tone at all, so placing a media file wont do a thing, however replacing the charging connected tone, as you described would work.
Same question anyone ?
I'm having same problem, anyone? (sorry for 4 years bump)

It is possible to decrease minimum volume by editing framework-res?

Minimum volume on my phone (moto z2p - almost stock android system) is way too loud. I looked into framework-res but I could not find any string related to minimum volume. It is possible to do? Which string I have to edit?
Do not suggest me to use equalizer apps - I already use some of them but they are not so handy.
From what I've seen in previous edits from other people and my own experience of editing that very file to my liking, You're looking in the wrong place.
The file that will allow for what you seek is the Mixer_paths.xml file, However it may be named slightly differently on a device to device basis, And the contents are not universal across the board so telling you what to edit wouldn't be helpful considering what may for example work for a Samsung device may not produce the same results for yours.
But nonetheless, Look within that file and please absolutely be careful in what you edit, Editing the wrong thing could cause undesirable results such as no sound what so ever, Distortion, Saturation, Crackling, and so on, Always be prepared to be able to fix it as well.
Lastly, There are a few threads on the site that can assist you a bit as to what you're looking at within that file to get an idea of what to look for.
Goodluck!
Thank you for the hint. I used to edit that file on my previous galaxy s7, the problem is that the moto z2p does not have any mixer_paths file at all. I cannot figure out which .xml is handling the volume control.
You sure? Did you type search or did you go through folders yourself looking for it.
Sometimes it's in /sys/etc/ and sometimes it can be in /sys/vendor/etc/
Yes!! It was in vendor/etc folder! You save me a lot of time. Now I only have to understand which value I have to edit. Time to make some mess
There you go, Glad you found it.

Categories

Resources