LG nexus 5 hammerhead running cyanogen - unable to connect to pc using adb - Nexus 5 Q&A, Help & Troubleshooting

Hi Team,
Greetings.
I have been using LG Nexus 5 running cm12.1 but since the moment I updated the phone to cm13 I have started facing lots of troubles. The phone boots up and stuck on cm logo also I did something and the twrp recovery is not seen anymore instead I only have cyanogemode recovery which is driving me nuts. The present situation I am facing is I can't connect my phone to the pc for me to reinstall twrp. I really appreciate your help in this matter.
Thanks a lot for your time.
Merry Christmas!
Jinson Jose.

So the phone is not detected when connected in fastboot mode? Adb commands are often used when the phone has fully booted into the installed rom.

audit13 said:
So the phone is not detected when connected in fastboot mode? Adb commands are often used when the phone has fully booted into the installed rom.
Click to expand...
Click to collapse
Hi Yes the phone is not detected and I tried adb commands too but in vain. I guess I messed up the phone while I am on cyanogenmode recovery by trying to format the phone.

Is the phone detected when you connect the phone to the computer in fastboot mode? ADB commands will not work in fastboot mode as you need to use fastboot commands.

Maybe it might be the PC drivers? I lost connection too and managed to restore it by using the driver setup module in Wugfresh's Nexus Root Toolkit. It will walk you through removing vestiges of old drivers and help install new drivers.

audit13 said:
Is the phone detected when you connect the phone to the computer in fastboot mode? ADB commands will not work in fastboot mode as you need to use fastboot commands.
Click to expand...
Click to collapse
No the phone is not detected. All I can see is a usb sign and it says nexus 5. I can't open nexus 5 files.

The computer is a Windows xp or win7 machine?
No devices are found and you run a fastboot command?

audit13 said:
The computer is a Windows xp or win7 machine?
No devices are found and you run a fastboot command?
Click to expand...
Click to collapse
Hi Thanks for your reply. The Machine is Windows 10. I tried fastboot commands as seen in one of the google searches. When I connect the phone it is not detected. I was able to see the nexus but I think I messed things by trying to factory reset and wipe cache using cyanogenmode recovery. Now the computer shows only universal serial bus devices when I connect the phone.

OP, hello...? Am I inaudible/illegible? Have you tried setting up the ADB/Fastboot via NRT as I suggested?

I don't use Win10. I do all of my flashing on a Win7 x64 machine and everything works perfectly when I am dealing with my Nexus 4, Nexus 5, and nexus 7.

I use Win10 with no problems. It must be the driver setup. NRT will fix it for the OP if he can clear whatever is preventing him seeing my post...

Related

Could use some help with ADB

Okay long story but here I go trying to shorten it up. My on xl is stuck with no backup, no rom, and my laptop that had the drivers on it broke. So I have been trying to get ADB working so i could push a rom onto it to flash but i havent had any luck. I installed the Jdk and sdk. Set up the path variable. Installed HTC SyncManager then ended the process. But it wont find my device. "adb devices" will just show nothing. However, in bootloader when i go to fastboot and i plug the usb in, it changes to Fastboot USB. But yeah, any suggestions?
ADb willonly work while in recovery or while the phone is fully booted you could just mount storage in twrp
OP, what machine are you using? Windows 7, 8, or XP?
Sent from my One X using Tapatalk 2

[Q] TWRP problem

I want to root my tablet so I flashed TWRP 2.6.0.0 using fastboot everything works fine.
But now I want to install the zip to root the tablet, problem is TWRP cannot mount any storage, internal sdcard external sdcard nothing at all is alway says E:Can't mount 'xxx' on anything I tap.
I tried CWM, and 2.5.0.0 and nothing seems to work.
I can boot fine in the stock OS, everything works fine but that
My bootloader is 10.6.1.27.1-20130711
Can anyone help me?
Ok now it is bad, I tried to factory reset using the bootloader (power + volume down)
It booted in the buged TWRP and now it keeps booting in TWRP and I cannot even reach the bootloader
Try using adb commands to boot into bootloader.
ADB reboot-bootloader is the command that I think you must use. Of course, use adb devices to see if your tab is listed.
______________________________
HTC Evo 4G LTE
aarsyl said:
Try using adb commands to boot into bootloader.
ADB reboot-bootloader is the command that I think you must use. Of course, use adb devices to see if your tab is listed.
______________________________
HTC Evo 4G LTE
Click to expand...
Click to collapse
I cannot get this to work on Windows 8, I have Asus Transformer ADB interface lister in device manager but I cannot see my device with the adb devices command.
Also, in TWRP when I try adb sideload it says failed.
win 8 is the worst OS you want to use when it comes to fastboot/adb (even with secpol.msc full admin access)
get your hands on a win7 / vista /xp
oh and TWRP2.6 is kinda bugged - flash 2.5 or lower
check this http://forum.xda-developers.com/showpost.php?p=44244313&postcount=12 but skip the steps you dont need (system, data userdata etc.)
cheers & gl
-Buster
Buster99 said:
win 8 is the worst OS you want to use when it comes to fastboot/adb (even with secpol.msc full admin access)
get your hands on a win7 / vista /xp
oh and TWRP2.6 is kinda bugged - flash 2.5 or lower
check this http://forum.xda-developers.com/showpost.php?p=44244313&postcount=12 but skip the steps you dont need (system, data userdata etc.)
cheers & gl
-Buster
Click to expand...
Click to collapse
I'm now on my laptop with Win7,
Ok so I tried to reset my device with a needle, but I cannot get it to the bootloader.
Still stuck in TWRP, I tried to go with ADB, I installer google usb driver from Android SDK, I cannot get it to be recognized by ADB, in the device manager I only see Transformer with a yellow "!", I tried with the Asus usb driver, nothing either.
Is there something else I can do to get this recognized with ADB? (fastboot doesn't work either)
I tried unpluging all, uninstalling all and reinstalling like 3 times.
Thanks for your help
Matiosse said:
I'm now on my laptop with Win7,
Ok so I tried to reset my device with a needle, but I cannot get it to the bootloader.
Still stuck in TWRP, I tried to go with ADB, I installer google usb driver from Android SDK, I cannot get it to be recognized by ADB, in the device manager I only see Transformer with a yellow "!", I tried with the Asus usb driver, nothing either.
Is there something else I can do to get this recognized with ADB? (fastboot doesn't work either)
I tried unpluging all, uninstalling all and reinstalling like 3 times.
Thanks for your help
Click to expand...
Click to collapse
fastboot should work. hold Vol-down and reset the device and keep vol-down pressed. it should go to fastboot. when you're in fastboot connect it to your laptop and see if the OS recognized your device - if not you have a driver issue. resolve that by installing the asus driver or the newest google generic drivers.
when you can see your device on dosprompt/powershel with fastboot devices then continue with getting recovery to work.
btw- stuck in twrp means? booting twrp (teamwin screen) but not responding?
good luck
-Buster
The problem is I cannot even get into fastboot, it keeps booting into TWRP, I tried to reset the tab with a needle, but I cannot reach fastboot in any ways
Matiosse said:
The problem is I cannot even get into fastboot, it keeps booting into TWRP, I tried to reset the tab with a needle, but I cannot reach fastboot in any ways
Click to expand...
Click to collapse
but you are still able to boot into android?
I was until I tried a factory reset, it wasn't working in Android so I did it in the fastboot menu.
Matiosse said:
I was until I tried a factory reset, it wasn't working in Android so I did it in the fastboot menu.
Click to expand...
Click to collapse
can you boot into twrp? and i mean just boot into it? so that you see install, backup, restore etc. buttons?
if yes - twrp has an adb mode
connect your tab in twrp to your pc (check that you can see it - adb devices) if yes type: adb reboot bootloader
and you should boot into that. test it with fastboot devices.
most important thing is that you get into fastboot or a working recovery to flash or prepare to flash a (custom) rom back onto your device.
Buster
I can get in TWRP on 2.5.0.0
But when I try ADB sideload it fails
The message is ADB sideload complete - Failed in red + lots of errors like Unable to mount '/data' '/cache' /system' pratically everything (note that I had the same problem of mounting when I was able to boot into Android)
Matiosse said:
I can get in TWRP on 2.5.0.0
But when I try ADB sideload it fails
The message is ADB sideload complete - Failed in red + lots of errors like Unable to mount '/data' '/cache' /system' pratically everything (note that I had the same problem of mounting when I was able to boot into Android)
Click to expand...
Click to collapse
learn to crawl before you run :angel:
Well I rooted 4 different android device and not a single one of them wasn't able to mount anything in recovery mod. I knew exactly what I was doing until I got in the recovery mod who won't even recognize my internal storage meanwhile I was able to perfectly boot in Android
Matiosse said:
Well I rooted 4 different android device and not a single one of them wasn't able to mount anything in recovery mod. I knew exactly what I was doing until I got in the recovery mod who won't even recognize my internal storage meanwhile I was able to perfectly boot in Android
Click to expand...
Click to collapse
dude - you can't boot into android anymore, you can't boot into fastboot to your own accord - yet you try to sideload stuff in twrp for what ever reason.
i gave you more hints and tips in my previous posts and link to get it to work yet it eems you did none.
so don't get me wrong - but what excactly is your goal here?
My goal is to get it working again...
I don't know if you've been reading my post but I did try everything you told me without sucess.
None of the tips I tried got me adb or fastboot working the sideload mode of TWRP doesn't work.
Matiosse said:
My goal is to get it working again...
I don't know if you've been reading my post but I did try everything you told me without sucess.
None of the tips I tried got me adb or fastboot working the sideload mode of TWRP doesn't work.
Click to expand...
Click to collapse
yes i read your posts - but im still unclear what you are trying to accomplish with sideload?
ok from the start:
when in twrp - connect your tab to your laptop - is windows working with it (drivers ok?) "adb devices" shows the device? if yes - adb reboot-bootloader (or fastboot reboot bootloader, not quite sure atm since i'm at work without micro usb cable) when issued the command is the tab rebooting? - and if yes, is it rebooting into twrp or fastboot? what screen is shown after that?
-B
ok from the start:
when in twrp - connect your tab to your laptop - is windows working with it (drivers ok?)
Windows isn't working with it, I tried Google usb driver, asus usb driver, universal adb driver, none of them work, this is where i'm stuck
"adb devices" shows the device? if yes - adb reboot-bootloader (or fastboot reboot bootloader, not quite sure atm since i'm at work without micro usb cable) when issued the command is the tab rebooting? - and if yes, is it rebooting into twrp or fastboot? what screen is shown after that?
Matiosse said:
ok from the start:
when in twrp - connect your tab to your laptop - is windows working with it (drivers ok?)
Windows isn't working with it, I tried Google usb driver, asus usb driver, universal adb driver, none of them work, this is where i'm stuck
"adb devices" shows the device? if yes - adb reboot-bootloader (or fastboot reboot bootloader, not quite sure atm since i'm at work without micro usb cable) when issued the command is the tab rebooting? - and if yes, is it rebooting into twrp or fastboot? what screen is shown after that?
Click to expand...
Click to collapse
when its connected - is device manager at least showing it as faulty or not at all? (yellow triangle exclamation mark thingy, i just installed asus on my VM) -> see attached file
UPDATE: I succeeded to go in fastboot mode
I couldn't get my tab to be recognized by windows so I installer my Nexus 4 using the toolkit, when it was succesfully installed I could manually install my tab since the "android devices" option appeared in the list when you want to manually install a driver in the devices manager. So I could choose Asus ADB interface.
Now I can boot into Android, but it will go into TWRP as soon as I restart my tablet.
Now I will try the link you sent me to get TWRP recognize my storage so I can flash a new rom, I will let you know if something go wrong.
Thanks for helping

phone is only recongnized in bootloader and in system, but not in recovery

Hi all,
My phone is not recongnized by my PC in recovery, and I can't use adb command, but it is recongnized fine in bootloader and in system.
is there a specific driver for recovery i have to install? I am using teamwin
Thanks ahead!!
david0916 said:
Hi all,
My phone is not recongnized by my PC in recovery, and I can't use adb command, but it is recongnized fine in bootloader and in system.
is there a specific driver for recovery i have to install? I am using teamwin
Thanks ahead!!
Click to expand...
Click to collapse
anyone?
david0916 said:
anyone?
Click to expand...
Click to collapse
There is no specific driver. Do you have usb debugging enabled?
I had to uninstall and reinstall drivers. Mine did the same thing.
Sent from my Nexus 5 using XDA Premium 4 mobile app
david0916 said:
Hi all,
My phone is not recongnized by my PC in recovery, and I can't use adb command, but it is recongnized fine in bootloader and in system.
is there a specific driver for recovery i have to install? I am using teamwin
Thanks ahead!!
Click to expand...
Click to collapse
I have been having the exact same issue. Ive noticed that when I am in recovery and adb doesnt recognize the device, it seems like it is actually windows that doesnt recognize because i go into Device Manager and see Nexus 5 with an exclamation, and if I try to install the drivers for it, it says it cannot find the proper drivers in the same folder that i originally installed the drivers from!
I am very confused and this is pissing me off, because I should have the damn OTA already and I dont!!!!
david0916 said:
Hi all,
My phone is not recongnized by my PC in recovery, and I can't use adb command, but it is recongnized fine in bootloader and in system.
is there a specific driver for recovery i have to install? I am using teamwin
Thanks ahead!!
Click to expand...
Click to collapse
i am not rooted and do not have a custom recovery either. bur i had the same problem when i tried to side load update 4.4.1.
the problem for me was that the google usb driver that i installed did not have proper adb support for nexus 5. this is what worked for me. universal naked driver v. .73
downloaded and unzipped in a folder in desktop.
booted into recovery on the phone
windows chimed new hardware found, device manager showed nexus5 with an exclamation mark.
right clicked to update device software, pointed to unzipped folder, done.
this way after geting out of CMD phone is still recognized as MTP, so i can transfer files back and forth.
akmsr said:
i am not rooted and do not have a custom recovery either. bur i had the same problem when i tried to side load update 4.4.1.
the problem for me was that the google usb driver that i installed did not have proper adb support for nexus 5. this is what worked for me. universal naked driver v. .73
downloaded and unzipped in a folder in desktop.
booted into recovery on the phone
windows chimed new hardware found, device manager showed nexus5 with an exclamation mark.
right clicked to update device software, pointed to unzipped folder, done.
this way after geting out of CMD phone is still recognized as MTP, so i can transfer files back and forth.
Click to expand...
Click to collapse
just updated to 4.4.2 same way. except this time is was easier. no driver issue

[Q] kindle fire hd 8.9 has no bootloader adb doesn't work

hi im new here and tried to restore using twrp and the boot-loader didn't restore with it now it just gets stuck at kindle fire logo when booting adb doesn't see the device has no fastboot access i have tried many different unbrick utilities when connected to the computer it shows "Jem-PVT-Prod-04 please tell me how to get it back to booting and if possible stock os also has no twrp access i know the bootloader didn't restore but i don't know if anything else did either also sometimes if you leave it on the screen will randomly change to fastboot mode but fastboot still doesn't work when this happens
darkforce81 said:
hi im new here and tried to restore using twrp and the boot-loader didn't restore with it now it just gets stuck at kindle fire logo when booting adb doesn't see the device has no fastboot access i have tried many different unbrick utilities when connected to the computer it shows "Jem-PVT-Prod-04 please tell me how to get it back to booting and if possible stock os also has no twrp access
Click to expand...
Click to collapse
Are the ADB drivers for your device installed? If you're having trouble installing the drivers by (connecting the device to your PC) I suggest you download and install "ADB Universal Driver. Google search it and it will appear automatically.
That may give you access to adb commands.
Sent from my Nexus 5 using Tapatalk
that didn't work.
krishneelg3 said:
Are the ADB drivers for your device installed? If you're having trouble installing the drivers by (connecting the device to your PC) I suggest you download and install "ADB Universal Driver. Google search it and it will appear automatically.
That may give you access to adb commands.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I tried the universal drivers
but when i try to install any of the drivers is says "windows encountered a problem (device cannot start code 10 )"
thanks for trying though

fastboot cannot recognize device but adb can

usb debugging is enabled on device. running latest version of adb, fastboot. Have tried on both mac and win10 but same issue on both.
Oneplus 7 pro is running 10.3.0GM21AA
>fastboot devices
>adb devices
List of devices attached
966c8016 device
Trying to use fastboot to flash patched magisk img and install magisk.
Do you enter in fastboot in phone?
Sent from my GM1910 using Tapatalk
Yes tried from bootloader as well
fustyler said:
Yes tried from bootloader as well
Click to expand...
Click to collapse
bootloader-fastboot mode is the only time fastboot commands will work. I know you tried this "also". But I feel you are wasting your time trying to run fastboot when phone is booted (instead of focusing on the situation where fastboot should actually be working). adb and fastboot will not work at the same time by definition. Also, debugging does not need to be enabled for fastboot (only for adb).
redpoint73 said:
bootloader-fastboot mode is the only time fastboot commands will work. I know you tried this "also". But I feel you are wasting your time trying to run fastboot when phone is booted (instead of focusing on the situation where fastboot should actually be working). adb and fastboot will not work at the same time by definition. Also, debugging does not need to be enabled for fastboot (only for adb).
Click to expand...
Click to collapse
I have tried it from bootloader and still the same on my pc it just says waiting for device.
What else can I try?
fustyler said:
I have tried it from bootloader and still the same on my pc it just says waiting for device.
What else can I try?
Click to expand...
Click to collapse
Try a different cable, different USB port. Fastboot can be finicky sometimes. You can also go to Windows Device Manager, find the device, and see if you can manually select the drivers. There is a generic Android device driver that sometimes gets fastboot to work properly on some of my past devices. This is on Windows 7, haven't done this on WIn 10 yet, so not sure if it is exactly the same.
redpoint73 said:
Try a different cable, different USB port. Fastboot can be finicky sometimes. You can also go to Windows Device Manager, find the device, and see if you can manually select the drivers. There is a generic Android device driver that sometimes gets fastboot to work properly on some of my past devices. This is on Windows 7, haven't done this on WIn 10 yet, so not sure if it is exactly the same.
Click to expand...
Click to collapse
Have tried different cables and different machines both pc and mac
What's you gotta do is look up how to disable signature verification in Windows 10. Then once you done that stuff put your device in fastboot mode then on the window 10 PC open of device drivers find Android phone then bootloader update driver. There will be 2 choices for updating pick the on device one. Should do you right.
I had to do this after flashing the T-Mobile version to my international version with the msmtool and it locked my bootloader for me
Since adb is working, do an adb reboot bootloader and it'll then boot into fastboot. If you can't get a return on fastboot devices at this point, it could be you haven't oem unlocked your phone yet.
mnemesis said:
Since adb is working, do an adb reboot bootloader and it'll then boot into fastboot. If you can't get a return on fastboot devices at this point, it could be you haven't oem unlocked your phone yet.
Click to expand...
Click to collapse
I ran adb reboot bootloader from pc to boot phone into fastboot.
In the bootloader it states device state is unlocked
However fastboot devices ran from pc still shows no device.
billyt1 said:
What's you gotta do is look up how to disable signature verification in Windows 10. Then once you done that stuff put your device in fastboot mode then on the window 10 PC open of device drivers find Android phone then bootloader update driver. There will be 2 choices for updating pick the on device one. Should do you right.
I had to do this after flashing the T-Mobile version to my international version with the msmtool and it locked my bootloader for me
Click to expand...
Click to collapse
Thanks this fixed it.
Issue fixed by billyt1's comment above. case closed.
billyt1 said:
What's you gotta do is look up how to disable signature verification in Windows 10. Then once you done that stuff put your device in fastboot mode then on the window 10 PC open of device drivers find Android phone then bootloader update driver. There will be 2 choices for updating pick the on device one. Should do you right.
I had to do this after flashing the T-Mobile version to my international version with the msmtool and it locked my bootloader for me
Click to expand...
Click to collapse
This worked for me as well. Just to make it clear, rephrasing his reply. After disabling signature verification on windows 10, connect your phone in fastboot mode & open Device Manager on Windows & look for Other > Android device.If it is found, This means Windows 10 is not having proper drivers to recognize fastboot device. Now install "OnePlus_USB_Drivers_Setup.exe" & it will show pop up for installing driver & after accepting(this is blocked due to signature verification in normal situation), Android device will be recognized in fastboot mode.
Giri Prasad said:
This worked for me as well. Just to make it clear, rephrasing his reply. After disabling signature verification on windows 10, connect your phone in fastboot mode & open Device Manager on Windows & look for Other > Android device.If it is found, This means Windows 10 is not having proper drivers to recognize fastboot device. Now install "OnePlus_USB_Drivers_Setup.exe" & it will show pop up for installing driver & after accepting(this is blocked due to signature verification in normal situation), Android device will be recognized in fastboot mode.
Click to expand...
Click to collapse
ugh. I've tried all of these suggestions and still can't get the device listed in adb while in fastboot.
I even used the TOOL ALL IN ONE without success. Funny thing is, that program recognizes my phone being in fastboot and has it listed. But if I try to flash a recovery from there, it opens a command window and ultimately says there was an error in connecting to the device.
Any help is appreciated.
I have a similar problem. I tried to disable the signature. Installed a new Redmi Note 7 driver. The phone is recognized as an Android phone in the device manager. In Orangefox recovery it is recognized with ADB command. In fastboot it is not recognized. In Orangefox I can't format data. So my ROM is not booting up. So I want to flash fastboot ROM with Fastboot but in Fastboot device is not even recognized.
t
puyow18 said:
ugh. I've tried all of these suggestions and still can't get the device listed in adb while in fastboot.
I even used the TOOL ALL IN ONE without success. Funny thing is, that program recognizes my phone being in fastboot and has it listed. But if I try to flash a recovery from there, it opens a command window and ultimately says there was an error in connecting to the device.
Any help is appreciated.
Click to expand...
Click to collapse
Sorry on the late reply. Pretty sure you can only do fastboot boot boot(recovery).img or\and boot_a or boot_b. Wont let you fastboot flash boot.img.
billyt1 said:
What's you gotta do is look up how to disable signature verification in Windows 10. Then once you done that stuff put your device in fastboot mode then on the window 10 PC open of device drivers find Android phone then bootloader update driver. There will be 2 choices for updating pick the on device one. Should do you right.
I had to do this after flashing the T-Mobile version to my international version with the msmtool and it locked my bootloader for me
Click to expand...
Click to collapse
Thank you so much!
I also had same issue. my redmi note 6 pro and asus zenfone max pro m1 can be detected in adb but not in fastboot. tried everything. changing driver/disble signature verification. also tried virtual box ubuntu/window 7. but not succeeded. It is actually an issue with usb 3. so I bought usb 2 hub. now everything works fine.
Thank you Thank you Thank you Thank you Thank you Thank you...I have been fooling with this all day
Hi, I already solved this issue (but this only works for xiaomi phone (Redmi Note 7 to be specified), for other brands I think need to download your devices flasher/driver tool)
For Xiaomi user only
1. Download Mi Unlock Tool (https://mi-globe.com/download-xiaomi-mi-unlock-tool-all-versions/) (Version 4.5.813.51)
2. Extract the files anywhere you like
3. Run MiUsbDriver.exe to install the driver
4. Try fastboot devices command
I hope this helps you guys. The Mi Unlock Tool also useful to unlock device locked bootloader.
For other devices maybe can follow this tutorial
Fixed: Fastboot not detecting your Android device
Fix the Fastboot not detecting your device. If your device is not detected by the Fastboot then these tricks will really help you.
www.qasimtricks.com

Categories

Resources