Installing ADB driver for phones of little-known manufacturers

Hello!
There was a need to get root on the smartphone DNS S5301, read on the network, w3bsit3-dns.com, etc. mostly links are outdated or not credible, I tried to solve it myself. There was a problem installing the ADB mode drivers.

As kAIST suggested , you can only download the driver http://developer.android.com/sdk/win-usb.html , unpack them and not go over
long way
Before installing the Android SDK, you need to download and install Java - at the time of writing - http://www.java.com/en/download/manual.jsp jre-7u45-windows-i586.exe.
Download the Android SDK ( https://developer.android.com/sdk/index.html ) for our operating system (I have Windows XP SP3 RU x86) - adt-bundle-windows-x86-20131030.zip at the time of writing. Unpack, run. \ Eclipse \ eclipse.exe, select Window -> Android SDK Manager,

wait for the data to update, scroll down the list, find the Google USB Driver, click “Install Packages”, agree with the license, download.

We go to the folder:
  • If you downloaded only the driver - usb_driver
  • If the Android SDK, then sdk \ extras \ google \ usb_driver \
you can make a copy, you can not do it , open the file android_winusb.inf in a text editor , we find entries of the form

[Google.NTx86]
;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01

We copy drains, for example
[Google.NTx86]
;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01

On the phone, be sure to turn on USB debugging mode (Main menu -> Settings -> Developer options), connect the phone to the computer, the system finds new devices, and refuse to install drivers.

Now open the device manager (Computer Management or Win + Break \ Equipment \ or any other available method), find your device there (I have S5301)

Go to the properties tab “Details”, select the line of the form USB \ VID_0BB4 & PID_0C03 & MI_01 \ 6 & 1E68B3CF & 0 & 0001 , click on copy it (Ctrl + Ins),

switch to our text editor, replace the lines that we previously copied to the data of our device by shortening the lines from USB \ VID_0BB4 & PID_0C03 & MI_01 \ 6 & 1E68B3CF &USB \ VID_0BB4 & PID_0C03 and USB \ VID_0BB4 & PID_0C03 & MI_01 :
[Google.NTx86]
;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C03
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01
;Google Nexus One
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_0D02
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_0D02&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E12&MI_01

The result is something like this:

Lines starting with ; - Commentary, and not important.
We save our file, select our device in the device manager, go to the properties, the “Driver” tab, click the “Update ...” button, do not agree to search for drivers in Windows Update, select “Install from the specified location”, check the box “Enable the next search location ”,

click“ Next ”, the system installs the driver.

Everything.

Due to the fact that a UFO flew in and did something, deviations are possible in any direction from the described path, therefore, at your own peril and risk.

Thanks for attention.
UPDATE
Experiments on getting root continue, on a Windows 7 64bit home laptop, you need to add lines to the section[Google.NTamd64] and not [Google.NTx86] :
[Google.NTamd64]
%SingleAdbInterface%        = USB_Install, USB\VID_0BB4&PID_0C03
%CompositeAdbInterface%     = USB_Install, USB\VID_0BB4&PID_0C03&MI_01

Also popular now: