T0biasCZe / AdbFileManager

Fast Android <-> Windows file manager using ADB protocol
444 stars 29 forks source link

[BUG] Can't transfer files from computer to phone #18

Open hnavia opened 5 months ago

hnavia commented 5 months ago

Describe the bug I'm trying to move the whatsapp directory to my computer. However, after a few seconds or a couple of minutes, the app freezes and goes unresponsive. Then the process stops and I end up with a partially migrated directory.

To Reproduce Steps to reproduce the behavior:

  1. Go to Directory where directory/file is saved
  2. Click on the directory/file to transfer to the phone
  3. Select '<' to start the copy
  4. After a few seconds I get the following message 'adb: error: failed to read copy response'
  5. The phone disappears from the application but it's still visible in Windows

Expected behavior Directory/file gets copied over to the phone

Screenshots image

Desktop (please complete the following information):

Additional context Had a similar issue when transferring files from the old phone over to Windows. Although I was able to eventually move the files successfully.

I'm transferring the Whatsapp directory from an old phone to the new one. the directory has a size near to 12 GB.

hnavia commented 5 months ago

I've restarted the computer and now I got the following message:

adb: error: failed to get feature set: device offline

image

The device I'm trying to transfer to is a Samsung S23 Ultra

hnavia commented 5 months ago

I think I might have an idea on the root cause.

I was using a USB-C to USB-C cable type. When switched to a Regular USB to USB-C it worked. However, I was unable to transfer files from the computer to the phone as after connecting the phone and start the transference, the phone kind of "disconnected" itself. I had to upload the file over to a Cloud Drive and then download the file from there.

telgareith commented 5 months ago

I forget the fix, but sometimes that happens if the port doesn't provide enough Power. If it works at all, the ADB stuff is working. It's a bug in AdbFileManager or your phone is simply dropping off USB.

I would troubleshoot this further with MTP and different cables and computers (MTP is the protocol for photo management mostly when plugged into a computer and its trusted), All non corporate windows versions since win7 support MTP.