ADB Disconnects when phone is in bootloader

asadabbas95

Member
Jan 6, 2013
23
1
0
So I'm trying to install TWRP through ADB, but every time i reboot my phone into bootloader, adb disconnects and my computer does not recognize it. This problem only recently started. I am on the official version of Nougat. Does anyone else have this problem and know a solution? Thanks!
 

DJBhardwaj

Recognized Contributor
Apr 23, 2011
4,995
2,645
253
27
Delhi
So I'm trying to install TWRP through ADB, but every time i reboot my phone into bootloader, adb disconnects and my computer does not recognize it. This problem only recently started. I am on the official version of Nougat. Does anyone else have this problem and know a solution? Thanks!
ADB is only supposed to work while the phone is loaded into the OS or in sideload mode. In bootloader mode, only fastboot will work.

So the correct command to flash the recovery would be:
Code:
fastboot flash recovery recovery-name.img
Example:
Code:
fastboot flash recovery twrp-3.0.2-1-angler.img
 

asadabbas95

Member
Jan 6, 2013
23
1
0
ADB is only supposed to work while the phone is loaded into the OS or in sideload mode. In bootloader mode, only fastboot will work.

So the correct command to flash the recovery would be:
Code:
fastboot flash recovery recovery-name.img
Example:
Code:
fastboot flash recovery twrp-3.0.2-1-angler.img
sorry my mistake, I meant fastboot. The problem I'm having is that i cannot even enter these commands. It disconnects as soon as it goes into bootloader mode.
 

ciocu

Member
Mar 7, 2007
40
6
0
Doha, Qatar
as weird as it may be, try changing the cable also

I was getting fastboot errors when flashing recovery few days ago, and just by curiosity,I tried with another cable.. it worked with no errors

one more thing.. if you send an adb command to reboot in bootloader, then you have to physically unplug your phone from the computer and plug it back again
only after that, fastboot devices command will show your phone in fastboot mode
 
Last edited:

asadabbas95

Member
Jan 6, 2013
23
1
0
as weird as it may be, try changing the cable also

I was getting fastboot errors when flashing recovery few days ago, and just by curiosity,I tried with another cable.. it worked with no errors

one more thing.. if you send an adb command to reboot in bootloader, then you have to physically unplug your phone from the computer and plug it back again
only after that, fastboot devices command will show your phone in fastboot mode
I tried all of this but it still doesn't work. It was working just a few weeks back when i installed nougat, but now it doesn't work. It's so strange. Any other suggestions?
 

TnT_

Senior Member
Jul 2, 2015
82
24
0
Grand Haven
I tried all of this but it still doesn't work. It was working just a few weeks back when i installed nougat, but now it doesn't work. It's so strange. Any other suggestions?
Does charging work fine? And did you try using a different computer? Try charging the phone with that cord that you're using. (even though it's really short, see if it charges steadily)