New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Huawei Mate SE] Audio jack not working. #118
Comments
Using the following app, I'm able to force the audio through the headphone jack: https://play.google.com/store/apps/details?id=com.nordskog.LesserAudioSwitch It's not ideal but at least I have sound again... |
I've tried looking at the event logs and it seems like headphone plugging / unplugging event isn't happening. EDIT: see better logs in the Gist I referenced below (it shows up in |
I've also tried enabling the headset icon through the system ui tuner but it still doesn't show up: https://c.mi.com/thread-684217-1-0.html |
Apparently a lot of people had these headphone jack issue after they upgraded to Oreo... |
Booting into safe mode did not help. |
do you see plug/unplug events in adb shell getevent? |
Yes
I cannot connect via adb at all. I have created a new issue for that: #120 However, I have extracted some log files. It consisted me of unplugging and replugging the headphones with no music for about 30 seconds and with music (playing through speaker) for about 30 seconds. ~1 minute total. I have truncated the log files.
Link to Gist with the all three truncated logs: https://gist.github.com/thinkpadder1/4385c1c7638f5244d9d63681b792cd9d |
Additional info: When unplugging/replugging while music is playing through the speaker, the music does not stop. |
Can you disable magisk, and get adb shell getevent when plugging/unplugging? Or from a terminal app, su, getevent |
I'll get it for you as I have the same issue. (BND-L34, Mate SE) I'm running GSI Resurrection Remix. First two events when I plug in, second two when I unplug headphone jack.
|
|
I am facing the same issue on my Mate SE after the Oreo update. I connect my headphone, but the audio output is on the phone speaker. Do you know if there is any fix from Huawei for this coming up, or I should just rely on LesserAudioSwitch app as suggested here. Using that app, I am able to direct the audio to my headphone. But its a pain to do this everytime. It should be intuitive for the phone to do this. |
So, I think I found out what could be the solution/workaround for this. I've had this problem on Huawei P10 Lite lately, so I went to test few things. When enabling stock equalizer (com.android.musicfx), headphones works absolutely fine, even after reboots. So, to conclude, enabling stock equalizer should fix this. I have tested headphones with mic and without mic, all worked normally after this. Please try and report your experience. |
I see the same issue on an LG device. running after plugging in, audio continues to play over the speakers. I used LesserAudioSwitch, as suggested by gonir, and with that app I can get audio to play through just the headphones. |
For me, it turned out to be an issue with the kind of earphone I was using. Apparently, Apple iPhones and Androids have different wirings in their earphones, and I was using a iPhone compatible earphone with this Huawei Mate SE. Note though that my earlier phone Nexus 5 worked just fine with this earphone. |
@jamuir you can check whether persist.sys.overlay.devinputjack is true |
@phhusson : that worked! awesome. thank-you! I will open PRs for oreo and pie to fix this. |
@gonir : thanks for your update. @thinkpadder1 , @Sparticuz: do you guys still see audio-jack issues on the Mate SE? can this issue be closed? My PRs are specific to LG devices and won't make any difference for you. |
Mate SE user here. Experiencing the same issue. Enabling persist.sys.overlay.devinputjack in build.prop doesn't work. |
@fajardocj check my last comment, try that and see if it fixes anything. |
@jamuir I no longer have the device to test. |
There is a new setting in treble settings for Huawei jack detection |
I was having the same issue with an Ulefone Armor X5 (on a LineageOS GSI): no audio on the headphone jack by default, but events related to it appearing and Lesser Audio Switcher able to fix it. The Huawei headset switch switch didn't help, but |
Add overlay for Moto E5 Plus
V22 AOSP (no gapps) with magisk and microg. Mate SE.
Speaker works. Plugging in headphone jack will still only play through speakers oddly.
Audio jack definitely receiving some sort of electric signal since when you plug/unplug, you can hear transient static.
Played music through Pandora and Vanilla Music. Audio jack worked before I flashed AOSP.
The text was updated successfully, but these errors were encountered: