Installing drivers for Sony Xperia M2

Installing drivers for Sony Xperia M2 (D2302, D2303, D2305, D2306, D2403, D2406)
Depending on the purpose of use, the Sony Xperia M2 requires four different drivers to communicate with a computer – MTP, ADB, FastBoot, Flash mode.

FastBoot Driver

USB\VID_0FCE&PID_0DDE – «S1Boot Fastboot»

This is a FastBoot interface device (a debug port used to quickly flash the kernel, unlock the bootloader, and some other actions). Windows does not have built-in drivers, the driver must be installed separately.

The fastboot driver for VID_0FCE&PID_0DDE is taken from the Sony developer site, but it has an old signature type and is not installed in the latest versions of Windows 8.1 – error «The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.» or simply «The specified file cannot be found.».

The solution to the problem is to force the installation of a modern driver from Google for the VID_0FCE&PID_0DDE device.

Download “google_usb_driver_adb_fastboot_2023.rar” – 8.19 MB2023-02-15

The phone must be fully charged. We take the switched off phone, hold down the «Volume+» key and, without releasing, connect it to the USB port. The blue LED on the phone should light up, and «S1Boot Fastboot» should appear in the device manager (if there are no drivers). Next, install the driver from Google as shown in the pictures below.

       

Flash Driver

USB\VID_0FCE&PID_ADDE – «S1 Service»

«SEMC Flash Device» or «SOMC Flash Device» is a port for full flashing the phone, used in particular by the Flashtool utility. Windows does not have built-in drivers, the driver must be installed separately.
The driver can be downloaded here:

Download “Sony_Flash_Driver_2017.rar” – 3.01 MBVersion 3.2, 2017-06-12

It is easy to install, but you need to act very quickly – if you do not have time to install the driver within 60 seconds from the moment the USB is connected, the phone exits the Flash mode and starts normal switching on (and the VID_0FCE&PID_ADDE device disappears from the Device Manager).

The phone must be fully charged. We take the switched off phone, hold down the «Volume-» key and, without releasing, connect it to the USB port. Nothing lights up on the phone (if there is no driver), and «S1 Service» appears in the device manager (if there are no drivers). Next, install the driver as shown in the pictures below.

  

MTP Driver

USB\VID_0FCE&PID_01B8 – in USB charge only mode without ADB, and in MTP mode (USB disk) without ADB
USB\VID_0FCE&PID_91B8 – with MTP-Photo mode (USB disk) without ADB
USB\VID_0FCE&PID_51B8&MI_00 – with MTP mode (USB disk) and ADB enabled
USB\VID_0FCE&PID_A1B8&MI_00 – with MTP-Photo mode (USB disk) and ADB enabled

«MTP» is a USB disk device when a working smartphone is connected to the computer normally. Thanks to the MTP driver, the phone’s memory is visible in Windows Explorer as a USB flash drive. MTP-Photo is a restricted access mode, only the DCIM and Picture folders are available to the computer.

Windows 7/8.1/10/11(22H2) have built-in drivers for this MTP device (tested on clean installs in emulator), and if you have a normal Windows installation (not broken by various optimizers and tweakers), then no action is required to install the MTP driver.

ADB Driver

USB\VID_18D1&PID_4EE7 – ADB port in USB charge-only mode
USB\VID_0FCE&PID_51B8&MI_01 – ADB port in MTP mode (USB disk)
USB\VID_0FCE&PID_A1B8&MI_01 – ADB port in MTP-Photo mode (USB disk)
USB\VID_0FCE&PID_F1B8&MI_02 – ADB port in MIDI mode

«ADB», «Android Composite ADB Interface» is an ADB interface device (Android Debug Bridge – debug port). Windows 10/11 (22H2) have built-in drivers for all of these devices (tested on clean installs in the emulator). Windows 7/8.1 – requires ADB driver to be installed separately.

Depending on the connection mode (USB-charging, USD-disk, USB-photo, MIDI), the phone presents different VID/PID identifiers for the ADB interface. Therefore, you may need to install the driver for ADB twice, in USB charging mode and in USB disk mode.

For VID_18D1&PID_4EE7, the USB driver from Google is used (see above, about fastboot driver), it is installed automatically, you just need to specify it.

For VID_0FCE&PID_51B8&MI_01 and VID_0FCE&PID_A1B8&MI_01, you must force install the same driver from Google. The instruction is similar to installing the FastBoot driver, only in the process of selecting devices you must select «Android Composite ADB Interface».

  

ADB and FastBoot Utilities

They are originally taken from the Android SDK Platform-Tools package, but here you can download them separately, without installers and other unnecessary parts. February 2023 Version

Download “adb_fastboot_2023.rar” – 1.29 MB2023-02-15

Flashtool

Flashtool is used for full flashing, and it is important that it be version 0.9.18.6 – older versions do not work correctly with Xperia M2, and some newer versions also had some problems with Xperia M2 firmware. Therefore, it is necessary to use 0.9.18.6 (and not newer ones).

Initially, Flashtool is taken there or on the forums, but the old version 0.9.18.6 is no longer easy to find. Therefore, here you can download flashtool-0.9.18.6-windows.exe

Download “flashtool-0.9.18.6-windows.rar” – 119.97 MBVersion 0.9.18.6, 2015-05-31