USB Transfer speed (i.e. using ADB) - OnePlus 2 Q&A, Help & Troubleshooting

Has anyone know Oneplus 2 USB transfer speed when copying large file using ADB? My Oneplus One ADB transfer speed is around 6 to 7MB/sec. I am wondering whether Oneplus 2 is any faster.

Related

[Q] USB file transfer speed

Has anyone tested how fast files can be transferred between the N7 and a PC over USB?
I guess I'd be mostly interested in write speed to load the device up before taking it somewhere. The OTG stuff sounds cool for long trips but most of the time I will probably just want to put a few GB of things on the internal memory.
I know the wifi will max out at 3 MB/s or less, I'm hoping the USB can do at least 10 MB/s? That is what I can effectively do currently with my SGS by using a card reader to load up a class 10 microSD card, which obviously won't work here.
How do you know wifi will be 3MB or less?
Hoping this is faster than the Playbook, which was around 5MB/sec or so. Not that big a deal at night but was a bit of a problem when trying to quickly load videos on it before leaving for work. iPad and A100 were much quicker to move videos onto.
goofball2k said:
How do you know wifi will be 3MB or less?
Hoping this is faster than the Playbook, which was around 5MB/sec or so. Not that big a deal at night but was a bit of a problem when trying to quickly load videos on it before leaving for work. iPad and A100 were much quicker to move videos onto.
Click to expand...
Click to collapse
It is only 20 MHz channels which means no higher than 65 or 72 Mbps theoretical which only delivers about 25-30 Mbps real throughput. Could get maybe 3.5-4 MB/s but no way higher than that.
No mobile devices are getting 40 MHz 802.11n channels until they start using Broadcom BCM4334 or similar wifi chip, the BCM4330 that the Nexus 7, Iphone 4S and Ipad 3 are all using doesn't do it, so I'm skeptical that anyone gets more than 3-4 MB/s over wifi with any of them.
So far... Way slower vs. Galaxy Nexus (via adb push)
bump...
~3000 KB/s vs ~1000 KB/s
Pushing the exact same file (MP4).
Anyone else getting less than stellar USB transfer speed performance?
certainly not a scientific test, but when transferring a 350mb MP4 to my phones class 10 msd and then also to the N7, it seemed faster on the N7.
I didn't time it or anything
seeing this thread got me curious though. Maybe i'll test it out this weekend
I seem to be getting about 1.25 MB/s via adb push, using Ubuntu on my PC. Is it just me who's getting such a slow speed?
And MTP mode is weird.. I mounted it with $ mtpfs, and I copied my whole old /sdcard/ directory from my Transformer to my N7. It took a loong time.
And then I copied my music folder, 1.9GB or something.. and after another loong time, I went to my MIUI music app [can't have anything other than Folder music apps ], and only .aac files were showing. I couldn't figure out why but all my .mp3 files [in 10s of subfolders] were dumped directly into /sdcard/ [instead of /sdcard/Matt/music/*/*/*].
Anyway, does anyone know why I'm getting such slow transfer speed over adb? I can test the MTP's speed, but I doubt it's any faster. at all.
edit: I guess I should mention I am also not using the stock MicroUSB cable, I am using a generic 6' cable from Amazon. I wonder if that has anything to do with it? Maybe I'll try with the asus cord.
edit 2: check latest post, #8
MTP and ADB transfers are generally slower then using USB Mass Storage mode (which I guess is gone on newer devices and Android OS's), but the exact reasoning for this I don't know.
espionage724 said:
MTP and ADB transfers are generally slower then using USB Mass Storage mode (which I guess is gone on newer devices and Android OS's), but the exact reasoning for this I don't know.
Click to expand...
Click to collapse
I wonder if it's possible to enable mass storage mode somehow? preferably without flashing a new rom..
Anyway.. Okay. So I was surprised to find out, but I just did a test on MTP, [via mounting with mtpfs on linux] and I copied a file at 14MB/s with MTP instead of 1.25MB/s with adb push.
O_O
The weird thing is, cp says it's done copying way before it actually finishes. It also says it cannot preserve timestamps:
"cp: preserving times for `/mnt/Matt/05.The Three Days of the Hunter Job.avi': Function not implemented
Command exited with non-zero status 1"
So I cp a file to /mnt/Matt/ [/mnt/ is my nexus 7 MTP mount location], and in 10 seconds it says it is finished, copying 349MB. So I check with adb shell and $ du -h {FILENAME}, and the size keeps going up! Until of course, it reaches 349MB.
So anyway, it's good to know I can now transfer at 14MB/s instead of 1.25 MB/s.
But I really wish Android had kept the Mass Storage Mode, just as an extra failsafe mode [and for people like me who don't like the MTP jazz, I like Mass Storage Mode]... oh well
Something I have noticed....
I have tried different cables, adb push, Ubuntu, Windows 7, Debian, USB 3.0 vs USB 2.0 and get the same results with all those different variables.
The biggest problem seems to be with multiple smaller files, such as mp3's or the blobs from nandroid backups. With large files like movies, or bzip2/tar files I get pretty consistent 15-20/MBs on all my systems.
My suggestion if it's reasonable for your situation, is to tar whatever you going to send over USB then untar once on the device. Taring should only ad about 1-2 minutes to the total process, but will still be faster than waiting for ultra slow tranfers speeds. I don't recommend compressing, as this will ad a significant amount of time for not much gain.
My Problem:
Copying a Nandroid backup, the blobs folder has a lot of smallish files and when I tried to copy the folder to my Nexus via usb, I got a ridiculous transfer speed of 750 KB/s! That is ubearable for 800 MBs of data, when I tarred the backup folder I got my much nicer speed of about 15MB/s. For my situatuion I was looking at least 18 minutes to transfer the data. With the tarred file it copied in under 1 minute + 2 minutes ( tarring/untarring)=much hapier me
the easiest way for me to untar was via 'adb shell'; busybox installed of course. Not sure if there is an app or tool for android that integrates extracting files like this with a gui format, that would make this even easier...hope this helps a little
r0zj0k3r said:
Something I have noticed....
I have tried different cables, adb push, Ubuntu, Windows 7, Debian, USB 3.0 vs USB 2.0 and get the same results with all those different variables.
The biggest problem seems to be with multiple smaller files, such as mp3's or the blobs from nandroid backups. With large files like movies, or bzip2/tar files I get pretty consistent 15-20/MBs on all my systems.
My suggestion if it's reasonable for your situation, is to tar whatever you going to send over USB then untar once on the device. Taring should only ad about 1-2 minutes to the total process, but will still be faster than waiting for ultra slow tranfers speeds. I don't recommend compressing, as this will ad a significant amount of time for not much gain.
My Problem:
Copying a Nandroid backup, the blobs folder has a lot of smallish files and when I tried to copy the folder to my Nexus via usb, I got a ridiculous transfer speed of 750 KB/s! That is ubearable for 800 MBs of data, when I tarred the backup folder I got my much nicer speed of about 15MB/s. For my situatuion I was looking at least 18 minutes to transfer the data. With the tarred file it copied in under 1 minute + 2 minutes ( tarring/untarring)=much hapier me
the easiest way for me to untar was via 'adb shell'; busybox installed of course. Not sure if there is an app or tool for android that integrates extracting files like this with a gui format, that would make this even easier...hope this helps a little
Click to expand...
Click to collapse
I've have the same "problem", if you can consider as problem...also with my old N95 and the micro sd card copying a backup I got ridiculoas speed...so i'm not surprised very much...
However, copying normal files like mp3 pdf etc i reach the max speed of 15 MB/s...
lebrac said:
I've have the same "problem", if you can consider as problem...also with my old N95 and the micro sd card copying a backup I got ridiculoas speed...so i'm not surprised very much...
However, copying normal files like mp3 pdf etc i reach the max speed of 15 MB/s...
Click to expand...
Click to collapse
700KB/s USB speed is actually a problem. MTP suffers from this problem. Phones/tabs with micro SD on older Android devices didn't Use MTP so you may not have had the same issue. I have never had anything transfer this slow on my older Android phones whether it was a lot of small files or big ones.
Sent from my Nexus 7 using xda premium
Well I was getting 1.25mb/s on big files too I think with adb (but my nexus burned in a house fire so I don't have to worry about it for now).
mvmacd said:
Well I was getting 1.25mb/s on big files too I think with adb (but my nexus burned in a house fire so I don't have to worry about it for now).
Click to expand...
Click to collapse
Sorry to hear about the fire,
Not sure why data was so slow. I guess I should add that I'm using Trinity kernel and system tuner to apply a couple sd tweaks. Maybe that has helped with my transfer speeds.
Sent from my Nexus 7 using xda premium

Nexus 4 to Nexus 10 USB transfer, without intermediates?

The back story
I got a moga pro and now I'm playing big games on my N4, problem is, I can only play one at a time due to my limited storage. I am trying to transfer Vice City 1.4GB using usb, which transfers at 20mb/s on my computer using USB. I am trying to replicate that on my Nexus 10, so far no luck.
What I've tried
DriveDroid https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid
StickMount https://play.google.com/store/apps/details?id=eu.chainfire.stickmount
USB Sharer https://play.google.com/store/apps/details?id=os.devwom.usbsharereval
My first attempt was with DriveDroid, which was designed to turn your phone into a dynamic bootable USB for linux ISO's. It allows you to make IMG's and share them as a USB Mass Storage Device. Using an OTG cable and StickMount on my N10, I was able to move files from my N10 to my N4 over USB. Problem is, that IMG has so far been unreadable by every extraction program I've tried, including Nandroid Browser and ISO Extractor. More importantly, the IMG would take up 2GB on my N4. If I can't mount it as a directory, than that would leave no way of giving those 2GB to an app. I tried flipping it around and putting the 2GB IMG file on the N10, but then the N4 couldn't mounted due to its notorious power issues. Even if I get a powered OTG adapter for the N4, that would still leave no way of transferring a 2GB game on the N10 into the 2GB IMG file on the N10.
My second attempt was USB Sharer, which allows sharing a virtual usb drive AND mounting it. This would in theory be the solution to all my problems, but it fails to mount on the N10. I tried Paragon and StickMount. Meanwhile it connects flawlessly on my linux laptop. It is not the OTG cable, as it works with DriveDroid.
My third attempt was mounting my phone as a PTP Camera using androids built in tools. Photo's transfer insanely quick, but I can't trick it into transfering a fake ".jpg" file. MTP is useless over OTG for some reason.
My hardware
N4, 4.2.2 Stock+Root
N10, 4.2.2 Stock+Root
OTG Cable, ASUS and Samsung original USB cables
My last desperate attempt would be to start a network over USB, if I can, and transfer using FTP.
Edit 1:
I am now looking for a way to mount ISO's and create them on a third party program (not DriveDroid).
Max file size I've ever been able to transfer was 680mb. Any more and it got rejected and said there was limited storage even though I had over 5gb free.

Connect 6p to other Android device?

So I've got a quick question here, basicly, I have an old xperia z I was using before I got the 6p,
Now I want to move stuff from the xperia to the 6p quickly without using pants Bluetooth lol,
Trying to use a usb-c to USB a, then a otg USB-a to micro usb but its not simply working, the 6p shows the drop down menu but no matter what I choose the xperia z recognises nothing, anyone know if I have to change settings or something? Maybe some other way to transfer? As I don't have a pc or laptop, only a nexus 7, nexus 6p and an xperia z.
Cheers
You could use Dropbox, Google drive or a similar cloud file storage service.
Sent from a 128th Legion Stormtrooper 6P
Worth a thought, take it no USB otg then? Got quite over 40gb to transfer so could take a while on my connection xD
You can do this with es file explorer and transfer files directly with WiFi. But if you're doing 40 gigs I would personally Xfer them to computer then back to new phone to make sure the WiFi Xfer doesn't get messed up half way through
WiFi menu -> ... -> Advanced -> Wi-Fi Direct.
Do this on both phones. Connect them. Send files across.
https://play.google.com/store/apps/details?id=com.majedev.superbeam&hl=en
Et. al.
Cheers for the ideas guys, couldn't transfer to a comp then over since I don't have one, so what I did is bought a usb-c hub with micro SD reader, transfered stuff from SD card to nexus, delete, then move rest of stuff over using SD as its only 32gb card, works nice, just es doesn't recognise the SD card in the hub, had to use built in explorer

Transfer large files/folders from 6P -> 6P

I just got a new warranty replacement 6P. I want to copy my TWRP backup from one to the other, and the simplest way would seem to be using the USB-C to USB-C cable and USB-OTG... maybe. I can't imagine that I'd need to use wifi or an intermediary computer, this is 2016, right? Anyway, I tried connecting the two and can't seem to find a way to do it. Anyone know of any tricks?
truedis said:
I just got a new warranty replacement 6P. I want to copy my TWRP backup from one to the other, and the simplest way would seem to be using the USB-C to USB-C cable and USB-OTG... maybe. I can't imagine that I'd need to use wifi or an intermediary computer, this is 2016, right? Anyway, I tried connecting the two and can't seem to find a way to do it. Anyone know of any tricks?
Click to expand...
Click to collapse
What about using the app shareit
https://play.google.com/store/apps/details?id=com.lenovo.anyshare.gps
Sent from my Nexus 6P using Tapatalk
funnel71 said:
What about using the app shareit
https://play.google.com/store/apps/details?id=com.lenovo.anyshare.gps
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Thanks but I believe that uses Wifi. I ended up using ES File explorer wifi transfer and it took almost an hour. USB 3 would've probably taken 5 minutes.
truedis said:
Thanks but I believe that uses Wifi. I ended up using ES File explorer wifi transfer and it took almost an hour. USB 3 would've probably taken 5 minutes.
Click to expand...
Click to collapse
I don't think you could have made the file transfer that fast, even with USB connection since even though the N6p has USB C it only supports USB 2 speeds and not USB 3.
Whenever I transfer all my TB files to my computer (which is around 10 GB of data) it always takes at least 10-20 minutes.
HueleSnaiL said:
I don't think you could have made the file transfer that fast, even with USB connection since even though the N6p has USB C it only supports USB 2 speeds and not USB 3.
Whenever I transfer all my TB files to my computer (which is around 10 GB of data) it always takes at least 10-20 minutes.
Click to expand...
Click to collapse
Thanks for the info. USB 2 is massively disappointing!

Fastest file transfer from phone to PC

So MTP is unreliable and not always fast, wireless transfer with AirDroid and the like isn't always reliable or really fast, Mi Drop and other FTP solutions are in the same bag. I really miss the old USB mass storage mode, as it is fast and allows proper file management.
I stumbled upon this section under developer settings (default USB connection mode or sth like that), but I have yet to try it. The first option appears to be just regular MTP, what would MIDI be?
And what are your other suggestions for the fastest or smoothest file management between the phone and a PC?
FTP over AC wifi is my way to go for transferring files, i get around 40 MB which is fast enough for me, that is probably the speed limit for the memory used for this phone, because i get much higher speed on my laptop.
By the way i'm using Solid explorer built in ftp client to connect to an HDD (shared using ftp and samba) by my router
I have not yet installed USB driver on Windows Laptop.
With WLAN 802.11n connection over MyPhoneExplorer 1.8.12 to RN7 Hotspot (2.4 Ghz) I get transfer rates of 5-6 MB/s. 5 Ghz Hotspot seems not supported by my Laptop.
I could connect USB-C 2.0 (OTG) loading cable to either USB 2 or USB 3 on the Laptop.
Is it even possible to reach 20-30 MB/s over USB (like for external Drives connected trough USB2) or at least substantially better then 5-6 MB/s over the WLAN I have?
After applying a trick in Device Manager I was able to intall the USB MTP Driver.
I tried the transfer of a 1.7 GB file and the speed was 16-20 MB/s, so better then WLAN on the RN7 device.

Categories

Resources