• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ADB doesn't find device, while fastboot does. Why?

charliemops

Lurker
Jan 14, 2013
7
2
Hey guys,

I'm having some trouble using ADB commands on my phone.
I'm using CM 10 and I'm trying to revert to stock rom in order to unlock my sim card. In my extreme noobishness I must have messed something up, so I can't find my first backup, the one made before flashing CM10, so I'm trying to follow this guide in order to go back to stock. Before doing that I wanted to super-cid and s-off my phone, just to be sure that the final step of the process would surely run smoothly... however it seems I can't even take the first step!

Basically, what happens is that adb fails to find my device (if I run any command it says "device not found" and if I use "adb devices", it doesn't show anything in the list of found devices...).

The weird thing is that if I go into bootloader mode and use fastboot, then there is no problem, I can run commands and the computer sees the phone without any issues.

Moreover, if I turn usb storage on, I can access the files and folders on my phone through windows.

I've tried using "adb kill-server" and "adb start-server", to turn off my antivirus and firewall, to update and reinstall drivers and sdk tools multiple times, but still nothing.

USB debugging is turned on...

I'm really running short on ideas, so any input is appreciated!

Thanks!
 
you are trying to use adb commands within the booted OS,correct? adb commands are not available when the phone is in fastboot.

here are some basic trouble shooting steps:
troubleshooting connectivity issues:
-try a reboot of the PC
-try different usb cables and ports
-dont use a usb hub
-dont use usb 3.0
-make sure nothing capable of comunicating with the phone is enabled and running. htc sync,pdanet,easy tether,and even itunes have all been known to cause issues.
-windows 8 has been known to have issues. try a windows 7 or older machine

failing the above,
-i use these drivers for fastboot and adb(donwload and run as admin): http://downloads.unrevoked.com/HTCDriver3.0.0.007.exe

failing that,try manually updating the drivers in the following manner:
-put the phone in fastboot mode(select fastboot from the hboot menu)
-open device manager on the PC
-plug in phone,watch for it to pop up in device manager.
-update drivers with device manager,pointing the wizard to the extracted
driver download folder from above

note that you can check the connectivity of the phone,and make sure drivers are working by in the following manner:
-open cmd window. change to directory containing adb/fastboot utilities

-adb with the phone in the booted OS,usb debug enabled,enter:
adb devices in a cmd window

-fastboot with phone in fastboot,enter:
fastboot devices in cmd window

in either case,a properly connected phone with working drivers installed should report back the phones serial number.

i would give those drivers a shot. if all else fails,try restoring a stock backup,or flashing a stock rom(not running an ruu) and try it there. it may just be an issue with your rom.
 
  • Like
Reactions: charliemops
Upvote 0
Hi,

thanks for the replies. I've tried following the steps you suggested, but it's still not working.
I couldn't actually follow all the procedure suggested by scotty85 because the link to download the drivers gives me a 404 error... I'll try to look for them from a different source.
I'm starting to suspect that it's a rom problem, so I think I should probably revert to a stock rom, however, as mentioned in my first post, I, very sloppily, erased mine... do you know where I could get one? Or better, since what I want to do is to just perform a network unlock, can you suggest me any "light" sense-based rom that I can flash (in order to then revert back to CM after unlocking)? I was asking for a "light" one because I'm currently out of country and the internet connection here is awful (i.e. it's practically impossible to download anything greater than 300-500MB). I think I can fix all the other issues (super CID and s-off)when I'll be back in my home country... Thanks in advance!
 
Upvote 0
  • Like
Reactions: charliemops
Upvote 0
Quick update: I've solved all my problem switching from CM10 to a sense-based ROM (ViperOneS to be precise).
Now adb works perfectly and I've managed to unlock the sim.
Honestly I've no idea why adb wasn't working under CM10...

Must be a ROM issue... who knows?! haven't been using CM since the HTC ONE X.. and that was a fail from my point of view..
 
Upvote 0
Same issue here on PACman ROM. Fastboot yes, adb no.

Windows says the phone is reporting an error so the driver installation fails. I am going to try another ROM since PACman is randomly restarting. I was just trying to get SuperCID first but I can't without adb.

EDIT: It was definitely a ROM issue. I reflashed this ROM and now there was a popup on my phone asking to allow adb from my computer. I clicked yes and it works now. It never popped up before.
 
  • Like
Reactions: scotty85
Upvote 0
Hey wassup everyone. For the adb issue its a cyanogenmod issue because adb works fine on sense roms without changing drivers. Here's the fix for it I believe (edit: new users cant post links wtf?? anyways just google the phrase "adb not working on cyanogenmod" and the fix is in the first search result that pops up (its an xda link)
 
Upvote 0
I have a win7 x64 system and had exactly the same problem. I solved it using the following steps :

  1. Download the htc win7 x64 driver from here
  2. Unpack it
  3. Go to 'Device Manager', right click "Other Devices->HTC" and select 'Update Driver Software - HTC'
  4. Select 'Browse my computer for driver software'
  5. Select 'Let me pick from a list of device drivers on my computer'
  6. Select 'Android USB Devices' & select 'Next'
  7. Select 'Have Disk' and select the folder you unpacked the HTC_Driver_64 to
that's it, the 'adb devices' command should now give output
 
  • Like
Reactions: scotty85
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones