[Galaxy S III Themes and Apps] frankmichael:
UMS with Galaxy S5 (SM-G900F)

I was happily using "Easy UMS" with my previous S3. But now I can't get happy with my great new S5: neither "Easy UMS" nor "UMS Enabler" work for me. With "Easy UMS" I get the unfamous

.

With "UMS Enabler" I first get an error

Trying again seems to work and says "Current State: Mass Storage" but in Windows I only see an empty CD-ROM drive (as reported several times before).

Is anybody willing to help me to find the "magic words"? Here is my debug output:

shell@klte:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=942984k,nr_inodes=128709,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=942984k,nr_inodes=128709,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,size=942984k,nr_inodes=128709,mode=700 0 0
tmpfs /mnt/secure/asec tmpfs rw,seclabel,relatime,size=942984k,nr_inodes=128709,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=942984k,nr_inodes=128709,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=942984k,nr_inodes=128709,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/efs /efs ext4 rw,seclabel,nosuid,nodev,noatime,discard,journal_checksum,journal_async_commit,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persdata /persdata/absolute ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/apnhlos /firmware vfat ro,context=u:object_r:firmware:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware-modem vfat ro,context=u:object_r:firmware:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/data/media /mnt/shell/emulated sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023,derive=legacy,reserved=20MB 0 0
/data/privatemode /mnt/shell/privatemode sdcardfs rw,nosuid,nodev,relatime,uid=1000,gid=1000,derive=none 0 0
/data/knox/sdcard /mnt/shell/knox-emulated sdcardfs rw,nosuid,nodev,relatime,uid=1000,gid=1000,derive=none 0 0
/dev/block/dm-0 /mnt/asec/com.magicandroidapps.bettertermpro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0
/dev/block/dm-1 /mnt/asec/com.rafoid.multimountsdcard.widget-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0
/dev/block/dm-2 /mnt/asec/com.starfinanz.smob.android.sbanking-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0
/dev/block/dm-3 /mnt/asec/com.tbig.playerpro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0
/dev/block/dm-4 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0
/dev/block/vold/179:65 /mnt/media_rw/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,tz=UTC,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,tz=UTC,errors=remount-ro 0 0
/mnt/media_rw/extSdCard /storage/extSdCard sdcardfs rw,nosuid,nodev,relatime,uid=1023,gid=1023,derive=unified 0 0
/dev/block/dm-5 /mnt/asec/net.androgames.level-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime,errors=continue 0 0

shell@klte:/ $ ls /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
/sys/devices/platform/s3c-usbgadget/gadget/lun0/file: No such file or directory

shell@klte:/ $ ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
/sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file: No such file or directory

shell@klte:/ $ ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
/sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file

shell@klte:/ $ mount | sed 's/ on / /g' | grep extSdCard | cut -f 1 -d ' '
/dev/block/vold/179:65
/mnt/media_rw/extSdCard

What I already have tried is:

echo 0 > /sys/devices/virtual/android_usb/android0/enable
echo "mass_storage,adb" > /sys/class/android_usb/android0/functions
echo 1 > /sys/devices/virtual/android_usb/android0/enable
umount /mnt/extSdCard
echo /dev/block/vold/179:65 > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file

Unfortunately I only ended up again with the CD-ROM drive.

Thanks in advance,

Frank-Michael