[Q] Custom Key Sounds - General Questions and Answers

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....

Related

How to disable irritating event sound in X-plore

I just installed the X-plore ROM last night and I love it. The only thing that is bothering me is a certain system sound. I first heard it when booting into WM6 for the first time before the on screen tutorial, and now I hear it when I get almost any kind of error. It's a rather obnoxious noisy sound and it even irritates my cats. I don't know what the sound is called but I sure wish I did. It is a kind of stuttering noise and it definitely seems to be associated with certain events, but I'm not 100% clear on which events exactly.
It isn't listed in the Sounds part of the control panel (I tried listening to all of those) and it isn't in any sound file in the Windows folder. I tried using Search to find files that are .wav , .wma , and .mp3 but Search doesn't seem to look in all folders.
I found out how to disable specific event sounds with a registry tweak but I would rather just know where this sound is stored so I can change it if possible. I tried searching the forums here but I'm not finding anything useful.
Many thanks in advance for any help!!
p.s. I just realized I forgot to say this is the PDA Mobiz version of X-plore , so it might have been added somewhere down the line.

Feebe Ringtones Edit problem

Hey guys,
I am in need of your help, obviously .
I have downloaded an app called FeebeRingtones. It works pretty good so far, apart from an annoying point.
You get the option to download some songs from it, which are apparently saved in the /sdcard/FeebeRings/mp3 folder. This annoys me because it essentially makes those downloaded mp3 ringtones playable from my media player.
What i want to do is edit the apk and make it save in /sdcard/media/audio/ringtones folder. I've opened up the apk, and got to a file named file_save.xml. Thing is when i open that file up its content shows up as gibberish. I tried opening it with an xml editor (Open XML Editor 1.6) but still no luck at all.
Can anyone point me at the right direction, as to what program to use and edit it?
I am attaching the file_save.xml in case anyone wants to have a look and help me out.
Thank you very much for your time.

Want to modify stock keyboard

So I have an idea, I'm trying to modify the stock keyboard sound. the stock sound for the keyboard is a little annoying. What I would like to do is customize the sounds a little bit, maybe make different keys make different sounds. But since the stock android keyboard has only 1 sound for all keys, I'm not exactly sure on how to go about that.
Any suggestions?
I see over 80 views and no replies?? anyone have any ideas??
I'm not 100% sure on how to do it, but you should start by pulling the APK from the phone. From there, look through the folders until you find a couple files that say "Keypress" in them and are .ogg files (KeypressDelete.ogg, KeypressStandard.ogg something like that) Replace them with the sounds you want and push it to your phone, make sure it is a .ogg file and has the same name. Let me know if this works or if you have any problems.
Thanks for the reply. I have gone thru that and found the keypress.ogg and keypressdelete.ogg files and replaced them with new sounds, named the same of coarse (they were located in /system/media/ui) and it ended up doing nothing. I found it weird that those .ogg sounds were in there considering they were sounds that arent associated with my keyboard at all because my keyboard doesnt make any of those sounds. So I pulled swype.apk and mms.apk and found the .ogg files in them, changed them, but now I cant reinstall those to my phone, it comes up with an error saying it cannot be installed (I dont use adb, I just use root explorer mostley and then just install apk's on my phone haha). I remember reading that sometimes the apk wont install if its not signed, and since my phone doesnt tell me anything other than "app was not installed successfully," I thought maybe Signing would be the issue. So I tried finding SignApk and a how to guide, but was unsuccessful with that.
If I do get the sound to work on the keyboard, I'll be happy. But ultimately my goal is to make it so that every key has a different sound. That sounds like a job for someone who can write code, which I certainly cannot haha. But it sounds like it wouldnt be too big of an deal to do if you can write code.
I figure I can start out, and correct me if I'm wrong on this, figuring out how to write even a little bit of code and try modifying the stock keyboard to do these sounds. example:
"when "A" is pressed, start soundfile1.ogg"
"when "B" is pressed, start soundfile2.ogg"
Thanks again for the info and sorry I wrote a freaking book hahaha

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.

[Q]Add/Change Startup Sound?

Hey, I've been searching around and found a few posts on the subject (not here however) and I was wondering. I'm trying to add a boot sound to my device, its rooted, on Rogers stock ICS 4.0.4.
Now, heres where it gets fun for me, based on what I've found, there are sound files in the system/media and /etc folders. My phone has them in both places, in wav and ogg formats. They are only a few seconds in length, and silent.
So, I've clipped, converted, renamed, moved, replaced, multiple times in different formats just in case. And nothing, nada zip....
So am I missing something? Why won't the sound file I made play at boot? Does the stock kernel not support it?
Sent from my SGH-I727R
From what I'm seeing, it looks like it should be /system/media/PowerOn.wav
Remember, the linux file system is case sensitive. Did you name the file correctly?
I will keep looking, just in case.
Yup, I just checked and the file name is PowerOn.wav, and is located in system/media.
So now I'm really stumped :-(
Sent from my SGH-I727R
It would seem that this phone wants the file in .ogg format, whew, that was alot of test reboots
(sorry that I can't definitively say what fixed it, as I copied and pasted both formats in multiple locations, that's when it worked)
Sent from my SGH-I727R using XDA
Afaik- I doesn't even need to be in ogg format. Just needs the ogg extension.
Someone correct me if I am wrong though.
--
SGH-I727 using Tapatalk, running cm9. Trouble searching? http://www.googleguide.com/advanced_operators.html

Categories

Resources