[Q] Adding sounds for plugging in USB/ charging? - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

Is there any way that I can add sounds for plugging in the USB cable or charging? Don't you have to add some .ogg files to system/media/ui for our to work? And if you do what must you name them? I'm also on aosp.
Sent from my SAMSUNG-SGH-I747 using xda premium

You could rename the .ogg sound to whatever the one for the plugging in usb sound is. Paste it in to system/media/audio/ui. For example, say you want to use a car horn. Use a car horn .ogg, rename it to the sound you want to replace.

mrhaley30705 said:
You could rename the .ogg sound to whatever the one for the plugging in usb sound is. Paste it in to system/media/audio/ui. For example, say you want to use a car horn. Use a car horn .ogg, rename it to the sound you want to replace.
Click to expand...
Click to collapse
But on aosp there isn't a. Ogg file for plugging in the charger, so I have to create a new file for plugging in the USB or charger. But I don't know what I need to name that file. For example if I wanted to use the car horn. Ogg what would I have to rename it to to use it as a USB/charger connected sound?
Sent from my SGH-I747 using xda premium

Related

[Q][AUDIO] USB Cable Custom Sound?

So I've been playing with getting custom sounds on my phone, I was wondering if there was anyway to do custom sounds for plugging and unplugging the USB Cable?
The Sounds I want are:
Plugging in
Sturdy Cable Wav
Sturdy Cable Ogg
Unplugging
Yoink Wav
Yoink Ogg
I put both the wav and ogg formats 'cause I have know idea which one it is.
Also, is there a way to combine it with the install of start and shutdown sounds?
http://forum.xda-developers.com/showthread.php?t=974973
Thanks! Eventually I want to get a whole theme done, but I know I'll be asking a TON of questions, hah!

(Q)USB audio Out is it possible?

I recently bought a new stereo for my car that has USB,Aux inputs.. i can use the aux but the sound is not as good as the USB. i can use the USB however i will be limited to the stereo controls and it,s pain in the a$$.
can i play music over USB cable so i will have full control of what i wanna play. ?
to make it easy when u mount your sd card on your computer you cant access their content from the phone same think with the stereo
it,s a long shot but you never know there might be a mod that i messed
Long live T989
Hmmm i don't think you can, you're stereo is probably "iPhone ready" where you can use the iPhone physically i think... But with Androids it'll see it as a storage device.
If i were you... Go Bluetooth, i find the clarity better than aux too. That's if you can return the stereo and invest a little more for Bluetooth.
Sent from my SGH-T989 using xda premium
I don't know if you can use a USB cord or not but I know you can use an auxiliary cable. That's what I do
Sent from my SGH-T989 using XDA
You can, it depends on what your system can handle.
At work I plug into Home theaters via USB
Even though their crappy for audio fidelity, samsungs stuff is the most compatible.
But flac wont be found on any HTIB on screen menu I have tested
Sent from my SGH-T989 using xda premium
It may benefit you to know that your phone has preset volumes when you hook up different devices. I'd say try to use the AUX cable if you haven't invested in a Bluetooth device (which is the better option). Just turn the volume up in the media settings and you should be good to go.
Lt.Tealc said:
I recently bought a new stereo for my car that has USB,Aux inputs.. i can use the aux but the sound is not as good as the USB. i can use the USB however i will be limited to the stereo controls and it,s pain in the a$$.
can i play music over USB cable so i will have full control of what i wanna play. ?
to make it easy when u mount your sd card on your computer you cant access their content from the phone same think with the stereo
it,s a long shot but you never know there might be a mod that i messed
Long live T989
Click to expand...
Click to collapse
it works u have to plug the usb into the radio then plug ur phone in and turn usb storage mode then it will connect not the same as the iphone but it works
USB audio works on my Allwinner A10 tablet witn "Unofficial CyanogenMod 9 for many AllWinner A10 tablets" firmware from Christian Troy

[Q] Car Stereo Unrecognized By S4 When Connecting Via USB

O-for-two...<grumble-grumble> :crying:
Upgraded my factory cassette car stereo to a new one with usb port (no bluetooth), thinking I could both stream the phone's audio and charge the battery via usb.
Well, the battery's levels actually decrease when plugged in, and more to the point, the phone isn't recognized in usb mode in the stereo and quickly goes to radio mode and the phone displays the following message (please see attached screenshot)...
...my phone is stock, not rooted. Stereo is not bluetooth-enabled, and I would prefer to stream via usb than the aux port.
-> Can anyone advise any tweaks or apps that would enable the phone's streaming audio to be played via the stereo's USB mode?
Thanks in advance!
What kind of car? I used to have problems in my Saab.
Sent from my SGH-M919 using Tapatalk
mrbmg said:
What kind of car? I used to have problems in my Saab.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply.
It's a 4Runner.
Hoping to focus here on how to get the devices to recognize one another...
That's weird. Maybe a driver issue with the stereo? Does it have a hard drive? Never used stereo with usb port. I think my wife's suv has one.
Sent from my SGH-M919 using Tapatalk
---------- Post added at 09:43 PM ---------- Previous post was at 09:39 PM ----------
What stereo is it?
Sent from my SGH-M919 using Tapatalk
mrbmg said:
That's weird. Maybe a driver issue with the stereo? Does it have a hard drive? Never used stereo with usb port. I think my wife's suv has one.
Sent from my SGH-M919 using Tapatalk
Click to expand...
Click to collapse
The stereo is very basic, no hd.
Anyone know of any tweaks/downloads I can make to the phone in order to get the audio properly streamed via usb?
4umexdeeay said:
The stereo is very basic, no hd.
Anyone know of any tweaks/downloads I can make to the phone in order to get the audio properly streamed via usb?
Click to expand...
Click to collapse
I have a similiar radio. No bluetooth but a usb on the front and an audio input on the front. As I understand it the stereo itself can't access the phone this way. It doesn't have drivers to recognize the Samsung phone. Think about it. you plug your phone into your computer by usb but you have to download and install drivers for the two to work together. Mine from the looks of it has Iphone drivers built in but nothing for android. You can probably plug a thumb drive in loaded with music and it'll play. What I do is use a stereo cable from headphone output on the phone to the audio in on the stereo. If I need to charge it I have the standard car charger for that.
4umexdeeay said:
Upgraded my factory cassette car stereo to a new one with usb port (no bluetooth), thinking I could both stream the phone's audio and charge the battery via usb.
Well, the battery's levels actually decrease when plugged in, and more to the point, the phone isn't recognized in usb mode in the stereo and quickly goes to radio mode and the phone displays the following message (please see attached screenshot)... [/B]
Click to expand...
Click to collapse
Youre doing it wrong
The reason the battery is decreasing is the amount of current drawn from the device. Either the radio is not strong enough to supply the right current or the phone is recognizing it as a computer and limiting the draw to 500ma. My rough estimates show that the phone uses closer to 750ma while in use just to run. You can verify how much power it is drawing with this simple application https://play.google.com/store/apps/details?id=com.abmantis.galaxychargingcurrent.free
You could try to install a kernel that allows you to override the amount of power drawn from the port. I was the first to request the feature and Ktoonsez was nice enough to implement it into his kernel. Now you can set the AC and Computer USB draw to any amount you like.
Secondly, why did you think you could play audio through USB in the first place? I guess it would be possible if the radio supports MTP but then the phone would be acting more like a USB stick and you would have to choose the files manually on the radio itself.
If you really don't want to use an Aux cable then I suggest buying a bluetooth dongle and connecting it to the rear AUX inputs on the radio. They are relatively cheap and you can install it inside the dash never to be seen again.
braschlosan said:
Youre doing it wrong
The reason the battery is decreasing is the amount of current drawn from the device. Either the radio is not strong enough to supply the right current or the phone is recognizing it as a computer and limiting the draw to 500ma. My rough estimates show that the phone uses closer to 750ma while in use just to run. You can verify how much power it is drawing with this simple application https://play.google.com/store/apps/details?id=com.abmantis.galaxychargingcurrent.free
You could try to install a kernel that allows you to override the amount of power drawn from the port. I was the first to request the feature and Ktoonsez was nice enough to implement it into his kernel. Now you can set the AC and Computer USB draw to any amount you like.
Secondly, why did you think you could play audio through USB in the first place? I guess it would be possible if the radio supports MTP but then the phone would be acting more like a USB stick and you would have to choose the files manually on the radio itself.
If you really don't want to use an Aux cable then I suggest buying a bluetooth dongle and connecting it to the rear AUX inputs on the radio. They are relatively cheap and you can install it inside the dash never to be seen again.
Click to expand...
Click to collapse
This is all really helpful info, thanks
Yeah, not sure why I thought I could stream via usb either, must've been mixing up the functions of that and the aux cable.
-> So I'm familiar with a bluetooth dongle that connects via usb (...think that would work properly in a car stereo too?) - but you're recommending a dongle that connects internally? Know where I'd find that for sale?
1st, my assumption is you're rooted...?
If no=Boohoo... Root or buy stereo with Bluetooth.
If yes= install this app... https://play.google.com/store/apps/details?id=com.mohammadag.samsungusbmassstorageenabler
Open it, grant it root privileges, click the "mass usb" (I think its called), and profit!
*Music must be on external card.
<-- my thank you is over there
Do you have an auxillary input option on the stereo? 3.5mm jack...
The advantage is that it's guarenteed to work.
The disadvantage is that you can't control the song selection from the stereo. You have to do it from the phone.
Also, could it be there you store the music? If it's on an external SD card I can see where that would fail. Maybe if it was on the internal memory? Remember the car stereo probably isn't real bright. If it doesn't find what it's looking for where it expects to find it, it won't keep looking.
You might have to have it stored in a specificly named directory on the phone too.
4umexdeeay said:
So I'm familiar with a bluetooth dongle that connects via usb (...think that would work properly in a car stereo too?) - but you're recommending a dongle that connects internally? Know where I'd find that for sale?
Click to expand...
Click to collapse
"Internally" meaning it goes inside the dash, behind the radio. Its just a bluetooth receiver with an audio output (either a headphone jack or RCA cables)
If you want listen to music over "USB" you can get certain touch screen radios that will mirror your phones display
4umexdeeay said:
O-for-two...<grumble-grumble> :crying:
Upgraded my factory cassette car stereo to a new one with usb port (no bluetooth), thinking I could both stream the phone's audio and charge the battery via usb.
Well, the battery's levels actually decrease when plugged in, and more to the point, the phone isn't recognized in usb mode in the stereo and quickly goes to radio mode and the phone displays the following message (please see attached screenshot)...
...my phone is stock, not rooted. Stereo is not bluetooth-enabled, and I would prefer to stream via usb than the aux port.
On the bench after testing all the functions and ready to install....
[/URL[/IMG]
-> Can anyone advise any tweaks or apps that would enable the phone's streaming audio to be played via the stereo's USB mode?
Thanks in advance!
Click to expand...
Click to collapse
There is a mod that allows your phone to emulate a usb storage device that would allow you to play music stored on the phone through the stereo you installed, however there would be no controlling any of the sounds, etc via the phone. All the controlling has to come from the stereo itself. Volume, tone, selection, etc. You also need to check the format that the stereo "expects" to see in order for it to be able to function.... Such as Folder size, (files within the folder - how many) How deep the folders are allowed to be set as like in subfolders, etc. What the storage media format is able to be accessed, etc. It gets a little technical and the results are a bit disappointing in the end...
The best I can recommend is a display screen unit that supports using the phone in the USB input. I just installed a Pioneer AVH-X4600BT that works with my (GS4 rooted 4.2.2 Stock ) in my Wife's Subaru Outback. We can plug the phone's USB cable into the stereo (via a Mirrorlink add-on) and run the PHONE using the touch screen of the stereo. You'd be able to run Pandora, answer/make calls, answer/create e-mail and Texting, listen to the music on the phone, watch video that is stored on the phone or DVD's, and most important, NAVIGATION on a 7 inch screen!. All of that though, is dependent on the phone you have. As of yet, the Mirrorlink supports the iPhone, GS3, GS5, and with a hacked app in the phone, it also supports GS4. There is a free app on the market that is called Drivelink which interfaces your phone and the stereo.
You might want to research other stereo devices that have the Mirrorlink application support. I believe Sony has some, but I didn't go past the Pioneer unit. Bottom line, BE SURE TO DO THOROUGH INVESTIGATION ON WHAT YOU WANT TO DO AND THE CONNECTABILITY OF YOUR DEVICES. I know you just bought the unit recently so you just might be having to live with your setup for a while. That's o.k. though, next time you purchase something like that, you will be armed to the gills with knowledge and get something you'll really enjoy.
On my test bench after testing, and was ready to be installed....
Good Luck, and Aloha!
4umexdeeay said:
O-for-two...<grumble-grumble> :crying:
Upgraded my factory cassette car stereo to a new one with usb port (no bluetooth), thinking I could both stream the phone's audio and charge the battery via usb.
Well, the battery's levels actually decrease when plugged in, and more to the point, the phone isn't recognized in usb mode in the stereo and quickly goes to radio mode and the phone displays the following message (please see attached screenshot)...
...my phone is stock, not rooted. Stereo is not bluetooth-enabled, and I would prefer to stream via usb than the aux port.
-> Can anyone advise any tweaks or apps that would enable the phone's streaming audio to be played via the stereo's USB mode?
Thanks in advance!
Click to expand...
Click to collapse
It's doing that because your phone uses MTP as the Media Transfer Protocol. Basically, it kind of mounts like an MP3 player or camera and the new DIN you installed doesn't know what to do with it. The real trick is to get your phone into UMS, USB Mass Storage mode. There's a UMS app in the play store, BUT you have to be rooted to use it. It basically mounts your phone like a regular old thumb drive. Do that and your new DIN will see it no problem. Only thing is, like a USB drive you'll have to navigate into your folders to play your music. This was what I threw in my car and it's been awesome!
http://www.amazon.com/VicTsing-Blue...=UTF8&qid=1397676105&sr=1-1&keywords=victsing
---------- Post added at 04:12 PM ---------- Previous post was at 03:22 PM ----------
4umexdeeay said:
This is all really helpful info, thanks
Yeah, not sure why I thought I could stream via usb either, must've been mixing up the functions of that and the aux cable.
-> So I'm familiar with a bluetooth dongle that connects via usb (...think that would work properly in a car stereo too?) - but you're recommending a dongle that connects internally? Know where I'd find that for sale?
Click to expand...
Click to collapse
I bet I know why you thought you could play audio through USB. It's because Apple products can do it. One of the things that drives me nuts is that most cars with USB ports have audio playback support for Apple devices because of Apple's dock interface that let's the docking component control and navigate the audio. Unfortunately (and it drives me crazy) Google hasn't created a similar interface for Android so there are no Android Docks. Android devices like the S4 in your car rely on on AUX to send audio. It really sucks and Google has committed to addressing it this year in the car but I don't know if they're fixing the underlying problem of a uniform audio interface in android; meaning one where you plug in a dock and it recognizes your phone and how to access your music and playlists. Again, Take a look at this if you need a quick fix. I know you were hoping your new stereo would do it, but you could easily hide this:
http://www.amazon.com/VicTsing-Blue...=UTF8&qid=1397676105&sr=1-1&keywords=victsing
abovenbeyond said:
1st, my assumption is you're rooted...?
If no=Boohoo... Root or buy stereo with Bluetooth.
If yes= install this app... https://play.google.com/store/apps/details?id=com.mohammadag.samsungusbmassstorageenabler
Open it, grant it root privileges, click the "mass usb" (I think its called), and profit!
*Music must be on external card.
<-- my thank you is over there
Click to expand...
Click to collapse
I don't understand, am I missing the post where u said u did this and it didn't work?
This is what u need to do... period. If this app won't work with your rom, find an app or place in the settings to enable "mass storage". The above linked app works for me and many others.

[Q] Want More Volume on the Headphone Jack?

I had to buy a line amp just to get the AUX volume up to my head unit high enough to match the other functions, otherwise when I changed functions the sound would be BLARING LOUD! Even with the volume amp, the volume was just almost enough.... a tad low, but worked.
After making the changes, the volume is TOTALLY loud enough, and it does not affect the phone's speaker output on my device. I could take out the line amp so now I have a $50 line amp that has no use! LOL I can use the headset on the airplane without any volume booster too! with lots of volume to spare as well.
Remember to rename the Original file to something like snd_soc_msm master before you copy the modified file back so that you can easily revert to original settings if you wish to do so later.
There are only 6 changes to be made, so using the search function to locate "pos_6_DB" and change the 6 to a 9, making it very easy to do.
There is a pos_2_DB and I DID NOT ALTER THAT ONE
I used Root Explorer to manage the file.
★ Go into your system/etc/snd_soc_msm folder.
★ Copy the file called "snd_soc_msm_2x_Fusion3" to a temporary work area and edit it there using Notepad++.
Paste to a location other than the original folder (So thet you don't mess the original file)
There are 6 lines to edit. Do Not change the one that is pos_2_DB
That's all! Simple and fast! I wish I did that instead of buying the headphone volume amp!
Aloha and Good Luck!
===================================================================================================

[Q] Mixer Path mods

Greetings everyone, i have a issue well actually more a dislike with my phone i would like to solve it using the mixer path xml file if possible.
First off i have a D852 running Cloudys Rom.
And when im in my jeep and i plug in a aux cable the phone automatically disables the Phones microphone so when i receive a call i can answer and hear the person but they cant hear me cause the mic is disabled .
What i would like to have the phone do is instead of calling the aux cable profile from the mixer path when a aux cable is plugged in i would like the phone to call the headphone or wired headset profile so that way the microphone stays enabled while the aux cable is plugged in.
From what i have read it seems that soundsabout app seems to accomplish the same thing but its a third party app
So does anyone think this is possible trough mixer path xml or am i completely unaware of how this actually works.
Thanks for all your help.
By looking at the mixer path file i see that there are multiple "profiles" such as hand set , voice-headset mic, speaker-and -headphones, and so on . but i have yet to figure out which one is called upon then the aux cable is plugged in.
Here is the mixer path file included in cloudy`s rom.
Thanks
Bump ?

Categories

Resources