Disable Headset-detection - Android Q&A, Help & Troubleshooting

Hey Guys,
i broke my headphone jack on my Sony Walkman (NWZ-F880) and now it does not deteced my headphones anymore. I searched the web and found varouis solutions but the only partly working one was SoundAbout. With that i am able to listen via my headphones but when i touch the connector the music stops for two seconds and i get the message "headset connected", even with detection disabled in SoundAbout. Because the devices is rooted i though of some other solution:
- somewhere i red about an xposed module but couldn't found one
- maybe it is possible to remove the speaker or the detection device via root
- maybe someone got a better idea =D
thanks in advance
NoDiskNoFun

Related

xperia mini pro thinks it has headphones connected

anybody come across this problem? first off I noticed my earpiece wasnt working and was looking to buy another as I thought it had gone faulty, then I discovered music or other sounds wouldn't play through the speaker (although ringtones and sms notifications do) and then my skip/answer calls button on my headphones wont work even though I can hear music through them, when I check liveware manager it shows headphone connected even with nothing in! I have done a reflash through seus but its still the same, even dismantled my phone and removed the head phone jack but it stayed the same! anybody got anymore tips?

How to get alarms/notifications in speaker if headphones plugged in.

Hello Fellas!
Recently i started to listen to music/audiobooks before i go to sleep,
the problem is that in android 4.2/4.1 even with clock apps that tries to force audio through speaker (at least on my phone) only plays the audio through the headphones which has fallen of during night.
So i though i should make an post instructing how i got the alarm to play through the speaker even with the headphones connected.
the answer is Soundabout combined with Tasker (you could probably use other automation tools as well)
1. download soundabout free from market.
2. set Media Audio to speaker.
3. force close soundabout.
4. Download Tasker (which is a paid app but is well worth the money) (or other automation tool)
4a. go to settings and untick beginner mode.
5. Download and place "userbackup.xml" in the "tasker" folder in the root of your sdcard
userbackup.xmll
6. Open tasker, press the menu button --> data --> restore.
This hack will open soundabout at 6am if the headphones are plugged in, if you are rooted it will also force kill soundabout when you unplug.
NOTE: if you have any profiles allready you should make a backup and add my profile at the bottom of your "userbackup.xml."
Hope this helps!
Best Regards
Thanks
No problem, the only problem is that you have to force close the app every single day though,
i emailed the developer of soundabout about this and he said he would try to make a tasker plugin to make this easier!
Hey guys.
Any update on this?
Thanks
Alan
I dont get it... Soundabout runs a service, so it should be able to force audio through speakers without the need to fc it and start it via Tasker
But the fact is that it does not work on my phone. I have a headset plugged at all times and I just miss all calls
It is said that music apps can prevent soundabout from routing audio through speakers.. i am still testing, will post if I come to a conclusion on what music app does not bring this issue
I ****ing hate those ****tards at google who thought they should change that... since the beginning of time, call and sms alerts always went to speaker regardless the headset is plugged
maeman said:
I dont get it... Soundabout runs a service, so it should be able to force audio through speakers without the need to fc it and start it via Tasker
But the fact is that it does not work on my phone. I have a headset plugged at all times and I just miss all calls
It is said that music apps can prevent soundabout from routing audio through speakers.. i am still testing, will post if I come to a conclusion on what music app does not bring this issue
I ****ing hate those ****tards at google who thought they should change that... since the beginning of time, call and sms alerts always went to speaker regardless the headset is plugged
Click to expand...
Click to collapse
I guess you dont have to fc, but i atleast had to force everything to the speaker. So the easiest way to get the sound back to my earplugs was to force close it.
The updated version does it automaticly so im good for now
Will pay $ for tasker script.
Hi to all of You.
I would like to have profile that force incoming call ringing and notifications to speaker when wired headphones with mic is plugged but not media sounds like YouTube or games, media sounds should be played only by wired headphones with mic.
I am willing to pay some reasonable amount of $ for person, who will write such tasker script for me.
([email protected])
Audio through external speaker with headphones plugged in - Tasker
Any better solution found for this yet? I would like to get tasker to still play audio through the external speaker when the headphone jack is plugged in. I would prefer not to use another app for this, just a tasker profile.
I just received a pressy like headphone button but it mutes the external audio since the phone thinks headphones are plugged in. The apps available for the Klick buttom don't seem too trust worthy or functional. I still want to use it to keep the dust out of the jack but not miss all the audio calls and notifications. A simple tasker profile to accomplish this would be great.
Any ideas?
pzayx said:
I guess you dont have to fc, but i atleast had to force everything to the speaker. So the easiest way to get the sound back to my earplugs was to force close it.
The updated version does it automaticly so im good for now
Click to expand...
Click to collapse
also with Xprivacy you can change and give permission to prevent soundabout from changing speaker after, or there are many other permissions it's asking for.
Couldn't dig deeper, but may give an idea to someone.
I had a similar issue, except in my case I use a wired handset with my phone and I wanted notifactions to sound through the phone speaker rather than through the handset. My solution was to use the Automate app with the configuration attached. Plugging the handset mutes the notification, then on SMS received it plays a sound, with the output stream set as "ring" so it sounds through the phone speaker.
As far as I'm aware, it's not possible to play audio through two streams simultaneously- don't cross the streams...
I'm using a Sony Z3 with LineageOS, but I guess this should work with any android compatible with the current version of Automate.

[Q]

Hello everybody :laugh:
I had a problem with my headphone jack, the previous owner destroyed it using a broken pair of earbuds, so the system didn't recognise the plug/unplug and when routing media to headphones (using SoundAbout) the sound was weird, so I decided to replace the part.
The problem is: the vibration module on the new one doesn't work at all. I tried checking via Z Device test and it doesn't react in any way. The old one works fine, so it's not me AFAIK. Is there anything I can do apart from sending the part back?
Is there any way I can test the secondary mic? I would like to know if it's defective too
EDIT: Apparently, the title disappeared. Can a mod edit it to 'Jack replacement'? Thx a lot

[Android 5.1.1 Malaysk MTCB] No sound

Hey people,
I have a problem since a few hours. I started my HU 3188RK 1024x800 with the malaysk firmware android 5.1.1. Than I open my music app and press play. But the problem now: I can't hear anything, only the little noise if you do the volume very loud but only if i play music otherwise it is completely mute and you hear nothing (you know what i mean?). Restart and plug off the radio are not the solution. The "beep" form Keypressing works (in Mute-Mode too), but why? The rest aren't working. Have anyone solutions?
Thanks
BTW: Sorry if it's the wrong section. Please move it if it is false.
Now i tried to put off the usb hub and the dab receiver. And than it works. So i knew that the usb hub makes problems. Than i look into the dev options and see deactivate usb routing for media. I changed the options (activate it) and than it works. So it seems that android thought it is a usb media controller. Problem solved and happy now with that!

MI5 - audio speaker issues - workaround

I ended up with what I thought was a broken earpiece speaker: During calls, I could not hear anything through my earpiece, but putting the call to speakerphone worked.
Also, all media palyback was mute (youtube, VLC, audiobook player ...). Headphones continued to work. I played around with all the audio settings, nothing.
So I assumed a broken earpiece and ordered a new one. I took my MI5 apart and replaced the earpiece, but nothing changed: Earpiece stayed silent, headphones and speaker worked.
By that, I already factory reseted and flashed new LOS builds and firmwares back and forth. No change.
Yesterday I came up with the idea to write an app that routes all audio to my surround speaker ... I researched the Playstore to check if anything like that already existed, and I came up with an app called SoundAbout which I used to route all audio to the speaker instead of the earpiece.
So far so good.
But even better: I configured it to route all media sounds from "let app decide" to "earpiece", and to my surprise it worked!
Setting it back to "let app decide", I dont hear anything: The setting "earpiece" makes it working again.
My question is: The issue is clearly software related, somehow I managed to break my audio routing, which survives flashing new builds and even factory resets as far as I can tell.
I am on official LOS 20170425, 7.4.14 firmware, official su addon. No custom kernel, no magisk or any battery saving trickery ...
Does anyone have an idea what I can check to fix my audio routing again? Anyone experienced something similar? I will buy that SoundAbout app because it just saved me from buying a new MI5/MI5s/MI6, but I would still like to understand how I managed to break my audio routing like this. The fact that it survivd factory resets makes me think it might be firmware related (I am using the ones from here: https://forum.xda-developers.com/mi-5/development/tool-flashable-firmware-twrp-easy-t3474898) ...
Ok, after several months, I finally figured it out.
It was not a firmware issue after all, but hardware: My 3.5mm audio headphone jack was blocked, meaning the trigger for detecting a headphone was jammed.
The phone constantly thought a headphone was inserted, and so switched to headphone mode, trying to play all sounds and media to the headphone audio port where nothing was present.
Thats the reason why e.g. SoundAbout was a working workaround: It simply ignores the headphone-inserted-trigger and forces all audio to speaker or earpiece.
I found out about the b,ocked trigger with another tool that simply shows if a headphone was inserted or not, and that tool constantly showed that something was inserted.
Unfortunately you cannot get a replacement headphone-jack for the MI5 (redmi and mi4s are available, but no mi5 for some reason), only the whole mainboard for 140$. But I took my MI5 apart anywayto see if I can get that trigger unstuck (tried a small needle and qtip before, but didnt work). I could not get it unstuck, and instead removed the whole headphone jack from my MI5 mainboard, meaning I actually broke a small piece of my mainboard out ... but it worked nontheless: Now that the audio port is gone, my phone no longer thinks a headphone is present, and all audio issues are gone.
Now that I removed the audio port I obvously can no longer use my headphones, so I ordered an usb-type-c-to-audio-adapter for 5$ (after checking that xiaomi usb-type-c headphones cost 50$, which I consider waaaayy too expensive).
So, if anyone has a similar problem where it looks like your phone doesnt play any audio, check out "headset toggle" from the play store to see if the headphone-trigger is broken.

Categories

Resources