Sony Xperia phones require a dedicated Windows USB driver to be recognized for ADB, Fastboot, and Flashtool operations. Sony distributes the driver through its Xperia Companion desktop application as well as a standalone driver package. This guide explains both paths, when to use each, and how to verify the connection is working correctly.
Sony provides the USB driver in two forms: bundled inside Xperia Companion (a sync and backup tool) and as a standalone driver package available from Sony's developer site. For users who only need ADB or Fastboot access and do not want a full desktop suite installed, the standalone package is the right choice. For users who also want to back up their Xperia or update firmware through a desktop UI, Xperia Companion installs everything at once.
Both packages install the same underlying USB driver. The hardware ID bindings cover:
Xperia Companion is available from Sony's support website at support.sonymobile.com. Search for "Xperia Companion" or navigate to Software Downloads on your Xperia model's support page. Download and run the installer; it requires administrator privileges.
During installation, Xperia Companion automatically registers the Sony USB driver in the Windows driver store. You do not need to take any separate driver installation step. After the installer finishes:
Sony publishes standalone USB driver packages on the Android Open Source Project resources section of developer.sonymobile.com. The file is typically a ZIP archive containing an INF file and companion SYS files for 32-bit and 64-bit Windows.
Installation steps:
C:\SonyDriver.devmgmt.msc).After the driver is applied, the device should move from "Other Devices" to Sony Mobile Device or Portable Devices in Device Manager with no warning icon.
Sony's Xperia phones run near-stock Android, which means the Developer Options path is straightforward compared to heavily customized skins like MIUI. Go to Settings > About Phone > Build Number and tap Build Number seven times. A "You are now a developer" toast confirms success. Developer Options appears directly under Settings on most Xperia models (not buried under "Additional Settings" or "System").
Enable USB Debugging. Connect the phone via USB. Select File Transfer in the USB connection mode popup that appears on the phone. Then run in a terminal:
adb devices
An authorization dialog appears on the Xperia screen. Tap Always allow from this computer to persist the key. Run adb devices again. The output should list the device serial number followed by device.
Sony has one of the more open bootloader unlock policies among major Android manufacturers. Eligible Xperia models can request an unlock code through Sony's official bootloader unlock portal at developer.sonymobile.com/unlockbootloader. Not all Xperia models support unlock (operator-locked variants and some Asian market units are excluded), but the international Xperia 1, 5, and 10 series generally do.
To enter Fastboot mode on a Sony Xperia:
adb reboot bootloader
Alternatively, power off the device completely, then connect the USB cable while holding the Volume Up button. The notification LED lights up blue (on models with a notification LED) to confirm Fastboot mode. Not all newer Xperia models have an LED indicator, so rely on the on-screen display instead.
Verify the connection:
fastboot devices
If the device does not appear, the Fastboot driver may not be loaded. Open Device Manager with the phone in Fastboot mode and check for an unknown device entry. Update its driver pointing to the Sony standalone driver folder — the INF file includes Fastboot hardware ID bindings.
Flashtool is a third-party open-source tool widely used by the Xperia community to flash official Sony firmware (.ftf files). It requires the same Sony USB driver to detect the phone in S1Boot mode during firmware restoration. If you installed either Xperia Companion or the standalone Sony driver, Flashtool should find the device automatically when the phone enters flash mode (indicated by a green notification LED on supported models).
Flashtool also installs its own USB filter driver on some versions. If you experience conflicts between Flashtool's driver and the standard Sony driver, uninstall the Flashtool driver layer through Device Manager and rely solely on the official Sony USB driver.
Device appears as "Android Phone" under Portable Devices but adb devices is empty: Windows loaded the generic MTP driver instead of the ADB driver. Ensure USB Debugging is enabled on the phone and the connection mode is set to File Transfer, not Charging Only or MTP. The ADB interface only becomes visible when the phone presents it, which requires Developer Options to be active.
Driver installation fails with "Windows found driver software for your device but encountered an error" (Code 52): Code 52 means Windows rejected the driver signature. On Windows 11, this can happen with older Sony driver packages whose signing certificates have expired. Switch to the Google USB Driver as a fallback: it covers ADB mode for Xperia devices and is maintained by Google with current signatures. Install it from Android Studio's SDK Manager under SDK Tools > Google USB Driver.
Xperia does not appear in fastboot devices despite the LED being blue: A few Xperia models use a USB hardware ID in Fastboot mode that differs slightly from ADB mode. Open Device Manager with the phone in Fastboot, look for an entry under Other Devices, and manually assign the Sony driver to it.
S1Boot mode not recognized by Flashtool on Windows 11: Flashtool's bundled driver filter is 32-bit on older versions and does not load on 64-bit Windows 11. Update Flashtool to the latest version or manually install the standalone Sony USB driver without Flashtool's overlay driver.