Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open MTP suddenly extremely slow in transfering files (Was very fast before)(MacM1) #258

Open
PhilipHoltzman opened this issue May 8, 2022 · 18 comments
Labels
bug Something isn't working

Comments

@PhilipHoltzman
Copy link

Prerequisites

If the following boxes are not ALL checked, your issue is likely to be closed.

  • [x ] Using yarn
  • [x ] Using node 10.x
  • [x ] Using an up-to-date master branch
  • [x ] Using latest version of devtools. See wiki for howto update
  • [x ] For issue in production release, devtools output of DEBUG_PROD=true yarn build && yarn start
  • [ x] Tried solutions mentioned in #400

Describe the bug

Like in title, 2020 mac m1 air. Downloaded openMTP and was working great for weeks.. Today transfering some mp3s and it is slower than passing them via bluetooth. I tried several different cables, and cannot think of any reason why. It just became painfully slow.. Freezing after 9min transfering 350mb of mp3s

Expected behaviour

Was a lot faster befoew

Current Behavior
Its insanely slow

Possible Solution

Not obligatory, but suggest a fix/reason for the bug or ideas how to implement the addition or change.

Steps to Reproduce (for bugs)
Provide a link to a live example or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant

Context
How has this issue affected you? What are you trying to accomplish?
Did you make any changes to the codes after cloning it?
Providing context helps us come up with a solution that is most useful in the real world.

Your Environment
Latest Mac OS

  • Node version :
  • Version or Branch used :
  • Operating System and version [e.g. macOS 10.14 mojave]:
  • App Version [e.g. OpenMTP-v1.0]:
  • Link to your project :

Attachments
Include if relevant,

  1. Open your Terminal and run the following code:
zip -r -X ~/Desktop/OpenMTP-log.zip "$HOME/Library/Application Support/io.ganeshrvel.openmtp/logs/"
  1. Attach the file OpenMTP-log.zip found in your Desktop folder here.

Or

  1. Open the App,
  2. Click on Help > Report Bugs.
  3. Generate and send us the bugs report.

Screenshots
If applicable, add screenshots to help explain your problem.

@PhilipHoltzman PhilipHoltzman added the bug Something isn't working label May 8, 2022
@ganeshrvel
Copy link
Owner

ganeshrvel commented May 27, 2022

What is the version of the OpenMTP that you are facing this issue?

@Leonidos
Copy link

Leonidos commented Jun 2, 2022

I downloaded the latest version today via brew. And I got very slow transfer speed too. 200mb audio book was copied for over 15 minutes. Like someone added delay between files or something.

mbp 16" m1 monterey 12.4
samsung note 20 utlra Android 12
OpenMTP Version 3.1.15 (3.1.15)

On old mac I had nice speeds.

Screenshot 2022-06-02 at 18 17 53

@ganeshrvel
Copy link
Owner

ganeshrvel commented Jun 2, 2022

The M1 support is still in it's alpha stage and i am working on it.

You can download the alpha version of m1 from here: #244 (comment)

@julien-leclercq
Copy link

I am also experiencing this, progress display shows a 13MB/s but a 14GB transfer is at around 10% after more than 1 hour

@landry314
Copy link

i just downloaded the newest version myself and copying 7000 files from my pixel 5 to my mac was fast, very fast, but now i am trying to copy them back and it is INCREDIBLY slow. this will take days? what is happening?

Screen Shot 2022-07-14 at 3 26 12 AM

@landry314
Copy link

landry314 commented Jul 14, 2022

This project hasn't been updated in a year. The file transfer is not working right.

I just figured I would use the terminal with adb and it works so fast!

If anyone is reading this, to copy a folder to your android from a mac and PRESERVE DATES (which is so important when copying images or your gallery will be screwed up), turn on ADB (in developer options, "USB debugging") then open the terminal on your mac and type this:

cd to YOUR platform-tools directory

then

./adb push SOURCE FOLDER ON COMPUTER DESTINATION FOLDER ON ANDROID

to use pull dont forget the -a flag...

./adb pull -a SOURCE FOLDER ON ANDROID DESTINATION FOLDER ON COMPUTER

@ganeshrvel
Copy link
Owner

Folks,
I am reading your comments. My work has been keeping me busy and now I am looking for a new one. The apple silicone support is almost there, I need to figure out a few things. Let me assure you that the project isn't dead and hopefully there will be a new pre-release pretty soon.

Regards

@ganeshrvel
Copy link
Owner

Folks, I am trying to figure this issue out. I will make the beta release for Apple silicone soon and hopefully this should get sorted as well.

  1. What OpenMTP, Android and macOS are you people on?
  2. Please download these OpenMTP versions and let me know whether the file transfer speed is slow on all of them
    a) OpenMTP-3.1.0.dmg
    b) OpenMTP-3.0.0.dmg
    c) OpenMTP-2.4.4.dmg
    d) Apple Silicone: OpenMTP.app.zip

Also please note MTP protocol in itself is a crappy implementation. The file transfer speed tends to get slower after a period of phone usage.

@PhilipHoltzman @landry314 @julien-leclercq

@ganeshrvel
Copy link
Owner

@landry314 I am aware of the Dates and the other metadata preservation issue. I am looking into it as well.

@landry314
Copy link

the date problem is also in android file manager which is why i need to use push for most folders. quite surprised google coded mtp so badly.

@Polovinkin
Copy link

Polovinkin commented May 3, 2023

Arrived to this thread via Google, was really surprised just like @landry314 when I had quite fast speed of loading of my photos from my S23 Ultra to my M1 Pro Mac, but when I'm trying to load something back, it's incredibly slow, so 10 months passed passed and this still wasn't fixed as it seems? :(

It took Open MTP almost two minutes to transfer 8 Mb worth of photos to my Android... I just can't understand why would it load it with a speed like that...
image

And what about metadata preservation? It's the main reason I'm trying to transfer some photos from my old iPhone to correctly transfer dates from exif's.

@PhilipHoltzman did you notice any change for you after this time?

@landry314
Copy link

this app is slow and deletes metadata. there are other better ones or just use push and pull commands in terminal with adb

@muradbu
Copy link

muradbu commented May 30, 2023

this app is slow and deletes metadata. there are other better ones or just use push and pull commands in terminal with adb

Which do you use?

@Polovinkin
Copy link

@landry314 which apps are you talking about in your comment?

@ganeshrvel is it really still not fixed after months and months?... :)

@landry314
Copy link

@landry314 which apps are you talking about in your comment?

@ganeshrvel is it really still not fixed after months and months?... :)

honestly, all the apps dont work right.

i just use adb push and pull now. it is fast and with the right flags it preserves dates...

in a terminal...

cd to YOUR platform-tools directory

./adb push 'SOURCE FOLDER ON COMPUTER' 'DESTINATION FOLDER ON ANDROID'

to use pull dont forget the -a flag to preserve dates.

./adb pull -a 'SOURCE FOLDER ON ANDROID' 'DESTINATION FOLDER ON COMPUTER'

@Polovinkin
Copy link

thanks! But as I understand, adb push (and I need to transfer photos from Mac to Android) do not preserve metadata, there is no -a flag for adb push. Did you figure out the way to preserve dates when moving data TO Android, not from it? :)

@ganeshrvel
Copy link
Owner

Hello everyone,

I'm planning a lightweight and modern rewrite of the app in the near future. This will be a complete GUI app overhaul from the ground up. In the meantime, I'll attempt to find a solution for this issue.

@landry314
Copy link

thanks! But as I understand, adb push (and I need to transfer photos from Mac to Android) do not preserve metadata, there is no -a flag for adb push. Did you figure out the way to preserve dates when moving data TO Android, not from it? :)

i just read online to use this:

adb push --sync

anyone have luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants