ADB connection - Nexus 4 Q&A, Help & Troubleshooting

ADB recognises device while normally running, but not in fastboot. i tried installing the same driver on fastboot, but it still doesnt recognize it as ADB connection.

Adb commands aren't meant to work in fastboot. Only fastboot commands work in fastboot.
Sent using xda-developers app

thank you. ive vigured that i can use ADB in recovery, so thats good.

Related

[Closed] ADB Sideload issue

I had a problem and my wifi tablet is now bootlooping. So I looked into using adb sideload to re-install a rom.
When I enter sideload (twrp) and do adb devices it lists my device with sideload beside it.
C:\Windows\system32>adb devices
List of devices attached
0123456789ABCDEF sideload
when I try to sideload the rom adb c:\rom.zip I get error closed.
I tried adb usb to reset the usb but getting error closed.
C:\Windows\system32>adb usb
error: closed
By the way I am running windows 8
Really stuck any ideas!
I have been able to download the stock image and use fastboot to flash so I think I have the issue sorted!
I had the same problem three days ago. Try this method. It works for me write this on command " adb sideload filename.zip" hit enter don't put quote. If this not for you, go head try
adb push filename/data/media/
If you are on 4.2.2
adb push filename/data/media/0/
Good luck
Sent from my SPH-D710 using xda premium
Sideload mode is just a subfunction of your recovery. Create a blank .zip file and push it to the device using adb push C:\pathtozip\whatever.zip to abort. You'll be kicked back to your recovery and will be able to reboot.

How do I adb sideload to 6P in recovery mode from a mac?

I have done this from windows, but not having any luck on OS X (el capitain).
I can do adb commands when the device is booted (adb devices shows device). So I reboot into fastboot, and from there I get into recovery.
Once in recovery I select "apply update from adb" and the device waits.
However, on my mac adb devices doesn't show anything. Even after restarting adb daemon it still doesn't show device.
What am I missing? I assume I can do this on a mac?
did you install adb/fastboot into your path? do you have the latest adb/fastboot?
easiest Mac method for installing adb/fastboot: here.
Also for El Cap, see this.
Obviously pay attention to the part for El Cap users.
While the device is booted normally install the file using adb install <FileName> if you want to put an update.zip file on the phone. adb push update.zip /location on phone/
Thanks for the replies. I basically had to reconnect the device before entering apply update from adb .
All the paths and such were fine.
Sent from my SM-T810 using Tapatalk

Bootloader Problem

When I plug my phone into my computer, it recognizes it just fine. I can issue ADB commands without a problem. If I reboot to the bootloader, the computer no longer "sees" the phone. The phone shows that the USB is connected and ready, but when I type "adb devices" nothing shows up. I'm trying to flash TWRP but I can't if the computer doesn't recognize the phone. Can someone please provide me with a possible solution?
Only fastboot, no adb when in bootloader.http://forum.xda-developers.com/showthread.php?t=3200808
ADB is for in the OS... Fastboot is for the bootloader... You need to double check your instructions on how to flash TWRP.
Sent from my Motorola XT1575 using XDA Labs

Why can't ADB fastboot detect my phone?

When I type in fastboot devices my phone is not detected, I tried looking for drivers of this phone but I couldn't find it. If it doesn't work I guess I'll have to do it the long way via my computer.
I have ADB and fastboot programs installed.
Or I'll use titanium backup.
Because Samsung phones doesn't had fastboot mode the have download mode instead
Sent from my AO5510 using Tapatalk

ADB driver in booted vs fastboot status

Windows 7...
Seems I can have either ADB drivers installed for when the phone is booted or when the phone is in fastboot mode, but not both. I have fastboot ADB drivers installed now as I need them the most; it's easy to reboot the phone into bootloader. Am I stuck with one or the other? If I install the ADB driver when the phone is booted I lose the fastboot drivers. TIA.
I don't think you lose the drivers... you just can't see the device using ADB when in fastboot mode and vice versa.
vanish0104 said:
I don't think you lose the drivers... you just can't see the device using ADB when in fastboot mode and vice versa.
Click to expand...
Click to collapse
It's more like I have to install from a different driver package for booted vs fastboot condition. Both work, I just have to redo the driver install depending on the state of the phone. Seems odd.
Hey, I've been having a lot of trouble getting fastboot to work properly. I can get adb commands to work with my phone on but fastboot commands in fastboot mode don't work at all. I've been at this for about an hour.
I sort of get what you mean when you're saying you need to install separate drivers each time you want to switch between having adb and fastboot work. How exactly did you install "fastboot" drivers and how would I go around doing that? Help would really be appreciated!

Categories

Resources