Sign in to follow this  
Ying

Adroid USB driver problems

Recommended Posts

Ying    186
Hy all,

I'm having quite a few serious problems with making my Android game work on my Nexus One phone. After 3 days of hunting down solutions in the internet and trying them out, I'm beat and have decided to ask the nice folks at GameDev to see if anyone has a clue.

Short story:
When connecting the Nexus One for debugging, I can't get the ADB manager to recognize the device.

Long story:
Working with W7 and my Nexus (2.1) I was able to correctly compile and debug on the actual device. One day a automatic update came for 2.2, I updated and hadn't tried to do anything on the device since until a few days ago.

Steps:
Download SDK and USB drivers.
Set my USB Debugging enabled on the phone.
Connect Nexus One.
Windows auto-detects it as a hard drive.

Ok, no problem, google around a bit and find that it's getting the default drivers, so...
Go to My Computer / Manage / Device Manager
Under Disk Drives, right click on "Google, Inc.Nexus One USB Device"
Update device drivers
Browse my computer for driver software
Put the path (C:\Program Files\Eclipse\android-sdk-windows\usb_driver)
Click next.
Get a message with
"
The best driver software for your device is already installed.
Windows has determined the driver software for your device is up to date
- Disk Drive
"

It chooses the default driver? Oh well, google for a bit, and...
Unplug phone
Download usbdeview
Use usbdeview to remove the driver installations that referenced the Nexus one, google phone, or anything remotely similar.
Make sure USB Debugging is on.
Connect the phone.
(Windows installs the default drivers again)
Go to My Computer / Manage / Device Manager
Under Disk Drives, right click on "Google, Inc.Nexus One USB Device"
Update device drivers
Browse my computer for driver software
Let me pick from a list of device drivers on my computer
(With "Show compatible hardware" only "Disk drive" appears)
Click Have disk.
(Browse to the driver dir and select android_winusb.inf)
Click ok.
Get a message:
"
The folder you specified doesn't contain compatible software driver for your device. If the folder contains a driver, make sure it's designed to work with Windows for 32-bit systems.
"

Damm... ok, think, what now? Maybe it's corrupt?
Erase driver installation with usbdeview.
Errase driver downloads from disk
Download drivers again
Try to connect again
Same results.

Breathe in, breathe out. Maybe it hates Android 2.2?
{Painful process to flash a custom 2.1 ROM to the phone, unlocking it and voiding my warranty along the way}
Try same process again.
Same results.

Keep on searching, find a post that recommended to erase some registry entries, do so, no changes.

Keep searching. Find some other random solutions, try them, no results.

Idea: Maybe it's the auto-installation of disk drivers?
Forbid auto-installation of disk drivers
( http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/ )
Try again, no auto installed drivers this round, but still same results.

Cry. Turn to gamedev for help.

NOTE:
- Along the way there were a lot more tests and combinations of all the previous things.
- Also a lot of reboots and wiping everything clean, including a clean Win7 installation.
- I'm getting a bit desperate, I've put a lot of energy and time into this game, and bought the Nexus One just to test my games, got only a few weeks left to polish and debug, and I'm stumped not being able to test on a device.

Thanks people, any and all help VERY appreciated.

Share this post


Link to post
Share on other sites
falle1234    122
I experienced the same problems on my HTC Desire running Android 2.2

None of the official drivers in the android sdk worked. What solved it for me was the synchronization tool HTC Sync.
This included a driver that worked with W7 x64 and Android 2.2

Don't know if Google has any sync tools for the Nexus 1, but it could be worth a try.

Hope you find a solution.

Share this post


Link to post
Share on other sites
Ying    186
I fear there is no such thing. Thanks for the tip tough, anyone else has any suggestions? There must be a ton of Nexus One holders in here, any tips?
Or some suggestion of a more specialized forum to ask?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this