Hi all!
I just bought a Galaxy Nexus, and I've already a problem: how to connect it to my linux computer?
You know that ics use MTP protocol to interface with computers. Maybe it's good for windows users, but with ubuntu I can't let the phone be recognized by the pc. I tried this guide http://www.reddit.com/r/Android/comments/ne6ud/mount_your_new_galaxy_nexus_from_the_unity/ but it doesn't work, when i click "mount galaxy nexus" it shows an error message ("the socked is not connected").
Can you help me, please?
Use airdroid or something similar. It will save you many hours of pain
Sent from my Galaxy Nexus using Tapatalk
Evostance said:
Use airdroid or something similar. It will save you many hours of pain
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
You're right if you need to transfer just some files. But I've to transfer all my music (about 4/5 GB) and my photos and videos (about 1 GB). Using something like airdroid, I will die before it ends
try installing mtpfs
i keep meaning to try it on fedora
bleets said:
try installing mtpfs
i keep meaning to try it on fedora
Click to expand...
Click to collapse
I've already installed it, but it doesn't work. Almost, on ubuntu.
When I try to mount the phone it shows an error message.
Another question is: why, if i connect the phone using PTP protocol it works, the pc recognize the phone, but it seems to have just 700 MB of free memory? (realy there are more than 12 gb)
Metallaro said:
Hi all!
I just bought a Galaxy Nexus, and I've already a problem: how to connect it to my linux computer?
You know that ics use MTP protocol to interface with computers. Maybe it's good for windows users, but with ubuntu I can't let the phone be recognized by the pc. I tried this guide http://www.reddit.com/r/Android/comments/ne6ud/mount_your_new_galaxy_nexus_from_the_unity/ but it doesn't work, when i click "mount galaxy nexus" it shows an error message ("the socked is not connected").
Can you help me, please?
Click to expand...
Click to collapse
I ended up installing Windows 7 in virtual box. In the end it was easier to do that then to continue wasting time getting Ubuntu 11.04 to play the MTP game
Just installed mtpfs from source and it works fine...doesnt look like it will auto mount when you plug it in though.
this might help
bleets said:
Just installed mtpfs from source and it works fine...doesnt look like it will auto mount when you plug it in though.
this might help
Click to expand...
Click to collapse
I used this guide some month ago when I had a motorola xoom. Now if I try to mount my phone, it shows an icon named "xoom", but if I try to open it it shows this error message
(the message was in italian, i tryed to translate it in english but it's difficult)
Code:
[B]Impossible to show «/home/marco/Galaxy Nexus».[/B]
Error: Error in executing the file stat "/home/marco/Galaxy Nexus": the destination socket is not connected. Please chose another viewer (??) and try again
Edit: no, wait. I used another guide to connect the xoom to the computer, but I can't find it again. Anyway, if i try to follow the guide you linked, when I write
mtpfs mountpoint
the console shows this error message
fuse: bad mount point `mountpoint': No such file or directory
mtpfs mountpoint = mtpfs /whereyouwanttomount to
for instance i do
Code:
mtpfs Mounts/nexus
so you have to make the folder where you want to mount to
for instance in your shell, in your home folder
Code:
mkdir nexus
(by the way, it's best to avoid folder names that include spaces)
then to mount to that folder you'd do
Code:
mtpfs nexus
or if you're currently cd'd in a different folder
Code:
mtpfs /home/marco/nexus
simples
the guy in that post even did an example to show you a bit furthery down :|
I found gMTP works quite well, though I just recently switched from Gentoo to Arch and unfortunately gMTP isn't as stable as it was in Gentoo.
Grr...I don't have enough posts yet to post links but if you do a google search for:
omgubuntu galaxy mtp
The first link in the list is the guide I used and it works great.
http://www.omgubuntu.co.uk/2011/12/...eam-sandwich-phone-to-ubuntu-for-file-access/
this is what i used, because i like to do stuff myself. there is also a script if you like automated stuff. good luck
If anyone knows how to get it working on 10.04 let me know ;-)
Sent from my Galaxy Nexus using Tapatalk
I followed the instructions on the websites. It connects using MTP but only allows music playlists. Change the USB setting on the phone to Camera (PTP) and Ubuntu recognises the file system on the internal sd card.
I will try this
Sent from my Galaxy Nexus using Tapatalk 2
Related
First, I didn't know if this should go in development or general since most of the people who are going to be on Ubuntu will be devs, but hopefully this will be useful for everyone.
Honeycomb changed a lot of things. Most of the changes are awesome (as we know) but some of them have made certain things frustrating. Honeycomb marked the move from USB Mass Storage to MTP (media transfer protocol). Although for Windows users it actually works pretty well, for Linux users it doesn't...at least at first.
If anyone has hooked up their Xoom to a Ubuntu box then they know at first nothing happens. There is no selection on the tab to "mount" USB Mass Storage because it is not supported (which I thought Honeycomb was supposed to support both so this may change) It's like the computer doesn't even recognize anything is plugged in.
So this was very frustrating but I have put together a solution. Previously I was using a GUI interface called gMTP to connect to the Xoom and transfer files. This was an ok solution and it worked but I would still rather just use it in Nautilus like every other drive I use. Ok so starting here I will just post the commands and then explain after so no code gets lost.
Start with installing a needed program for all of this to work
Code:
sudo apt-get install mtpfs
Next we will create the device rules, so Ubuntu recognizes it as a USB device.
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
NOTE: Some of you may have already added the Vendor ID. If you don't this file will start off blank and then you need to add this next line. If it does not come up blank, then make sure you have a line with Vendor ID 22b8 and 18d1 (for bootloader which uses a different VendorId) and you are all set.
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
You might need to start a new terminal for this change to take effect for adb and bootloader access.
make the mount point and take ownership:
Code:
sudo mkdir /media/xoom
sudo chown user:user /media/xoom
NOTE: "user" in the above code is literally your user name for your box.
ANOTHER NOTE: if you stopped here you could mount by typing mtpfs /media/xoom -o allow_other and unmount by typing fusermount -u /media/xoom...but that's no fun
add the mount point to your fstab:
Code:
sudo gedit /etc/fstab
In the first unused line available you might want to type a comment like:
Code:
# mount point for moto xoom
then add this line after it:
Code:
mtpfs /media/xoom fuse user,noauto,allow_other 0 0
Next modify fuse.conf to allow_other:
Code:
sudo gedit /etc/fuse.conf
uncomment the last line which should read:
Code:
#user_allow_other
uncomment this line by removing the '#' symbol.
add your user to the fuse group:
Code:
sudo gedit /etc/group
a long file will open, press CTRL+F to bring up the find dialog and type
Code:
fuse
close the dialog and fuse should be selected and visible.
At the end of that line with no space add your user name.
Save that file. Close it.
Lastly reboot your computer.
Now when your computer restarts, if you look at your "Places" menu you will see a Drive marked with 'xoom'
Plug in your xoom, and click on xoom in Places.
Nautilus should open with all your files that you have on your device. It will also place a mounted drive icon on your desktop. If you would like to unmount, right click on that icon and click unmount.
As you can see this was a pain for me, but hopefully this solution will work for everybody. I know the instructions are really long but follow it and you will feel old school mounting your storage in your file browser.
NOTE: THIS WAS TESTED ON UBUNTU 10.10 ONLY, IF THIS WORKS FOR ANYONE ELSE PLEASE POST YOUR FINDINGS.
Also, I am fairly new to Linux actually, so if there is an easier way to mount the storage in nautilus let me know. This works for me and I just want to help out so please no flames.
Couple things I have also noticed with MTP, when you have the internal storage "mounted" you still actually have access to the files on the device. Plus the file transfer is a lot faster. Usually I had been getting about 4 Mb/s and now I get about 15. Of course this speed difference from what I am used to might be the internal storage vs. SDCard transfer rate diffs.
Last thing, is this might need to modified when the sdcard access comes since there is only one mount point specified.
not trying the artificial bump.
I guess no comments on 228 views means this is working?
Can someone chime'in if this worked for them so I can know'if it works'as is or needs to be tweaked.
Thanks
I got mount up and running last night. Works like a champ. Great work. I was tired of pushing and FTP.
Thanks for the reply. Glad it worked for you too. One thing I need to add tonight to it is the fact that the xoom uses a different vendor'id when it's in the bootloader. The one vendor id if used alone will not recognize the xoom to use fastboot but ill update it when I get home.
FWIW, the "mtpfs" package in 10.04 was broken when using the Xoom, and causing segfaults. I found the source and rebuilt that and now it's working OK.
kcrudup said:
FWIW, the "mtpfs" package in 10.04 was broken when using the Xoom, and causing segfaults. I found the source and rebuilt that and now it's working OK.
Click to expand...
Click to collapse
So, I'm on 10.04 and not getting segfaults, but after pugging in (xoom is in usb debug mode) and click on xoom in places, ubuntu gives me the error "could not open location file:///media/xoom. Error stating file '/media/xoom': Permission denied"
Would love to get a copy of your recompiled 10.04 mtpfs package as a deb file...
I found this deb package for mtpfs 0.9-1 that you can try
mtpfs_0.9-1_amd64.deb
roberj13 said:
I found this deb package for mtpfs 0.9-1 that you can try
mtpfs_0.9-1_amd64.deb
Click to expand...
Click to collapse
Unfortunately, that's not gonna work for me. I'm 32-bit.
Ill keep looking, for some reason the 64-bit was the only one there.
roberj13 said:
Ill keep looking, for some reason the 64-bit was the only one there.
Click to expand...
Click to collapse
Thanks! If i could ge this to work, it would totally be awesome!
--Q
Most excellent guide!! Thanks you for taking the time to figure this out. I'm on 10.10 so I have nothing else to add.
Works flawless on Ubuntu 10.10 running on an older Mac Pro
Thank you for posting the easy to follow guide.
This is semi-working for me in that I can successfully mount and browse the device, but there are a few problems. One, it locks up Nautilus for 30-60 seconds (grayed out and unresponsive) though it does come back. Two, file transfer speeds are very poor.
I'm trying to load two movies totaling 1 GB right now and the copy dialog says 2hrs 56 min to transfer w/ a speed of 99.7 kb / sec. This is unreliable, however, as the copy dialog is frozen on those metrics.
Build is AMD64, distro is 10.10 upgraded from 10.4.
I appreciate the effort to document this, in spite of my issues. Let me know if anyone has suggestions for a fix and I'll try them.
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
sogrady said:
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
Click to expand...
Click to collapse
I find it odd that Android dosn't play nicely with *nix.. considering they are cousins in the OS family. That it works sooo well with Windows instead offensive IMO
sogrady said:
One day later and this solution is now working for me. The Xoom filesystem behaves oddly in Nautilus, with some files not appearing that have in fact been transferred to the device, but otherwise this is the best solution I've found.
Click to expand...
Click to collapse
I've seen the same thing. Usually an unmount then mount will clear it up.
this did not work for me. i'm getting no application is registered as handling this file
i told nautilus to open it and its saying /media/xoom is not a folder
Using this guide I'm able to mount fine, but I'm seeing a couple issues:
I have my music organized like this:
Artist
-----Artist - Album
----------Music files
When I copy over the top 'Artist' directory to the Xoom's Music folder it works, but, all of the music files have been directly placed in the Xoom's Music folder and the Artist and Artist - Album folders are empty, seems pretty weird?
EDIT: It looks like the Xoom (or MTP?) forces all music files into the root of the Music directory. Even if I try copying the artist folder to the root of the device the mp3 files end up in the Music folder.
EDIT take 2: Nevermind...the Android docs say nested directories are supported for music, and Windows preserves the directory structures fine.
I'm totally unable to copy over movies. I've transcoded a file into mp4 and it seems to copy over but, once the copy is finished the file doesn't show up on the Xoom.
EDIT bonanza: Looks like I'm also able to copy over movies fine through windows...so I guess all my problems are Linux related.
I keep gettting a "Transport endpoint is not connected" error when I try this. I am using 10.04 64-bit. Does anyone know how to resolve this?
How do I get it to work? What packages do I need?
EDIT: I noticed I had a few available updates, and two of them were regarding MTP. Some MTP runtimes and something else related to MTP. Now, Ubuntu discovers my nexus.
Theshawty said:
How do I get to work? What packages do I need?
Click to expand...
Click to collapse
MTP works natively with 12.04. Did you try ?
deeren said:
MTP works natively with 12.04. Did you try ?
Click to expand...
Click to collapse
Yeah, I tried connecting my Gnex to Ubuntu but it didn't seem like it found the device. I'm running the Xfce desktop on my Ubuntu install, if it matters. (Not Xubuntu, I installed Xfce over regular Ubuntu)
Perchance are you running Jellybean? Never had any issues with it on CM9..but JB won't show any files on the device when it connects...should be sorted out by the time full JB is released I would assume...if not CM10 will get it straight..
Same question...
Envoyé depuis mon Galaxy Nexus avec Tapatalk
I have the same problem since I flashed JellyBean, now I can see DCIM and Pictures folders as I set PTP and I'm using adb to push and pull files and folders (like backups).
I looked (and I'm still looking) for a good adb GUI to set in ubuntu, this would be a good solution, I tried setting QtADB but it doesn't work for me.
yeah, I'm running Jellybean.
Update: MTP now works.
EDIT: You can manually download it if you don't have it: https://launchpad.net/ubuntu/precise/+source/libmtp
Mine isn't working, get this error "DBus error org.freedesktop.DBus.Error.Noreply: Did not receive a reply" I just updated the MTP libraries...
Sent from my Galaxy Nexus using xda app-developers app
It's back to how it was before. Inconsistent with problems... waiting for CM10 to get it fixed...
Check out this project:
https://github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Works great
FrancescoGato said:
Check out this project:
https://github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Click to expand...
Click to collapse
Worked Beautifully for me, I was a bit put off by it being a repository, and being an (ex) windows user I don't like anything that needs compiling, but it was pretty effortless. Actually no Compilation was required. Now I am in no hurry for them to fix that MTP trash!
I'm running 12.04 LTS with all the updates installed. My XT530 runs 2.3.5 and my SGY runs 2.3.6. Both don't get recognized at all by the system. Oh, they connect, all right. But I'm desperate to get them working with Calibre, so that I don't have to manually drag my files to the respective folders when I can directly use the "Send to Device" function.
Just lazy, I guess.
FrancescoGato said:
Check out this project:
https github.com/sole/aafm
a very nice GUI using adb commands to explore files on your device.
It's really easy to set up on ubuntu 12.04 and adb is really faster than MTP!
This is a saver to me!
Click to expand...
Click to collapse
Hey, man!
Tested this method with a GT-N7000 Galaxy Note (4.0.3) and with a LG P500 Optimus One (2.3.6), works great on both devices!
Perhaps this method works for all Android-based devices, since it uses adb?
Anyway, thank you very much for the suggestion!
Forget MTP...
... I am switching back to USB mass storage.
I enabled USB debugging on my GT-7000 Gingerbread 2.3.5 (ok, I know my phone is off-topic) and it worked flawlessly on Ubuntu 12.04.
Now I can add and remove files whenever I want, without depending on Kies.
Yes, there is USB mass storage on Ice Cream Sandwich!
I guess I am the only one posting to this thread, but here it goes:
I updated my Galaxy Note GT-N7000 to ICS 4.0.3. To enable mass storage, click (or tap ) settings. Under Wireless and network, tap "More..." and select "USB utilities". Tada! There is our beloved usb mass storage! Just tap the damn button and connect to your PC the way you used to. No drivers required. (tested on a friend's Windows 7 notebook without Kies)
this solved it for me
use this great script / ppa:
http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html
worked for me, my ubuntu 12.10 and my one x on Jelly Bean 4.1.1.
it updates libmtp, adds an unity-mount-unmount-launcherscript and go-mtpfs. (had to reboot)
now it's fast and stable.
With FUSE filesystem you can use Go-mtpfs from WebUpd8 PPA or if you have already installed android sdk tools you can try aafm https://github.com/sole/aafm Android ADB file manager.
Inviato dal mio Galaxy Nexus con Tapatalk 2
BigFatTony said:
worked for me, my ubuntu 12.10 and my one x on Jelly Bean 4.1.1.
it updates libmtp, adds an unity-mount-unmount-launcherscript and go-mtpfs. (had to reboot)
now it's fast and stable.
Click to expand...
Click to collapse
Lots of thaaaaaaanks, made me releived from such a long-term pain!!!
Worked perfectly for me. :good:
I used the original method (from Bilal's Blog) that is mentioned in the tutorial, not the graphical way.
Ubuntu 12.04 & Samsung Galaxy Nexus
I got ubuntu working with MTP on my Galaxy Nexus (and A500) using instructions for the Nexus 7. I have documented these at my website.
http://www.winters.org.nz/android-hints-tips-stuff/working-mtp-on-ubuntu
This setup is the only one I have managed to get working, I am using Ubuntu 12.10, and it should work for earlier versions.
Thanks mate, I'll have a look. Also got Gnex, A501 and Ubuntu 12.10 :laugh:
j3r3myp said:
Thanks mate, I'll have a look. Also got Gnex, A501 and Ubuntu 12.10 :laugh:
Click to expand...
Click to collapse
I found that connecting more than one device at a time didnt work - could be something in how the udev config is..
If you post the device ids for the 501 (i guess they are different), then I can add that to my page..
I'll have to give this a try as well, as I've had no luck connecting my gnex to Windows XP, Windows 7, Ubuntu or Linux Mint. I'll be trying it out today on Ubuntu 12.10, and will report back later. Fingers crossed!
Sent from my Galaxy Nexus
dustrho said:
I'll have to give this a try as well, as I've had no luck connecting my gnex to Windows XP, Windows 7, Ubuntu or Linux Mint. I'll be trying it out today on Ubuntu 12.10, and will report back later. Fingers crossed!
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
It automatically works in windows
Sent from my Galaxy Nexus using Tapatalk 2
Dri94 said:
It automatically works in windows
Click to expand...
Click to collapse
Well, it may work for you, but it has never worked for me in XP or 7. Others have experienced this as well.
Sent from my Galaxy Nexus
Use web based few manager...
Sent from my Galaxy Nexus using Tapatalk 2
This method works great on Ubuntu 12.04.
Works for me in Windows XP and Windows 7 as long as I turn off USB Debugging
kiwi_mat said:
I got ubuntu working with MTP on my Galaxy Nexus (and A500) using instructions for the Nexus 7. I have documented these at my website.
http://www.winters.org.nz/android-apps/working-mtp-on-ubuntu
This setup is the only one I have managed to get working, I am using Ubuntu 12.10, and it should work for earlier versions.
Click to expand...
Click to collapse
First of all thanks a lot for solving this long pending issue.
Everything worked for me mounting, data transfer through MTP, but while unmounting I am getting an error saying that "umount: /media/Nexus mount disagrees with the fstab"
I am using Ubuntu 12.04, Nexus 4.1.2
use wifi explorer pro its web based....
https://play.google.com/store/apps/details?id=com.dooblou.WiFiFileExplorerPRO&hl=en
techie.raj said:
First of all thanks a lot for solving this long pending issue.
Everything worked for me mounting, data transfer through MTP, but while unmounting I am getting an error saying that "umount: /media/Nexus mount disagrees with the fstab"
I am using Ubuntu 12.04, Nexus 4.1.2
Click to expand...
Click to collapse
when the nexus is connected issue the mount command in a terminal, you should see something like..
Code:
DeviceFs(Galaxy Nexu on /media/GalaxyNexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=username)
its possable your device name is different, so check the fstab line,
Code:
DeviceFs(Galaxy\040Nexu) /media/GalaxyNexus fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
the DeviceFS (both) must match above except the space in the mount listing has to be replaced with \040 as space is the field separator in fstab..
zac68 said:
Works for me in Windows XP and Windows 7 as long as I turn off USB Debugging
Click to expand...
Click to collapse
Does USB Debugging have to be turned off in order for this to work in XP and 7? I haven't tried that before, so that's something else I'll have to try.
dustrho said:
Does USB Debugging have to be turned off in order for this to work in XP and 7? I haven't tried that before, so that's something else I'll have to try.
Click to expand...
Click to collapse
In XP I have to do it. Windows 7 with Service Pack 1, from memory might not of be as fussy. I could be wrong though. I use Ubuntu these days.
Am I misssing something here? It connects automatically with my Ubuntu 12.10 without having to configure anything. It does not in fastboot state though.
Sent from my Galaxy Nexus using Tapatalk 2
Sucks... between myself and my room mate, we've tried this on three different systems (lubuntu, xubuntu, ubuntu - 12.10 in each case) and had no luck with it. Neither with the Nexus 7 or the G Nex.
Works perfectly -- EXCEPT when multiple devices are connected. Is it possible to make go-mtpfs recognise the devices and mount them correctly? Right now when there are multiple devices it just gives up.
kiwi_mat said:
when the nexus is connected issue the mount command in a terminal, you should see something like..
Code:
DeviceFs(Galaxy Nexu on /media/GalaxyNexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=username)
its possable your device name is different, so check the fstab line,
Code:
DeviceFs(Galaxy\040Nexu) /media/GalaxyNexus fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
the DeviceFS (both) must match above except the space in the mount listing has to be replaced with \040 as space is the field separator in fstab..
Click to expand...
Click to collapse
Hi Thanks for your reply. Sorry for the delay in replying....
Your suggestion couldn't solve my problem.
My fstab entry is as follows
DeviceFs(Galaxy\040Nexu) /media/Nexus/ fuse.DeviceFs(Galaxy\040Nexu) allow_other,rw,user,noauto 0 0
Click to expand...
Click to collapse
and the mount command that I executed are (command and corresponding output are )
DeviceFs(Galaxy Nexu on /media/Nexus type fuse.DeviceFs(Galaxy Nexu (rw,nosuid,nodev,allow_other,user=raj)
bash: syntax error near unexpected token `Galaxy'
Click to expand...
Click to collapse
Second attempt
DeviceFs(Galaxy\040Nexu on /media/Nexus type fuse.DeviceFs(Galaxy\040Nexu (rw,nosuid,nodev,allow_other,user=raj)
bash: syntax error near unexpected token `Galaxy\040Nexu'
Click to expand...
Click to collapse
Could you understand where the problem lies.
Am I doing any thing wrong....
Thanks a lot for your efforts...
Error in /etc/fstab
1st: thanks for your work doing it for all
2nd: I use an Acer Iconia Tab A501 running Android 4.xy
I followed the instruction. I did the following line in my /etc/fstab
DeviceFs(A501) /media/A501 fuse.DeviceFs(A501) allow_other,rw,user,noauto 0 0
-----------> it comes an error message "/bin/sh: 1: DeviceFs(A501): not found"
(The id_modell=Acer_Iconia_Tab_A501. I tried, but the same error.)
------- snip ---(28.12.2012-thk)------> usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0502 ProdID=3345 Rev=99.99
S: Manufacturer=Acer
S: Product=Acer Iconia Tab A501
S: SerialNumber=1234567890
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=usbfs
------- snap ---------
Where is my fault?
Next step
emmerich1234 said:
1st: thanks for your work doing it for all
2nd: I use an Acer Iconia Tab A501 running Android 4.xy
I followed the instruction. I did the following line in my /etc/fstab
DeviceFs(A501) /media/A501 fuse.DeviceFs(A501) allow_other,rw,user,noauto 0 0
-----------> it comes an error message "/bin/sh: 1: DeviceFs(A501): not found"
(The id_modell=Acer_Iconia_Tab_A501. I tried, but the same error.)
------- snip ---(28.12.2012-thk)------> usb-devices:
T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 14 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0502 ProdID=3345 Rev=99.99
S: Manufacturer=Acer
S: Product=Acer Iconia Tab A501
S: SerialNumber=1234567890
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=usbfs
------- snap ---------
Where is my fault?
Click to expand...
Click to collapse
Try to understand the source code (go langualge) and may be append the A501?
Has anyone had an issue accessing it?
Could not display "/media/GalaxyNexus".
Error: Error when getting information for file '/media/GalaxyNexus': Transport endpoint is not connected
Please select another viewer and try again.
I know the udev configuration looks fine and adb works fine and it tries to mount the device for MTP but I get the above error. I'm not using Ubuntu but my go-mtps install has been updated on git and I have the latest version of fuse and followed the instructions.
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.
Hi. I mistakenly spilled a glass of water over my MacBook and it is now destroyed (No Aple Care). While I am saving up for a new machine I am using Ubuntu 16.04 on a QNAP 453 Pro.
Everything work fine but i cant get it to recognise my phone in Terminal. When I connect the phone it shows the phone icon but i cant connect. It hasnt asked for authorisation on the phone to use the QNAP so
I can understand why its not showing up when i go into terminal and its not showing up as an attached device.
I tried this -
[email protected]_1604:~/Downloads/platform-tools$ sudo jmtpfs /home/admin/media/myphone
Device 0 (VID=18d1 and PID=4ee2) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP+ADB).
libusb_open() failed!: No such file or directory
LIBMTP PANIC: Unable to initialize device
terminate called after throwing an instance of 'MtpErrorCantOpenDevice'
what(): Can't open device
Aborted
As the title says I dont know much about Ubuntu. Any help would be most appreciated. Thanks.
edit - I am running Stock 7.1.2 beta with an unlocked bootloader.
Do you have debugging enabled in Developer Options on the Pixel?
CZ Eddie said:
Do you have debugging enabled in Developer Options on the Pixel?
Click to expand...
Click to collapse
Yeah and when connected its set to transfer files.