Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active November 8, 2024 16:22
Show Gist options
  • Save peteristhegreat/b48da772167f86f43decbd34edbd0849 to your computer and use it in GitHub Desktop.
Save peteristhegreat/b48da772167f86f43decbd34edbd0849 to your computer and use it in GitHub Desktop.
Realtek bluetooth usb adapter RTL8671b

The CD that came with the device listed RTL8671B, but it's not on Realtek's website. Instead the manual points you to:

https://www.mytechkey.com/pages/driver

4.Bluetooth 5.0 Dongle

Driver Link:

https://www.dropbox.com/s/gwo9lz777i82f70/BT5.0%20Driver.zip?dl=0

Hope that helps someone.

Update Github hosted link

https://github.com/peteristhegreat/drivers-backup/releases/tag/1.0

Direct link

https://github.com/peteristhegreat/drivers-backup/releases/download/1.0/BT5.0.Driver.zip

Feb 2021 Update

Adding visibility to @carkrueger 's comment below

If you look here: https://www.catalog.update.microsoft.com/Search.aspx?q=realtek+bluetooth+1.6.1015 You will find now: 1.6.1015.3014 from 11.01.2021

Direct download link: http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2021/02/0d13721d-7aa7-47cf-887a-f53bcd228a5e_04c173bad44cec04d528d260392958dc6e5bcec3.cab

for backup purposes: h**ps://web.archive.org/web/20210216175344/http://download.windowsupdate.com/c/msdownload/update/driver/drvs/2021/02/0d13721d-7aa7-47cf-887a-f53bcd228a5e_04c173bad44cec04d528d260392958dc6e5bcec3.cab

Direct download and the popup window for 1.6.1015.3014 didn't initially work. I ended up needing to right click the link and select Save target as. For it to work for me on Windows 10, I unzipped the cab file into a folder and then used Device Manager to look at that folder. Worked like a charm.

@lexab65
Copy link

lexab65 commented Jun 6, 2024

TP-Link silently release V2 version of UB500 which was Bluetooth 5.3 firmware flashed by default. Bluetooth adapter drivers 1.9.1051.xxx for win11/win10/win8.1/win7 available from TP-Link web site upgrades UB500 V1 to Bluetooth 5.3. https://static.tp-link.com/upload/product-overview/2024/202403/20240328/UB500_2.0%20Datasheet.pdf https://www.tp-link.com/en/support/download/ub500/

Any chance you can extract the FW from there so one can use it on Linux?

check current BT version
$hciconfig -a
download and extract cab file
$file-roller -h c1f14a17-4aed-40ff-85cb-7710d0244f42_4433154fbd9a4a8173ee994d24ee7eb640714562.cab
backup current firmware
$sudo mv /lib/firmware/rtl_bt/rtl8761bu_fw.bin.zst /lib/firmware/rtl_bt/rtl8761bu_fw.bin.zst.old
copy new firmware (zst-ing of new firmware is optional)
$sudo cp rtl8761b_mp_chip_bt40_fw_asic_rom_patch_new.dat /lib/firmware/rtl_bt/rtl8761bu_fw.bin
remove and insert dongle, check new version
$hciconfig -a

@mooms06
Copy link

mooms06 commented Jul 23, 2024

Realtek Bluetooth 5.4 drivers available from Microsoft Update Catalog https://catalog.update.microsoft.com/Search.aspx?q=realtek%20bluetooth%205.4

it has to be installed manually by force because the vid/pid doesn't match.

Drivers name convention: x.x.1040.1xxx for Windows 8.1 x64 x.x.1040.4xxx for Windows 8.1 x86 x.x.1038.3xxx for Windows 10 x64 x.x.1038.2xxx for Windows 10 x86 x.x.1051.xxxx for Windows 11 x64

1.9.xxxx.xxxx version is for rtl8761 1.10 and 2.10 are for other rtl chips.

my orico bta-508 shows HCI 13.56789 / LMP 13.51041 Win10/x64

You can't use more than one Bluetooth adapter at a time on a Windows PC. If you want to use a specific adapter, disable the other adapters in Device Manager. I had to disable internal bt adapter to make dongle works.

Thank you.

Please note that x.x.1051.xxxx is also for Windows 10 x64.
I've downloaded this one and it works:
https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2024/04/c1f14a17-4aed-40ff-85cb-7710d0244f42_4433154fbd9a4a8173ee994d24ee7eb640714562.cab

The driver works with my BT dongle with PID 0BDA-A725 (USB\VID_0BDA&PID_A725&REV_0200)
I had to force the installation as you have mentioned).

image image

Side note: When a BT device is connected, AIDA64 is saying the radio is 5.1.

image

It's also the case with the previous driver, 1.9.1051.3004, (BT 5.3) that was installed by Windows Update.

image image

image

Is there any pro or cons to use the newer driver instead of the previous one ?

@davidldennison
Copy link

For those of you still having trouble on Windows. This Microsoft Store app is a great debugging and connection tool. Before I used this app, I couldn't get my iPhone to connect no matter what driver I used. After using this app to actually pair my phone, now it doesn't matter what driver I use - it works. Might for you too:

https://www.microsoft.com/store/productId/9N7DVKWXKQFC

@kurac338
Copy link

kurac338 commented Aug 23, 2024

Realtek Bluetooth 5.4 drivers available from Microsoft Update Catalog https://catalog.update.microsoft.com/Search.aspx?q=realtek%20bluetooth%205.4

it has to be installed manually by force because the vid/pid doesn't match.

Drivers name convention: x.x.1040.1xxx for Windows 8.1 x64 x.x.1040.4xxx for Windows 8.1 x86 x.x.1038.3xxx for Windows 10 x64 x.x.1038.2xxx for Windows 10 x86 x.x.1051.xxxx for Windows 11 x64

1.9.xxxx.xxxx version is for rtl8761 1.10 and 2.10 are for other rtl chips.

my orico bta-508 shows HCI 13.56789 / LMP 13.51041 Win10/x64

You can't use more than one Bluetooth adapter at a time on a Windows PC. If you want to use a specific adapter, disable the other adapters in Device Manager. I had to disable internal bt adapter to make dongle works.

@lexab65 could you please share your experience with the modified driver?

I am using the "Orico BTA-508", but by default Windows 11 installs and old relic version 1.6.1015.3018 for USB\VID_0BDA&PID_8771&REV_0200.

I've tried several alternative drivers for the RTL8761B chip, from the 1.9.1051.30xx releases, from ASUS, TP-Link, etc. Some don't install at all, while those that install, cannot find nor connect to previously connected devices. 🤷

Could you please send a an archive with the latest modified driver for it?

My main issue are BT connection drops when connected to a Sony DualShock 4 controller, using DS4Windows. The adapter is distanced from the PC with an USB 2.0 extension cord, however it did not help the sporadic behavior.

EDIT: using Windows 11, so I would appreciate a modified .cab or any archive (.zip, .7z, ...) to test with my adapter

@lexab65
Copy link

lexab65 commented Aug 23, 2024

@lexab65 could you please share your experience with the modified driver?

I am using the "Orico BTA-508", but by default Windows 11 installs and old relic version 1.6.1015.3018 for USB\VID_0BDA&PID_8771&REV_0200.

I've tried several alternative drivers for the RTL8761B chip, from the 1.9.1051.30xx releases, from ASUS, TP-Link, etc. Some don't install at all, while those that install, cannot find nor connect to previously connected devices. 🤷

Could you please send a an archive with the latest modified driver for it?

My main issue are BT connection drops when connected to a Sony DualShock 4 controller, using DS4Windows. The adapter is distanced from the PC with an USB 2.0 extension cord, however it did not help the sporadic behavior.

EDIT: using Windows 11, so I would appreciate a modified .cab or any archive (.zip, .7z, ...) to test with my adapter

no need to modify *.cab, just use manual driver update
Please search Google for the "install device drivers manually on Windows 11" for the screenshoot guide

  1. unpack/extract c1f14a17-4aed-40ff-85cb-7710d0244f42_4433154fbd9a4a8173ee994d24ee7eb640714562.cab file
  2. open "Device Manager", choose the "Bluetooth" -> your "Bluetooth adapter"
  3. Right-click on your "Bluetooth adapter", select "Update driver" in context menu
  4. click "Browse my computer for driver" and "Browse..." to the directory, there you extracted *.cab file
  5. Choose the "Realtek Bluetooth 5.4 adapter"
  6. reboot you computer
  7. Done

@kurac338
Copy link

kurac338 commented Aug 23, 2024 via email

@kurac338
Copy link

kurac338 commented Aug 24, 2024

I've tried this method, however it did not work. It is possible that it was due to the previous 1.6.xxxx... driver that I already had installed. I will try to uninstall all drivers, fallback to the generic MS one, and try to install this one manually.

On Fri, Aug 23, 2024, 20:24 lexab65 @.> wrote: @.* commented on this gist. ------------------------------ @lexab65 https://github.com/lexab65 could you please share your experience with the modified driver? I am using the "Orico BTA-508", but by default Windows 11 installs and old relic version 1.6.1015.3018 for USB\VID_0BDA&PID_8771&REV_0200. I've tried several alternative drivers for the RTL8761B chip, from the 1.9.1051.30xx releases, from ASUS, TP-Link, etc. Some don't install at all, while those that install, cannot find nor connect to previously connected devices. 🤷 Could you please send a an archive with the latest modified driver for it? My main issue are BT connection drops when connected to a Sony DualShock 4 controller, using DS4Windows. The adapter is distanced from the PC with an USB 2.0 extension cord, however it did not help the sporadic behavior. EDIT: using Windows 11, so I would appreciate a modified .cab or any archive (.zip, .7z, ...) to test with my adapter no need to modify *.cab, just use manual driver update Please search Google for the "install device drivers manually on Windows 11" for the screenshoot guide 1. unpack/extract c1f14a17-4aed-40ff-85cb-7710d0244f42_4433154fbd9a4a8173ee994d24ee7eb640714562.cab file 2. open "Device Manager", choose the "Bluetooth" -> your "Bluetooth adapter" 3. Right-click on your "Bluetooth adapter", select "Update driver" in context menu 4. click "Browse my computer for driver" and "Browse..." to the directory, there you extracted *.cab file 5. Choose the "Realtek Bluetooth 5.4 adapter" 6. reboot you computer 7. Done — Reply to this email directly, view it on GitHub https://gist.github.com/peteristhegreat/b48da772167f86f43decbd34edbd0849#gistcomment-5165322 or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZEQ4L2ERXSIRW4BZFJFZDZS546RBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTAMZVGAZTGOBYU52HE2LHM5SXFJTDOJSWC5DF . You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

I've tried to do a complete clean install of all BT devices in Windows Device Manager, but the newer Realtek driver versions simply won't apply for the Orico BTA-508 adapter.

Even stranger, every single time Windows forces the 1.6.1015.3018 driver on every (re)install.
When trying to manually add the updated Realtek drivers, I can see their .inf is registered as oem202.inf and not applied to any devices, while the outdated Realtek one MS is forcing for me does not match that ID. The outdated v1.6 is registered as oem220.inf.

Screenshot attached:
image

EDIT: it seems I've figured it out. When browsing to the driver directory in the wizard, I had to use the "Have Disk" option, browse to the driver directory once more, and than it finally showed the device as a BT class 5.4 device. I was prompted that the driver was unsigned, bla bla, foo, yes install, and it worked. The adapter driver was finally updated to the latest version. Sorry for the post spam, but I was going crazy with it, and this debugging trail may help someone in the future.

@mooms06
Copy link

mooms06 commented Aug 24, 2024

The real question is: does the dongle actually have 5.4 features, or it's still a 5.0 with a newer driver ?

@kurac338
Copy link

kurac338 commented Aug 24, 2024

The real question is: does the dongle actually have 5.4 features, or it's still a 5.0 with a newer driver ?

Honestly not sure, I might be able to test it using some CLI tool, but I would need instructions.
The driver details report "HCI 13.56789 / LMP 13.51041", but whether this is actually true in the real world is TBD.
(In my case I don't really care, as long as the connection to my devices is stable now.)

EDIT: I can see that the second image in my previous post, after the update, failed to upload. I am reattaching it now 🤞
EDIT2: image upload failed again with "Access Denied", whatever. I think you get my point from text

@platima
Copy link

platima commented Sep 4, 2024

Thank you so very kindly! This saved me 10 fold!

@ValeZAA
Copy link

ValeZAA commented Oct 19, 2024

Got myself new 0bda:a728 device with true 5.4, driver 3013 installs automatically.

The driver works with my BT dongle with PID 0BDA-A725 (USB\VID_0BDA&PID_A725&REV_0200)
I had to force the installation as you have mentioned).

Did not have to. :)

@Buzbee
Copy link

Buzbee commented Oct 21, 2024

The drivers should install automatically for these 2 VID/PIDs:

VID_0BDA&PID_876F ; BT54
VID_0BDA&PID_A728

but should be able to be able to be installed manually for the other 79 VID/PIDs in the PidVid_List.dat file (open with hex editor) but probably not with 5.4 functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment