Jump to content


Photo

Wifi / BT conflict solution for CM7 (well almost).


  • Please log in to reply
No replies to this topic

#1
redhawkuk

redhawkuk

    Enthusiast

  • Members
  • PipPipPip
  • 167 posts
  • Gender:Male
  • Devices:ZTE Racer debranded Three UK
For a while I have been looking for a solution to fix my Bluetooth / Wifi conflict so I could listen to online radio via Wifi using Bluetooth headphones.
It turns out that CM7 isn't loading a required tool "abfilt" aka the "Atheros Bluetooth Filter for WLAN/BT Coexistence" something which runs with the Android 2.1 stock ROM.
The good news is CM7 comes with abtfilt the bad news is you need root access to run it i.e.:
su
abtfilt -a -n -z &
(from any terminal emulator or abd shell)

Because it needs root access I have been able to hack the Bluetooth init script (/system/etc/init_bt.sh) the "bluetooth" user account lacks root privileges.
If anyone has a better idea of running abtfilt when Bluetooth is enabled and terminated when Bluetooth is disabled I'm all ears.

As far as I'm aware it's not possible to elevate user accounts with root status or can you??

I suppose the other alternative is to auto start this when the phone boots up, what would the best way to do this??

Richard S.

Edited by redhawkuk, 16 May 2012 - 07:05 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users