Product Info

RTL8822CE RTL8822CU RTL8822CS COB TSSI MP FLOW
©2019 Realtek Semiconductor Corp.
34
4.1. Bluetooth device environment setup
To do BT RF test, rtlbtmp is a necessary tool.
4.1.1. Android OS
MP tool package is provided to customers in binary format:
MP ADB tool rtlbtmp
MP library btmp.default.so
Customers should copy these binary files to respective directories on target production:
rtlbtmp save to /system/bin/
chmod rtlbtmp chmod 755 /system/bin/rtlbtmp
btmp.default.so save to /system/lib/hw/
mp_rtlxxx_fw, mp_rtlxxx_config save to /system/etc/firmware/
Notice: If the system is android o or above:
rtlbtmp save to /vendor/bin/
chmod rtlbtmp chmod 755 /vendor/bin/rtlbtmp
btmp.default.so save to /vendor/lib/hw/
mp_rtlxxx_fw, mp_rtlxxx_config save to /vendor/firmware/
Notice: The above files are recommended to be put into the SDK, which will not affect the
using of normal Bluetooth.
Notice: Before using RTLBTMP, normal BT must be turned off . The following methods is
for turn off normal BT.
Method 1: Turn off bluetooth on the UI
Method 2: service call bluetooth_manager 8(close) /6(open)
Method 3: Using command to rename driver file :
cd /system/lib/hw
mv bluetooth.default.so bluetooth.default.so_ORG
(for android P : mv libbluetooth.so libbluetooth.so_ORG)
Reboot