PDA

View Full Version : Using the internal Nexus 6 bluetooth device for btscanner, is it possible?



Mattice
2016-02-26, 21:25
I've have been trying to install/run bluetooth for a few days now and I just can't get it to work. I have done research but without success. It seems like there is no info about how to properly install bluetooth on your kali nethunter.

Things I installed sucessfully:

root@kali:~# aptitude install bluetooth
root@kali:~# apt-get install blueman (No idea why I downloaded this, at that point I was out of ideas)

My current problems:

After entering "bluetoothd" I get the following error, "D-Bus setup failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory"
-
root@kali:/usr/share/doc/bluez/examples# /etc/init.d/bluetooth status
[FAIL] bluetooth is not running ... failed!
-
hcitool dev (there is no bluetooth device displayed)
-
root@kali: hciconfig scan
Can't get device info: No such device
-
When typing "hciconfig" nothing is displayed.
--

However this does work:

root@kali:/usr/share/doc/bluez/examples# /etc/init.d/bluetooth start
[ ok ] Starting bluetooth: bluetoothd rfcomm.
--

I also installed the full kali nethunter on my device, and updated everything.

Perhaps it isn't even possible to use my internal bluetooth adapter instead of an external one. I'm running nethunter 2.0 on a Nexus 6.

All help is appreciated.

Gh0sT.sh
2016-02-27, 06:48
Try This

# cd /usr/lib/modules/3.15.3-1-ARCH/kernel/drivers/bluetooth/

# cp ath3k.ko.gz ath3k.ko.gz.orig

# cp btusb.ko.gz btusb.ko.gz.orig

# gunzip ath3k.ko.gz

# gunzip btusb.ko.gz

# sed -e 's/\xf3\x0c\x05\x30/\xf3\x0c\x05\xe0/g' ath3k.ko > at.ko

# sed -e 's/\xf3\x0c\x05\x30/\xf3\x0c\x05\xe0/g' btusb.ko > bt.ko

# mv at.ko ath3k.ko

# mv bt.ko btusb.ko

# gzip ath3k.ko

# gzip btusb.ko

# rmmod ath3k

# rmmod btusb

# modprobe btusb

# modprobe ath3k

If worked leave a (Worked Msg) coz so many have same probs !!!

Mattice
2016-02-27, 14:09
I'll try it when I'm at home. Will update. Thanks.

Mattice
2016-02-27, 14:11
I'll try it when I get home. Will update. Thanks for the reply.