Adb slow transfer rates - Galaxy S I9000 General

Today got my girlfriends xperia x10 for modding and i recognized a very much faster transfer via adb. x10 2500 kb/s sgs only ~50 kb/s. I got this rates on every pc. Someone knows the reason?
Thanks.

You mean USB ADB?
C:\Users\darek.xan>adb push "C:\Users\darek.xan\Desktop\oc112_froyo_v217_alpha.tar" /sdcard/
4496 KB/s (6809600 bytes in 1.479s)
Click to expand...
Click to collapse
Not bad eh?
Make sure SGS in USB 2.0 mode (meaning NO 'your device can perform faster' windows notification).
I've observed that when device boots connected to PC (eg u start charging from 0%)
the mode is set to 1.1, and transfers are:
C:\Users\darek.xan>adb push "C:\Users\darek.xan\Desktop\oc112_froyo_v217_alpha.tar" /sdcard/
562 KB/s (6809600 bytes in 11.829s)
Click to expand...
Click to collapse
After simple replugging its back to 4-5 MB/s

Hi xan,
I got the driver version 5.2.0.5 in device manager of w7x64. Maybe there's a newer faster one?
Or there is a compatibilty issue with the usb-controller in my pc. I transfer 10 times slower as usb 1.1 in debugmode.
Edit:
Last test:
C:\Users\Markus>adb push C:\framework-res.apk.bak /mnt/sdcard/frame
27 KB/s (7684226 bytes in 277.518s)
Crazy he?

mr_at_sgs said:
Hi xan,
I got the driver version 5.2.0.5 in device manager of w7x64. Maybe there's a newer faster one?
Or there is a compatibilty issue with the usb-controller in my pc. I transfer 10 times slower as usb 1.1 in debugmode.
Edit:
Last test:
C:\Users\Markus>adb push C:\framework-res.apk.bak /mnt/sdcard/frame
27 KB/s (7684226 bytes in 277.518s)
Crazy he?
Click to expand...
Click to collapse
Well I got nice tranfers since forever..
My mobo has p35 chipset (ASUS P5K Premium), drivers... well from lastest kies, yes.

Related

[Q] Troubles with ADB on Windows XP SP3. Help.

Hi,
I have a Windows XP SP3 (i386) that just won't let me use ADB. It doesn't work in ways I will describe shortly, and it never worked, on none of the ROMs I had. I had four roms in total in the past 3 weeks: Rooted original 2.1, non rooted JPM, rooted Kyrillos 3.0 and now I run rooted Lestatious 2.0 Build 1.2.6, akin' to go for 1.7.0.
I am primarily a Linux user (fedora 14 x86_64), and adb works fine for me there. As does ADB over WiFi (both Linux and Windows). For all my needs so far, Linux was enough, ODIN worked from the start, so I never bothered to find what's wrong with the Windows' adb.
But trying out Lestatious, I now have the need to update the rom using Windows, and it wouldn't be bad at all to use some other already prepared scripts for Windows I stumple upon on the forums.
As far as drivers go, I have the freshest Kies installed. I have the necessary Android SDK parts installed. Debugging mode is selected on the phone.
Actually, I am at the point where I have the WHOLE Android SDK installed, and have spent way more time on researching and googling and debugging than I would've needed to convert Lestatious' batch scripts into bash ones. And almost literally, pulling my hair out.
I'm no total noob when it comes to flashing/hacking/rooting/modding devices. I've even done my own Pandora battery switch mod for PSP for God's sake!
But this just stumps me....completely.
All this behaves the same, no matter what combination of starting and killing adb I do, pulling cable out, disabling debugging mode, plugging in, unplugging, enabling debugging, plugging in, etc. It also makes no difference whether I use Android SDK adb or, let's say, Lestatious' supplied adb.
Also note that I have both tools and platform-tools folder in my PATH variable.
Code:
C:\>adb kill-server
C:\>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
C:\>adb devices
List of devices attached
myserialno;-) device
C:\>adb remount
error: protocol fault (status 72 65 6d 6f?!)
C:\>adb shell df
error: protocol fault (status 2f 64 65 76?!)
C:\>adb shell ls
error: protocol fault (status 73 71 6c 69?!)
C:\>adb root
error: protocol fault (status 61 64 62 64?!)
Although it does give me protocol fault, the device does disconnect/reconnect:
Code:
C:\>adb usb
error: protocol fault (status 72 65 73 74?!)
Phone does reboot:
Code:
C:\>adb reboot
error: protocol fault (no status)
Have to break this one, because it never returns:
Code:
C:\>adb shell
^C
Any help will be greatly appreciated.
Thank you.
can i post reply?
[email protected] said:
can i post reply?
Click to expand...
Click to collapse
STOP! NOW!
Sent from my ACID Lestatious 2.0 BUILD 1.7 Galaxy 3 FROYO
Sounds like a Samsung USB driver issue to me. Make sure you got the right ones. Are you using 64-bit or 32-bit windows?
Thom47 said:
Sounds like a Samsung USB driver issue to me. Make sure you got the right ones. Are you using 64-bit or 32-bit windows?
Click to expand...
Click to collapse
Thanks for taking interest in my problem.
I'm using 32-bit Windows XP (with SP3).
I did not fiddle with any drivers, I would if I found any . The drivers were installed with the Samsung Kies software. I also tried uninstalling and installing Kies. The Kies is version Kies_2.0.0.11032_12_9.exe downloaded from UK Samsung Support for Galaxy i5800.
Just to be sure, and because I have access to two completely identical machines (yes, hardware and software is the same, except the Android part).
On one machine I have the complete Android SDK, earlier version of Kies (updated yesterday to the latest version).
On the second machine I have only the latest Kies (never updated, installed it this morning). And no SDK, just Lestatious' adb.exe and AdbWinApi.dll.
The behavior stays the same.
Thanks
Well, try these. They're Samsung's USB drivers for our phone. If possible, try starting from the beginning eg. remove all traces of KIES and your phone, and then apply the downloaded driver. By this I mean "uninstall" the phone from your computer.
Thom47 said:
Well, try these. They're Samsung's USB drivers for our phone. If possible, try starting from the beginning eg. remove all traces of KIES and your phone, and then apply the downloaded driver. By this I mean "uninstall" the phone from your computer.
Click to expand...
Click to collapse
Thanks. I will try it as soon as I get home from work.
Thanks again.
Thom47 said:
Well, try these. They're Samsung's USB drivers for our phone. If possible, try starting from the beginning eg. remove all traces of KIES and your phone, and then apply the downloaded driver. By this I mean "uninstall" the phone from your computer.
Click to expand...
Click to collapse
So, I used usbdeview to uninstall the device first. Then I uninstalled Samsung Kies. And finally Samsung USB drivers that get installed with Kies automatically.
I rebooted, just to be sure. Installed the drivers linked in Thom47's post, and rebooted again.
I ran the adb start-server. Connected my device (which was correctly recognized, just as before). The end result is the same. Although status gives a bit different numbers:
Code:
C:\Documents and Settings\Miki>adb shell ls
error: protocol fault (status 1b 5b 31 3b?!)
C:\Documents and Settings\Miki>adb shell
^C
But looking at the adb client source code, I see that the numbers represent 4 Bytes of data read from some file descriptor when getting adb status. It's a bit too late to follow up what file descriptor, but as readx (used to transfer the first 4B from file descriptor into buffer) is sometimes used for reading device drivers because of its portability, this definitely points a finger to some sort of driver issue.
Just thought that it might help to list connected devices when the phone is plugged in (debugging mode, of course):
ADB Interface->Samsung Android Composite ADB Interface
Disk Drives->SAMSUNG GT-I5800 Card USB Device
Modems->Samsung Android USB Modem (is this supposed to be here?)
USB Controllers->SAMSUNG Android USB composite device
Click to expand...
Click to collapse
Update: I just quickly skimmed through the code to see what is the file descriptor, and it's actually just a socket connection to ADB port. So, if I understood it correctly, the first 4B read by readx are reply from the device (?!). Still could be driver related in my opinion.
Thanks
Right, well that's where my knowledge on linux and stuff ends, so I think you should make a new thread to some general forum, since this might not be related to our phone only.
Will do. Thanks for the help.
--
Sent from my GT-I5800

[Q] Installing Windows 8 Help

Hi
I need help installing on my hp windows 7 32 bit computer. I have made a bootable USB with windows 8 64 bit developer preview on it. I used this to install it on my mac computer. But when I try to open it up on my windows computer it can't be opened because of the bit difference. So I tried to boot from the USB using BIOS but it just opens Windows Boot Manager. The windows boot manager shows Ubuntu which is no longer on the hard drive. I have deleted the partition but it still shows up.
Any help would be much appreciated.
this is due to your processor being only x86 capable and not x64 capable. you can only run 32bit.
Thanks
Hi
Thanks for the help.
Download
Is anyone else getting slow speeds when dowloading the windows 8 developer preview from the Microsoft website? I'm getting 100 kb/s download speeds at most :/
einstein562 said:
Is anyone else getting slow speeds when dowloading the windows 8 developer preview from the Microsoft website? I'm getting 100 kb/s download speeds at most :/
Click to expand...
Click to collapse
Then why don't you search for mirrors??
einstein562 said:
Is anyone else getting slow speeds when dowloading the windows 8 developer preview from the Microsoft website? I'm getting 100 kb/s download speeds at most :/
Click to expand...
Click to collapse
I Was Having Same Problem.. :/

[Q]Failed to copy from sdcard to PC

Can't copy my stuff from Sdcard
Is this phone problem?
My PC
Windows 8 Pro 64 Bit
Samsung SSD 840 Pro 256GB
i7-3770K
8GB DDR3
GA-Z77X-UP5 TH
Well, unspecified is really not helpful when trying to find the problem...
Have you tried another USB port? What driver do your use to connect to your phone? At which file does the transfer break off? Have you tried skipping that if it's not important?
Also consider using some backup tool instead of manually copy/pasting the phones content.
danielms22 said:
Well, unspecified is really not helpful when trying to find the problem...
Have you tried another USB port? What driver do your use to connect to your phone? At which file does the transfer break off? Have you tried skipping that if it's not important?
Also consider using some backup tool instead of manually copy/pasting the phones content.
Click to expand...
Click to collapse
I tired another USB port and cable and it seems to work but it slow 0.7 Mbps and my SSD can write 500 Mbps.
I thought to contact Google about this and the volume button are hard to press
EDIT: After 5 mins I got this error again
d3one said:
I tired another USB port and cable and it seems to work but it slow 0.7 Mbps and my SSD can write 500 Mbps.
I thought to contact Google about this and the volume button are hard to press
EDIT: After 5 mins I got this error again
Click to expand...
Click to collapse
Use adb pull. See http://forum.xda-developers.com/showthread.php?t=2411965 for a detailed guide.
klvnhng said:
Use adb pull. See http://forum.xda-developers.com/showthread.php?t=2411965 for a detailed guide.
Click to expand...
Click to collapse
I can't even use my device on debugging mode . eclipse didn't show my phone on the devices list but it weird because my PC recognize it as nexus 4 and show details
EDIT: adb failed to find nexus 4 after installing drivers via nexus toolkit
UP somebody??
d3one said:
UP somebody??
Click to expand...
Click to collapse
Try to install drivers manually. My phone always copies files with USB debugging. Just tap Build Number about 10 times in About phone in Settings and go to Developer Options and enable USB debugging. When you plug in your phone to the computer and try transferring a file, it should work.
This is why I don't like the Nexus 4, it doesn't have an sdcard slot.
tykate said:
Try to install drivers manually. My phone always copies files with USB debugging. Just tap Build Number about 10 times in About phone in Settings and go to Developer Options and enable USB debugging. When you plug in your phone to the computer and try transferring a file, it should work.
This is why I don't like the Nexus 4, it doesn't have an sdcard slot.
Click to expand...
Click to collapse
So RMA??
Sent from my Nexus 4 using XDA Premium 4 mobile app
d3one said:
So RMA??
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Idk what the technical term is lol.
tykate said:
Idk what the technical term is lol.
Click to expand...
Click to collapse
I have several problems with my phone
1. volume buttons hard to press
2. overheating
3. can't copy from sdcard to PC
I have no idea what to do this is my second phone (last time RMA because dead pixel )
If I do RMA google will give me refund?
I got this phone since April

HORRIBLE USB data transfer speeds!!!!!

Ok, I was ok with the far-less-than-par speeds when pushing files to the phone from the computer connected via USB (2.0 in my computer). When it reached an all new low, this is what you get:
Mind you, the file I pushed is 1.8MB!!!!!!
Code:
$ adb push Dorimanx_2.0.zip /sdcard/ROMS/
3 KB/s (1778643 bytes in 435.309s)
Its not my laptop, I know that for a fact, as I can connect my Galaxy Nexus the same way, and push the same size file, in less than half a second, and I can repeat that over and over again, any time I want.
Anybody else have any insight as to WHY its so damn slow to do ANYTHING on the G2?
Im running stock VS98012B, rooted, debloated, Xposed framework (with 3 running modules), and nothing else special done to the system.
Maybe the USB cord is having compatibility problems with the G2?
Im using the cord that came with the phone.
Same problem here, mate. Very slow and also the transfer often freezes. Most of the time when I want to transfer a file I must disconnect and then reconnect the phone for the transfer to start. Really annoying... I have this problem on both stock and AOSP roms...
Sent from my LG-D802 using Tapatalk

Nexus file transfer tedious.

Hi all,
Of late i have been facing this issue of transferring media files from PC to my nexus 10. On connection, MyComputer just crawls and whenever it connects the file transfer bar shows virtually no progress. Even if the file is just a few MB. I also have 2 users on this tablet and on the other user the same thing happens. I have to do multiple restarts to fix this and multiple file transfers is not possible as the whole PC hangs and Windows Explorer crashes.
Any help will be appriciated.
PS. Windows 7 OS and stock N10 with 4.4.2
Hi,
While I can't help you with the Windows issue I can offer you a temporary solution! Which is using adb push.
To do as such please go to the Manta Help Thread and check how to set up adb and enable USB Debugging. From there you will now open a terminal in the folder you want to copy the files and type:
Code:
adb push *filename* /sdcard/
Now the file is in your Nexus 10, if you want to push many files, I suggest creating one folder with the files and pushing the folder itself.
Code:
adb push *foldername*/ /sdcard/
Hope this helps a little . I use it a lot since my Fedora can't recognise MTP hahaha .
~Lord
"All I ever needed was a little piece of hope" - World of Fantasy (Helloween)
Sent from my Xperia Z1
Have you looked at the wifi file transfer apps? - I've never tried them because I'm rooted and use Sambadroid.
Re the transfer speed problem I've a vague recollection that a USB 1 device, like a keyboard will pull other usb 2 devices on the same hub down to usb1 speeds. Have you tried other usb sockets? Other things you can try are disabling USB Legacy Support and enabling AHCI in your BIOS.
If you decide to pursue the USB problem then you may find these progs helpful
There's a microsoft program usbview.exe that you can get from MS here http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx It's also here http://www.ftdichip.com/Support/Utilities/usbview.zip . My copy is copyright 1996-98 and it runs under W8.1
http://www.nirsoft.net/utils/usb_devices_view.html
XxLordxX said:
Hi,
While I can't help you with the Windows issue I can offer you a temporary solution! Which is using adb push.
To do as such please go to the Manta Help Thread and check how to set up adb and enable USB Debugging. From there you will now open a terminal in the folder you want to copy the files and type:
Code:
adb push *filename* /sdcard/
Now the file is in your Nexus 10, if you want to push many files, I suggest creating one folder with the files and pushing the folder itself.
Code:
adb push *foldername*/ /sdcard/
Hope this helps a little . I use it a lot since my Fedora can't recognise MTP hahaha .
~Lord
"All I ever needed was a little piece of hope" - World of Fantasy (Helloween)
Sent from my Xperia Z1
Click to expand...
Click to collapse
Will try.
peterk-1 said:
Have you looked at the wifi file transfer apps? - I've never tried them because I'm rooted and use Sambadroid.
Re the transfer speed problem I've a vague recollection that a USB 1 device, like a keyboard will pull other usb 2 devices on the same hub down to usb1 speeds. Have you tried other usb sockets? Other things you can try are disabling USB Legacy Support and enabling AHCI in your BIOS.
If you decide to pursue the USB problem then you may find these progs helpful
There's a microsoft program usbview.exe that you can get from MS here http://msdn.microsoft.com/en-us/library/windows/hardware/ff551063(v=vs.85).aspx It's also here http://www.ftdichip.com/Support/Utilities/usbview.zip . My copy is copyright 1996-98 and it runs under W8.1
http://www.nirsoft.net/utils/usb_devices_view.html
Click to expand...
Click to collapse
Thanks
You've had a few tangential suggestions, the ADB push being the fastest with the hardware and software you have currently.
I don't actually store files on my "PC" really as my source, I store them on a NAS and then pull them either to my PC or my other devices. This makes all my devices "stateless" as I find individual devices I'm moving around with ultimately break more often so I prefer the NAS route. My NAS is a Raspberry Pi running Rasbian with a 1TB USB hardd drive and a 64GB OTG flashdrive.
You can add to the other ideas:
Airdroid which runs a small web server on your Android device and you access the Android device from browser on PC and push files, at Wifi speeds.
run web server on your "PC" and then in Android just get them in a download app. My "PC" is Linux and its running Apache and I either SSH from the PC to the Android and then wget the file or use of the file download methods inside Android.
USB OTG stick which also serves to augment capacity, I get about 22MB/s from USB to inside N10
One other indirect thing, is when you do a full Android flash wipe it seems to reformat and speed up the filesystem better than if you've done an upgrade, although I never benchmarked it to know, just an impression.

Categories

Resources