ADB-Explorer icon indicating copy to clipboard operation
ADB-Explorer copied to clipboard

Crashes on large file transfer

Open Alex4SSB opened this issue 1 year ago • 2 comments

Copied from a Microsoft Store review by Matthew, v0.8.24030

I downloaded this to try and copy all my photos (49.3GB, 5087 files) from my Samsung Galaxy S22 Ultra Snapdragon to my PC. This works (doing a Pull operation) for small directories. But when I try the main camera directory where 99% of this data lives, it copies about 100 photos/videos and then the app crashes.

Diagnostic info: the phone also loses connection while this occurs, making Windows sound off that the device was disconnected/reconnected. The problem occurs quite reliably.

Update: it looks like it copies without a crash if I open the photos directory using this app, control+A all files, then do a Pull on them this way. What was crashing was doing the pull on the directory itself one level up. So maybe some combination of trying to pull files and query for the size at the same time causes a problem, but when the size is queried first (ctrl+A) the pull goes off smoother, but still fails after 3,465 files.

Alex4SSB avatar Apr 20 '24 13:04 Alex4SSB

Same here with:

  • ADB Explorer 0.8.24060
  • Google Pixel XL 128 GB (G-2PW2100, Samsung UFS, Hynix LPDDR4)
  • Windows 11 (Intel)
  • USB 3.1 Gen 1 (SuperSpeed) connection

App doesn't crash but device disconnects (shows as "offline" when checking with "adb devices" command) and file transfer stops. Disconnects after transferring ~100 files in either of these cases:

  • Push, selecting folder with many files
  • Push, selecting many files

MTP works (not ideal though), ADB push from command line works (extremely slowly, about 1 file per second)

laminarturbulent avatar Sep 03 '24 01:09 laminarturbulent

@laminarturbulent Have you tried connecting the phone by WiFi / mDNS? I see now that USB connection is one of the things common between you and the review from the store.

This sounds like an issue with ADB, or the way we use ADB, since each selected file is transferred in a separate command, unless they're all in a folder you selected. Maybe ADB over USB has an issue with that and just dies.

Alex4SSB avatar Sep 03 '24 19:09 Alex4SSB