Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemdro.id
android·Androidbyijeff

T0biasCZe: Android MTP is extremely slow... so I made my own application with C# and ADB thats 28x times faster. Perhaps you may also find it useful... :D

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:

T0biasCZe: Android MTP is extremely slow... so I made my own application with C# and ADB thats 28x times faster. Perhaps you may also find it useful... :Dhttps://github.com/T0biasCZe/AdbFileManager/releasesOpen linkView original on lemdro.id
131

23 replies

programming.dev

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.

15

I love KDE Connect and I don't even use KDE. Automatic pausing of media playback when someone calls is magic

7
azuthreply
lemmy.world

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

6

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

3

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

2

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.

10

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

8
feddit.it

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

3
ijeffreply
lemdro.id

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.

3

Pretty strange. It's definitely enabled for me.

1
lemmy.world

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

3

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.

3

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.

4
lemmy.world

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.

1

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

1

You reached the end

T0biasCZe: Android MTP is extremely slow... so I made my own application with C# and ADB thats 28x times faster. Perhaps you may also find it useful... :D | Spyke