HI i just bought Xperia S,before that i was using Lg optimus.Lg optimus used to mount Storage on Ubuntu 10.04 Automatically ,but the Xperia S is having problem .I contacted some other forums they say its related to some gmtp protocol.Please help How to connect it to my 10.04(32bit).As i dont really want to void my phones warrenty by rooting and then using other turn around. Thanks in advance
There is no mounting. The only way without fumbling with your phone is to use Sony's pc companion -> file manager. It's slow, but it's the way to go.
Sent from my LT26i using xda app-developers app
sudo apt-get install mtpfs && sudo mtpfs -o allow_others /mnt
Then you'll have it in /mnt.
Related
So, the MTP transfer on newer Android devices sucks and I hate not having an ETA/Speed display using adb push. Is there anyway to access the Android filesystem (doesn't need to be a root-owned directory; /mnt/sdcard would be fine) over USB? ie. open a FileOutputStream to a file/dir on my device from a java application on my pc?
I'm assuming the easiest answer is to set up a server for ftp/sftp/ssh on my device and connect that way but it would be nice just to access it as if it were mounted on my local PC as a local drive. Any ideas? Thanks!
sanosuke001 said:
So, the MTP transfer on newer Android devices sucks and I hate not having an ETA/Speed display using adb push. Is there anyway to access the Android filesystem (doesn't need to be a root-owned directory; /mnt/sdcard would be fine) over USB? ie. open a FileOutputStream to a file/dir on my device from a java application on my pc?
I'm assuming the easiest answer is to set up a server for ftp/sftp/ssh on my device and connect that way but it would be nice just to access it as if it were mounted on my local PC as a local drive. Any ideas? Thanks!
Click to expand...
Click to collapse
Windows or Ubuntu?
Sent from my Galaxy Nexus using xda premium
windows, preferably (main dekstop pc is windows) but linux might work.
sanosuke001 said:
windows, preferably (main dekstop pc is windows) but linux might work.
Click to expand...
Click to collapse
Ah OK. I have it working fine in Ubuntu after setting up mtp. I'm honestly not sure about windows. I never use it. I will look into it and get back to ya.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
Ah OK. I have it working fine in Ubuntu after setting up mtp. I'm honestly not sure about windows. I never use it. I will look into it and get back to ya.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Care to share the trick you used. I'm running Ubuntu 12.04. I had it working once, reinstalled Ubuntu and haven't been able to get it to work since -.-
Sent from my Maguro
hev88 said:
Care to share the trick you used. I'm running Ubuntu 12.04. I had it working once, reinstalled Ubuntu and haven't been able to get it to work since -.-
Sent from my Maguro
Click to expand...
Click to collapse
Replace Id vendor, and id product with yours. My example is with maguro (gnex gsm)
Code:
sudo apt-get install mtp-tools mtpfs
sudo echo "
SUBSYSTEM==\"usb\", ATTR{idVendor}==\"04e8\", ATTR{idProduct}==\"685c\", MODE=\"0666\"
" >> /etc/udev/rules.d/51-android.rules
sudo service udev restart
sudo mkdir /media/GNex
sudo chmod a+rwx /media/GNex
Replace "lithid" with your user
Code:
sudo adduser lithid fuse
Make sure to uncomment or add
Code:
user_allow_other
to /etc/fuser.conf
You could add this to your bashrc profile to help with aliases
Code:
echo “alias go-go-gadget-gnex=\”mtpfs -o allow_other /media/GNex\”" >> ~/.bashrc
echo “alias gadget-gnex-stop=\”fusermount -u /media/GNex\”" >> ~/.bashrc
source ~/.bashrc
sanosuke001 said:
So, the MTP transfer on newer Android devices sucks and I hate not having an ETA/Speed display using adb push. Is there anyway to access the Android filesystem (doesn't need to be a root-owned directory; /mnt/sdcard would be fine) over USB? ie. open a FileOutputStream to a file/dir on my device from a java application on my pc?
I'm assuming the easiest answer is to set up a server for ftp/sftp/ssh on my device and connect that way but it would be nice just to access it as if it were mounted on my local PC as a local drive. Any ideas? Thanks!
Click to expand...
Click to collapse
From reading about mtp in windows, its my understanding that it "just works" is this not the case?
MTP in Windows is bull****. First, it requests that you verify any files that it thinks might not be displayable on your device so you need to verify every transfer with a "Yes" or "No" and then, for large files like video, it tends to time out pretty regularly and won't complete a transfer. It's a pain in the ass and adb push is too god damned slow :/
With my Xoom I used to just pop out the memory card, stick it in a card reader, and copy from there without issue. However, the Galaxy Nexus card is behind my battery and the Nexus 7 doesn't have a sd card at all :/
sanosuke001 said:
MTP in Windows is bull****. First, it requests that you verify any files that it thinks might not be displayable on your device so you need to verify every transfer with a "Yes" or "No" and then, for large files like video, it tends to time out pretty regularly and won't complete a transfer. It's a pain in the ass and adb push is too god damned slow :/
With my Xoom I used to just pop out the memory card, stick it in a card reader, and copy from there without issue. However, the Galaxy Nexus card is behind my battery and the Nexus 7 doesn't have a sd card at all :/
Click to expand...
Click to collapse
:good:
sanosuke001 said:
MTP in Windows is bull****. First, it requests that you verify any files that it thinks might not be displayable on your device so you need to verify every transfer with a "Yes" or "No" and then, for large files like video, it tends to time out pretty regularly and won't complete a transfer. It's a pain in the ass and adb push is too god damned slow :/
With my Xoom I used to just pop out the memory card, stick it in a card reader, and copy from there without issue. However, the Galaxy Nexus card is behind my battery and the Nexus 7 doesn't have a sd card at all :/
Click to expand...
Click to collapse
Only thing I can suggest is using a better operating system. With the new iteration of windows even game developers have started getting opengl gaming to linux. Which to my understanding is a huge reason people still use windows (of course other software like video editing), but if you are not using that type of stuff, get with linux. It works better and hackability is endless when trying to get something to work right.
Cheers
lithid-cm said:
Only thing I can suggest is using a better operating system. With the new iteration of windows even game developers have started getting opengl gaming to linux. Which to my understanding is a huge reason people still use windows (of course other software like video editing), but if you are not using that type of stuff, get with linux. It works better and hackability is endless when trying to get something to work right.
Cheers
Click to expand...
Click to collapse
Yeah, I know. However, I do PC gaming and until Linux games don't require Wine (or work flawlessly in Wine) there's not much I can do about it and I refuse to dual boot; it's a pain in the ass.
sanosuke001 said:
Yeah, I know. However, I do PC gaming and until Linux games don't require Wine (or work flawlessly in Wine) there's not much I can do about it and I refuse to dual boot; it's a pain in the ass.
Click to expand...
Click to collapse
Sounds like either way its a pain in ass?
Sent from my Galaxy Nexus using xda premium
Hi,
I always had problem with mtp and GB on linux. With the ICS update I couldn't even find my device listed by nautilus. I'm a little bit tired of using Airdroid, wich seems to be slower now and I never liked to download the pictures from it as a zip file.
for those who like to MTP transfer from xperia NXT series on Mint or Ubuntu:
add this repository Olci PPA launchpad.net/~olci/+archive/ppa1
it contains the new libmtp library, the new mtpfs and gmtp
with this command: sudo add-apt-repository ppalci/ppa1
then update & upgrade if already installed
or
update and install libmtp libmtpfs gmtp
from terminal launch gmtp
wait for a little bit (it takes a while)
once in gmtp go to preferences and set your directories for upload download
and there you go
finally can control and backup everything in your sd to your linux system
there is a smile on the command
sudo add-apt-repository ppalci/ppa1
how can I remove it?
Damn that's my ppa if anyone got questions or issues on that ppa
I can help
Sent from my haida
Thank you so much for the ppa and your job, a friend sms that to me today as we were searching for mtp on mint. I tried it worked and i wanted to share it.
Sent from my ST25a using xda app-developers app
Or you could use Airdroid for file transfers. It's what I use on my Linux laptop.
uao said:
there is a smile on the command
how can I remove it?
Click to expand...
Click to collapse
Code:
sudo add-apt-repository ppa:olci/ppa1
damn can't fix
Sent from my haida
@ The Alpha Gamer
As I wrote I already use airdroid and I'm tired of it. Still it's out topics.
This thread is about xperias, MTP and linux which are working thanks to that ppa
Sent from my ST25a using xda app-developers app
Can anyone have the solution for working mtp on ubuntu 12.04 ...
I already install mtp library and doesn't work...
I used jb aokp build 4 and dorimanx kernel 5.86b4..
Thank you for your help
Sent from my GT-I9100 using xda premium
arief347 said:
Can anyone have the solution for working mtp on ubuntu 12.04 ...
I already install mtp library and doesn't work...
I used jb aokp build 4 and dorimanx kernel 5.86b4..
Thank you for your help
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I dunno whether it works on build 4, but if you have exTweaks, you can enable the mtp option from there. That works with 12.04
HAXTREME said:
I dunno whether it works on build 4, but if you have exTweaks, you can enable the mtp option from there. That works with 12.04
Click to expand...
Click to collapse
Thank you, gonna try soon
Sent from my GT-I9100 using xda premium
Still not work mtp on ubuntu...any other advice?
Sent from my GT-I9100 using xda premium
Easy solutions
arief347 said:
Still not work mtp on ubuntu...any other advice?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
There are solutions available, that I am using on a daily basis:
1. first thing: ADB via Terminal
The Android SDK includes a few comandline tools. One of these is adb (Android Debug bridge) which has a few commands included,
Just to name a few: push (sent), pull (copy from device to pc/laptop), backup (user data with or without sdcard) and a few more like shell = remote terminal access to device.
Install it by: (without "")
"sudo apt-get install android-tools-adb"
then: "adb devices" and you should see your device as something like "09A48348HHHF1"
then sent (push) or copy (pull) files with "adb push /home/USER/downloads/1.avi /sdcard" or adb pull /sdcard/movie.avi /home/USER/downloads"
to see the files included in a folder type : "ls" or "ls- la"
2. Use ADB via Graphical frontend: e.g. the ADBfileexplorer by DareT0Be (THX a lot and all credits to you)
http://forum.xda-developers.com/showthread.php?t=1821601
It's written in JAVA and can be executed on every device running java theoretically (Ubuntu, Windows, MacOSx,....)
A little trick is written at the end of the first page to execute it. I wrote a script to run it easily:
#!/bin/bash
DIRECTORY=/home/USER/Downloads
$1 cd $DIRECTORY
$2 java -Xmx512m -jar adbfileexplorer.jar
echo $1
echo $2
Save it: Once again via terminal: "gedit SCRIPTNAME.sh" copy and paste it, change Directory to the directory of adbfileexplorer. save it.
Make it executable: sudo chmod 771 adbfileexplorer.sh
Create an alias at your desktop or where ever to easily open it.
3. USE google to find the MTP scripts and mounting solutions - Which I don't use.
If that helped YOU hit the thanks button.
Hello there,
i m new on xda and (sorry for it) completely noob.
i just got a European HOX+ and i would like to mount usb storage just like older phones, MTB is realy disapointing me on any OS (XP, Debian)
i already have unlocked my bootloader, will it possible to remove the MTP to mount a classical usb storage ?
thx to all
Th!baut said:
Hello there,
i m new on xda and (sorry for it) completely noob.
i just got a European HOX+ and i would like to mount usb storage just like older phones, MTB is realy disapointing me on any OS (XP, Debian)
i already have unlocked my bootloader, will it possible to remove the MTP to mount a classical usb storage ?
thx to all
Click to expand...
Click to collapse
no, it's MTP or nothing, also questions > Q&A
Lloir said:
no, it's MTP or nothing, also questions > Q&A
Click to expand...
Click to collapse
Ok, so i wont be able tu acces my data on a Linux PC ?, some people are talking about a "mount usb storage" option in a CWM Recovery, what does it do ?
all this is really disapointing
Th!baut said:
Ok, so i wont be able tu acces my data on a Linux PC ?, some people are talking about a "mount usb storage" option in a CWM Recovery, what does it do ?
all this is really disapointing
Click to expand...
Click to collapse
yes you can:
- Install MTP and its tools:
sudo apt-get install mtpfs mtp-tools
- Create a mountpoint:
sudo mkdir -p -m 777 /mnt/hox
- Plugin your hox
- Mount the device manually:
mtpfs /mnt/hox
- Open your favourite file manager, go to /mnt/hox and transfer files from/to the device
- When finished, don't forget to dismount the device:
sudo umount /mnt/hox
you might also need libmtp
Lloir said:
yes you can:
- Install MTP and its tools:
sudo apt-get install mtpfs mtp-tools
- Create a mountpoint:
sudo mkdir -p -m 777 /mnt/hox
- Plugin your hox
- Mount the device manually:
mtpfs /mnt/hox
- Open your favourite file manager, go to /mnt/hox and transfer files from/to the device
- When finished, don't forget to dismount the device:
sudo umount /mnt/hox
you might also need libmtp
Click to expand...
Click to collapse
Okay thanks, i did what you said but when i mount /mnt/hox the dirrectory disapers, and it reapears when i unmount...
tell me if i am doing it wrong but, i must mount /mnt/hox and copy my files into it ?
Th!baut said:
Okay thanks, i did what you said but when i mount /mnt/hox the dirrectory disapers, and it reapears when i unmount...
tell me if i am doing it wrong but, i must mount /mnt/hox and copy my files into it ?
Click to expand...
Click to collapse
you might have to google for debian specific help, look for help on the galaxy nexus as that's well documented and has MTP
Hello
Can someone tell me how I can mount my Prime in Ubuntu 11.10? I use Ubuntu as a VM (Virtualbox) and I can't get it to mount.
I tried sudo mtpfs -o allow_other /media/Transformer but the only thing I see in the file manager is the device (called Transformer) and in this device there's only one folder "playlists" w/o any content. Can someone help me? thanks in advance!