[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Void's Forums • View topic - Android/Ubuntu mounting as USB storage device
Page 1 of 1

Android/Ubuntu mounting as USB storage device

PostPosted: Thu Mar 13, 2014 12:53 pm
by Calum
Hi folks,

I recently purchased a tablet PC, it connects to Ubuntu 12 no bother at all via the USB lead provided. You plug it in, click two buttons on the tablet, and it shows up as a mounted USB storage device in Ubuntu.

Great!

Now, i then got an HTC One mobile phone, with Android on it, plugged it into the computer using the USB cable provided, and it says USB connected, and MTP enabled (which i don't know what that means).

A quick google of why it isn't mounting, or apparently being seen automatically by Ubuntu only showed up things to do with MacOS, Windows 7, and/or different but similar mounting problems. Nothing close enough to my issue that i could find (i am sure the truth is out there, but...)

So. Does anybody here know how i can mount the phone as a USB device in Ubuntu? I don't even know how to check the storage capacity on the phone itself and was hoping to do that from Ubuntu.

By the way hi everyone. Sorry it's been so long (if indeed anyone's still here!) i do miss you guys, but i hardly ever have any computer problems to come and talk about anymore!

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Sat Mar 15, 2014 5:45 pm
by Basher52
Hi there, long time no see :P

MTP means Media Transfer Protocol. It's the main way that most newer Android phones interface via USB with a computer, allowing your computer to browse certain folders on the phone, and transfer media files like photos, music, and videos...
and this kinda suck big time :( since we all want to fiddle with the rest of the memory too... right :)

but have a look here if you haven't seen this already: I haven't checked it thought... I just found it so don't blame me if it won't suit you :lol:

The only good thing about the new way to handle this with the SD Card is that it can use all the memory to install program on(not just the internal) but that means that you can only access it as MTP as it's always in use.
I got "some" problems with mounting this in winblows as 'USB Storage' but haven't seen anything if this in Linux...yet :P
Oh... but I use Fedora mostly if that would make any difference which I doubt.

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Tue Mar 18, 2014 3:21 pm
by Calum

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Tue Mar 18, 2014 5:43 pm
by Basher52
otherwise try this place:
Best place I've seen for "all" Android phones.

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Fri May 02, 2014 1:22 pm
by Calum
ok, so here are my adventures.

MTP support is standard in ubuntus higher than 12, so i dist-upgraded to 13, then to 14.04. It took a day or two all in, but i used the GUI the whole way with no hitches, and it was easy, and it worked! Linux OSs have come a long way since i started using them 14 years ago.

Anyway, MTP support was fine a couple of times, then... today i attached the phone and got an error box saying there's no udev point to mount it on. A quick google search brought up a ton of weird and wonderful people with similar issues, the ubuntu issues and user responses really remind me of those from the days of MS windows, in that there's very little of use in there. Anyway, i fired up synaptic and had a look which mtp related packages i didn;t have installed, installed a couple, and you know, it didn;t make any difference because it turns out it just matters which file manager i use. I usually use thunar, however in this version of ubuntu it seems to have nautilus (or whatever the gnome one is) set as default, and sure enough it can't see the phone files, so once i figured that out, i just opened nautilus.

I must have installed something telling thunar to use dolphin to browse the phone though, because as soon as i try to open the phone root folder in thunar, it opens the folder in a separate dolphin window, which i can;t get to show image previews in the folder window, like thunar does (easily, like all other thunar configurations i have ever needed to make), so once i had set THAT to always open in a thunar window... we're golden.

In short: it works in ubuntu 14.04 if you use thunar. Thanks all! Seeya out there in computerland!

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Fri May 02, 2014 3:33 pm
by Basher52
Good that you got it working OK :)

thunar... I'll try to keep that on mind, but I guess it ain't gonna happen... that I'll remember it that is :P I AM kinda old :? :(

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Mon May 12, 2014 2:56 pm
by Calum
it's buggy as anything though. Delete commands always unmount the device, and move commands can be relied on to unmount it after one to four files (1M photos) have been transferred. I am resorting to copying files, which works apparently, and then deleting them on the phone (instead of moving them in one operation) which obviously unmounts it forcibly during the deletion part.

Why they couldn;t just leave it using USB storage i have no idea, since the interface is exactly the same from my point of view, except that this MTP thing is slow and buggy. It's hardly what i'd call progress.

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Tue May 20, 2014 4:12 pm
by Basher52
Well... been googling about it but can't find any conclusive thing for you so... sorry... right now I'm no good :(

Hopefully the "Master of Disaster" will see this and give you the solution to it all :)


btw... have you browsed/check/searched though:
They might have some info even though it ain't in there right now.... just sign up and ask a smart question

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Sat Mar 19, 2016 4:49 am
by Calum
Just a small update. In the end i gave up using MTP (though on the new phone it is slightly less slow and buggy, but not much).

I've bypassed it entirely and am now using this instead of a cable:

https://play.google.com/store/apps/deta ... letransfer

No real problems yet.

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Sat Mar 19, 2016 12:50 pm
by Basher52
OK, nice :)
Gonna download that app me too

UPDATE: One superb App :D

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Thu Nov 17, 2016 6:58 am
by Refalm
I use this one: https://play.google.com/store/apps/deta ... id.pop.pro

It costs a few bucks, but you can transfer stuff over wifi, mount smb, nfs, ftp, cloud things. Even use ldap credentials.

There's even this amazing feature where it can start an FTP server on your phone so you can get files over your network.
I know I sound like a salesman right now, but I can't live without this application anymore.

Re: Android/Ubuntu mounting as USB storage device

PostPosted: Sat Nov 19, 2016 8:21 pm
by Basher52
For this I use: 'Wifi File Transfer', https://play.google.com/store/apps/deta ... sfer&hl=en
Used it and so far no cost at all.