yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Themes and Apps] prosodyspeaks:
moto g 3rd gen (osprey)

cyanogen 12.1 2015-11-17

stupidly installed* and ran without really paying mych attention as wanted to use in hotel tv with no laptop available,

tried different lun and nodes, none worked, gave up

returned to laptop now no usb connectivity and disabling adb debugging causes phone to restart.

please help me regain usb connectivity with windows and control of usb debugging?

sorry i know it's basically my own fault but maybe i have messed up some usb configuration on device which can be restored? my last nandroid is very old!

thanks....

* from here https://play.google.com/store/apps/details?id=com.rotturm.mtpusbswitcher&hl=en_GB
[Galaxy S 4 Themes and Apps] saifmah:
NIce work.
[Galaxy S 4 Themes and Apps] kwstas 13:
Guys my Z1 compact broke(it had mass storage mode pre-installed by Sony).So now I'm on Galaxy S4 mini (I9505) and i'm running stock kitkat....My problem is that SG USB MASS STORAGE ENABLER doesn't work on kikat and above versions and I really need this feature...(My phone is rooted). Any help please except from downgrading?
[Galaxy S 4 Themes and Apps] baltobalto:
When i was in kitkat i used this mod: http://xdaforums.com/showthread.php?t=2740826

Now I'm with lollipop and i use this:https://play.google.com/store/apps/details?id=com.rotturm.mtpusbswitcher

My phone is S4(i9505)
[Galaxy S 4 Themes and Apps] twito1992:
not work for me... i have galaxy g900f lollipop.
[Galaxy S 4 Themes and Apps] avala200:
please, the apk dont work on s4 i9506
[Galaxy S 4 Themes and Apps] slimshouki:
Finally, an app works for our model. Mass storage mode

http://xdaforums.com/showthread.php?t=3240097
[Galaxy S 4 Themes and Apps] int0x13:
Hi,

When i switch to "Mass Storage Mode", i can see a drive letter into "my computer", but when i browse it, it says it's not ready.

With this other applicaiton (http://xdaforums.com/android/apps-games/app-universal-mass-storage-enabler-beta-t3240097) and UMS mode, i can browse my external SD and with the same config "SG USB Mass Storage Enabler" cannot seems to mount the SD.

Can you try to explain what's wrong?

My config:

Phone: galaxy s4

ROM: Android 4.4.2 (stock rom)

Kernel: CF-Auto-Root-jflte-jfltexx-gti9505.tar

Regards,
[Galaxy S 4 Themes and Apps] Azlun:
can you add button to enable usb diag for modem tools？

su setprop persist.sys.usb.config diag,adb
[Galaxy S 4 Themes and Apps] walliester:
+1, yup its true working on my SGH-M919 T-MOBILE GS4 also...
[Galaxy S 4 Themes and Apps] Ign0tus:
On my USCC Galaxy S3, it mounts in Windows 7 x64 as an empty CD drive... When I try to enable UMS, it says: failed to unmount. I choose the option to force unmount it. Then it says unable to run command, is BusyBox installed? I have BusyBox installed. I also installed the Samsung USB driver on my PC.
[Galaxy S 4 Themes and Apps] NEOAethyr:
Thanks MohammadAG for this app and providing the src.

I'm totally against installing any app that has ads in it though, but I was able to compile it with eclipse.

It kept giving me a warning about not being able to find the google ads lib file, it took me a while to figure it all out.

I gutted the heck out of it, no more ads lol.

And it's working :good:.

I got the i9500 galaxy s4.

And I've also got 2x 64gig samsung sd cards, class 10.

Both I verified by hand before even trying to use them on my phone.

On the pc I get about 14 megs per sec write, and 17 - 75 megs per sec read (only got the 75 megs per sec once...).

On the phone, in the masss storage mode (or actually called installer mode on my phone), it goes up to amax of 3 megs per sec lol.

I know that's not the progs fault, something to do with the os/kernal or whatever that's installed on my phone (stock+rooted).

The main issue I have, is that when I restart my phone, I have to go back in the app and enable the mode again, even though the phone reboots into that mode it refuses to work unless I re-apply it.

If I apply it to quickly after a reboot, it fails.

I have to wait a half a min to do that in order for it to work.

I'm not sure what's up with that, obviously the phone reboots into the correct mode, but apparently it applies it to quickly and screws up.

One thing I don't like though, I'm in the middle of using adb shell and I switch the usb mode into this mass storage (installer mode), it tosses me right out of adb and I have to kill the server to get it working again.

Though I can use both at the same time, I think, if I remember right lol.

I just have to enable the mode before I go into adb shell.

I'll double check real quicky before I end this post...

Yep just checked, I can do both adb shell and usb mass storage mode at the same time.

Speed is a big prob though.

And it would be nice to see this built into the os or kernel whatever it's called along side mtp and ptp options in the same dialog.

I'm a n00b..., so I don't know what it would be in.

And man, offtopic wise...

Micro sdcards, at least samsungs get freaking hot as heck when in use.

Doesn't matter if it's in my phone or my pc.
[Galaxy S 4 Themes and Apps] ThaiDai:
Working on Samsung Galaxy Note (N7000). Thanks.
[Galaxy S 4 Themes and Apps] MohammadAG:
I use Directory Bind but it has the option to unbind. I'm pretty sure FolderMount should also have that option. So just unmount all the binds in it and it should work.

Well that explains things a bit. I wonder what applies that. A service or something that's baked in.

You're welcome! :)

Yeah, I got into Android after Jelly Bean. I still have my N9 and N900 though. Plan to resume development when I finish my exams.

I think my BusyBox check backfired. I'll switch to using RootTools soon. I guess you can click Yes and ignore the dialog.

The problrm however resembles that on the Verizon S4. Not sure how to fix it without a device.

You're welcome. You don't need to recompile the app every time though. Just disable ads in the app and it'll remember that permanently. The option is in Action Bar menu (or hardware menu button).

Seeing a lot of complaints. I'm guessing either Samsung cheaped out on the USB port or whatever ties it to the SD card controller. It could also be a kernel issue. But it definitely isn't an app problem since this is mainly just a glorified script with a UI.

I'll look into the startup problem. I think it's just that the lun file is getting cleared and the microSD card is unmounted by the system.

As for adding it to the dialog that would require mods to the system through Xposed or Cydia Substrate.
[Galaxy S 4 Themes and Apps] freakboy13:
I can confirmed this works on sg note 2 sgh-i713 so will probably work on other notes as well.

THANK YOU SIR!!!!
[Galaxy S 4 Themes and Apps] cereal86:
Tested and working on Samsung Galaxy SIII LTE (GT-I9305)
[Galaxy S 4 Themes and Apps] leeoleelo:
Definitely downloading this one!!! :good:
[Galaxy S 4 Themes and Apps] StreamingMT:
Thanks for your work: Will change my life at work with securised Airbus computer !!!

I use N7105 Wanam Lite v1.3 with kernel Perseus alpha36.3.

By the way, only extSDCard can be mounted? I have played with sets, but all the time my own computer mount 2 drive, one I can enter, and the good one with extSDCard content, this is a normal use?

Will donate next week if work at office :)

Wish you good week end everybody!!!
[Galaxy S 4 Themes and Apps] cdzo72:
Its only for mounting the extSD... did you not read the OP
[Galaxy S 4 Themes and Apps] StreamingMT:
It will never be able to export the internal storage on the device.

Obviously no. :p
[Galaxy S 4 Themes and Apps] aalupatti:
Wow works with note 10.1

This is the only app that works to make usb mass storage possible in galaxy note 10.1
[Galaxy S 4 Themes and Apps] el6006:
Works great on a Sprint S3 flashed to Verizon MVNO Page Plus and running custom JB 4.2.2-Based ROM called ReVolt and being used by user el6006. :)
[Galaxy S 4 Themes and Apps] NEOAethyr:
Just a small update.

I tested 2 methods.

I booted up with usb mass storage mode enabled before hand.

1 boot without the usb cable hooked up, I waited a bit for it to boot up all the way, waited for all the msg's to finish up like power saving and afwall+, etc.

Then I plugged in the cable.

The other hooked up while it was booting, or before I booted, it's the same.

Both methods I needed to enable mass storage mode again even though it's already in it.

But once it's enabled it's good to go unless I do full restart or power off.

I did check and see if it works while in lock mode (I think that's what it's called, not sure).

Just a quick press of the power button after it's enabled, instead of holding the power button.

And it works while the phone is locked/partially off.

And it also seems like charging is still working while in usb mass storage mode.

One more thing I wanted to say, offtopic...

I got my card formatted as exfat, 128k cluster size.

I had tried 64k originally but the phone won't see that.

It actually formats it it's self with exfat 128k, and it works fine if I do the same with windows, apparently it just doesn't work with other cluster sizes.

I just wanted to say that because it could relate to speed somewhat, I wonder how dos would react with that 128k cluster size...

It probably doesn't matter.

Oh anyways, I'm happy as heck that you made this app.

It was really bothering me that I couldn't access it like a real camera or usb stick would.

It even has something called camera mode but it acts nothing like it lol.

Now I can just plug this sucker in and boot windows off it on any pc lol,.. maybe winpe lol.

I'll probably be using it more for flashing older motherboards in dos and for transferring files back and forth.

I'de have to carry around a usb stick with drivers just to use the phone as a usb stick lol.

That totally defeats the purpose.

But it's not a prob anymore :).
[Galaxy S 4 Themes and Apps] adheeshkurekar:
app is awsm u realy helped me out .. im using ubuntu was unable to connect to my grand sd card thanks
[Galaxy S 4 Themes and Apps] aalupatti:
Said things too soon...

The sd card shows as cd drive and says is write protected when I try to add files. Any suggestions please.

Device galaxy note 10.1
[Galaxy S 4 Themes and Apps] TD4:
I can confirm it works on my Galaxy Note 2 (SGH-I317M)
[Galaxy S 4 Themes and Apps] frwan:
Work like a charm on my international s3 ;) Good Job MohammadAG :good:
[Galaxy S 4 Themes and Apps] dtm4lifebaby:
The Verizon CD installer is definitely causing the app not to work on my galaxy s4
[Galaxy S 4 Themes and Apps] StreamingMT:
Doesn't work at office's securised computer, where external HDD and USB storage work (like my old N7100 -> Actually N7105).

But thank you again for your work!

If I can help for anything ;)
[Galaxy S 4 Themes and Apps] l.Urker:
Working on P6210! (Galaxy Tab Plus WiFi) On official JB rooted, need a reboot after enabling though!

Edit : When clicking on the Turn On USB Storage button, nothing happens apart from the tablet unmounting the SD card. Worked the first time though :(
[Galaxy S 4 Themes and Apps] buggz2k:
Works on my Sprint S4(SPH-L720), thanks!
[Galaxy S 4 Themes and Apps] zxsix:
rename \system\etc\autorun.iso to autorun.old and reboot.

that will stop the installer mount that happens when you plug phone in to usb.

does it help this app to work after that's disabled?
[Galaxy S 4 Themes and Apps] arix:
Working great on my i9500.

Thank you so much!!!

Just minor question, with my old SG2 i pressed on Android symbol to connect or disconnect (USB debugging mode).

I have noticed all I need is to connect USB cable and that all (it's great) , and if i disconnect cable after the SD card is mount back to S4 (great also)

is it the right way to conenct and disconnect cable without pressing something ? (beside using "Safely Remove Hardware" from PC)
[Galaxy S 4 Themes and Apps] BiSHGoD:
On my Rooted Verizon SCH-I545 I renamed autorun.iso (had to set /system to rw first and then back to ro after) and rebooted the phone.

After rebooting I don't see it saying it's connecting as installer anymore but it still loads a CD Drive. The hardware for the drive says "SAMSUNG File-Stor Gadget USB Device".

When I double-click the CD Drive it just says "Insert a disc".

This is on Windows 8.
[Galaxy S 4 Themes and Apps] zxsix:
Does it allow this mass storage utility to work now or does it still interfere with it working even with the autorun.iso gone?
[Galaxy S 4 Themes and Apps] BiSHGoD:
Still does not work. Just gives me the empty CD Drive instead of MTP device in My Computer.

Connected to newly installed Win7 (no Samsung drivers) and it also gives an empty CD Drive.
[Galaxy S 4 Themes and Apps] open1your1eyes0:
I think Samsung/Verizon repartitioned UMS mode on this device to be read-only and appear as CD Drive always.
[Galaxy S 4 Themes and Apps] pRo_lama:
Really great app. This app destroyed my 32GB SD Card !!! Thanks

Please don't use it if you want you sd card working.
[Galaxy S 4 Themes and Apps] NEOAethyr:
I've killed my sdcard a few times too.

It's not the apps fault though.

At the time I was trying to setup mame reloaded and put some roms on my sdcard.

Well it happened when I was trying to set my rom dir, I didn't realize that when I'de pick my mame/roms it would try to find them in a dir called mame/roms/mame..../roms (it would also make this dir).

In the process of this, going back and forth trying to get it working right my usb storage mode would go to shiz.

I also had adb open and killed a few times mid way too and that didn't help, I would go and kill the server and such.

It was a mess, killed my card probably 4 times in the process.

As long as I tried to ensure that the phone and windows isn't accessing the data at the same time it's fine.

Mostly anyways lol.

I stopped having probs as long I close windows explorer's view on that drive before even go to read it on my phone.

There is a method to screw over the mass storage mode until reboot though.

I don't remember the exact method.

But once it's screws up, most of the time it'll say fail to unmount sdcard, in use type of stuff.

Just kill adb server, restart the phone (locking it is not good enough), put it back in mass storage mode and it's good to go again.

Sometimes you may have to put it into ptp mode before hand type of stuff, and switch back.

Because it won't always switch if it thinks it's already in mass stoage mode.

It does work most of the time, when it's not working, says it's in mass storage mode, and you press the mass storage mode button, it'll work.

But sometimes it won't, and in some of those cases you need to change the mode and then change it back.

The app does work.

And yes I've seen the 0 bytes free, 0 files partition prob many times.

You just need to reboot the phone and ensure adb isn't running in your task manager in windows, or kill the server.

Then switch the modes on the phone after a reboot, remember to wait 10 secs or so after reboot for everything to finish starting up on the phone.

If you put it in mass storage mode to quickly it'll screw up.

AND remember that windows has direct access to the storage now.

Meaning it needs support for whatever file system you are using.

If you are using exfat, then on say win7 and 8 it'll be fine.

But if it's winxp and 2k, it won't work without the windows update for exfat support.

You could always use fat32, but it has file size limits and it's slower.

Being that the sdcards are slow as heck anyways, that would not be the greatest of ideas, but it would be more compatible, depending of course.

Personally exfat is compatible enough for me, I mean I could always boot dos up and partition the sdcard with that from my pc and have multiple partitions but that's more advanced.

It's not a bad idea though... (that's actually a good one, fat16 and exfat together on the same card), gets me thinking :D.
[Galaxy S 4 Themes and Apps] MohammadAG:
Can someone with a VZW device paste their whole sysfs contents?

find /sys

Should produce a complete list, use pastebin.com to paste the contents here.

Thanks.

Another thing, this app can't destroy a microSD card. Forcing an unmount can cause data loss in what's being read/written, but the app asks whether you want to do that or not. The only thing it might mess up is remounting the card on the device due to race conditions. Using the force remount option in the menu can help fix that, or you could just reboot the device.
[Galaxy S 4 Themes and Apps] projectzero_droid:
i can't install by Google Play can anyone make a .apk for me please ... (Samsung Galaxy S4 i9500)
[Galaxy S 4 Themes and Apps] InV15iblefrog:
Well, since MohammadAG makes it free, and open source, I suppose it would be fine to do it, but I'd rather have permission first. If so, I'll do it.

:cowboy: (I'll be using an app, I have no clue about (re)compiling apks....if that's even relevant....:confused:)
[Galaxy S 4 Themes and Apps] MohammadAG:
It's open source, you're free to do what you want with it.

Here's an apk though, to save you some trouble :)

http://mohammadag.xceleo.org/public/Android/SamsungUSBMassStorageEnabler_1.3.apk
[Galaxy S 4 Themes and Apps] InV15iblefrog:
Oh, ok. Just thought i'd check before stupidity....although that's where i arrived anyway :o

:)
[Galaxy S 4 Themes and Apps] thecaptain0220:
Hope this helps

http://pastebin.com/uQkcxj06
[Galaxy S 4 Themes and Apps] thevanquisher:
:good:

Works great ! Thank you transferring data a lot faster now.
[Galaxy S 4 Themes and Apps] projectzero_droid:
Thank you :D
[Galaxy S 4 Themes and Apps] MohammadAG:
Thanks, but the paste is missing a lot of output.

find /sys > /sdcard/sysfslist.txt

This will place a file called sysfslist on your SD card. That'll help you paste it I guess.
[Galaxy S 4 Themes and Apps] thecaptain0220:
Sorry about that, this should be better.

https://www.dropbox.com/s/ujqdrxyojtbikd5/sysfslist.txt

I am running the Hyperdrive ROM right now but I still have the problem. If you need me to flash back to stock I can do that as well.
[Galaxy S 4 Themes and Apps] monoxgas:
Here is that same sys paste from a stock Verizon S4

dropbox.com/s/zld7bcxuoey4v5h/sys.txt

Good Luck and thanks for your work!
[Galaxy S 4 Themes and Apps] AllGamer:
Working great on Galaxy Notes 1 (SGH-i717)

Thanks!

it was about time, i hate MTP with a passion :p
[Galaxy S 4 Themes and Apps] 15MA1L:
Thank you

Thank you, very much, now I can listen music in the car, which is on a mobile phone,

without your app that was not possible. You're my hero. Thank you. thank you, thank you.

Samsung galaxy S4 GT-i9505 - Switzerland

PDA: I9505XXUAME2

Version: 4.2.2
[Galaxy S 4 Themes and Apps] jakir01:
Works on GT-I9500
[Galaxy S 4 Themes and Apps] robertogl:
Works perfect for me too.

I've a question. What are the limitations for the internal memory? If I'm right, cyanogen can use usb storage for all memory, what is the difference? :) thanks :) only curiosity...

Inviato dal mio GT-I9505 con Tapatalk 2
[Galaxy S 4 Themes and Apps] taztech:
T-Mobile Galaxy SIII, rooted stock Jellybean, comes up as a read only CD-ROM on my computer (Win7 Professional x64). I can view all the files and copy

from

the SD card to my computer, but not the other way around.

Also have tried to use with my car stereo, it detects that there's a USB device connected but disconnects with a message that it can't find any supported audio.
[Galaxy S 4 Themes and Apps] Paolonicus:
I also have this issue, but the thing is I don't use any apps for changing the phone's directory. I ignored the warning, and after unmouting it and changing it to UMS, it messed my MicroSD Card! If I try to unmount it via settings, the phone will always give me this error "Damage USB Storage. Try reformating." I narrowed it down to this app, because I did a wipe on my custom ROM (Wanamlite v1.3 & 1.4) and I didn't encounter those problems. Only when I installed this app again and did mount it as USB did those problems surfaced.:eek:
[Galaxy S 4 Themes and Apps] :
x
[Galaxy S 4 Themes and Apps] echenze:
works well on the GT-I9500
[Galaxy S 4 Themes and Apps] gffgff:
amazing apps, thanks :good:
[Galaxy S 4 Themes and Apps] briansnj:
Works on the Samsung Galaxy S3 SPH-L710 for Sprint !

THANKS!!!!!!!!!!!!!!!!!!! :good:
[Galaxy S 4 Themes and Apps] tengtengvn:
Working on SGH-M919! Thank you sir!
[Galaxy S 4 Themes and Apps] beep-beep:
Installed 1.3 to my Verizon S4, but my computer couldn't mount the phone with UMS enabled. Hope you get this working soon!
[Galaxy S 4 Themes and Apps] ezechiel1917:
Thanks for this nice app, mounting works fine with i9505

Had some issues when unmounting through computer, had to restart phone because some apps on sd card were not correctly reinitialized after usb removal.

Would it be possible to show more transparent status of current Mass storage mode and SD card status?

I'd like to be able not to mount SD card when I plug USB cable by default. Is that default behaviour already?

Currently I'm not sure whether is that default behaviour because sometimes I have to click Force mount SD card which is unfortunately hidden in menu?

Can I force sd card unmount in application without disconnecting usb cable?

What about adding one more toggle next to Mass storage and MTP mode which could reflect status of SD card mount and toggle mount/unmount. It would show "Mount SD card" when card is not mounted and "Unmount SD card" when it's mounted.

Also something like optional quick link to your application or Mount/Unmount toggle could be placed to notification bar for quicker access.

Thanks Ez.
[Galaxy S 4 Themes and Apps] Guatiao:
This seems like a great effort! I'm looking forward to feedback from SGS2 users (SGH-T989) and/or AOKP users.
[Galaxy S 4 Themes and Apps] thegoofyweirdo:
Hoping and waiting for a Verizon Samsung Galaxy S4 fix!!!! :D:D:D
[Galaxy S 4 Themes and Apps] Paolonicus:
Failed to Unmount

I still have this issue, regardless of what ROM or MicroSDHC Card that I have.

It all started since I've started using MEA Firmware (and all of it's derivative ROMS) and later firmware versions.
[Galaxy S 4 Themes and Apps] MohammadAG:
So what happens if you click yes?
[Galaxy S 4 Themes and Apps] Paolonicus:
It do get mounted as a Mass Storage Device. But I am more concerned regarding that warning about data loss. I don't wanna ruin my SD Card the same way I did with one of my flash drives. Not only were my data corrupted, eventually the flash drive itself was ruined and was never again recognized by any pc
[Galaxy S 4 Themes and Apps] ezechiel1917:
same issue here, is there a way to find out which process is acessing sd card?

EDIT: Thinking about it... Could it be related to the fact that MEA introduced ability to move applications to SD card and therefore system itself is accessing MicroSD all the time and it just can't be safely removed and removal has to be forced?
[Galaxy S 4 Themes and Apps] Paolonicus:
Nice thinking

Yeah that might be the problem. If we can just identify which system app/process is actually trying to access the MicroSD and somehow disable it, this might solve this problem. ;)
[Galaxy S 4 Themes and Apps] XTeK2:
Me after installing the ROM BMF4 in S4 ceased computer detect your phone.

On other computers also can not see.

Uninstalling does not help.:(
[Galaxy S 4 Themes and Apps] saddlejib:
question

Just downloaded the app works as it says on the tin, using usbdeview by uwe sieber its seen as a usb composite device would, or could i be seen as a a mass storage device at boot time

reason is G4D.

Thanks

in anticipation
[Galaxy S 4 Themes and Apps] mcsdoode:
Just like everyone else with Verizon S4s, I'm SOL. Thanks for the awesome app, anyway! Now to see if it's possible to get it working with our phones... ='(
[Galaxy S 4 Themes and Apps] Kangburra:
Hi, Thanks for the app, working on my GT-I9205 Mega :D
[Galaxy S 4 Themes and Apps] thunderserpent:
When I enable mass storage, the UNIX last modified times times change to the time the storage was mounted, not when the actually file was last changed. Other than that, this app is very useful thanks!
[Galaxy S 4 Themes and Apps] Shebee:
I always have to force unmount or whatever... i9505 stock rooted, nothing special installed.