2

I have a Windows 7 x64 Ultimate computer and I want to connect my Moto X 2nd Gen (XT1097) in debug mode so I can develop some apps.

The problem is, Windows can't find the drivers for my Moto X. I have downloaded Motorola Device Manager (version 2.4.5) which is supposed to have all the drivers but still my Windows can't find the driver. And before anyone asks, yes, I do have debug enabled in the settings of my phone.

So here comes the funny part..... I have tried this same thing with another Win7x64 Ultimate real machine and a Virtual Machine (running inside my own PC). At first Windows couldn't install the debug drivers...but then after I download the Motorola Device Manager it installed the debug drivers and I was able to use the phone for development.

The weird thing is, when I connect my phone into my PC, it installs all the media drivers but not the debug ones and this is how my phone is listed under my Window's Device Manager:

XT1097 device

BUT in all the other two computers (in which the drivers were successfully installed), this is how my phone is listed, before I install the Motorola Device Manager (which contains all the drivers):

ADB Interface device

And this is how it's listed after the driver's installation:

enter image description here

So, in order to try to fix this, I tried to force a driver installation. I found the driver myself under "C:\Program Files\Common Files\Motorola Shared\Mobile Drivers\Drivers" and inside motoandroid2.inf I could find a driver called "Motorola ADB Interface" and even my phone's VID/PID was inside this same driver's file!......BUT it didn't work!

I still can't use this phone in debug mode, I can't make Android studio see when it's connected, and I also tried to change Google's default driver android_winusb.inf including my phone in there, using this tutorial, but again nothing happens.

Does anyone has any clues of what is going on? I am lost, and honestly I don't want to format my PC just because of this.

Community
  • 1
  • 1
Michel Feinstein
  • 13,416
  • 16
  • 91
  • 173
  • I've got the exact same problem. Still no workaround found. I'll try in my other Windows 7 machine... It if works, I'll switch development to that machine even though it is slower (it's a laptop...) – Loudenvier Jun 20 '15 at 20:03

5 Answers5

1

Instead of using the extremely buggy usb drivers, I would use wireless adb.

On your phone, go to Settings >> Developer options >> ADB over network, and check it.

Then on your computer, to access ADB, type the command adb connect ip_address where ip_address is the ip address listed in Developer options.

Make sure you allow the ADB shell firewall access.

jan
  • 336
  • 1
  • 4
  • That's an interesting workaround...but I can't find these `ADB over network` option on my phone...does it have to be rooted? – Michel Feinstein Nov 27 '14 at 23:46
  • 1
    Also, all the references I find for the `ADB over network` states that or the device has to be rooted OR the device has to be connected first over the USB, which is exactly my current problem haha – Michel Feinstein Nov 28 '14 at 00:15
1

Even I was suffering from same problem. I am not sure but this problem is occuring while we use 64 bit OS. I tried the same setting on 32 bit windows 7 and it is working fine.

And One important thing...

Even if we have can see the driver problem in device manager, the device debugging mode is working perfectly fine. I tried chrome inspect element feature and compiled application from ecllipse.

Smit
  • 29
  • 4
0

It's a shame I'm a bit late, but here it goes:

I had the same problem with my moto g 2nd gen and solved it by installing the drivers manually:

  1. Download android SDK zip.
  2. Unzip to *\android-sdk-windows and run sdkmanager.exe .
  3. Mark only "usb drivers" or similar (it will also install dependencies).
  4. Install.
  5. Use device manager to "update driver" manually, choosing to select the .inf file in *\android-sdk-windows\extras\google\usb_driver.

Here is a more detailed post about it.

GMunguia
  • 81
  • 4
0

You need to Install

enter image description here Motorola Device Manager

Let me give the direct links http://storage.googleapis.com/tetheredupgrades/MotorolaDeviceManager_2.5.4.exe

https://motorola-global-portal-pt.custhelp.com/app/answers/detail/a_id/89879

Hope this Helps you.

Ajmal PraveeN
  • 414
  • 8
  • 16
-1

I installed motorola drivers at https://motorola-global-portal-pt.custhelp.com/app/answers/detail/a_id/89879

It solved my problem on windows 10.