MTP on Ubuntu/Mint/Debian - Galaxy Tab 2 General

With many devices not supporting mass storage anymore Android seemed to have moved from mass storage to PTP and MTP
With Windows supporting MTP by default and Mac OSX with an application there isn't any native support in Linux.
There are a few work arounds like gMTP but that didn't really work for me.
There also is another work around that requires you to edit some files.
To make it easier for others I wrote a little bash script, that does most for you.
Step 1 : sudo apt-get install mtp-tools mtpfs
Step 2 : Plugin your device
Step 3 : Open up a terminal
Step 4 : Type in : “mtp-detect”
Step 5 : Write the PID and VID down, you will need this later
Step 6 : disconnect your device
Step 7 : Download the script and execute it by sudo ./mtp (don't forget to make it an executable first)
Step 8: Follow the instructions on screen and after it's done reboot and plugin your device
Step 9: Use the command "android-connect" to mount your device and "android-disconnect" to dismount
It's not much, but I hope it helped someone.
Please let me know if it worked for your device/distro.
Original post
Tested and working on the P3110 and P5110.
EDIT 1:
(First) time mount can take up to 1-2 minutes, have had where it would mount in a few seconds, others half a minute. Be patient.

mussieonlinux said:
With many devices not supporting mass storage anymore Android seemed to have moved from mass storage to PTP and MTP
Tested and working on the P3110 and P5110.
Click to expand...
Click to collapse
Thanks for this. I think I have tried all this before and it has not worked, but will try again. A few things come to mind though. First, I think you have to turn USB debugging off, right? There is another thread where several of us are able to see the tablet, but not really get any files. Also there is a way to get the tablet to share PTP or MTP and that changes things too (PTP lets me see the top level but no subdirectories).
Will report back if this works or not.

I think USB debugging has to be on, at least for my phone. Mine is always on on all my devices.
Yeah you can see it in the file manager (1 for each SD card) with MTP but you can't access the files.
I am not sure about the PTP.. However for the MTP I just made a new folder in on my other SD card named extSD since MTP shows all directories of both sdcards in one directory.

mussieonlinux said:
I think USB debugging has to be on, at least for my phone. Mine is always on on all my devices.
Yeah you can see it in the file manager (1 for each SD card) with MTP but you can't access the files.
I am not sure about the PTP.. However for the MTP I just made a new folder in on my other SD card named extSD since MTP shows all directories of both sdcards in one directory.
Click to expand...
Click to collapse
Nope doesn't work with or without USB debug. I think the issue may be due to some problem with mtp-tools on 64 bit Linux. Are you running 32?
The mtpfs mounts but any attempt to list the mounted directory just hangs.

I am using 64bit, did you do the reboot and android-connect? If you are using nautilus you wont see your device under "Devices". You will see it above your filesystem.
Can you tell me what isn't working?

mussieonlinux said:
I am using 64bit, did you do the reboot and android-connect? If you are using nautilus you wont see your device under "Devices". You will see it above your filesystem.
Can you tell me what isn't working?
Click to expand...
Click to collapse
Well I'm using Kubuntu so no Nautilus. And I'm just looking at the mount point. My udev rules already have an entry for the mtd device. I also grabbed the latest libmtd and built it from source.
The fuse mount seems to work but any ls on the mount point just hangs forever.
Very strange.

At times like this I miss ubuntu
On my Arch (+XFCE), I use gMTP (uses mtpfs ofcourse). Most of the times it works, and then there are times when it is a pain in the a##. Gets stuck, does not respond, fails to copy what not.
I find the only reliable way is using adb.
Gosh! I push and pull everytime! :silly:

yeah, after a couple of days I found it not very stable at all, so I too switched over to ADB, it's not the fastest method. But we gotta get around, don't we?

I am also waiting for a permanent fix... Just switched back to Ubuntu from Windows 8 Preview, and I love it!!!
The only issue I have at the moment is the fact that I cannot connect directly to the PC from the Tab, although transfer speeds are better by removing the memory card and inserting it into the computer directly. Would be nice to use Rhythmbox to manage my MP3s.
I've tried a few solutions and nothing seems to work fully. I'll give the ideas mentioned above a try.

I have found my peace finally with qtADB.
By far the fastest, and most efficient app for this job.
qtadb[dot]wordpress[dot]com

Worked on my Galaxy S2 (i9100G) with cm10 nightly TY!

Worked only once! i get this...

Hello, this worked greatly on my ubuntu machine. Would this work on an ArchLinux headless PC? I'm willing to try it out if this doesn't mess anything up.

I can confirm this does not work on virtual box not sure on vmware as i dont have it so idk.

[email protected]:~$ android-connect
fuse: bad mount point `/media/GT-P3100': Transport endpoint is not connected
[email protected]:~$
As you can see above, i tried this for P3100. Can someone tell me what am i doing wrong here? I really want to handle my device from Ubuntu 12.04.

hi there,
in newer kernel - at this thime for example debain testing jessie - is kio-mtp implemented. this compinent load your nexus 4 mtp device autmotically like in windows. can access device via filemenager without doing steps in console before. in long time support distribution - example debian stable wheezy - this is not implemented yet. you can compile own your own to get this working
kio-mtp is for kde
gnome-vfs with mtp is for gnome

Works on Kali Linux with 3.14 kernel - HTC One with 4.4.3. Thanks a lot

Related

[Q] Ubuntu an A500

Hello!
I just came here to say that I cannot get mount my A500 on ubuntu ! Is it the same for you? How can I fix the issue?
(by the way, congratulations for rooting the tablet !!)
Thanks!
Same here, I found the windows USB drivers on Acer's site but linux drivers were MIA...
The Iconia A500 uses MTP not mass storage (in fact I believe this is a function of honeycomb as the same applies for the Xoom). There are drivers for Windows and OSX to allow access but on Linux it is a lot harder.
I did find a site detailing how to get things working on a Xoom and used this information (modified for the A500) to get access once but since then I have not been able to get it to work at all (this is on Ubuntu 11.04 when the instructions detailed how to get it to work in 10.10).
Also Banshee is supposed to support MTP but again I have not been able to get the A500 to work with this (I have yet to really look into this though).
sux i also use linux. using ftp or actually putting a sd card in every time, its very annoying
They really should leave an option to enable "mass storage" as a method of exporting the internal flash memory. Not everyone wants what these companies think is best.
still no solution?
I tried to adapt the method for the Xoom but it didn't work either !! :'(
jibweb said:
still no solution?
I tried to adapt the method for the Xoom but it didn't work either !! :'(
Click to expand...
Click to collapse
Apparently not. They stand on FOSS' shoulders, then crap on our with the added height.
I use adb to move stuff to my sdcard. Its quicker for me to use command line than a gui.
I already have adb installed and working for my phone so it just made sense for me.
doesn't you need driver to get the Acer A500 work properly?
I've already download the Android SDK but the only driver available is made for Windows
As folks have pointed out, the A500 does not have USB mounting support (yet) but does seem to have support for MTP. I found details on how to mount the Xoom onto Ubuntu Linux here. I have to assume these are the instructions that everyone is talking about above.
I am running 64 bit Ubuntu 10.10 (I unfortunately heard far too many dangerous things about 11.04 and it has become the only Ubuntu release I've not upgraded to). This instructions, modified for the Iconia A500, have worked for me. I've mounted and unmounted the device several times now.
I made some changes to the instructions. First my file is called /etc/udev/rules.d/51-honeycomb.rules. The entire file for me is:
ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3341", ENV{ID_GPHOTO2}="1", ENV{GPHOTO2_DRIVER}="proprietary", ENV{ID_MEDIA_PLAYER}="1", ENV{ID_MTP_DEVICE}="1", MODE="0664", GROUP="audio"
I've made my mount point /media/iconia.
At this point I've not put the structure in fstab, but am mounting and unmounting manually with the commands:
mtpfs /media/xoom -o allow_other
and
fusermount -u /media/iconia
but, again, this is working for me.
My only question would be this: this gives me access to /mnt/sdcard on the Iconia tablet. How might I get access to /mnt/external_sd ?
-----
Doc Kinne
Somerville, MA
Well congratulations then !! I'il try with your config file, should be way better than mine
But i'm on 11.04 (and i have to say that i had problems at the beginning but i booted on a live cd and i was able to upgrade from 11.04 to 11.04 (wtf?!?) and it solves everything )
Hi all,
Thanks for the instructions. I followed them and now am able to see my A500 under Ubuntu 11.04 (64bit). However while I can see the directories on the tablet I can not see the files.
If I plug the tablet in and copy a file to the tablet from my PC the file is visible. If I then unmount and remove the tablet and reconnect it, the files do not show in Nautilus (Ubuntu default file manager).
However if I look at the files with a file manager on the A500 the files are there.
Any ideas?
I've tried playing around with the UDEV rules but no matter what I do I am unable to get past this.
I have also tried this on a 32bit 11.04 Ubuntu machine and obtained identical results.
In short, is anyone able to offer any suggestions that will allow me to view my files on the A500 in Ubuntu's Nautilus browser consistently?
Thanks for making this forum a great place to learn about the tablet!
jk
When i transfer mp3 file to /music, all album folders end up empty except for album-arts. All mp3 files is located in /music.
And if i transfer a *.avi file to /video all looks good, but when transfer is complete there is no file stored on the A500.
Why this, anyone?
A500 mounted as mtpfs.
Can you mount an external microsd as mass storage and have Ubuntu pick it up? If you can, theroretically couldn't you just symlink the internal memory to a "folder" on the microsd? That's what I've done on the Mytouch 4G to get internal storage access,
Nick
Thank you so much kinnerc! Now i can sync my music with Banshee. YAY!

[Q] What's the micro usb port for?

Does anyone use the micro usb port? I have yet to find a use for it. I can't transfer files with it, charge with it nor are there any peripherals (that I know of) that can use it. I searched around but couldn't find much useful stuff on the port. All I found was this useless video:
**Ok I can't post the video because of more stupid forum rules but just go to youtube.com and append this after the url: /watch?v=1xBVu-IatDQ **
Anyway, if someone has ideas on how this port can be used I'm all ears... Thanks.
dq
It is a file transfer port. you plug a cable into it and into your PCs usb port. works like the ones on your phone.
Does it work for you? Because it doesn't for me. Nothing happens when I plug it into a computer. No automounting on the computer side or indication on the tablet that I can put it into "usb storage mode" like the 2.X Android versions do.
dq
don quixada said:
Does it work for you? Because it doesn't for me. Nothing happens when I plug it into a computer. No automounting on the computer side or indication on the tablet that I can put it into "usb storage mode" like the 2.X Android versions do.
dq
Click to expand...
Click to collapse
What OS are you using on your computer, and have you installed the drivers for it?
don quixada said:
Does it work for you? Because it doesn't for me. Nothing happens when I plug it into a computer. No automounting on the computer side or indication on the tablet that I can put it into "usb storage mode" like the 2.X Android versions do.
dq
Click to expand...
Click to collapse
Computer OS? i just plugged it into my Win7 system and it was there instantly. 3.0 shows up as a media device, which allows both the tablet and the computer to talk to the sdcard at the same time. So you won't see a mount prompt on the tablet. BTW my Incredible2 is running 2.3 and also lets me access the SD card on it and the computer at the same time.
I'm still using an old tiny xp and it worked fine for me just plugged it in and there it was
I tried Gentoo Linux and XP and neither worked. What drivers do I need to install?
I also have access to a Win7 system so I'll try that.
dq
Drivers from acer website.
I have adb installed should this not be enough?
You need none installed. ADB if its running in some form might be interfering. its just a basic driver in windows it uses.
I only run adb-server when I need it and not all the time. I thought that any needed drivers would have been installed when I installed adb.
For my Gentoo machine what should I do? It's not detected at all if I plug it in. My x10 mini and Nexus One are detected no problem and I can mount them and everything so what's up? Is there a kernel module that I need to build?
Thanks.
dq
I had to download these drivers for my xp netbook ,,
http://global-download.acer.com/GDF...A Tab&Step3=A500&OS=a05&LC=en&BC=Acer&SC=PA_6
I agree with Nova 5. The Windows drivers for USB come with the SDK and while you might not think you will have use for the SDK you will. It makes the process of installing custom ROM,s and Recovery Kernels a breeze. You download your zip flashes or recovery images to Win 7 and then you adb push your downloads to the tablet. The alternatives, unless soneone was nice enough to compile you an apk, which most advanced system developers don,t bother with, unless their app is destined for the massees throug Andriod market, is to install a terminal emulator and enter native Unix/Linux shell commands manually. If you aren't a shell cmd expert I suggest you immediatly download the latest Android SDK for Windows and start learning what it can do for you with just 2 or 3 adb push commands which can help you advoid 10's of lines of manually entered Linux shell commands that can do some real damage to your system if you are copying someone elses terminal emulator sh install instructions, don't understand what they do and make 1 simple typing mistake. With adb push you don't even have to get involved in Linux's complicated bit based permission changes to install something at the system level.
Sent from my A500 using xda premium
Yes, well I only really use adb in the same capacity as what you describe-- to root a device. After that busybox can be installed and I can either ssh into the device (which I prefer) or use the terminal on the device itself.
But my problem is the detection of the device once it is plugged into my Linux box. I'm not sure if I need a special driver for that and I'd rather not aimlessly search through the kernel config in order to build one (I've done that before and it's painful!). It's good to know that one can mount it on an external device and still use it simultaneously though. That will save me time in trying to fiddle around with settings in the tablet itself...
dq
don quixada said:
I have adb installed should this not be enough?
Click to expand...
Click to collapse
If you are not able to transfer files Try enabling usb debugging before connecting to pc.
If the tab is not in the usb devices list and it doesn't show up as an unknown device, you might want to try another usb cable. Or another port if you have the Windows and Linux on the same machine and you are trying to connect on the same port.
Sent from my A500 using XDA Premium App
gradyzero said:
I agree with Nova 5. The Windows drivers for USB come with the SDK and while you might not think you will have use for the SDK you will. It makes the process of installing custom ROM,s and Recovery Kernels a breeze. You download your zip flashes or recovery images to Win 7 and then you adb push your downloads to the tablet. The alternatives, unless soneone was nice enough to compile you an apk, which most advanced system developers don,t bother with, unless their app is destined for the massees throug Andriod market, is to install a terminal emulator and enter native Unix/Linux shell commands manually. If you aren't a shell cmd expert I suggest you immediatly download the latest Android SDK for Windows and start learning what it can do for you with just 2 or 3 adb push commands which can help you advoid 10's of lines of manually entered Linux shell commands that can do some real damage to your system if you are copying someone elses terminal emulator sh install instructions, don't understand what they do and make 1 simple typing mistake. With adb push you don't even have to get involved in Linux's complicated bit based permission changes to install something at the system level.
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Not nearly what I was saying. Not even close enough that a bomb would touch it.
Simple answer is my vista and win7 systems accessed the iconia as a media player device requiring no drivers as they are a common system driver. My only comment about ADB was that it might be interfering if it somehow was left running in the background.
I'm not sure what the problem is, but I had to play around with the settings and plug it in several times and finally it showed up. Now I plug it in and the dialog for auto play shows up instantly. When I choose to view files, I get a window with two drives. One is the internal storage and the other is the sd card.
sandiegoan said:
I'm not sure what the problem is, but I had to play around with the settings and plug it in several times and finally it showed up. Now I plug it in and the dialog for auto play shows up instantly. When I choose to view files, I get a window with two drives. One is the internal storage and the other is the sd card.
Click to expand...
Click to collapse
Sometimes mine gets a bit wonky as well. Every now and then, I'll plug it in, get the windows dialogue box asking me what I want to do. I open it up and the box is blank, no drives, nothing. Unplug it, wait a few seconds, pop it back in, and everything is OK. No rhyme or reason, and it doesn't happen all the time.
Quick trick for win7 .
Plug in the device.go into device manager delete its entry and the USB controller it resides on.unplug device.install driver from acer web site.then try the device again.
This works on several USB type issues
Good luck if you don't understand don't try

Getting Nexus S to mount on Linux

I just recently installed Arch Linux with KDE as the GUI and I can't for the life of me figure out how to mount my Nexus S. It doesn't show up in /media so I don't know how on earth I can mount it. I've tried in CWM with mount USB and still nothing shows up anywhere on my system. Prior to Arch I was running OS X (10.7) and it was mounting fine. Obviously very different OS and Arch is a lot more complicated to use. I've spent several hours trying to figure out how to mount it but I can't find anything that solves it. Maybe anybody out there using linux could give me a hand?
Arch is best Good choice.
Easiest way is to mount it manually. First you'll have to find out which device it is. Plenty of ways to do this, using "fdisk -l" in terminal, gparted, etc. It will be something like "/dev/sdc1". Once you know this, you need to create a folder to mount it. Something like:
mkdir /media/nexus
Now, you need to mount it (after you've chosen to mount on the phone). To do this:
mount -t auto /dev/sdc1 /media/nexus
auto is the file system, you can type fat32 also but it can figure it out. Then the disk location, then where to mount.
You may need root permissions or changes to the sudoers file to do these. Type "man mount" or "man command" for just about every commands manual. I'm on the phone so I can't write up anything much better than that.
Also, the arch Linux wiki is an invaluable resource, make the most of it.
Harbb said:
Arch is best Good choice.
Easiest way is to mount it manually. First you'll have to find out which device it is. Plenty of ways to do this, using "fdisk -l" in terminal, gparted, etc. It will be something like "/dev/sdc1". Once you know this, you need to create a folder to mount it. Something like:
mkdir /media/nexus
Now, you need to mount it (after you've chosen to mount on the phone). To do this:
mount -t auto /dev/sdc1 /media/nexus
auto is the file system, you can type fat32 also but it can figure it out. Then the disk location, then where to mount.
You may need root permissions or changes to the sudoers file to do these. Type "man mount" or "man command" for just about every commands manual. I'm on the phone so I can't write up anything much better than that.
Also, the arch Linux wiki is an invaluable resource, make the most of it.
Click to expand...
Click to collapse
Thanks very much for your help. I'll work on this later tonight since I have a lot of school work I need to get done now. Oh yeah you say to mount the device on the computer after pressing mount on the phone but that dialog never actually shows up when I plug the phone in. The phone doesn't recognize it's being plugged into a computer it just shows that it's charging. The arch wiki is definitely a great place for all things arch. Best documentation for any operating system I think I've ever seen.
Try in recovery first if it doesn't show up in Android. If it still doesn't show up I'll try to break my arch and fix it, whether its in android or cwm.
tycruickshank said:
Thanks very much for your help. I'll work on this later tonight since I have a lot of school work I need to get done now. Oh yeah you say to mount the device on the computer after pressing mount on the phone but that dialog never actually shows up when I plug the phone in. The phone doesn't recognize it's being plugged into a computer it just shows that it's charging. The arch wiki is definitely a great place for all things arch. Best documentation for any operating system I think I've ever seen.
Click to expand...
Click to collapse
I've experienced this before as well. It turned out that I had a dodgy cable that's just not compatible with my NS for some reason.
If you want a pop on your KDE desktop when you enable UMS mode on your phone, make sure you udev is added to the daemon list in /etc/rc.conf. Then, you can either reboot or do /etc/rc.d/udev start and restart KDE again.
I've tried everything that you guys have said and still no luck. Its not showing up anywhere. Not in fdisk -l, I tried lsusb, looked in /dev/disk and it wasn't there. Nothing was pointing to a device being connected. I checked the everything.log file as well. Last photo is the everything.log and of course these were all taken with my phone connected to my computer. I tried multiple different USB cables too.
Sent from my Nexus S using Tapatalk 2
Just curious, with the phone on, and screen unlocked, what do you get with:
adb devices
?
Sorry but try to check it with other OS to be sure that your USB host is good .
Sent from my Nexus S
Unplug the USB. Then plug it back in then immediately run lsusb. If you dont see the device should be /dev/sdb1 should be the device according to your current fstab.
If it does not show in /dev/ or lsusb you have a bad cable.
Sent from my Nexus S 4G using xda premium
Well this morning it decided to work. I had turned my computer off last night and I tried it this morning with the same cable and it decided to work. I hope it's not going to be intermittent but seems to be working for now. Thanks everybody for all the help!

MTP, Mass Storage, Linux

So I have my Nexus 7. It ran fine when I was under Windows. Now that I'm back to running linux again (Arch Linux) the mass storage isn't working anymore. After a bit of reading around it's apparently because it using the MTP protocol which is a Microsoft based protocol. I understand that there are hacky libraries that I can install that may or may not make it work properly, but that's not what I want. I just want to be able to go back into mass storage mode like it used to be. I don't want to have to deal with some janky proprietary protocol when it isn't necessary. Is there any way to get back mass storage mode like the way it used to be, or are people over android 3.0 just S.O.L? Is there an option is CyanogenMod or is it something they may be working on at some point? The open standards, flexibility and freedom was the entire reason I chose to use android over ios in the first place.. this is really unfortunate.
Not trying to come off as an entitled twat, but this is really frusterating :/
I've never get it to work in Linux. I've tried updating MTP to the latest subversion/cvs and just couldn't get it to do anything.
I have to use adb to transfer anything!
On Ubuntu, I've managed to get it working with mtpfs and gMTP. Not sure how useful that is for Arch though...
rowanparker said:
I've never get it to work in Linux. I've tried updating MTP to the latest subversion/cvs and just couldn't get it to do anything.
I have to use adb to transfer anything!
Click to expand...
Click to collapse
This is what I do as well.
There are ways to get it working but they (for me) were a pain and for some reason yielded super slow transfers.
Sent from my Nexus 7 using Tapatalk 2
HawkiesZA said:
On Ubuntu, I've managed to get it working with mtpfs and gMTP. Not sure how useful that is for Arch though...
Click to expand...
Click to collapse
I use mtpfs and it works, ish.
The bigger the file, the longer it sits there after I use cp, and then after a bit [maybe 10 secs for 350MB file, much longer for bigger files], it will say something about preserving timestamps not being implemented, and it looks like it finished copying. But it has only just started. So I use du to see how big the file is, and for me I get around 14MB/s once it has started transferring. Not too shabby, but the overhead is ridiculous. I want mass storage mode too!
Hi!
I've made a little solution for mounting Nexus 7 to Linux pc.
Using mtpfs was laggy, don't know why, so I used similar tool, called go-mtpfs for that (project link) with some changes (see here).
Just untar attached archive, and run install.sh.
It uses udev to automatically mount and unmount device on plugging/unplugging. (no non-root unmounting though)
Checked on Ubuntu 12.04, but must work with others versions and distros, i guess.
thanks to everyone for your comments and responses. the way everyone is talking it seems really grim... are we really just stuck with trying to make mtp work? there's no way to have it go back into mass storage mode?
i even tried to mount my sd card in cwm and that didn't even work. later on i'm going to try installing twrp to see if that'll allow me to mount my drive properly.
well, neither cwm nor twrp allow me to mount the sdcard. i did a lot of scouring around and i think I may have found why it won't work in recovery either.
It's true that Galaxy Nexus doesn't support UMC because the sdcard is a subfolder of the data partition instead of independent, like in the Galaxy S2. But I was talking about OTG, it is mounting an usb pendrive to save cwm backups there.
Click to expand...
Click to collapse
http://forum.xda-developers.com/archive/index.php/t-1500008.html
i know this is a different device, but i don't see why it would be any different. i'm gunna start mixing and matching kernels with recoveries to see if i can make that work. and if i truly and honestly can't get it working in mass storage mode i'll just stick with adb push.
vpupkin said:
Hi!
I've made a little solution for mounting Nexus 7 to Linux pc.
Using mtpfs was laggy, don't know why, so I used similar tool, called go-mtpfs for that (project link) with some changes (see here).
Just untar attached archive, and run install.sh.
It uses udev to automatically mount and unmount device on plugging/unplugging. (no non-root unmounting though)
Checked on Ubuntu 12.04, but must work with others versions and distros, i guess.
Click to expand...
Click to collapse
Forgot to mention that you have to restart udev
I am finding it's just less hassle to use Airdroid.
gMTP is the only acceptable method I have found in linux but it seems to hang a lot for me.
I found gMTP to be very slow, appearing to hang at times. So I set up Samba and use ES File Explorer on the tablet to access my shared mount points. It's possibly not as fast as AirDroid but is an easy solution, though it means controlling everything from the Nexus 7.
--
Sent from my Nexus 7 using Tapatalk 2
I simply use adb. I was recently turned onto QtADB which is adb with a gui and some other cool features. I would highly recommended it.
I haz no sig
I use gMTP on ubuntu. I really don't have any complaints about it. It does act like it's hanging at times but I've always found it to recover just fine without any additional issues. It's not wicked fast but it does what I need. I often utilize samba and airdroid for specific uses but sometimes I find gMTP to be an easy wired based solution.
mentose457 said:
I simply use adb. I was recently turned onto QtADB which is adb with a gui and some other cool features. I would highly recommended it.
I haz no sig
Click to expand...
Click to collapse
+1000 for you. That solved all my problems working with my files and my android devices.
adb worked perfectly for me! Download the android SDK and then under platform-tools directory,
./adb push <local> <remote>
fgoyti said:
adb worked perfectly for me! Download the android SDK and then under platform-tools directory,
./adb push <local> <remote>
Click to expand...
Click to collapse
Yes but how fast (slow) does it transfer? 1MB/s?
Sent from my SCH-I500 using xda app-developers app
I transferred 500MB in 1-2 minutes. Sorry, didn't record anything more specific but even at 2 min, that works out to 4MB/s which ain't bad
As many have suggested, just read up on adb and use that. If you need to get something off the N7 and dont quite remember were it went to.. adb shell and cd to the sdcard and ls the dir. It'll print everything cd in to the next folder you think it may be in ls.. it'll show the contents. If you dont like having to put things into the android-sdk-linux/platform-tools and then having to cd into that dir everytime. Just add the platform-tools to your PATH and you can issue commands through any directory. It is very unfortunate that MTP leaves us Linux users in the dark.
Also, if you have a rooted kernel such as Siyah for the Galaxy S2, it lets you force mass storage mode. I haven't tested this but it looks like it should work for linux
ÜBER™ said:
As many have suggested, just read up on adb and use that. If you need to get something off the N7 and dont quite remember were it went to.. adb shell and cd to the sdcard and ls the dir. It'll print everything cd in to the next folder you think it may be in ls.. it'll show the contents. If you dont like having to put things into the android-sdk-linux/platform-tools and then having to cd into that dir everytime. Just add the platform-tools to your PATH and you can issue commands through any directory. It is very unfortunate that MTP leaves us Linux users in the dark.
Click to expand...
Click to collapse
Well, with some little configuration, it's not a big thing to configure MTP or even automount-MTP on Linux systems. A small introduction you can find in my blog http://anddisa.blogspot.de
Sent from my Nexus 7 using xda app-developers app

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