ADB not detect Sony Xperia Z3 Compact (android 5.0.2)

21.3k views Asked by At

ADB and Android Studio not detect my device in debugging mode. I work on Windows 7 x64 Pro with latest SDK platform tools.

I tried almost all different device configuration - plug in in MTP and MSC mode, revoke authorisation, install sony and modified generic drivers and any other tips - with no success.

Anyone has any idea to solve this problem?

3

There are 3 answers

3
pg316 On

Try installing Sony PC Companion. This should install all of the necessary drivers for communication with adb:

http://support.sonymobile.com/global-en/tools/pc-companion/

0
Geo ZiDani On

After couple of days of fight with drivers I found solution and applied it with success. As I supposed and wrote in one comment above, the problem was not in adb drivers but with drivers (esspecially usb driver) installation. Shortly, to properly install drivers and run adb I need to clean cache drivers and rescan computer to rebuild driver information. I found description of similar problem here:

Windows 7: Unable to install any USB devices

Also I rewrite solution here for anyone who will have this kind of problem:

Here's the solution for the ones who might have this problem: This worked for me in Windows 7 Ultimate 64bit! You must have all administrator privileges!

1- Open Windows Explorer

2- Go to C:/Windows/System32/DriverStore

You will have a couple of folders and files. You will have *.dat files and other file named: infcache.1

3- Right click every file (dont touch the folders!) and choose properties.

4- go to security tab

5- click Edit

6- choose your account and check the box: full control (see ss)

7- Click ok.

8- Repeat to every file

9- Select all the files (*.dat and infcache.1)

10- Press shift+del

11- Press OK.

12- Now, go to C:Windows/System32/Driver Store/File Repository/

13- Search for folder named usbstor.inf

14- Open it (if you have more than one, choose the most recent)

15- Copy "usbstor.inf" and "usbstor.PNF"

16- Paste those two files to C:/Windows/inf

17- Reboot your pc and voilla! :b

If Windows doesnt install them automatically go to device manager, uninstall all unknown devices and the ones with the yellow exclamation mark, then click in "check to see if there is any hardware changes"

Now, Windows will install all your hardware successfully

After making all of this steps computer found automatically Sony Xperia Z3 Compact device, installed all drivers and adb show my device on the list. Finally it works well right now.

I hope it help if somoene will have simmilar problem in the future.

0
alijunior On

After all, without success, the device was found in Devices Manager but with question mark, and the driver was not found.

So I need to download the driver from Sony at

http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/

and manually update the driver.

So, after that, the device was recognized in Android Studio.

Thanks