Adb sideload not working - Nexus 5 Q&A, Help & Troubleshooting

Adb detects my device but whenever i try to flash something through sideload it say error closed ,i have win 8.1 is that a problem?
Sent from my Nexus 5 using XDA Free mobile app

bhavstech said:
Adb detects my device but whenever i try to flash something through sideload it say error closed ,i have win 8.1 is that a problem?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Can you run any other adb commands? adb devices for example?
Are you using your recovery properly to activate adb sideload mode?

rootSU said:
Can you run any other adb commands? adb devices for example?
Are you using your recovery properly to activate adb sideload mode?
Click to expand...
Click to collapse
only adb devices work

bhavstech said:
only adb devices work
Click to expand...
Click to collapse
So you've booted into recovery?
adb devices works there?
What recovery do you have?
how did you activate adb sideload in recovery?
What was the adb command you used to side load?
What is the full error?
Please answer all questions
Sent from my Nexus 5 using Tapatalk

rootSU said:
So you've booted into recovery?
adb devices works there?
What recovery do you have?
how did you activate adb sideload in recovery?
What was the adb command you used to side load?
What is the full error?
Please answer all questions
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
1.yes
2.twrp
3.twrp>advanced>adb sideload
4.adb sideload xyz.zip
5.error is "error closed"
can it be incompatibility with win8.1 bcoz this is the first time i m using adb win8.1 with before i used it on win7
edit: blustacks was creatin a problem its solved

Bluestacks? Interesting and good to know!
Sent from my Nexus 5 using Tapatalk

rootSU said:
Bluestacks? Interesting and good to know!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
yeah i reinstalled the driver (i thought my laptop had some issue with driver)then the error said :"more than one devices or emulators connected" so when i exited bluestacks(android app "emulator") it flashed properly

Related

[RECOVERY] CWM Recovery (ADB Fixed)

This is a fixed version pauls recovery, it has adb working, flash with fastboot!
http://rootzwiki.com/topic/26440-recovery-cwm-recovery-adb-fixed-evita/
Nice, thanks DG.
To run ADB do you have to be in any particular mode in recovery? I am on the initial screen and tried to do adb devices and it doesnt show my device.
NguyenHuu said:
To run ADB do you have to be in any particular mode in recovery? I am on the initial screen and tried to do adb devices and it doesnt show my device.
Click to expand...
Click to collapse
might want to check and make sure you have the drivers installed if you are on windows.
Dont have to do anything special, it starts adb when you boot into recovery.
Does the sd card mount works?
DG, when are you going to put what you are working on out for us buddy? I miss your work from the Captivate days.
Sent from my HTC One X using Tapatalk 2
nightrainbow said:
Does the sd card mount works?
Click to expand...
Click to collapse
No. same error as before when I tried to mount USB
nightrainbow said:
Does the sd card mount works?
Click to expand...
Click to collapse
haven't fixed that. I moved over to TWRP now.. going to that working now
[email protected] said:
DG, when are you going to put what you are working on out for us buddy? I miss your work from the Captivate days.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
as soon as we get all the important stuff up and running good
having a half working recovery sucks
By adb working do you mean using terminal emulator on the phone itself? Because adb works on the computer for me
Sent from my HTC One X using XDA
^+1
mikel.canovas said:
By adb working do you mean using terminal emulator on the phone itself? Because adb works on the computer for me
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
boot into recovery, with current recovery images you have no adb access. with mine you do.
i have drivers fine, my adb works fine when android is booted up. but in recovery mode, it still not working. ill flash the recovery again and see.
edit: flashed it 2 more times and this time it "stuck" and I have adb in recovery now. thanks dg
designgears said:
haven't fixed that. I moved over to TWRP now.. going to that working now
as soon as we get all the important stuff up and running good
having a half working recovery sucks
Click to expand...
Click to collapse
Thanks for the efforts man!!
Having this fixed will make this flashing process much easier..
I also have this booting now
designgears said:
I also have this booting now
Click to expand...
Click to collapse
Nice this is good to see, thanks again for your efforts. I remember running some good ole Cognition in my Captivate days.
How do you flash in flashboot?
Sent from my HTC One X using XDA
fastboot flash recovery recovery-clockwork-touch-5.8.3.1-evita-designgears.img
Thanks
Sent from my HTC One X using XDA
designgears said:
I also have this booting now
Click to expand...
Click to collapse
Oo. Is that touch recovery?? Can't wait to get that. Thanks for your hard work. Was a big fan when you worked on the captivate
Sent from my HTC One X using XDA
arnelolavides said:
How do you flash in flashboot?
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
You need to read some tutorials.
Sent from my HTC One X using XDA

Phone won't register in adb/fast boor

OK so the other day I was using my phone and it had cm10.2 on it. The phone started to act up so I went to recovery (cwm) and wiped everything but the sdcard. When I went to flash a new ROM the recovery said that it couldn't mount the sdcard so I instantly think OK let me try to flash twrp and this is where the issue come in...... I'm using Ubuntu and when I go into fastboot mode and plug the phone up Ubuntu/adb won't see the phone. I ran "adb devices" and it shows that the phone isn't connected even though in looking right at it and its plugged in.... Any ideas? Because I'm fresh out of them XD
Sent from my Nexus 7 using Tapatalk
If you're in fastboot in bootloader use fastboot devices
Adb won't work in bootloader
Sent from my One Xl using xda app-developers app
exad said:
If you're in fastboot in bootloader use fastboot devices
Adb won't work in bootloader
Sent from my One Xl using xda app-developers app
Click to expand...
Click to collapse
I know that, I said both because both of them aren't working. I did it on windows no problem but I still would like to know why it wouldn't pick up. I had the phone in fast boot and put in fastboot flash recovery (file location here) and got stuck on waiting for device. Did it on my moms windows computer no problem though
Sent from my HTC One XL using Tapatalk
Most likely something, who knows what, was interfering with the driver
Sent from my One Xl using xda app-developers app
As of now fastboot isn't working on Windows 8.1 due to driver issues. This might be the explanation for your problem.
Lol he was using Ubuntu?.....
Sent from my One Xl using xda app-developers app
fimbulvetr_nears said:
As of now fastboot isn't working on Windows 8.1 due to driver issues. This might be the explanation for your problem.
Click to expand...
Click to collapse
... I'm not using Windows man, look at the post again lol
Sent from my HTC One XL using Tapatalk

Lost OS and phone won't boot

I bought a Nexus 5 from someone and everything was working fine. I brought it home to flash another ROM and when I downloaded the zip file and booted into recovery, Team Win 2.6.3.1, I erased everything like I normally would but didn't realize this recovery wiped everything, the ROM on the root of the drive and the OS. So now I have a phone with no OS. I tried downloading the ROM to my laptop and mounting the phone over USB but it's not working. Any suggestions guys?
Two options, push a rom onto the device or side load it or flash the factory image
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Push it using ADB? Do you have the command I would type for this?
Where can I find the Nexus drivers? I wonder if that's why it won't mount through recovery?
lt1pnyklr said:
Push it using ADB? Do you have the command I would type for this?
Where can I find the Nexus drivers? I wonder if that's why it won't mount through recovery?
Click to expand...
Click to collapse
Google adb 15 second drivers xda
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Google adb 15 second drivers xda
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I downloaded all the drivers and I still cannot mount the phone. How do I push the rom to the phone through adb? Where can I find that command?
lt1pnyklr said:
I downloaded all the drivers and I still cannot mount the phone. How do I push the rom to the phone through adb? Where can I find that command?
Click to expand...
Click to collapse
If you used the tool you should have adb on your pc. Find which folder adb.exe is. Download any rom zip file and put it in that folder. Open a command window in that folder, shift right click on it and a pop up window will open where you can open the command window.
In the command window use adb push your rom.zip /sdcard/download. That should put the rom onto your device. You can then flash it in your recovery
Sent from my Nexus 5 using XDA Free mobile app
I've tried this but it seems without the phone being mounted nothing is pushing to it.
lt1pnyklr said:
I've tried this but it seems without the phone being mounted nothing is pushing to it.
Click to expand...
Click to collapse
Boot into recovery and type adb devices in a command window with your usb connected. What do you get?
Sent from my Nexus 5 using XDA Free mobile app
It show's the serial for this phone and says recovery out beside it.
lt1pnyklr said:
It show's the serial for this phone and says recovery out beside it.
Click to expand...
Click to collapse
Good, adb is working. Try pushing the rom again
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 08:46 PM ---------- Previous post was at 08:40 PM ----------
jd1639 said:
Good, adb is working. Try pushing the rom again
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
If that doesn't work then boot into twrp and go to advanced, adb sideload. Then from a cmd window type adb sideload your rom.zip
Sent from my Nexus 5 using XDA Free mobile app
I appreciate your help but nothing works! This is so frustrating.
ADB sideload is enabled on the phone and it's waiting. I typed in the command to push the file and nothing...
I also have an HTC One M7 that will not adb push roms to. This phone works fine though. It's the Nexus I can't get a ROM onto the sdcard.
lt1pnyklr said:
I also have an HTC One M7 that will not adb push roms to. This phone works fine though. It's the Nexus I can't get a ROM onto the sdcard.
Click to expand...
Click to collapse
See if you can use fastboot and flash the factory image. You might start with just flashing the cache.img to see if that'll work
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Where can I get the factory image? Also, what are the commands for fastboot?
I really appreciate your help with this I just want to get the phone working.
lt1pnyklr said:
Where can I get the factory image? Also, what are the commands for fastboot?
I really appreciate your help with this I just want to get the phone working.
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/images. Unzip it, inside there is a flash-all.bat. just run that
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
jd1639 said:
https://developers.google.com/android/nexus/images. Unzip it, inside there is a flash-all.bat. just run that
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks buddy. I was able to flash the stock image from Google. I'm surprised none of the ADB push commands or sideload would work. Now I'm unrooted but that's fixable.

cant flash ota(solved)

i have downloaded android sdk and ota but the sdk manager doesnt work
i still tried flashing at first it shows some error in flashing and now the device cant be detected in fASTBOOT IS IT DUE TO FAULTY SDK?
bhavstech said:
i have downloaded android sdk and ota but the sdk manager doesnt work
i still tried flashing at first it shows some error in flashing and now the device cant be detected in fASTBOOT IS IT DUE TO FAULTY SDK?
Click to expand...
Click to collapse
I don't think your issue is due to SDK
Did you correctly set up Fastboot/ADB and install USB Drivers?
BTW flashing OTA zip only requires a custom recovery.
bhavstech said:
i have downloaded android sdk and ota but the sdk manager doesnt work
i still tried flashing at first it shows some error in flashing and now the device cant be detected in fASTBOOT IS IT DUE TO FAULTY SDK?
Click to expand...
Click to collapse
You can download the zip located in this post for fastboot and adb to work http://forum.xda-developers.com/showthread.php?p=51694329
Android SDK is not needed in this case
Sent from my Nexus 5 using Tapatalk
Primokorn said:
I don't think your issue is due to SDK
Did you correctly set up Fastboot/ADB and install USB Drivers?
BTW flashing OTA zip only requires a custom recovery.
Click to expand...
Click to collapse
i dont have a rooted phone
bhavstech said:
i dont have a rooted phone
Click to expand...
Click to collapse
You don't need root for a custom recovery
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You don't need root for a custom recovery
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
but i need to unlock bootloader right which i will do afterwards
nevermind i had driver problems with my pc i updated through another pc

[Q] Flash kernel with adb sideload recovery stock

Hi guys.Is possible to install a kernel with usb debugging enbled with adb sideload(recovery stock) and without unlock bootloder?Can i do the same thing with fastboot?
merecol said:
Hi guys.Is possible to install a kernel with usb debugging enbled with adb sideload(recovery stock) and without unlock bootloder?Can i do the same thing with fastboot?
Click to expand...
Click to collapse
Which specific phone are you talking about?
I am talking about smartphones in general.Thank you for your answare
Sent from my SM-G900F using XDA Free mobile app

Categories

Resources