Hello I have a T-mobile Galaxy S III. My question is how can I get it to show up as a drive in Ubuntu? In Windows 7 it has no issues. Shows both the SD card and phone as two separate disk drives. In Ubuntu nada. Are there Ubuntu drivers to work with a GS3 as a media drive?
Thanks
tauntt said:
Hello I have a T-mobile Galaxy S III. My question is how can I get it to show up as a drive in Ubuntu? In Windows 7 it has no issues. Shows both the SD card and phone as two separate disk drives. In Ubuntu nada. Are there Ubuntu drivers to work with a GS3 as a media drive?
Thanks
Click to expand...
Click to collapse
Sorry, but support for MTP still sucks under linux. While there is a hack to get regular USB Mass Storage mode working temporarily, it'll eventually be easy-baked into ROMs.
You'll need to install mtpfs and mtp-tools. Mine mounts as a media device via gphoto2/fuse/gvfs. It's not as reliable as mass storage mode but it works. Google is your friend....
I don't have the device yet, but can you check whether you can switch from MTP to MSC?
Go to Settings → Storage. Hit the Menu key, then USB computer connection. There you can select what kind of device the phone will expose itself as.
Otherwise… yeah, MTP is sort of a headache under Linux. I'm a CLI junkie, and via the command line you want to do something like…
Code:
sudo aptitude install mtpfs
mkdir -p ~/Phone
mtpfs ~/Phone
This will mount your phone in a directory called "Phone" in your home directory.
No MTP so no more USB settings in storage. Just has my phone and SD card info.
tamasrepus said:
I don't have the device yet, but can you check whether you can switch from MTP to MSC?
Go to Settings → Storage. Hit the Menu key, then USB computer connection. There you can select what kind of device the phone will expose itself as.
Otherwise… yeah, MTP is sort of a headache under Linux. I'm a CLI junkie, and via the command line you want to do something like…
Code:
sudo aptitude install mtpfs
mkdir -p ~/Phone
mtpfs ~/Phone
This will mount your phone in a directory called "Phone" in your home directory.
Click to expand...
Click to collapse
OK got it going, but no sd card. Is iy because it's locked? If so is there an app to unlock it?
Thanks
Related
I probably have a defective phone.
I've installed the 32bit drivers for my WinPc, and selected Mass Storage and enabled USB debugging on my mac.
On the pc, I can see two drives but when clicked, I get the "please insert a disk into drive" error. eh?
On OSX, the mac obviously recognizes my phone, I can use ADB without issue and OSX attempts to use the phone as a modem, but the drives never mount at all or even show up in disk utility.
Anyone else having this issue?
Double Twist (OSX) also recognizes the device, but if I can't mount the drives, it's useless to me.
#Frustation
To get a Mac to recognize the phone, you have to turn on USB debugging under Settings > Applications > Development. I had the same problem but this solution fixed it.
Not sure what to do about a PC though. Maybe the same fix works for both?
There's another thread going on with same issues.
Seems to be a re-occuring issue. I am going to replace mine today.
Keslynn said:
To get a Mac to recognize the phone, you have to turn on USB debugging under Settings > Applications > Development. I had the same problem but this solution fixed it.
Not sure what to do about a PC though. Maybe the same fix works for both?
Click to expand...
Click to collapse
You didn't read where I said that I did that? Gimme a little credit...
This might have something to do with why I can't mount my drives on an computer:
When I tried to mount via adb, this was my output:
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
Plug in phone USB to computer,
Choose Mass Storage
Swip down from the top bar and choose mount USB.
Now you will be able to see MicroSD as well as phone storage.
Wish I know this before I returned the first phone. 8' )
wease said:
Plug in phone USB to computer,
Choose Mass Storage
Swip down from the top bar and choose mount USB.
Now you will be able to see MicroSD as well as phone storage.
Wish I know this before I returned the first phone. 8' )
Click to expand...
Click to collapse
There's no "mount usb" option in the notification bar... Well, at least on mine.
cashless said:
There's no "mount usb" option in the notification bar... Well, at least on mine.
Click to expand...
Click to collapse
Click where it says usb connected. Then it will give you the option to mount it.
thedon809 said:
Click where it says usb connected. Then it will give you the option to mount it.
Click to expand...
Click to collapse
I shoulda explained better. The "USB connected" option doesn't appear at all when I connect to my Mac. It does in Win though.
cashless said:
I shoulda explained better. The "USB connected" option doesn't appear at all when I connect to my Mac. It does in Win though.
Click to expand...
Click to collapse
Does it show up in System Profiler? You said the Mac tries to use it as a modem, so I would think it would.
When mine is plugged in, with USB debugging enabled, I get 2 USB options in the status dropdown. USB Debugging Connected, and USB connected. Clicking the "USB connected" gives me the option to mount the drives to the computer. Once I hit that, the Mac sees them in Finder just fine.
I would expect it would work about the same in Windows.
ttabbal said:
Does it show up in System Profiler? You said the Mac tries to use it as a modem, so I would think it would.
Click to expand...
Click to collapse
I'm sure it does, really haven't looked yet because I'm sure of the usefulness since I know it recognizes the phone. The only thing I haven't tried so far is a full wipe, which I'm reluctant to do, but will try tonight.
I am having the same issue with my HTC desire. When I plug it into my Mac, it charges but the mac doesn't recognize it as an external storage device and the phone doesn't recognize that it's plugged into a computer, it simply charges (no USB notification).
Any ideas how to fix this? I have USB debugging enabled ...
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
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
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.
In developer options, I enabled debugging over USB and set USB format to data transfer.
When I connect my linux box to the phone over USB, linux throws a dialog box telling me to select a function for automount. I choose "open with file manager". The two-pane file manager pops up and I can drill down into Store --> DCIM --> camera and see my pictures. When I try to copy photos to the linux box, it tells me it's copying but no transfer takes place. After 30 seconds or so, linux throws an error: Unkown error -- timeout reading from or writing to port. Permissions problem maybe?
Any thoughts on what I'm doing wrong? I don't have access to windows .....
You shouldn't have to enable USB debugging. I just select File Transfer and it works (Linux Mint 18.3 MATE).
Telyx said:
You shouldn't have to enable USB debugging. I just select File Transfer and it works (Linux Mint 18.3 MATE).
Click to expand...
Click to collapse
I'm running MX V19.
Removed the USB debugging on the T6 and rebooted (just to be sure) but no joy. Any other troubleshooting commands you familiar with?
Unfortunately, no--I've never had trouble transferring files from phone to computer or vice versa.
Are you sure the cable / port works? Do ADB / Fastboot commands work at all? I primarily use Linux, and all my machines just see my all of my devices. I also just use File Transfer. Anytime it's been an issue, it's been a cable or hub issue. Everything just works.
OhioYJ said:
Are you sure the cable / port works? Do ADB / Fastboot commands work at all? I primarily use Linux, and all my machines just see my all of my devices. I also just use File Transfer. Anytime it's been an issue, it's been a cable or hub issue. Everything just works.
Click to expand...
Click to collapse
The cable is ok, can use adb commands without a problem. I booted up a Mint Linux live cd and was able to transfer files ok. So ..... looks like it was a glitch somehow to do with MX19 or my inability to configure it.
Thanks everyone.
@miller.92 I use Ubuntu 18.04 and don't have this issue. I also use AOSP custom roms always on my 6t and rarely use stock OOS but that shouldn't matter.. I've read this same thing somewhere else on xda. Weird.
Sent from my OnePlus6T using XDA Labs
I installed Mint 20 over MX19 and the same problems showed up.
I pulled up synaptic and did a search on "android". Downloaded "Android File Transfer" and that seems to work. It's a bit clunky and primitive but it does work.