I was getting tired of the mtp throwing errors half the time, the directories loading two minutes (not exagerating), the copying taking taking hour, so i said screw it and made my own file transferer that uses ADB, which doesnt rely on the slow as MTP. I made it primarily for myself, but since i already made it why not share it :D
From my testing (over USB 2.0) of copying 8.4GB pictures folder, with my app it took 4m08s, approx 286Mbits/s. With MTP, it was showing it will take hour and 3/4, aprox 10Mbits/s
https://github.com/T0biasCZe/AdbFileManager/releases

edit: To go up a directory, double click the list header!

changelog v1.1:

  • Added ability to go above /sdcard/,

  • added text to double click header to go up

  • added pc2android copying

Video:

  • Teknikal@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Mtp is an awful protocol I switched to just using WiFi transfers when Google got rid of the normal mass storage.

  • Semmelstulle@feddit.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    I do not know any C but I’ll definitely try and fail compiling this for macOS because my Switch only connects to Android File Transfer and not to OpenMTP.

    Edit: oh no, the Switch doesn’t even support ADB because it’s running its own thing.

    Edit 2: btw why is it that some very specific modding tools are NEVER compiled for everything else but Windows? Of course I can always fire up a VM, but to me Windows is on the same level on my shit list as u/spez.

  • Unquote0270@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    This will be amazing if it works, I’ve been frustrated with mtp for so many years. Thanks for posting about it.

    Edit: Windows only FFS. Guess I’ll look at using adb itself as someone else mentioned here.

    • YonatanAvhar@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Once you have adb installed, you can just adb pull FILE to get a file from your device to your PC, or adb push SOURCE DEST to move it to the phone, not perfect since it’s command line only though…

      You can also use adb shell to get a standard UNIX shell on the phone

    • azuth@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      There is adb-sync which I tried and it works great. There are also related tools linked there but I haven’t used them.

    • Moonrise2473@feddit.it
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Yes, but after the 3-4 minutes that I need to spend to let the computer see the phone and vice versa

    • ijeff@lemdro.idOPM
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year ago

      It’s not working for me with my Windows 11 PC and Galaxy S23 Ultra. They can detect each other but just won’t send.