[ATT dev] Kernels Causing Wired HEADSET ISSUES! - Epic 4G Android Development

I noticed some Kernels have different issues with wired headset.
Headset cuts my voice during voice calls
Auto dials and auto pulls call log
Headset button doesn't work
anyone notice strange behavior with your headset plugged in? Lets make a list of issues to make it simpler for devs to find a solution.
Any solutions? (one is to use stock kernel which is linked in this thread)
Post your issues with wired headset and please note which kernel is acting up. maybe we can combine code from different kernels to make one that works. (I noticed that some kernels have one issue but not the other)
Thanks for all your support and great work everyone is doing on the Epic!

Yes, I noticed the behavior between different kernels (using stock ROM). I know for a fact that with Xtreme Kernel, it disconnects my calls whenever I plug in my headset. The devs say to use only with ACS ROM, but given that the kernel is the bridge between the hardware and software, I doubt the ACS ROM would fix the issue.
I forgot what happened with the other kernels. I settled with Pheonix for now at the conservative governor (interactive sometimes leaves the CPU running at 100MHz and wont ramp up).
Seems we wont be getting any fixes for a while. All the kernel devs are having too much fun playing with Froyo.

Glad I am not the only one! Lets see if we can work this out! Using your phone without headset will give you BRAIN CANCER! Plus its more convenient with a headset when I have to deal with clients.

had problems using epic experience w/ mixup kernel and the latest Xtreme

I can confirm that wired headset handling is kind of fubar in our community kernels. Samsung had made some bugfixes between DI07 -> DI18 versions, but those changes don't appear to have been added to the DI18 source code.
Have any of you tried using the stock DI18 kernel to test this? If it works properly, then we have to cross our fingers and hope the issues don't persist in the kernel shipped with Froyo - as it stands there's no way to know what changed to fix this stuff easily in our community kernels.

The only time I ever gotten headset to work with phone mic was using stock rom and stock kernel after an odin.

effudee said:
The only time I ever gotten headset to work with phone mic was using stock rom and stock kernel after an odin.
Click to expand...
Click to collapse
Yep, that's the exact issue with the missing changes in the source Samsung released.

effudee said:
The only time I ever gotten headset to work with phone mic was using stock rom and stock kernel after an odin.
Click to expand...
Click to collapse
It's only the custom kernel(s) that cause this issue...flash whatever rom you want, flash the stock kernel and you should be good to go...
also, FYI, already a thread on this issue here:
http://forum.xda-developers.com/showthread.php?t=771861

any link to stock Kernel? would be good if we could find a solution for the custom kernels, Is there any other way to install stock kernel besides restoring stock rom through ODIN?

lucifermoh said:
any link to stock Kernel? would be good if we could find a solution for the custom kernels, Is there any other way to install stock kernel besides restoring stock rom through ODIN?
Click to expand...
Click to collapse
Don't recall where I got it from but here is the stock DI18 kernel...

ScientificOne said:
It's only the custom kernel(s) that cause this issue...flash whatever rom you want, flash the stock kernel and you should be good to go...
also, FYI, already a thread on this issue here:
http://forum.xda-developers.com/showthread.php?t=771861
Click to expand...
Click to collapse
Oh really? I remember trying andromeda with stock kernel and it still didn't work for me. I'll try Syndicate with stock kernel eventually then. Thanks for the information

thanks for the zip!!! any idea if devs are aware of this issue?

lucifermoh said:
thanks for the zip!!! any idea if devs are aware of this issue?
Click to expand...
Click to collapse
I doubt it. I posted my bug on the Xtreme Kernel thread and Devin never responded. The only response I got was to use a specific ROM .

Yes, well at least this one is. I'm examining the audio right now to try and hunt down a fix for this and the bluetooth routing bug.
The leaked 2.2 still has the bluetooth bug afaik. I'm hoping samsung releases this fix with their source next time.

Using extreme kernel and when i plug in AUX cable for audio to my car it isnt recognized as a headset.

You mean it doesn't pop the icon in the notification bar, or that it doesn't play audio?
Nothing I plug in pops the headset icon when using a custom kernel - not even the wired headset. Pretty sure it's another symptom of the bug.
[edit] Nor in the froyo stock kernel. /shakes fist at samsung!

Related

Kernel Question

So my wife wants her Inspire as stock as possible, but she wanted bloat removed and it rooted. So I installed the following ROM:
http://forum.xda-developers.com/showthread.php?t=1192372&highlight=2.47.502.7rtdx
Just the latest AT&T GM ROM rooted and bloat removed. Her radio, ril, and software:
Radio - 12.59.60.26U_26.11.04.21_M
RIL - 2.2.0160HM
Software - 2.47.502.7rtdx
What kernel would you recommend? She complains about the sound some and I saw some kernels have fixes. I can't seem to find a kernel that is made for the stock ROM. She doesn't want a ROM so I'm leaving her phone alone as much as possible, just looking for a solid kernel with as much speed/stability as possible hopefully with the audio fix.
TIA
Seanbest said:
So my wife wants her Inspire as stock as possible, but she wanted bloat removed and it rooted. So I installed the following ROM:
http://forum.xda-developers.com/showthread.php?t=1192372&highlight=2.47.502.7rtdx
Just the latest AT&T GM ROM rooted and bloat removed. Her radio, ril, and software:
Radio - 12.59.60.26U_26.11.04.21_M
RIL - 2.2.0160HM
Software - 2.47.502.7rtdx
What kernel would you recommend? She complains about the sound some and I saw some kernels have fixes. I can't seem to find a kernel that is made for the stock ROM. She doesn't want a ROM so I'm leaving her phone alone as much as possible, just looking for a solid kernel with as much speed/stability as possible hopefully with the audio fix.
TIA
Click to expand...
Click to collapse
If you're going to use the stock ROM then you should probably stick with the stock kernel. However, if you're feeling adventurous you can try a Lordmod Sense kernel (post #2), or LeeDroid kernel. These kernels are great for custom Sense ROMs and come highly recommended, but I've never seen anyone mention using using them on the stock ROM. Be sure to make a nandroid backup first, in case you end up in a boot loop or you want to revert back to stock kernel.
Regarding the "audio fix" you're talking about...I don't know if you're going to see much improvement with a different kernel, but it's worth a shot. The Inspire doesn't have particularly great audio (especially if your wife is coming from an iPhone or something else with good audio). Lordmod does boost the volume a bit, if that is her complaint. Let us know your results either way.
2.6.35.10 is the stock kernel. Browse the development forum for kernels based off of this. Any of these should work. You will have to play with them to see what works best for you. The kernel that is in her Rom has the nesessary sound files. If you want it to just be louder than there are some kernels that boost sound, but as far as quality, this is as good as it gets.
Sent from my Inspire 4G using XDA App.

[Q] Related to GamerzRom v9 (BT)

Hello all, quick question kinda new to posting, a bit shy. but i know my way around android, has anyone notice bluetooth pairing issues on this rom. Work on my car's radio but only for phone, no media connection. and when i tried it on my stereo bluetooth headset, it comes up with an error stating that wrong pairing code. Any light on this issue would be appreciated or if im the only one having this problem. PS: its never happened on any other ported rom, and i came from Revelations rom and it was working perfectly. (the bluetooth).
ltcarlos2 said:
Hello all, quick question kinda new to posting, a bit shy. but i know my way around android, has anyone notice bluetooth pairing issues on this rom. Work on my car's radio but only for phone, no media connection. and when i tried it on my stereo bluetooth headset, it comes up with an error stating that wrong pairing code. Any light on this issue would be appreciated or if im the only one having this problem. PS: its never happened on any other ported rom, and i came from Revelations rom and it was working perfectly. (the bluetooth).
Click to expand...
Click to collapse
Did you flash GamerzRom v9 then Hellrasier or is this a full port you flashed?
Sent from my SAMSUNG-SGH-I997 using Tapatalk
bigfau said:
Did you flash GamerzRom v9 then Hellrasier or is this a full port you flashed?
Sent from my SAMSUNG-SGH-I997 using Tapatalk
Click to expand...
Click to collapse
Thanks for the quick reply, and yes its from the port posted by Gosooners, i believe though he didn't put the linux bozo kernel inside the rom because afterwords i flashed with sgs kernel flasher the Linux bozo kernel and booted with the galaxy s boot animation. if i hadn't flash the linux bozo kernel it would have booted with an AOSP boot animation.
Thanks again for the quick response. have you tried paring any of your own bluetooth devices?
ltcarlos2 said:
Thanks for the quick reply, and yes its from the port posted by Gosooners, i believe though he didn't put the linux bozo kernel inside the rom because afterwords i flashed with sgs kernel flasher the Linux bozo kernel and booted with the galaxy s boot animation. if i hadn't flash the linux bozo kernel it would have booted with an AOSP boot animation.
Thanks again for the quick response. have you tried paring any of your own bluetooth devices?
Click to expand...
Click to collapse
LinuxBozo's kernel is not necessary for a port. Most of the ports I've done, I used either the Infusion kernel or Entropy's DD. I didn't see a link for GamerzRom v9 Ninja Edition. I don't use BT so I haven't tested it.
Sent from my SAMSUNG-SGH-I997 using Tapatalk 2 Beta-5
Same here
Sent from my SAMSUNG-SGH-I997 using xda premium

[DEV] Voodoo sound pre-alpha 1 release based on I9103ZCLA1 source code

Please remember this, everyone, this is just an early release build based on the patch made for Galaxy tab 10.1 and I have ported it to Galaxy R directly without patching any codec code yet.
However, from what I can tell, the sound really does better than before and everything should be stable (I have already been running the patch for 5 hrs continuously , no SOD / kernel panic @ all, however further patch may be made later as I sometimes hear jit delay on the device).
So now I hang in the new kernel for you guys to test with.
How to install it :
Just down the file attached (boot.tar.zip) and then extract it.
Open odin v1.85 and then force the phone into download mode.
Choose the extracted file boot.tar.md5 as the bootloader file.
Click on start
Please REMEMBER this kernel does NOT have CWM, Overclock and other stuffs at the moment. It ONLY has official stock kernel + voodoo sound.
It is only used as a preview for the voodoo sound. You take your own risk for flashing it. However you can always report any bug in this thread as you want.
How to uninstall it :
Just select a kernel and then place it into your bootloader again. However your voodoo sound may be lost.
For kernel developer, the source code is located here :
https://github.com/UnknownzD/I9103_CHN_KERNEL (branch master)
So if you want to get the code works on your own kernel, you can always port to your own kernel as you want. But remember to thank supercurio for his big contribute. In addition, this is an old driver only as supercurio has said he will release a new pre2 driver later so please keep an eye for the announcement by supercurio in the future. (I am just too anxious to see what voodoo sound does and ported it on my own in 2 days, however that doesn't really mean something as 99% of the code are written by supercurio)
Credits goes to supercurio, however don't blame on supercurio if you found any bad thing occurs. This is because he is not the one who in charge on the source code or who suggested that directly porting the code from Galaxy tab 10.1 may work, but just I do.
btw, I will try to enable 2 way recording in the next build.
thanks for this bro but we'd love it if you used the ardatdat kernel 1.6, It's got everything and a CWM flashable zip would be better...
sagarwadhwa1 said:
thanks for this bro but we'd love it if you used the ardatdat kernel 1.6, It's got everything and a CWM flashable zip would be better...
Click to expand...
Click to collapse
I know, thats why I am working on merging CWM into my own kernel now. In addition, I have sent a pm (as well as a request) to ardatdat so that he will know about it in the following days and may integrate the patch as well.
UnknownzD said:
I know, thats why I am working on merging CWM into my own kernel now. In addition, I have sent a pm (as well as a request) to ardatdat so that he will know about it in the following days and may integrate the patch as well.
Click to expand...
Click to collapse
Yes! Well received!
Many thanks for your codes and I will try to integrate into my kernel & test the effect.
Thanks again for your work to make galaxy R better & better
ardatdat said:
Yes! Well received!
Many thanks for your codes and I will try to integrate into my kernel & test the effect.
Thanks again for your work to make galaxy R better & better
Click to expand...
Click to collapse
Your 1.6 kernel + voodoo sound will rock the galaxy r
Sent from my GT-I9103 using Tapatalk 2
Based on what I test with my Westone 1 in-ear monitor, the patch should work flawlessly (epic audio quality now), however it still requires some tests for the duration of the FM radio part and the phone part. I didn't have time to test out all the things for a long time yet.
From what I have tried, audio quality is great after patch. FM radio part is working, the phone part is also working as well. However please help me as further test the kernel by either making Skype call for a long time or using FM radio part for a night.
****KKKINNNNNG AWESOME SOUND QUALITY NOW <3
amazing
just flashed this kernel, and what i hear with monster beats by dr dre was unbelievable i have never heard this superb quality output from my sgr. tested with stock headsets also gives awesome sound.
but by flashing this kernel DOWNLOAD COUNTER INCREASES WITH A YELLOW TRIANGLE ON BOOT . and one more thing USB TETHERING is not working, while cable is connected, device says no usb connected and cannot enable tethering using usb cable
req, if this patch will be merged with ardatdat's kernel than it will become a perfect kernel kindly look after this if anything is possible.
a big thanks, i will tell if i found other bugs.
EDIT: i have tested this on xwla4, can it creates prob as u said this one is based on zcla1's stock kernel?
xlm13x said:
just flashed this kernel, and what i hear with monster beats by dr dre was unbelievable i have never heard this superb quality output from my sgr. tested with stock headsets also gives awesome sound.
but by flashing this kernel DOWNLOAD COUNTER INCREASES WITH A YELLOW TRIANGLE ON BOOT . and one more thing USB TETHERING is not working, while cable is connected, device says no usb connected and cannot enable tethering using usb cable
req, if this patch will be merged with ardatdat's kernel than it will become a perfect kernel kindly look after this if anything is possible.
a big thanks, i will tell if i found other bugs.
EDIT: i have tested this on xwla4, can it creates prob as u said this one is based on zcla1's stock kernel?
Click to expand...
Click to collapse
This is the reason that I have purchased the phone. This is because I can see the full potential of it after doing OC + voodoo sound patch. btw I am using XWLA4 (Australian 3) firmware as well, however I don't have the issue that you have mentioned. btw if you want to get rid of that count, use the repair script in this forum please. However for the yellow triangle, I have a USB JIG to get rid of it so I can continue to use this kernel for my daily usage
UnknownzD said:
This is the reason that I have purchased the phone. This is because I can see the full potential of it after doing OC + voodoo sound patch. btw I am using XWLA4 (Australian 3) firmware as well, however I don't have the issue that you have mentioned. btw if you want to get rid of that count, use the repair script in this forum please. However for the yellow triangle, I have a USB JIG to get rid of it so I can continue to use this kernel for my daily usage
Click to expand...
Click to collapse
Actually i bought usb jig before buying this phone it helped me to get rid of counter many times. Yellow triangle is not a issue, can live with it unless i goto ssc.
U tried usb tethering, is it working perfectly?
Sent from my GT-I9103 using Tapatalk 2
I am not sure, I don't have time to test the tethering as I am working on porting latest CWM code onto our device.
UnknownzD said:
I am not sure, I don't have time to test the tethering as I am working on porting latest CWM code onto our device.
Click to expand...
Click to collapse
I have tried flashing ardatdat's kernel but no issue with that on tethering, but flashed this again and again prob with usb tethering, i think this is kernel prob. Look after this in ur next update. Thanks again i love this patch, sound is very very fantastic. Imaging how will be in final update
Sent from my GT-I9103 using Tapatalk 2
---------- Post added at 02:10 AM ---------- Previous post was at 01:51 AM ----------
hi, i have found this trick while experimenting with my SGR, its about to have both CWM and voodoo patch on SGR.
steps i did.
1. flash this using Odin3
http://www.multiupload.nl/6J4BBJ5I3P
2. after this, flash this patched kernel.
i have tried this on my SGR and now i have both working CWM and voodoo sound effects, try this and tell what happens with u
Good news - I have successfully merged Voodoo sound to v1.6 kernel
Will release later the v1.7 kernel with Voodoo sound. Stay tuned!
** The sound quality is really great !!!!! Wowo! I cannot imagine how great is the base and dynamic sound range that Galaxy R could provide before this patch!
ardatdat said:
Good news - I have successfully merged Voodoo sound to v1.6 kernel
Will release later the v1.7 kernel with Voodoo sound. Stay tuned!
Click to expand...
Click to collapse
waiting eagerly for voodoo + ur kernel .
a big thanks
Me and my sh are waiting and hopiiiiing :thumbup:
Enviado desde mi GT-I9103 usando Tapatalk 2
ardatdat said:
Good news - I have successfully merged Voodoo sound to v1.6 kernel
Will release later the v1.7 kernel with Voodoo sound. Stay tuned!
** The sound quality is really great !!!!! Wowo! I cannot imagine how great is the base and dynamic sound range that Galaxy R could provide before this patch!
Click to expand...
Click to collapse
Great!!! The sound quality is better only with earphones or external speakers too?
esteras said:
Great!!! The sound quality is better only with earphones or external speakers too?
Click to expand...
Click to collapse
I just tried with earphones and they are awesome!
ardatdat said:
Good news - I have successfully merged Voodoo sound to v1.6 kernel
Will release later the v1.7 kernel with Voodoo sound. Stay tuned!
** The sound quality is really great !!!!! Wowo! I cannot imagine how great is the base and dynamic sound range that Galaxy R could provide before this patch!
Click to expand...
Click to collapse
Well that is because Galaxy R is using WM8994 DAC chip is a high-end product manufactured by wolfson for top-class DVD player.
btw if you want to build a kernel, I would recommend you to build it as 1.7b1 first as I may have some more patches put on the kernel src later.
btw if you can upload your latest kernel src to git, I guess I can work on more patches as I have found that it is possible to OC several things that didn't enable in your old kernel github src. So if you can give me the read access for your kernel src (or just give the read access for everyone to encourage more people working on I9103), I can test on making more patches out.
esteras said:
Great!!! The sound quality is better only with earphones or external speakers too?
Click to expand...
Click to collapse
Not so great with the external speakers, however the sound quality for earphone would be much better
xlm13x said:
I have tried flashing ardatdat's kernel but no issue with that on tethering, but flashed this again and again prob with usb tethering, i think this is kernel prob. Look after this in ur next update. Thanks again i love this patch, sound is very very fantastic. Imaging how will be in final update
Sent from my GT-I9103 using Tapatalk 2
---------- Post added at 02:10 AM ---------- Previous post was at 01:51 AM ----------
hi, i have found this trick while experimenting with my SGR, its about to have both CWM and voodoo patch on SGR.
steps i did.
1. flash this using Odin3
http://www.multiupload.nl/6J4BBJ5I3P
2. after this, flash this patched kernel.
i have tried this on my SGR and now i have both working CWM and voodoo sound effects, try this and tell what happens with u
Click to expand...
Click to collapse
actually I have a private CWM recovery image built by a dev from CM team, however he told me not to release it unless I have tested all the functions of it. Tonight I may be making a rom on my own (yes I have my custom init.d script + build.prop which was used in I9003 before).
btw the CWM version that I have atm is the latest one ... 5.0.X.X
UnknownzD said:
I am not sure, I don't have time to test the tethering as I am working on porting latest CWM code onto our device.
Click to expand...
Click to collapse
The cwm touch one? Awesome work.Thanks.
Sent from my GT-I9103

Roms with working bluetooth with new baseband

Are there any roms that have working bluetooth call audio that work with the new baseband? Curretly cm7 does not.
Joe333x said:
Are there any roms that have working bluetooth call audio that work with the new baseband? Curretly cm7 does not.
Click to expand...
Click to collapse
That is a known issue for now.
Sent from my LG-P999 using XDA
Whyzor said:
Bluetooth not working during calls is a confirmed problem with recent CM7 builds. Star this issue so it gets more attention, no guarantee it'll be fixed though.
http://code.google.com/p/cyanogenmod/issues/detail?id=5349
Click to expand...
Click to collapse
Link to thread here: http://forum.xda-developers.com/showthread.php?p=27414835
Try and get as many people to star that so perhaps the developers won't keep telling us it's "Hit or miss" and not a big issue.
BT on the stock 2.3.4 that came with the new baseband works. i know its not a custom rom but it is official and works pretty good
dodgefan67 said:
BT on the stock 2.3.4 that came with the new baseband works. i know its not a custom rom but it is official and works pretty good
Click to expand...
Click to collapse
Yeah i ran official GB for a long time before switching to CM7. I dont mess with custom roms besidides stock CM, no one makes their own roms any more they just take CM and customize i think iv seen one or 2 ROMs that wernt just CM rips and they are not being updated any more its sad but what can you do. I wont switch back to stock because i love the T15 kernel and all the custom options in cm, i forgot how much i missed the black background messenger.
I am currently using Owain's Domination ROM v.77 w/new baseband and bluetooth audio is working just fine. That said, Owain just released v.78 and there are a number of bugs (bluetooth and wi-fi among them). I am sure he will have them addressed in no time with a fix all update but if you decide to go the route of Domination I would choose v.77 which is a really nice ROM for daily use. My battery life using Harsh's kernel is amazing!!
Update: Was working fine. Now my BT sounds like crap.

[Q] Need Help With Cm12 nightly 5.0.2 ( audio Issues)

Hi i am currently using Cm12 Nightly 5.0.3 030315, With cm stock kernel. When i play audio thru my car Bluetooth it skips after ever 5 to 10 sec. If i watch video, the audio is delayed. The audio works perfect on regular bluetooth headset. The troubleshoot i did fix this problem so far.
Tried ever build after 02/21 till now still same thing.
I tried custom kernel like franco and elementalx. Did changes in hotplug while using franco kernel. Change Processor setting to performance under cyanogenmod. I have been trying find the fix but with no luck. The only thing that works is if i go back to cm11. Once i do that everything is normal.
Side Note, Every time i installed the Rom it was clean install.
Any help is appreciate at this moment. Thanks in advance.
No such issue here. Try full wiping and then reflashing CM.
thanks for reply. I did that several time. But with no luck. Any other suggestion ??
avalanch said:
thanks for reply. I did that several time. But with no luck. Any other suggestion ??
Click to expand...
Click to collapse
I recently had BT issues on CM12 and I do think that's a rom issue. Other users also reported bugs with BT.
Flash every nightly until the fix comes or switch to another custom rom for the moment.
Primokorn said:
I recently had BT issues on CM12 and I do think that's a rom issue. Other users also reported bugs with BT.
Flash every nightly until the fix comes or switch to another custom rom for the moment.
Click to expand...
Click to collapse
Thanks for that info. Good to know i am not the only one. I am on a mission of trying all the Cm12 Nightly from jan onward till today. Hopefully 1 of them will work... Any suggestion for most stable of nightly is appreciated. Thanks. Trying different roms too.
avalanch said:
Hi i am currently using Cm12 Nightly 5.0.3 030315, With cm stock kernel. When i play audio thru my car Bluetooth it skips after ever 5 to 10 sec. If i watch video, the audio is delayed. The audio works perfect on regular bluetooth headset. The troubleshoot i did fix this problem so far.
Tried ever build after 02/21 till now still same thing.
I tried custom kernel like franco and elementalx. Did changes in hotplug while using franco kernel. Change Processor setting to performance under cyanogenmod. I have been trying find the fix but with no luck. The only thing that works is if i go back to cm11. Once i do that everything is normal.
Side Note, Every time i installed the Rom it was clean install.
Any help is appreciate at this moment. Thanks in advance.
Click to expand...
Click to collapse
I have the same problem with a 32GB nexus 5 and the recent cm12 nightlies, I have found a dozen or so forums/pages about the problem but nothing that seems to help. I have tried flashing different radio.img file and different kernels, the problem only happens in my car, my bluetooth headphones and everything else works fine. My car can take phone calls but not play back music/audio from anything without skipping every 5-10 seconds for ~1 second
That's because CM team still don't get, that it's better to start building a house from the ground, then from the roof. It's a kernel related issue.

Categories

Resources