Sunday, October 27, 2013

Getting Android SDK ADB to work on Windows 7

When I call someone from my Nexus 4, I can't hear the phone ringing or the person I'm calling. They do receive the call and can only hear static when they answer. If they call me, I can answer and again they usually hear some static, but I hear nothing. I've tried a factory reset (without reinstalling any apps), and I've tried rebooting in safe mode.

This was a known problem on 4.2.2 if you somehow had the old 4.2.1 baseband version, but the solution wasn't consistent for everyone despite Google support's involvement on their product forums (if you had developer skills it did seem that manually reloading the baseband worked). I didn't see anyone have this problem with 4.3. I'm now trying to install Cyanogenmod, as worked for some people in the past. This isn't the first time I've done this as I've used CM on a G1, G3 Slide, and G2. But it has been a while since using ADB, and in true Windows and Android time sink fashion, there is a bunch of unique weirdness you have to work through.

Here are the steps to get ADB working for my future reference, and maybe for someone's google search in the future. I'll add to this as I complete it.

Download Android SDK and unzip it on your computer to some place easy (preferably no spaces in folder and file names)
In SDK Manager (on the computer), select and download Google USB drivers
(next 3 steps are back on the phone)
In Settings>About Phone>Tap Build Number 7 times
In Settings>select Developer Options>select USB debugging
In Settings > Storage > USB Computer Connection > PTP (Camera)
In Windows Device Manager>Other Devices>Nexus 4> Right Click>Update Driver>Browse>C:..\androidsdkfolder\sdk\extras\google\
In Device Manager it should change to Android Device>Android Composite ADB Interface
Back on the phone you should get a prompt to allow debugging, click ok.
Now you can navigate in a command line to C:..\androidsdkfolder\sdk\platform-tools and type in 'adb devices' to see if your phone registered