If you are in need of pushing, pulling, or performing some other Android Device Bridge (adb) duties on your T-mobile G2, here’s how to make your PC recognize your device. By plugging in your USB cable to your PC, you’ll most likely see the following when issuing the “adb devices” command.
List of devices attached
The problem is that your PC does not have the correct drivers loaded. This just means your Windows based computer doesn’t know what to do with that phone of yours when connected. If you opened up your device manager, you’ll see an adb device with an exclamation point indicating failure to load drivers.
Assuming you already have adb tools downloaded, grab the usb drivers. This will appear under your “tools” directory. Now open up “android_winusb.inf” with notepad (or something equivalent) and add the following.
Right below “[Google.NTx86]” and “[Google.NTamd64]” add:
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91&MI_01
Now go back into device manager and perform the driver update option on that mysterious adb device we spoke about earlier. This will allow both 32bit and 64bit Windows PCs to see your G2 after it has been installed. These drivers were tested on Windows 7 Pro 64bit and confirmed to be working.