I've been messing with termux on a rooted tablet (mediatek), and I'm trying to expose a folder using mount that will be accessible to my PC via a USB connection over mtp (with read/write permission).

I've tried various iterations with mount, all to no avail. I can't find any tutorials explaining how this is done, so I'm basically relying on mount --help and trying to copy the logic of directories that are already mounted.

Any help with the CLI syntax regarding this issue would be appreciated.

  • I don't think you will succeed using mout. MTP is as far as I know provided by a daemon which uses the Android MediaStore database for getting the file-list. May be you should better try to use on your PC a file-manager tool that uses adb for file listing and transfer?
    – Robert
    Commented Aug 8, 2021 at 16:05
  • 1
    Use adbfs. Or run a SSHFS/SFTP, FTP, WebDAV, SMB... whatever server from command-line. All of these are opens-source and free. Personally I've using OpenSSH and pure-ftpd since long. Or find a suitable app. Like MiXplorer supports almost all of the above servers, though I only used FTP a few times. Or use directly UMS like a pro: android.stackexchange.com/a/205559/218526 Commented Aug 8, 2021 at 18:48
  • @IrfanLatif thanks. Using mixplorer looks like a good solution. I'd love to take you up on your UMS challenge, but I'm a bit to green in this world yet. I think I'll take the easy road for now :) Commented Aug 9, 2021 at 0:29


You must log in to answer this question.

Browse other questions tagged .