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:

  • Unquote0270@programming.dev
    link
    fedilink
    English
    arrow-up
    14
    ·
    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.

    • azuth@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      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.

    • jdaxe@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I just use cx file explorer, then I can mount my Linux PC using sshfs and transferring files is quite fast

    • 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

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

    I often use just plain old CLI adb push/pull. For Emacs users the built-in tramp-adb support is neat, you can use dired and other Emacs operations as if it was a local filesystem. I also run sshd in termux so scp and rsync are very handy too. Even sshfs mounts work but I use that less frequently.

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

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

    • Moonrise2473@feddit.it
      link
      fedilink
      English
      arrow-up
      3
      ·
      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

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

      I heard it was released for Windows, how well does it work? I might ditch the Samsung Link to Windows app then

      • Carighan Maconar@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        For me it doesn’t work at all. It keeps losing the phone, unable to find it. I suspect it’s some network rule or something with my custom DNS, but I cannot find specifically what it is.

      • gelberhut@lemdro.id
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        It works pretty well for me. But it can transfer files only, I think link has other features as well.

    • ijeff@lemdro.idOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      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.

  • 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.

  • node815@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    I don’t really want to be a critic of this, but to my eyes,with the video sped up for the copy process it seems fake. I’d love to see a realtime video of this instead.

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

      It’s basically just using adb for the transfer in the background.