FORUMS

[Q] adb hangs during push of large files

288 posts
Thanks Meter: 114
 
Post Reply Email Thread
My HTC Incredible has 8GiB of internal storage. When I mount it to /emmc and try to push a large (>100MiB or so) file, the push will hang partway through -- no response, only Ctrl+C kills it. I know it has hung because I could check the status of the file via a separate 'adb shell', but the shell also starts returning nothing.

The weird thing is, if I push the large file in recovery mode, it always works completely fine.

If anyone has any suggestions, they'd be much appreciated.
knowledge561
24th July 2011, 11:38 PM |#2  
Guest
Thanks Meter: 0
 
More
Maybe adb cannot handle pushing a file that large while the phone is operating. It would be better to just copy it over while in recovery mode.

I Haz 3D!
24th July 2011, 11:47 PM |#3  
OP Senior Member
Flag Rochester, NY
Thanks Meter: 114
 
Donate to Me
More
That doesn't make sense though -- it would still count as a major flaw, the same as if your PC downloads stopped working while you played a game.

Even so, the phone is locked during the transfer, so another reason to think it might be more than that.
knowledge561
24th July 2011, 11:58 PM |#4  
Guest
Thanks Meter: 0
 
More
Yeah, adb has its flaws. I deal with the adb killing error. I never tried pushing a file over 10mb so I would have no idea. I do know the older root method for the HTC Evo 4G included pushing around 4 80mb files or so, so maybe reinstalling adb on your pc would work wonders.

I Haz 3D!
16th August 2011, 06:14 AM |#5  
OP Senior Member
Flag Rochester, NY
Thanks Meter: 114
 
Donate to Me
More
Found the solution -- I had been bitten by the kernel >2.6.35 slow SD card transfer bug. The transfer was timing out.

Using incredikernel with the fix apk, it's all golden now.
5th February 2018, 09:28 PM |#6  
Member
Thanks Meter: 8
 
More
Old thread, I know, but thought I'd just post in case it helps someone. Same issue here with adb push. By pressing various random buttons, I got it to restart - it is Alt+C while in the CMD window on a PC that seems to get it going again.
The Following User Says Thank You to m.mishka For This Useful Post: [ View ] Gift m.mishka Ad-Free
6th May 2020, 12:50 PM |#7  
asangam's Avatar
Junior Member
Flag Bharatpur
Thanks Meter: 0
 
More
Not sure if i had the same issue but i guess the command i gave was wrong.

adb push DCIM /sdcard/

Basically i wanted to push the DCIM folder inside the sdcard and the above command worked for me.
Make sure the slash is there infront and back of sdcard as I am pushing into the root of SDcard. I tried it without using the slash at the end and it froze like a minute. It took me some minute to figure it out what was wrong.

Just writing this if someone in the future has the same issue.
I am transferring 33GB photos from my Mac to OnePlus 6T so i dont think there is a lag for transferring file via ADB.
Post Reply Subscribe to Thread

Tags
adb, freeze, hang, push, recovery

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes