-1

The computer is a desktop PC running Windows 10 N. The phone is a Sony Xperia Z2 running CM 12.1 (and is rooted). When I connect them using a USB cable, the phone appears in the device manager but nothing shows up in my computer. I want to easily be able to transfer large files between the computer and phone without using the internet.

Connecting the phone to the computer used to work fine and I'm suspecting some software updated that broke something.

As suggested, I uninstalled the driver from Device Manager, and tried installing it again. I downloaded this zip file from the Sony website, extracted, and followed the directions of this YouTube video to install the drives: in device manager added a legacy device, chose "have a disk", and selected sa0111adb.inf. This did not work. Now there are two drivers in device manager:

two drivers

I have a Windows 7 VM that is able to connect to phone and I can access the internal memory and SD card through it. However I tried another Windows 7 VM and it did not work.

Here are the settings on the phone

screenshot from phone

I also tried different USB ports to make sure. I don't think it can be a problem with the cable, since it still works with Windows 7 VM.

Even though Windows N doesn't come with the media packages, I have already installed them and it still doesn't work.

for KB 3133719

package already installed

for KB3099229

not applicable

UPDATE: On the Windows 7 VM (which I can actually connect to) the driver is different than device manager.

device manager

device manager

device manager

Celeritas
  • 8,341

4 Answers4

3

I managed to solve the problem myself, but having taken advice from various sources am unsure which steps are required to fix the problem. Here is what I advise. Keep in mind this is for Cyanogenmod, not stock Android.

  1. As per David Woodword's answer, make sure the correct Windows Media Player Feature Pack's are installed: Windows 10 (build 1511) and Windows 10 Anniversary Edition (build 1607).
  2. On the phone, under settings > developer options > revoke USB debugging authorizations
  3. From XDA-developers forum "download "usb mass storage enabler" form google play" and use it.
  4. When the phone is connected to the computer through a USB cable, the notice in the status bar header appears "Connected as a media device / Touch for other USB options". Touch it and toggle the settings. For example check and uncheck MTP or change to Charge only and back. The first time I did this the app froze.
    screen shot from phone
Celeritas
  • 8,341
1

Since the phone works through the Windows 7 VM, I would suggest looking at the device manager in the VM and see what drivers are listed as in use on that system.

If the drivers are different then obviously we'd start with trying to get the same drivers loaded on the PC. I suspect they will be different because the ADB drivers you installed are for use by the Android development debugger. I doubt they would allow the MTP/PTP/file browsing to work.

If the drivers are the same then I would recommend completely uninstalling the current drivers in device manager. And tell the uninstall process "Yes" when it asks if you want to remove the files (or whatever that prompt is that comes up afterwards - can't remember). Then unplug and plug back in and see what Windows tries to install by default.

In short, I suspect you need to find the MTP/PTP drivers rather than the ADB drivers.

1

This seems to be a duplicate of another question that has a well accepted answer that involves installing the Windows Media Player Feature Pack (which is not shipped with the N versions of Windows). But, I can't flag the question as a duplicate with an open bounty.

Links to download the Windows Media Player Feature Pack:

-1

First remove the device and download the most current sony drivers from the manufacturers website. Install the drivers then try to plug in the device again.

If that doesn't work and you have Wi-Fi or if you can create a hotspot on your phone connect your PC to your phone over the hotspot. This will be much faster than Bluetooth or NFC.

I've used ES File Explorer recently to transfer about 20 gigs of data. It is a pretty slick program. Below is a link on how to set that up. https://www.cnet.com/how-to/share-files-between-android-and-windows-with-es-file-explorer/

JustinV
  • 11