DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 3 of 3

Thread: Mounting phone contents on my computer.

  1. Droid
    TheCrusher's Avatar
    Member #
    13395
    Join Date
    Dec 2009
    Posts
    40
    Phone
    Motorola Droid
    #1

    Angry Mounting phone contents on my computer.

    Hi,

    I want to mount the data that's on my phone onto my Mac, so I can "do stuff" on the Mac. I want it to be REALLY mounted, i.e. I want it to show up in /Volumes, and I want the mount command to list it as a mounted volume. What I really want to do is to go into a terminal window and cd to the directory and use all the standard *nix tools I know like ls, and grep, and find, etc. to look around and make changes.

    I have Android File Transfer, which functions minimally, but it doesn't atually mount the file system, it just translates MTP at the application level (as far as I can tell).

    I'm aware of Kies Air, and AidDroid and others, and while spiffy, they also don't actually mount a filesystem on the computer as far as I can tell. Moreover such tools might be fine at home, but they're problematic in a setting where I'm a real (not wireless) network. And while a wifi network is available, it is separate and secure from my wired network.

    I'm also aware that I can open up the phone (Samsung Galaxy S3) and pop out the microSD card and pop it into my computer, but this is a very very long way from seamless access, and it only gets me some of the files on my phone.

    I've tried Samba Server by Ice Cold Apps and can't quite get it to work, even on the wifi network at work. I suspect that I'm getting separate networks (channels) on wifi router from the phone versus the laptop I have on my desk, and so they can't see each other directly. (Even if I get this to work, I'm concerned that this software did not ask me to set any kind of password on the volumes.)

    My next step is to try to use Samba Server together with ssh tunneling to make sure I have direct access to the phone. That's a problem too because our security only allows ssh via DMZ machines, so I'll have to set up proxied or double-tunnelled access, which is a pain. So before I go through the complicated process of trying to set that up, I'll get to my actual question:

    Is there any easy way to do what I'm asking besides the choices that I'm looking at? A real mounted filesystem of my phone's contents?

    (Let me say now that my phone is not rooted and is not going to be rooted. I have root access on all of the systems where I want to mount the phone, and have the knowhow to work with non-standard ports.)

    tom

    P.S. this is effing ridiculous that Google doesn't provide some easy way to do this. And I've read their justification for switching over to MTP, and frankly I find their explanations to be a bit thin.
  2.  
     
     
     
  3. Droid
    TheCrusher's Avatar
    Member #
    13395
    Join Date
    Dec 2009
    Posts
    40
    Phone
    Motorola Droid
    #2

    A little progress.

    OK. I have gotten Samba Server to work, with ssh tunneling, using connectbot. This is seven kinds of ugly.

    Because of our security environment, I first ssh to our DMZ ssh server, and set up a tunnel for ssh straight through to my work system (which we'll call "mine").

    Then I run another ssh connection through that tunnel, and I have this new connection tunnel the samba connection, as a reverse tunnel such that connections to mine:7777 get forwarded to localhost:7777 on my phone (which is where the samba server is listening).

    Unfortunately OS X is too smart for it's own good. I can't just "open smb://localhost:7777" because the mac says that since it's local, I should just use the files locally and refuses to mount it. So I log into another system at work and then ssh back, creating a tunnel from other:7777 to mine:7777, with the gatewayports option on so that I can access this tunnel from mine.

    open smb://other:7777 works. I can log in. I select Guest access (no password) and it all works.

    Of course this is a nightmare to set up each time as you can see. And there's also security problems. Even though I'm using ssh tunneling, OS X's refusal to allow me to open samba connections to localhost means that I have to expose this (non-password protected) samba server to everyone on my network.

    But of course, worse than tat, Samba Server has no option for limiting access. So I can only assume that anyone who can find my phone on the network and make a samba request to port 7777 can mount my phone wherever they are. I can't even see any signs that my phone is willing to log this anywhere.

    So it functions, while being an entirely unacceptable solution.

    There are a couple of possible workarounds to the OS X localhost mounting problem. And I could actually live with the awful Connectbot double tunneling setup. But I can't really accept a situation where Samba Server provides absolutely no security.

    I'm going to look into OSXFuse and sshfs for android. I don't know if OSXFuse provides real kernel-level mounting. And I don't know if there's an sshfs server for android. But that's the only other feasible solution that I see. If it can work, it would be both much simpler and more secure.

    tom
  4. Junior Droid
    MR.bean's Avatar
    Member #
    337401
    Join Date
    Mar 2013
    Posts
    18
    Phone
    galaxy ace
    #3
    Kies air is use full am using it connect my pc to mobile without cables

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. See contents of phone without screen?
    By Warwick in forum Droid RAZR Support
    Replies: 7
    Last Post: 04-13-2012, 06:32 PM
  2. move contents from sd card to computer?
    By MagmaZ1 in forum Droid Incredible Tech Support
    Replies: 8
    Last Post: 11-30-2011, 12:53 AM
  3. Deleting entire contents of Phone
    By deek in forum Droid X General Discussions
    Replies: 5
    Last Post: 09-25-2011, 10:50 AM
  4. Can't see contents of SD card when connected to computer
    By ksargent0809 in forum Android Tech Support
    Replies: 2
    Last Post: 09-14-2011, 04:13 AM
  5. Mounting to the Computer
    By Mommyoftwo in forum Droid X FAQ
    Replies: 10
    Last Post: 08-13-2010, 02:18 PM

Search tags for this page

android samba server without root#gsc.tab

,

can't stream videos from android smb server port 7777

,

connectbot reverse tunnel to allow access to phone files

,

samba server app 7777 1139

Click on a term to search our site for related topics.
Find us on Google+