I have Samsung S5 dual sim variant which runs on android v5.0 stock based custom rom, and having some trouble with MTP mode such as very slow copying speed and can't play media directy (I have to copy each file to my local storage and then play them) is there any way I can connec it in mass storage mode so that it acts like a flash drive?

  • 2
    AFAIK, you can't do it because your Android doesn't has any support for it. There may be some massive hack which I don't know but I would rather prefer a file / local http server on my phone to get the things done, streaming too (see Is there a viable alternative to MTP for file transfer?), or perhaps use the method Izzy once mentioned here
    – Firelord
    Jul 6, 2015 at 17:06
  • @brauliobo, it is not possible to have that actual USB mass storage functionality since Android natively doesn't support it in Lollipop or Kitkat. However, there are various ways to achieve what you want ranging from accessing filesystem using ADB to mounting a server running on Android in PC. I just want to know the exact requirement of yours and the clarification: did you consider any of the solutions mentioned in my earlier comment?
    – Firelord
    Oct 13, 2015 at 3:12
  • yeah, I've ended up using an ssh daemon and transfered data via scp command, but the ideal for me would be an rsync daemon, but couldn't find a good app with it.
    – brauliobo
    Oct 14, 2015 at 1:23
  • @brauliobo some busybox variants might have that built-in. I only know apps for the opposite direction (working from the Android device), see Synchronisation via SSH
    – Izzy
    Oct 15, 2015 at 10:03

3 Answers 3


Connecting your phone via UMS (USB Mass Storage) won't be possible. It's been removed from Android, so the only way would be for you to fork the Android source and program it in again. I assume that's not what you want to do. There were a few reasons for this, but mostly because UMS is prone to crash third-party apps and also files cannot be dual accessed from apps and the computer simultaneously. MTP isn't really bad per-se, but unfortunately the support in Windows is lacking. A colleague of mine uses MTP with Ubuntu and is very happy with it.

Here are some suggestions about what you could do though:

  • If you really want to transfer files via USB, you could do that with adb pull and adb push. You could make a little script that runs as soon as you connect your phone and synchronizes a specific folder.
  • You could, and this is the most comfortable way, install a samba server on your phone. That way you would be able to mount parts of your phone's storage on your computer, as soon as it is connected to your WiFi. The bandwidth would probably also be enough to directly play music files, maybe even videos (depending mostly on the number of antennas your phone has). For that solution, please have a look at these two apps SambaDroid, Samba Server as well as this question regarding root access Using SMB server without root access.
  • Another option would be running an SSH server. You can then also mount remotely with SSHFS on Linux and OSX. For Windows I recommend SFTP Net Drive, which is free for a single connection and personal use. Advantages over SMB would be that file transfers are encrypted and that it's more suitable to also be used over WAN. Also it already comes with file integrity checks. Disadvantages would be that over high latency connections (WAN), speeds might drop significantly due to physical limitations from the bandwidth delay product.
  • Last but not least, there is the option, if you're on Linux, to use adbfs. It is using FUSE to mount your adb connected phone. So it will appear just like any other mount. This is probably the closest you can get to what was UMS.

You can install app to enable USB mass storage. Download apk from this and just select the 'Enable UMS (Hard Method)' in that app..

Source; Enable MASS STORAGE Mode

  • Can you edit your post to include the relevant parts from that XDA thread, so future readers can see the solution. Apr 16, 2016 at 21:40

On my lollipop system ( custom rom) it wasn't option to change usb connectivity, but actually it was, all I need to do do is to plug phone to pc via usb, then go to settings and in search box (it must have coz it is lp), and type there usb, you'll get something like usb connection, tap on it an you'll get standard menu to chosse between MTP, PTP, charge only, an usb mass storage.

  • 2
    Which custom ROM and which build of it exactly? USB mass storage (UMS) on Lollipop? That's interesting. Is it ROM available for Samsung S5 dual SIM variant or the device which brauliobo is yet to mention?
    – Firelord
    Oct 16, 2015 at 22:51
  • On my stock-based custom rom(xstrestolite) for Samsung galaxy S5, I've tried this but there is no option related to UMS.
    – Manu
    Oct 17, 2015 at 1:43
  • Sorry i've forgot to say that I don't use samsung S5, I tought that this might work on your device, but it seems i'm wrong.. Maybe, but just maybe, you can try slimlp rom for your device if it exist, maybe there will be option with metod i've mentioned.. Oct 17, 2015 at 14:37
  • I've SlimLP (Android 5.1.1) for OnePlus One. I followed your method and I don't see UMS.
    – Firelord
    Oct 17, 2015 at 16:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .