I have tried many things but can't make my Samsung Galaxy mini 2 S6500 USB Mass Storage to be simply recognized by my PC. Why is such a simple thing so hard?
Does anyone know the solution to this problem?

Thank you.

  • Do you have Samsung USB drivers installed? Also some models don't support mass storage but MTP instead. – esQmo_ Aug 26 '18 at 11:10

NOTE: This is applicable to the devices running Android 3.1.x and above, when MTP was introduced and then UMS was discontinued gradually afterwards in later releases. But the process should work for older devices too those had UMS officially supported. Thanks to @Robert.

USB Mass Storage (UMS) is disabled on newer Android versions by default and only MTP is enabled. So you need custom recovery to enable UMS:

# mountpoint /data && umount /data

# echo '0' >/sys/class/android_usb/android0/enable
# echo '/dev/block/bootdevice/by-name/userdata' >/sys/class/android_usb/android0/f_mass_storage/lun/file
# echo 'mass_storage' >/sys/class/android_usb/android0/functions
# echo '1' >/sys/class/android_usb/android0/enable

* Kernel should be built with CONFIG_USB_F_MASS_STORAGE
* Paths may vary depending on device
* If your /data partition is FDE encrypted and you unencrypted it in recovery, path will be dev/block/dm-0

Now /data will appear as a partition on Linux PC. Other options to access internal storage at block level are answered in below mentioned question.


  • 2
    Samsung Galaxy mini 2 was release in 2012 and runs Android 2.3.x - therefor it still should have mass storage mode... – Robert Dec 25 '18 at 12:57
  • @Robert yeah that's a valid point I should have considered. I didn't notice the device could be that older. Thanks for mentioning :) – Irfan Latif Dec 25 '18 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.