yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Xxhulios:
Drivedroid has a problem on sm-j530f . I don't exactly know where is the problem..

I have root access on my phone. I installed it and followed the set-up procedures. The phone doesn't show up as a usb drive but as a cd drive in cdfs format (not ntfs) . Anyway i followed the procedures for cd drive and i done all of it correctly. In the step that you should format cd drive in windows explorer the format box doesn't pop-up. I think because it is in format cdfs.

My laptop is full of viruses and i want to install a new windows from my phone but i can't. I also installed a new kernel with magisk pre-installed but still the same thing. I tryed to format the cd drive with command prompt and paid apps for cd formatting but no use. Also while the usb is plugged a dialog box pop-ups saying: "The connected device is unable to access data on this device. Reconnect the USB cable and try again. Android File Transfer or Samsung Smart Switch must be installed on Mac OS X devices."

I installed the drivers for this phone and still nothing useful. I think the problem is that the cd drive is in cdfs format. I googled about it but there is no information useful. I don't know what to do. If anyone could help me I'd very grateful.
[Android Apps and Games] Jhon_Locke:
Thank you for your work, it's a great tool.
[Android Apps and Games] voshchronos:
Does this still work in Nougat or Oreo nowadays?
[Android Apps and Games] Jhon_Locke:
Yes, I test it with RR Oreo and it's working ok.
[Android Apps and Games] voshchronos:
Thanks, friend! I'll try it now.

Edit: this is amazing, working perfectly in nougat. Finally I can access my damn SD properly in my PC.
[Android Apps and Games] luyongfeng:
Dear Mr. GokulNC, I tried this app on Huawei mate 9 EMUI 5.0 and EMUI 8.0, all failed. But in the Kernel of mate 9, the Linux File Gadget CD is avaible.

Maybe because of the files in Kernel regarding UMS is in different folder than before. Would you please kindly check and modify the app to

fulfil the UMS function on Mate 9? Following are 3 links of kernels of Mate 9 for your reference.

https://xdaforums.com/mate-9/development/kernel-serenity-firefly-edition-kernel-t3788624

https://xdaforums.com/mate-9/development/kernel-hyperplus-kernel-mate-9-t3777429

http://download-c1.huawei.com/downl...oadId=95352&version=391424&siteCode=worldwide

Thank you very much.
[Android Apps and Games] Kamjue:
Works on a S3 Mini with Stock_Light_v4 ROM based on Stock 4.1.2 Jelly Bean.

Probably works on Stock too, haven't tested.
[Android Apps and Games] pppppp:
NOT WORKING Working on:

cm13.0 20161203 GearCM i9500 (s4)

(android 6.0.1)

Copied content appears as gibberish (wrong names, sizes. Corrupts partition table information)

Yes, selected "eject usb device" and then on phone mounted as mtp before disconnecting

It is working now. Later, I tried other apps and this one corrupting the partition table was the closest to working I could get so I attempted a second time.

Maybe the problem the first time was me watching advertisements while copying large files. Who knows. I hope it stays working

:good:
[Android Apps and Games] luyongfeng:
Is there any one tried this APP on Samsung galaxy note 8 and note 9?
[Android Apps and Games] slimshouki:
Have you found a way to mount storage as a mass storage?
[Android Apps and Games] denoco:
It works! On Xiaomi Mi A1 dot_OS v2.5 (Android 8.1.0) Kernel version: 3.18.108
[Android Apps and Games] allmankind:
Not working on Xiaomi Mi Max 3

Running android 8.1 or 9. GlobeROM and Xiaomi.EU

I get the message that "No Mass Storage Gadget Found" and that I need Mass Storage Gadget and FUSE drivers installed in the kernel.

8.1 kernel is 4.4.78 (Xiaomi.EU)

9 kernel is 4.4.153 (GlobeROM)

So what can I do? Any suggestions?

I have tried multiple ROMs, all the same.
[Android Apps and Games] TimAnd:
Working on Moto G5S Montana. List can be updated.

But it auto-enables on phone start, even if previously disabled, which it should not.

Option Auto-enable is off. Default setting in phone for connection is Charging.
[Android Apps and Games] F1Fanatic27:
Okay, this one was a surprise. This app works great with my Lenovo Yoga Tab 3 Plus Wi-Fi running a very early LOS 16 build.
[Android Apps and Games] Alan90:
So far no success with this app on Android Pie but I can use TWRP for UMS mode still

---------- Post added at 07:22 PM ---------- Previous post was at 07:21 PM ----------

we need a newer app for pie
[Android Apps and Games] luyongfeng:
Would you please kindly tell me what is your phone model?

Would you please kindly tell me what is your phone model?
[Android Apps and Games] allmankind:
Is there an update anywhere on the horizon for Android 9? Try as I might, all I get is "No mass storage gadget found".

Xiaomi Mi Max 3. I REALLY need to be able to mount my phone as a USB mass storage device on my computer. File transfer mode simply does NOT cut it.
[Android Apps and Games] FlameRS:
Does this app support mounting adopted storage? As the adopted storage is the sdcard, I was wondering if this app could mount that as well as it can choose different partitions to mount?
[Android Apps and Games] Ps24u:
I'd love to get USB MASS STORAGE Enabler v1.6 working on Xperia Z5 / Nougat 7.1.1.

But when I try to connect in UMS mode, I get a popup asking which mode I want (recharge only / MTP mode / Midi audio), and this seems to override what the app is doing.

Any solution for this?

I have SuperSU 2.82, latest BusyBox, Permissive mode enabled.

I believe my rom has USB Gadget support, how can I verify?

Thanks for any help.
[Android Apps and Games] Borchuck:
Try to change default usb connection option inside the app after you connect your phone.
[Android Apps and Games] Ps24u:
It sadly doesn't work. As soon as I enable UMS in this app, the USB connection type reverts to "charging" only.

I do see a F: drive on my PC (with its properties listing "Mass Storage Device", yaye), but it cannot be browsed, as if the sdcard is not inserted.

And when I select "transfer files" from the system prompt, it goes back automatically to MTP mode inside UMS Enabler.

I'm almost certain it would work if only I could have the system stay in "transfer files" mode, and then enable UMS.

But again each time I select UMS mode within the app, the connection type goes back to "charging" only and there's seemingly nothing I can do.

Did anyone else get the app working on Sony Xperia with Nougat (7.1.1) or up?
[Android Apps and Games] Borchuck:
Select MTP and then enable UMS inside the app. Also, check inside developer options what is your default usb connection.
[Android Apps and Games] Ps24u:
That's the thing, I connect the USB cable, I get a prompt for

- charge this device

- transfer files (which is mtp mode only)

- audio (midi)

So I select "transfer files".

I open the app, then press "'enable mass storage". At this point without me doing anything it reverts to charging only (I can see it in the notification) and the prompt shows up again.

If I select "transfer files" at that point, it goes back automatically to MTP mode inside the app.

It's like there's nothing I can do to bypass the prompt and have UMS enabled with "transfer files" still selected.

In Dev options, for "select usb configuration", I have:

- Charging

- MTP

- PTP (picture transfer protocol)

- RNDIS (usb ethernet)

- AUdio Source

- MIDI

But regardless of what I select there, it changes nothing at all to the behavior inside UMS Enabler :/

Thanks for your help and advices though, I sure hope GokulNC would lend a hand..
[Android Apps and Games] Borchuck:
I wish you luck. Try also this xposed module:

https://xdaforums.com/xposed/modules/mod-usb-marshmallow-1-0-t3272072
[Android Apps and Games] slimshouki:
Does this app even work in pie!!!

I almost tried every stock miui, modded miui, aosp based roms but nothing works.

As soon as I open the app l, it goes to FC
[Android Apps and Games] Ps24u:
Sadly this module is for switching between MTP or PTP only, not Mass Storage..
[Android Apps and Games] Borchuck:
Well, actually I'm using it in pair with UMS enabler so my PC faster detect my phone as a mass storage.
[Android Apps and Games] c2apurva:
So can someone tell me, is this going to work for internal storage? I want internal storage as a drive. is it possible? is there any other way? plus is there any good recovery tool that recovers data from the formatted phone?
[Android Apps and Games] XDM inc:
They said it can't work for internal storage for some reason
[Android Apps and Games] KaMyKaSii:
No, it is impossible to mount the internal storage as mass storage

If you have TWRP, you should do "adb pull /path/to/userdata/partition/here" (probably /dev/block/bootdevice/by-name/userdata or /dev/block/dm-0 if you are running with full disk encryption) and then use some recovery software on pc that has the option to restore data from a partition image
[Android Apps and Games] :
Great tool, thanks. I would be happy to have a modification for the exit part.

My system has SELinux Status moderate. It crashes when at exit the tool tries to restart SELinux (probably Strict).

So modification should be to read the Status from the OS and restore that status at exit.
[Android Apps and Games] bladez:
Works pretty ok on LG G3 with LineageOS 16 (Android Pie 9.0)
[Android Apps and Games] zex_mais:
The latest 1.6.2 version is working perfectly on Redmi 4x 5" 3/32GB with Android 7.1.2 RR 5.8.5 + Magisk v16 Root, and SD write permissions .
[Android Apps and Games] SerpentSpirale:
Tried without success on pocophone f1 xiaomi.eu rom with full permission accorded to the app.
[Android Apps and Games] firdausimbolon:
Thank you. It works well on my Redmi 4A (AEX 5.8) in first try.
[Android Apps and Games] sptr999:
Working on meizu m3s
[Android Apps and Games] Alexey14:
I rooted and Installed TWRP, can you please explain how to use that code for galaxy s 8? where should I type that code?

in TWRP terminal ?
[Android Apps and Games] KaMyKaSii:
There is no secret, just browse /dev/block/... until you find the full userdata path, then use the command "adb pull /userdata/path" or "adb pull /dev/block/dm-0" if you have full disk encryption. And as the beginning of the command suggests, the same should be done through adb on computer. Depending on your USB cable and the size of your device internal memory, the command will take several hours to complete the copy of the userdata partition. After completing, you use some program to try to recover data contained in this image.
[Android Apps and Games] RyuukenZenkou:
Great app. Just wanting to know...

Does this still work with Oreo devices like the Galaxy j4? Because it's the one that I'm using now and I need/want this feature.

Pd. I just want to mount my external sdcard as Mass storage to use it with my laptop and TV.
[Android Apps and Games] wozhuanapp:
AFAIK, use the internal storage as the USB Mass Storage is not possible.
[Android Apps and Games] RyuukenZenkou:
There no way to do that. As the internal memory is formatted to ext4 and for Android policy reasons.
[Android Apps and Games] allmankind:
Is there ever going to be an update for this app to work with Android 9?

I REALLY need USB mass storage.
[Android Apps and Games] kos25k:
i have a Xiaomi RN5 Pro running Pie and I wasn't able by ANY means to make it recognisable from PC'S.When i installed this app, immediately PC recognised both my internal and microSD card.thanks a lot.

Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] :
It works with Android 9 on external SD cards, it will not work on the internal storage.
[Android Apps and Games] kos25k:
mine recognized internal also.

Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] luyongfeng:
How to check your phone is support UMS mode?

Following is the way. Before use this software, check your phone is support UMS or not.

Rooted phone is a pre-condition, then use RE or ES file explorer to see if there is such a folder:

/sys/devices/ff200000.hisi_usb/ff100000.dw3/gadget/lun0

or

/sys/devices/f9200000.ssusb/ff9200000.dw3/gadget/lun0

The different phone may has different file folder. But it must like that format:

/sys/devices/XXXX/XXX.dw3/gadget/lun0

If you can not find such a folder, then no hope to use this software.

But I found all Huawei phone has the way to use this software or similar function.

All Huawei phone with EMUI4.1 or lower firmware, then can directly use this software to fulfil the UMS function.

If a Huawei phone with higher EMUI version, like Mate9, mate 10, it can be updated to be EMUI9.0.

Then it will support "HUAWEI share function" (version 3.0). If the EMUI version is 8.0, the "Huawei share" function is not good enough.

Please update it to be EMUI9.0 first.

You will find the Huawei share funcion is just like using UMS function, only connected the pc with phone wirelessly.

To copy the files between computer and phone, the time stamp is kept unchanged like UMS mode.

The folder in MicroSD card inside phone can be mapped as a hard driver with driver number like "Z".

You can use it just like a removable hard driver.

Hope my experience can help you all.
[Android Apps and Games] :
Interesting. The OP says "It does not mount internal storage, and it will not work if your device doesn't have External Memory Card Support."
[Android Apps and Games] kos25k:
very weird.on my RN4 pro I didn't have such issues.and on rare cases PC didn't recognized it,I rebooted to twrp and then it was recognizing it.But now on my RN5 nothing helped.even with correct drivers.but with this app I was lucky enough to fully recognize my phone.

Στάλθηκε από το Redmi Note 5 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] luyongfeng:
I tried this software on Samsung galaxy note 9 N960F, it failed. Note 9 does not support UMS function in its system resources, no way out.
[Android Apps and Games] allmankind:
Is there any way to install USB Mass Storage Device on a phone that does NOT support it?

I have a Xiaomi Mi Max 3 6/128GB version running Android 9 (GlobeROM). Xiaomi.eu and even the Chinese global ROM does not support it either.
[Android Apps and Games] anacronataff:
Galaxy S2 with lineage-14.1-20190308-UNOFFICIAL-i9100.zip from https://xdaforums.com/showpost.php?p=79073842&postcount=2554 and with UMS_Enabler_1.6.2.apk

Works nearly perfect!

Thanks.
[Android Apps and Games] Johnbogoss:
Hi,

Firts, thank you for your program, it works perfectly for using my phone as an always up to date google drive usb drive.

I am now trying to automatically activate UMS when my phone is connected to a PC using Tasker but I can't find a way to do it.

Can somebody help me with this, please ?

Thank you in advance.
[Android Apps and Games] gongoscho:
Hi,

thanks for your App. But not working with my phone :angel::

Device: Xiaomi Pocophone F1 128GB Armored Edition

ROM & Vendor: lineage-16.0-20190808-UNOFFICIAL

See screenshots :fingers-crossed:

grEEtZ,

gongoscho
[Android Apps and Games] SAM209:
Was anyone able to get this working on Redmi Note 7?
[Android Apps and Games] luyongfeng:
All phones with original stock ROM Android version 6.0 or earlier, there must be a way make this software workable.

But if a phone with original Android version 7.0 or newer, then there is no way to make this software workable.

For instance, all Huawei (including Honor) phone with EMUI verion 4.1 (Android 6.0) or earlier, this APP is always workable.

But starting from EMUI 5.0 (Android 7.0), this APP is no longer workable. Because Google take away all files

under following folder from the resources, unless some one can unpack the stock ROM, add these files, and repack the stock ROM:

/sys/devices/ff200000.hisi_usb/ff100000.dwc3/gadget/lun0/

Dfferent phone may has different folder and file name, but all similar, like:

/sys/devices/???i_usb/???.dwc3/gadget/lun0/

Anyway, I found another way to do the same job on Huawei (including Honor) phones, starting from EMUI 9.0,

there is a Huawei share function, it works same like this APP, the MicroSD card inside the phone can also been

mapped as a removable driver on pPC. The only difference is that its connection is wireless, not by USB cable.

After copying files between PC and phone, the timestamp of files are also being kept unchaned.
[Android Apps and Games] richarshub:
Worked well on my Xiaomi Mi A1, thanks. Nice work, keep it up
[Android Apps and Games] crismar2:
It doesn`t work in Mi Max 3, A10 ;(
[Android Apps and Games] Ashokk8:
Doesn't work on

Redmi note5 pro with MIUI.eu (Android 9) version
[Android Apps and Games] dmitrypershin2015:
similar, but in the kernel I have:

CONFIG_USB_CONFIGFS_MASS_STORAGE=y

CONFIG_USB_F_MASS_STORAGE=y

CONFIG_FUSE_FS=y

redmi 8a
[Android Apps and Games] chatoo6:
Hi please support for Xiaomi Redmi Note 8 Pro this version don't Work :(, i have Android 9 with root. thanks

Version MIUI: MIUI Global 11.0.2 Stable (PGGIDXM)

Android Version: 9 PPR1.180610.011
[Android Apps and Games] luebarry:
J6 2018 half-working ?!

Hello.

On my Samsung J6 2018 (SM-J600FN/DS) it is not working. The effect is that in fact the MTP device disappears on MyComputer (using Windows7) and another device is being added (for me with "I" letter) but it is in the RAW format and cannot browse it under Windows. Didn't test under Linux.

Have anyone tried that on this model yet ?

I have Android 8 .x on the board.
[Android Apps and Games] Borchuck:
Are you sure yous sdcard is formated in fat32?
[Android Apps and Games] luebarry:
Internal Memory - not SD card

I wrote about internal memory, as I wanted to make it visible as usb mass storage to recover data from it.

I don't need to make my SD card visible as a drive, because I have a usb flash reader for that.
[Android Apps and Games] Borchuck:
Internal memory cannot be used as a mass storage with this app. In this case your only solution is MTP.
[Android Apps and Games] Napalm001:
I have been using this software for a while and just ran into a problem right after using it to pull photos off the SD card. Suddenly the SD card is not write-enabled until I either restart or unmount/remount the card. The writability lasts for anywhere from 1 file to a few minutes, before being read-only again.

I am thinking the app changed a setting improperly, and that is causing some havoc. Does anyone know a solution or place I can investigate further?
[Android Apps and Games] Jdbye:
That happened to me (I have never used this app before) and it turned out the SD card was going bad and had bad clusters on it that weren't recoverable, and some of my files (mostly pictures) had some corrupted data I couldn't recover. In my case it would stay read/write after reboot for a while, but randomly when I tried to write something to the SD card I noticed it was read only again and had to reboot. My guess is any time it encountered one of the bad clusters it remounted as read only. So your issue might be the same but maybe you have a lot more bad clusters, or they are in important files that are accessed all the time. The card was about 2 years old when it finally went read only permanently, even after rebooting it was still not letting me write anything to it. And that's when I decided to do a scan for bad clusters with chkdsk (chkdsk /F /R X: ) and discovered all the bad clusters. I was not able to copy the corrupted files and copying would error and stop so I had to use data recovery software to get all the data off the card ignoring the corrupted data in order to copy it to a new one.

After reformatting the old card appears to work again (but slower than normal), I don't trust it anymore though.
[Android Apps and Games] pushkarchr:
No Mass storage gadget found

Model: Asus Zenfone Max Pro M1, 3/32GB,

ROM: Latest Stock Android 10 Beta update from ASUS

Rooted and Busybox installed,

Tried UMS Enabler v1.6 and it shows The app will work only if there is mass storage gadget & FUSE drivers built-in your device kernal[IMG="ERROR"]file:///C:/Users/BabaRocks/Downloads/Screenshot_20200916-182025.png[/IMG]
[Android Apps and Games] omeletteaufromage:
Seems to be working. SDCard is detected as Flash Storage in Windows explorer. Thanks!

Model: Huawei Honor 5x

ROM: LineageOS17.1 latest build

Rooted with latest stable magisk
[Android Apps and Games] Zaxx32:
I know this is and old thread. Gonna root my Google Pixel 4a this weekend and was curious if anyone with a Pixel 4a had tried this app.

Fwiw, the 4a doesn't have an SD card slot. Ofc it does have USB-OTG support for USB sticks that works fine...but big usb sticks ain't cheap. I have and old OCZ Vertex 2 SSD in an external enclosure with both USB and sata outputs. If u have used a 4a please post up telling how it went.....tia!
[Android Apps and Games] KaMyKaSii:
I don't understand exactly what you want. This app is made to expose the external sdcard directly to a computer (not using mtp) without having to remove it from the device. For what exactly do you want to use the app with a removable storage that's always available for direct connection to a computer?
[Android Apps and Games] SjBathavar:
I'm on Android 12.1 and it is not working here either. Error is suggesting changing kernel that supports fusing hardware storage.
[Android Apps and Games] tearex:
Ofc it won’t work look it’s not updated like 5 years for now.
[Android Apps and Games] SjBathavar:
I know it's outdated now. i posted here to get some relevant reply related to new update on ums.
[Android Apps and Games] Borchuck:
There is simmiliar app that should work on newer android versions: UMS Interface
[Android Apps and Games] sqrtus:
...and after Yes it crashes, how to fix it? samsung A71, S20 Ultra, stock firmware. In these firmware, the memory is re-allocated or what? Where does this kind of **** come from?
[Android Apps and Games] alagga:
It's not under maintenance anymore either, isn't it?
[Android Apps and Games] antoniodangelo:
Hi all, I have a Galaxy S10e and for my work I need a phone with usb mass storage support to use the microsd as a flash drive. I also tried the ums interface app but it doesn't find usb gadget support in the kernel. Do you have any suggestions?
[Android Apps and Games] Raptor.007:
Would love to find some way to get my Titan Pocket (Android 11, rooted) to share its SDcard as USB Mass Storage, the way my old Droid Pro on Gingerbread (Android 2.3) could. MTP and PTP modes don't work for sharing the SDcard. Unfortunately I haven't had any luck with this app nor UMS-Interface.

It's baffling that this basic functionality from Android 2.3 (and BlackBerry OS 10) is no longer present in Android 11. So far my workaround is just to shut off the phone, remove the SDcard, and place it in a USB adapter for the PC. Great user experience, Google. :rolleyes:
[Android Apps and Games] asdf2345:
I set SELinux to Permissive and now the app just crashes every time I try to launch it, even if I clear data/cache.

Model: Xperia XZ1 Compact

ROM: BlissRoms Q 12.12

Root: Magisk 25.2
[Android Apps and Games] /data/mnt:
but with full root, there's gotta be some way to accomplish that
[Android Apps and Games] cesarfilho:
Someone is also with this problem?

No one knows how can I solve this? :confused:
[Android Apps and Games] taospirit:
hi

working fine on my UMI rome.

thx a lot ;)
[Android Apps and Games] Osga21:
Worked on my Wiko WAX using "Hard Method".

You have no idea how glad I am this app exists. MTP is a piece of crap that barely works half the time, and has the slowest transfer speeds ever(4 hours to copy my music library? It's only 20gb, geez).

Any way, thanks for making this :)
[Android Apps and Games] univerzal:
Soft method works on LG G3 D855 stock version V20h. It it seems that it has to be applied after each restart. It would be nice to have option for auto apply after restart. Anyways THANK YOU SO MUCH FOR THIS!
[Android Apps and Games] Minions_Army:
Work on android one first gen
[Android Apps and Games] bladez:
Sadly doesn't work on Galaxy S4 i9505 CM13 :(
[Android Apps and Games] Alfa_G:
Doesnt work on galaxy s4 9505 with GPE lollipop rom.The only thing i see is a grayed icon on windows explorer