Link Search Menu Expand Document

Table of Contents

  1. EXPERIMENTAL - Using ADB and Fastboot in WSL 2 (via usbipd)
    1. Overview
    2. Prerequisites
    3. Connect ADB Device
      1. Step 1: Open PowerShell (Window 1)
        1. Find BUSID
        2. Bind Device Using BUSID
        3. Find VID:PID
        4. Attach Device to WSL 2
      2. Step 2: Verify in WSL 2
        1. Check USB Devices
        2. Verify ADB Connection
    4. Reboot Device into Bootloader (Fastboot)
    5. Connect Fastboot Device
      1. Step 3: Open PowerShell (Window 2)
        1. Find BUSID
        2. Bind Device
        3. Find VID:PID
        4. Attach Device to WSL 2
      2. Step 4: Verify Fastboot in WSL 2
        1. Check USB Devices
        2. Verify Fastboot Connection
    6. Upgrade VOXL SDK
    7. Notes

EXPERIMENTAL - Using ADB and Fastboot in WSL 2 (via usbipd)

This guide outlines the steps to connect Android devices to WSL 2 using usbipd for both ADB and Fastboot modes.

Using Ubuntu directly is preferred, but this guide will help if WSL2 is the only option.

Overview

USBIPD is a Windows service that enables access to physical USB devices from within WSL 2. To support Android device flashing and debugging, USBIPD must be configured separately for both the ADB and Fastboot USB interfaces. During installation or device flashing, two USBIPD attachment sessions need to be active—one for ADB mode and one for Fastboot mode—to ensure seamless transitions between device states.

USBIPD will be slower than a direct Ubuntu install.

Prerequisites

  • WSL 2 installed and running (Instructions)
  • Install usbipd on Windows (Instructions)
  • ADB and Fastboot (Android Platform Tools) installed inside WSL 2

Connect ADB Device

Step 1: Open PowerShell (Window 1)

Find BUSID

usbipd list

Example output:

Connected:
BUSID  VID:PID    DEVICE                                                        STATE
2-2    2ac1:20c9  Intel(R) USBIO Bridge Device                                  Not shared
2-3    05c6:901d  KONA-QRD _SN:29AD1D93, ADB Interface                          Shared
2-5    27c6:633c  Goodix MOC Fingerprint                                        Not shared

Bind Device Using BUSID

usbipd bind --busid 2-3

Find VID:PID

usbipd list

Example output after rebinding:

Connected:
BUSID  VID:PID    DEVICE                                                        STATE
2-2    2ac1:20c9  Intel(R) USBIO Bridge Device                                  Not shared
2-3    18d1:d00d  Android                                                       Shared
2-5    27c6:633c  Goodix MOC Fingerprint                                        Not shared

Attach Device to WSL 2

usbipd attach --wsl --hardware-id 18d1:d00d --auto-attach

Step 2: Verify in WSL 2

Open your WSL terminal and run:

Check USB Devices

lsusb

Verify ADB Connection

adb devices

Reboot Device into Bootloader (Fastboot)

From WSL:

adb reboot bootloader

Connect Fastboot Device

Step 3: Open PowerShell (Window 2)

Repeat the same steps for the Fastboot interface.

Find BUSID

usbipd list

Bind Device

usbipd bind --busid 2-3

Find VID:PID

usbipd list

Attach Device to WSL 2

usbipd attach --wsl --hardware-id 18d1:d00d --auto-attach

Step 4: Verify Fastboot in WSL 2

Check USB Devices

lsusb

Verify Fastboot Connection

fastboot devices

Upgrade VOXL SDK

You are now ready to Upgrade the SDK

Notes

  • The VID:PID may change between ADB and Fastboot modes.
  • You may need to repeat the bind/attach steps after rebooting the device.
  • Using --auto-attach ensures the device reconnects automatically when replugged.