[Q] Developers: Disabling headphone jack media controls - Android Software/Hacking General [Developers Only]

Admins/Mods: I know I'm brand new here, but every other place I go directs me here, and I don't blame them. I've been browsing the forums for a while now, and xda-devs really know their stuff. Please give this thread a while to help me find an answer.
Developers: I'm having an issue with my Droid 2 and headphones. First things first, I would like to know if there is some way to disable headphone jack media controls on the ROM side of things, such as deleting a script or a code or similar. Reasons being, I'm having a bit of an extremely annoying issue.
When I plug headphones in, no matter what type, music players go wacky if it's disturbed in some hard to duplicate manner. I should take the time to say that I have three media players on my phone, the Music player, XiiaLive, and Pandora. That said, when I listen to music in my car, for example, let's say I pull my phone out of the tray and turn it on to switch tracks. About 85% of the time, no trouble. The remaining 15% is me wondering why the phone just up and randomly switches to a completely different song. One time im specific, i unlocked the phone and went to go to the next track on a Breaking Benjamin album, and it just switches itself to a different artist entirely.
Another thing is, if the music player is currently playing and I unplug headphones, the music player will stop playing, but XiiaLive will bring itself up (which never runs unless i open it, and i task kill it closed when i'm done for this reason) and start streaming the last station I played.
It's driving me nuts. Like I said, I've asked around. Droidforums.net, Android Central... they all say to come ask here. Please tell me there's a way to get rid of this function.
Sorry for the long (albeit detailed) post.

Related

Anyone else have horrible music playing experience?

If I use the stock player, which seems nice, as soon as I enable an EQ, I get this terrible effect that sounds like it's being over compressed. It happens with all the eq settings, and even custom.
I stated using Mixzing and it's a great player, the eq is awsome, but when I play songs it skips all the time.
That's odd. Mine doesn't seem to suffer from any compression with EQ use.
I don't actually use EQ but i have some poor experience playing music at times.
Sometimes when I'm listening to music through the headphone port and the phone does something (receive a text message or just use data or something) there are audible pops and clicks in the audio. Once the phone is done doing what it's doing they stop
I experience the same small pops and hesitations when playing music. Mine occur both from the speaker and the headset jacks. Sometimes I can play an entire song and have no noise, but most of the time it occurs a couple of times during a song. Very annoying.
Mine doesn't do that either. Good for me I guess, but odd.
I also have noticed the same issues. Especially when there is an incoming call. Granted, IM not stock, running cog 2.1.5
Sent from my Captivate
Yeah, I get the crackling noises too, but haven't noticed whether it's only with mixzing or stock player.
same issue here with the stock player AND mixzing. others have said that apps running in the background cause this issue but I tested that by killing everything in the background first and the issue still occurs. I know that android will auto-start stuff it needs but if the stock apps kill the music quality, then they have more fixes to release.
Weird, when I get a notification my music stops completely just to play my tone... is this normal? Any way to disable this? Hell I didn't even know stock player had EQ adjustments, where do I find them?
Sent from my SAMSUNG-SGH-I897 using XDA App
Bluetooth playback is when I notice the most distortion. I don't bother with any kind of EQ.
I get clicks and pops from all headphones, anything I connect the phone to, car, stereo, anything connected to the headphone jack.
I've tried and listened to music using all of these and get clicks and pops from all of them.
Stock player
MixZing
Cubed player
Tunewiki
Meridian
The player from Cyanogen mod
Pandora
Last.fm
Astro player
Every music player app I've tried clicks and pops, pauses and stutters. It does this no matter the encoding of the file, no matter the source, it clicks and pops and clicks and pops. It's worse than the cheapest mp3 player I've ever owned and frankly, I wish I could return this phone to AT&T but I'm past my 30 days. I really expected some updates, real updates for the GPS which is why I kept it past the 30 days. I thought the clicks and pops were a fluke, but to this day, GPS sucks and the music player clicks and pops. It's beyond annoying and if I could return it, I would.
Earlier today the GPS had me in Bakersfield, CA, over 2,000 miles from where I actually was. 2,000 miles!
And no, the explanation "it's a phone, not a gps or a media player" is not acceptable. These are features we pay for as customers. And a fix for these issues means I don't have to screw around with custom ROMs and settings and hacks and blah blah. It should just work, period.
Click click.. click click...
Yes, I get clicks and pops and stutters, yes I do...
...and yes, I've tried all the various buffer options in the MixZing app and am using the full PAID version, PAID version of the app. That would be the media player I bought because the stock one that comes with the phone can't read playlists created elsewhere. If you have even a moderate music collection it's absurd that the damn stock player can't read a standard playlist file and users would be expected to create all their playlists on their device. Ridiculous.
May I suggest you try two things and see if it helps:
1. Try a lag fix if you haven't already
2. Download SetCPU, lock the cpu at 1GHz and try music
I'd be very interested to see if either of these would help, have you tried factory resetting or a new ROM?
Sent from my SAMSUNG-SGH-I897 using XDA App

Music Skipping And Voice Dialer Self-starting

I've noticed this since I bought my htc inspire 4G the phone (I had other issues before such as low battery life, vibration feedback simply not working, etc - I hard reset the phone and those went away, but this is back), and I'm wondering if it's my hardware, or the software.
Basically, if I'm listening to music (Pandora or the Music app), it'll randomly hit Next song - if it's the music app, it'll be a mish-mash of fast forward and next track. This is with the phone screen off or on. When it starts happening I turn the screen on and notice it jumping all over, and I've not touched anything. Additionally, while this is happening, voice dialer opens over and over after I close it, and sometimes it'll just start making a call to the last dialed/received number (which is making me a hit with all my friends).
Finally, I say possessed because this is not consistent. For example, I'm listening to Pandora now with no issues. However, the fact that I have to even worry about this happening again
You are using incompatible headphones. You didn't mention headphones but it explains everything. You need to use headphones that have a mic. These headphones have 4 gold contacts on the plug. Without a mic it only has 3. The big contact at the bottom is grounding out 2 connections causing your phone to switch tracks and make calls. Get correct headphones with a mic. You have to remember this is a phone and not a simple mp3 player.

[Q] ICS problem with music, podcast player and everything audio related

Hi all,
ICS 4.0.3
Ver. 3.32.707.10
I was wondering if anybody else is encountering similar problems.
Ever since the ICS update, my music player, podcast player (beyondPod) and e-book audio player have gone crazy.
I cannot understand the logic behind it, but the player either stops, skips, pauses, jumps... u name it. Not all the time, but (please do not laugh!) when the car door is slammed shut.
It got me thinking. Is it the shock or the vibration? Tapping or gently bashing the phone does not disrupt the player. Only door of the car closing. It happens every morning and every night when someone gets off the car before me.
Rebooting, taking battery out, clearing out some stuff from my Micro SD... simple stuff to eliminate causes have had no success.
Only rebooting the phone can solve the problem. Force closing the app does not help.
I was thinking that after a heavy days use, maybe the RAM was running out, bu the problem starts even within 20 min of reboot, with no other unnecessary apps running.
I am using Jays headset app since my headphone has that button that allows me to stop/play skip and volume control etc. This has nothing to do with it? I have had it for a while since Gingerbread...
If it were apps from the market that was problematic, i can understand. But since this affects the stock music player as well as other audio related features, I am baffled.
Anybody else? Suggestions?
Found the definitive cause. But still have no solution.
OK guys and gals...
I had my podcast player and stock sense music player do crazy stuff on me, ever since the ICS update.
Maybe the scratched paint is the cause of headache for some people, and covering/insulating it may relieve it of problems, but my feeling is that for quite a few that have posted on this thread, their reasons of malfunction differ, and in fact, are on the same boat as I am.
Please read my post which is the link below to understand the full symptom.
http://forum.xda-developers.com/showthread.php?p=24511005
I am not sure if ICS update from GS is related to this problem directly or indirecty. All I know is that I had a happy sensation until the update OTA.
Here is the reason why I know that neither the paint or back cover of sensation is the cause of skipping/jumping/stopping/calling last contacted....
I tried the experiment with the back cover off, but I could not replicate the problem, thus no paint chip, back cover or short circuit of any kind is the answer.
So, by method of deduction, with the cover off, I tried wriggling the headphone in the socket to see if that had any effect. None. I tried plugging and unplugging. None. I tried using the remote button to control the music app and the podcast player. No problem. The play/pause/vol up and down etc all worked fine. I even uninstalled the jays app and tried. Without the app, the button on my headset does play and stop, answer and end calls. It got me thinking, and the environment it caused the symptoms only could point to the mic on my headphones.
And guess what? It is the bloody Microphone on the headset. I bet you there are some of you with this problem using the stock headset supplied that have built in hands free.
Basically, the pressure spike caused by slamming of he car door, is the same effect as blowing into the mic of the headset. And once this is done, the only way you can stop is reboot.
Since there have been no posts on this thread, and while I was hunting desperately for answers, I came across a different thread. Similar symptoms. I posted there too, so u might want to take a peep.
http://forum.xda-developers.com/showthread.php?p=24668109#post24668109
Weird symptom. Possible solution? (Apart from using headsets without mic)
I have the same problem with my Sensation after i flashed the ICS. I have flashed two different custom ICS and with both i had the same problem. The music app goes crazy. I haven't find any pattern on what is that that cause the music app go crazy. When I touch the jack of the headphones (the original headphones of the Sensation) the app start forwarding, skipping track pause, etc. Also the same happens when i put the phone in my pocket. I haven't found any solution but maybe is the signal from the microphone as you said. When i shake the jack i think that signal noise i created and makes the app go crazy.
I hope someone will find a solution soon.
I just found a way to hear music in my ICS Sensation. I just disabled the default music app in the app settings that comes with the rom and i have installed the ESfile explorer which has its own music player. I am using ESFileExplorer's music player and i don't have problems till now...
Hope this is useful for someone.
I think issue is software related. Look here:
http://forum.xda-developers.com/showthread.php?t=1689440
NikosDim said:
I have the same problem with my Sensation after i flashed the ICS. I have flashed two different custom ICS and with both i had the same problem. The music app goes crazy. I haven't find any pattern on what is that that cause the music app go crazy. When I touch the jack of the headphones (the original headphones of the Sensation) the app start forwarding, skipping track pause, etc. Also the same happens when i put the phone in my pocket. I haven't found any solution but maybe is the signal from the microphone as you said. When i shake the jack i think that signal noise i created and makes the app go crazy.
I hope someone will find a solution soon.
Click to expand...
Click to collapse
Does it happen ONLY when using headsets? I have the same problem, but is caused by the jack connector (only in ICS). It randomly sends signals that the phone understand as multimedia commands. If you remove the headsets and play the music with the speaker, no problem at all.
Crap.

Automatically set media volume??

Any way to make the media volume remember the last volume used or set to high when plugging in a headphone??
It always starts around 60% because "LOUD MUSIC IS BAD FOR YOU!" which is annoying when being used for aux in a car!!
I find this "feature" incredibly annoying.
I bought a phone, and got a Nanny. I could have done better in this regard with an iPhone. I'm not a child and I refuse to let a device treat me as such.
Try Automate It Pro! or Tasker.
Thanks chamber.
I will try that, but at the same time, I wonder if there's a way to remove this "FEATURE" in the first place, rather than add another process on top to undo the effect?
I'm surprised it hasn't pissed off enough developers to kill it :laugh:

[Q] CM10 not playing true stereo sound?

I was listening to audio on my Skyrocket in my car when I noticed the track I was listening to sounded off. I was listening to this song:
http://www.youtube.com/watch?v=9-DuC0tE7V4 (Lollipop by The Chordettes. yeah yeah, wtf? I had Lollipop Chainsaw on my mind for some reason at the moment..)
I noticed that the right speaker wasn't really coming through, or at least not completely. I don't know if this is isolated to my phone or if this is a CM10 issue. To double check this, I listened to this track via bluetooth to my cars' speakers, direct audio input, and also just listening on the phone itself and each time I couldn't hear the "far" right side of the track. I also tried this track as well and found the same issue (Dude Looks Like A Lady by Aerosmith)
http://www.youtube.com/watch?v=nf0oXY4nDxE
Anyone familiar with either of these songs will immediately recognize that something doesn't sound right (no pun intended). If you're not familiar, listen on your computer with some headphones and if you're experiencing the same thing as me then you'll notice it.
Is anyone else experiencing this or do I have a faulty install/phone on my hands? Sadly the warranty just expired, so I'm hoping it's not my phone, but I don't want to go and change my ROM unless I absolutely have to.
Sorry for the bump, but can someone please help me with this? This takes not even 30 seconds to test. You don't have to listen to both songs for more than 10 seconds each to realize if you're getting real stereo sound (minus the time you potentially get hit with the stupid YouTube ads.)

Categories

Resources