Effective in 2026, to align with our trunk stable development model and ensure platform stability for the ecosystem, we will publish source code to AOSP in Q2 and Q4. For building and contributing to AOSP, we recommend utilizing android-latest-release instead of aosp-main. The android-latest-release manifest branch will always reference the most recent release pushed to AOSP. For more information, see Changes to AOSP.
Emulator USB passthrough guide
Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to enable Bluetooth peripherals with USB passthrough for
the AAOS emulator.
Use The Asus USB-BT400 Bluetooth 4.0 USB adapter to set up the USB passthrough
connection. This applies for Android 13 and higher.
- Connect the dongle to the Linux host machine.
To confirm the device functions as intended, run the lsusb command.
Values for the VendorId(0x0b05) and ProductId (0x17cb) of the Asus
BT-400 adapter are displayed.
$ lsusb
Bus 001 Device 010: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
Launch the emulator with the usb-passthrough information.
$ emulator -cores 4 -memory 6144 -usb-passthrough vendorid=0x0b05,productid=0x17cb
The dongles tested are:
Other dongles may work, however, not tested.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-04 UTC.
[null,null,["Last updated 2024-12-04 UTC."],[],[]]