Droid, ADB Drivers, and Windows 7

Discussion in 'Android Hacks and Help' started by pcm2a, Nov 8, 2009.

  1. mosherjm
    Offline

    mosherjm New Member

    Joined:
    Nov 17, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    Randomocity,

    The PID on my device already matched the ADB Driver (41DB), so the driver appears to install properly from the get go. My problem is after it's installed I can't seem to get any of the SDK tools to work. "Error Loading Preferences". I was very close to building a ubuntu box to try on there, but apparently it's something I'm doing wrong because it seems from what I've read that some people have gotten this to work with Windows 7. I'm just out of gas trying to figure it out.

    I've reinstalled the SDK from scratch and re-installed the driver multiple times. Don't know what else I can try.

    Any ideas?

    Thx again.
  2. Randomocity
    Offline

    Randomocity New Member

    Joined:
    Nov 9, 2009
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philadelphia, PA
    Hmm, interesting situation. I do in fact have it working on Win 7 x64, so I can assure you it does work. 41DB is your PID from device manager? Mine shows up as 41E0.... Interesting for more purposes than one. Error loading prefs comes up when? When you try to load the adb shell?
  3. rubear
    Offline

    rubear New Member

    Joined:
    Nov 29, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    My solution-
    I am using Windows 7 x64
    1. Extract "Handset_USB_Driver_x64_v4.0.0.msi"

    2. Go to Device Manager

    [​IMG]

    right click on the Motorola device that does not have a driver (My images shows the driver correctly installed.
    3. Right-click, select "update driver software..."

    4. Browse to the extracted directory and click through.

    This worked for me. I was able to compile the demo apps, run, & debug on the Droid.
    BTW, my phone's PID is 41DB (Purchased on 11/27/09)
    -
    Robert
    Last edited: Nov 29, 2009
  4. JimIMD
    Offline

    JimIMD New Member

    Joined:
    Nov 30, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I was having a similiar problem but a more persistent variant. Using Windows 7 Ultimate (64bit) I could mount and see the Droid just fine, however Eclipse would never see the phone for debugging. I tried changing the USB driver PID reference from 41DB to 41E0, no luck. I tried Motorola's new "Mot Composite ADB Interface", no luck. I tried Google's new "Android ADB Interface" drivers, no luck. While checking the PID of the phone I stumbled across this workaround.

    -Open Eclipse and confirm that you cannot see your Droid to debug on it.
    -Now open a command prompt, cd to wherever you have your "\android-sdk-windows\tools" directory
    -Type "adb usb".

    This will force the debugger interface to restart in USB mode and you should now be able to see your Droid. Annoyingly you have to do this every time you restart Eclipse but at least it's something. I hope this info helps someone out threre who has been beating their head against a wall on this problem, and maybe helps the driver developers find a patch for this.

    Regards,
    Jim
  5. Randomocity
    Offline

    Randomocity New Member

    Joined:
    Nov 9, 2009
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philadelphia, PA
    Jim,

    Here's the best I can give you in regards to your problem. First and foremost you should be running the absolute latest version of ADB, as old versions do not recognize the driver, even if it is installed correctly. Also, try installing the motorola dev drivers from the moto site. Dunno if that will work, but I had those installed to just in case.

    Let me know if you have any other problems.

    If people continue to have problems with the current drivers, I can always zip my working drivers/driver pack and see if that helps.
  6. JimIMD
    Offline

    JimIMD New Member

    Joined:
    Nov 30, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Thanks kindly for the response. I think I'm running all the latest drivers but I would be grateful if you could post your working set. I will be glad to offer myself as guinea pig, install them, and provide feedback if that clears up the weirdness. I've built an app that worked on Android 1.5 and 1.6 but 2.0 has been a new kind of challenge.

    Jim
  7. Randomocity
    Offline

    Randomocity New Member

    Joined:
    Nov 9, 2009
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Philadelphia, PA
    I'll post the drivers when I get home from work tonight.

    Interesting situation though, is PID based on OS type? I noticed that when I hooked my phone up to my desktop (Running Win7x64) I had the 41E0 PID, whereas when I hooked my phone up to my XPx86 laptop, I had to re-edit the drivers to point back to 41DB.

    Anyone have any thoughts on that?
  8. Burgers
    Offline

    Burgers New Member

    Joined:
    Feb 5, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    Hi

    sorry if this is a noob question, but i have been reading and trial/error for hours..

    I have win7 x64 and my droid says Error: device not found when i try to run abd shell through cmd..

    i installed SDK and the 402 motrolla usb drivers.

    I saw that you mentioned changing the PID in the INF in device manager for win7 users..

    I cannot.. for the life of me... find what my PID is or where i would change the drivers PID..

    When i open up my comps device manager i See "Android Phone", but i cant find this PID#

    please help me :(
  9. kllian
    Offline

    kllian New Member

    Joined:
    Jan 20, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    i was having a similar problem, then i thought maybe usb debugging is not turned on. sure enough, once i enabled that on the phone, it showed up correctly on my win7 ultimate x64.

    Application Settings->Development->USB debugging (turn that on)
  10. gpsmapper
    Offline

    gpsmapper New Member

    Joined:
    Feb 5, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    I'm not a developer, but I am trying to get screen shots. I had no problem on my old laptop, but on my Win 7 64-bit laptop, no device shows when I run ddms.bat. USB debugging is connected.

    Any help would be greatly appreciated.
  11. romeov
    Offline

    romeov New Member

    Joined:
    Nov 3, 2009
    Messages:
    229
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Cleveland, OH

    I'm having this issue as well. I'm not a crazy programmer but I'll ask anyways:

    1. My Droid will sync and charge perfectly when I put it in debugging mode, using the drivers you provided here. (latest Moto drivers) but I hate having it debugging mode 24/7 when I want to connect... is there a way to get it to work without debug?

    Note.. I can still read/write to it without debug, but it sits there in the dock and the battery slowly dies as it won't charge

    2. Now that I have installed the drivers, can I uninstall the motoconnect tool? I'd love to have one less thing running. is it needed to connect/charge? thanks guys
  12. gemini0672
    Offline

    gemini0672 New Member

    Joined:
    Jul 27, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    In addition to what Randomocity had mentioned, in order for me to get my device to appear to ADB, I also had to update the Composite ADB Interface as well. I am running Windows 7 Ultimate 64-bit and this was able to get me working but it was a little bit of trial and error. I just went into Device Manager if there was the yellow exclamation on the device, pulled up the Hardware ID and then tweaked the inf file and when windows popped up the red box told it to install anyways. Definitely not as smooth as it should be given that this isn't Motorola's first device.
  13. wawzat
    Offline

    wawzat New Member

    Joined:
    Sep 15, 2010
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    @Randomocity: Thanks! I've spent hours trying to get my DX to connect to DDMS. Changing the device ID in android-sdk-windows\usb_driver\android_usb.inf

    To: ;Moto Sholes
    %SingleAdbInterface% = USB_Install, USB\VID_22B8&PID_4286&REV_0216&MI_01
    %CompositeAdbInterface% = USB_Install, USB\VID_22B8&PID_4286&MI_01

    (two separate locations in the .inf) worked for me.
  14. borge12
    Offline

    borge12 New Member

    Joined:
    Nov 10, 2009
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for that. After much frustrating, I figured it out after this. Though, I didn't read the part about two locations.
  15. msheppard
    Offline

    msheppard New Member

    Joined:
    Jul 22, 2010
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    Thanks a ton to randomcity et.al. for this thread - helped me solve the problem.

    I tried to recreate what I had to do in this blog post:
    Android USB debugging fail M@’s Blog

    Short version is - find out your device ID from device manager and update the inf file.

    M@
  16. marcbs
    Offline

    marcbs New Member

    Joined:
    Dec 8, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    droid 2 in xp...almost there. HELP please

    After 2 weeks of messing with this phone and pc, I stumbled onto this page and made SOME progress, but need help still. I am not a developer! My droid 2 in XP sp3 would not connect to pc or charge. Installed reinstalled,bugging on or off. My device ID was different than in the inf files so I deleted the extra 6 characters off the driver file, on 2 lines. the extra 6 were &MI_01. After reboot the phone now charges BUT is still NOT listed under my computer. The charger only works with debugging on, not off. The old yellow exclamation mark in device manager is now gone, but so is the listing for the droid. Please help!!!!!

    Just noticed that in device mgr. a new listing NOT under disk drives for the droid (as it is on my other xp pc that the droid works fine on). Here it is listed as ADB interface, MOT composite ADB interface, no yellow exclamation,

    Again charging but not seen under my comptuer or in Vcast or in Motorola media mgr........THANKS.
    Last edited: Dec 8, 2010
  17. georryan
    Offline

    georryan New Member

    Joined:
    Jul 25, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Finally

    For those still having problems...

    I tried a lot of things here and couldn't get it to work until I did the following:

    For all of those who haven't found a solution so far, I found an alternative that finally worked for me. So I did some playing around and found a solution for my Droid for a problem like this (Windows 7 x64).
    First I downloaded all forms of Motorola USB drivers for Android devices

    The following steps worked to make ADB functional again on my droid:


    1) Devices & Printers --> Motorola A855
    2) Right Click -> Properties
    3) Click on Hardware tab
    4) Click on the ADB Driver and hit "Properties"
    5) Click on the "Change Settings" button
    6) Click on the "Driver" tab
    7) Click "Update Driver"
    8) Click "Browse my Computer for Driver Software"
    9) Click "Let me pick from a list of device drivers..."
    10) Uncheck "Show Compatable Hardware"
    11) In the manufaturer pane, Choose "Motorola"
    12) Click on "Motorola USB Composite Device"
    13) Click next and agree to any dialogs that might pop up

    From here ADB and mounting worked fine for me.

    I found it at the following forum post: adb devices does not show Droid - Page 2 - MOTODEV Discussion Boards
  18. SATZINGER
    Offline

    SATZINGER New Member

    Joined:
    Feb 16, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I have the same problem - this is driving me nuts!!!
Search tags for this page
adb drivers droid x
,
droid 4 drivers for windows 7
,

droid x adb driver

,
droid x adb driver windows 7
,
droid x driver for windows 7
,
droid x drivers for windows 7
,
droid x windows 7 driver
,

motorola a855 driver windows 7

,

motorola adb driver

,

motorola adb driver windows 7

,
motorola droid drivers windows 7
,
motorola droid x drivers windows 7