[APP] [ALPHA] External SD card Mass Storage APP - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

I am not going to develop it any further as the Easy UMS app now supports i747
http://forum.xda-developers.com/showthread.php?t=1711009
OLD
I have made an app to toggle between the two scripts suggested by bazald in
http://forum.xda-developers.com/showthread.php?t=1768752
Issues:
1. Only mounts external SD card. This is the limitation of the bazald's scripts. If in future the scripts allow for internal SD card, I'll modify the app for that.
2. On starting the app, the app assumes that you are in MTP mode.
Credits:
bazald : for coming up with the commands to mount external SD card
Edit: Replaced APK with a signed version.
Update:
Mass Storage Beta 2: Mass_b2.apk
Changed the way sdcard is mount to
plaut said:
This isn't working for me, and I'm guessing it's because the mount location of the external card is specified explicitly as /dev/block/vold/179:97 (as in bazald's script). It would be better to cut it from the output of the mount command, as in the (mostly) US-compatible version of SGS3 Easy UMS. To wit, replace
Code:
echo "/dev/block/vold/179:97" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
with
Code:
mount | grep /mnt/extSdCard | cut -f 1 -d " " > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
in the UMS enable script.
Click to expand...
Click to collapse

Screenshot attached

Works like a charm, thanks elfie!

Can you make one for cm10/aokp?
Different mount directory I think.
Sent from my SGH-I747 using xda app-developers app

jiggytom said:
Can you make one for cm10/aokp?
Different mount directory I think.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
If you can point me to the right script/mounting directory. I can do it. + I am not on CM10/AOKP so you'll have to test it for me.

This is very useful, thanks!

Works on T-999
elfie said:
I have made an app to toggle between the two scripts suggested by bazald in
http://forum.xda-developers.com/showthread.php?t=1768752
Issues:
1. Only mounts external SD card. This is the limitation of the bazald's scripts. If in future the scripts allow for internal SD card, I'll modify the app for that.
2. On starting the app, the app assumes that you are in MTP mode.
Credits:
bazald : for coming up with the commands to mount external SD card
Edit: Replaced APK with a signed version.
Click to expand...
Click to collapse
Thanks so much! Works great on stock, rooted T-Mobile T-999 :good:

Didn't work for me. Tries to mount in MTP mode, then tries to install a driver and fails. It started to install a mass storage device driver at first but then switched, I can't get it to do that again. Would love to make this work.

jordant2 said:
Didn't work for me. Tries to mount in MTP mode, then tries to install a driver and fails. It started to install a mass storage device driver at first but then switched, I can't get it to do that again. Would love to make this work.
Click to expand...
Click to collapse
Yeah windows sometimes messes up the driver part.
"If Windows fails to find the correct driver, go to the Device Manager and manually set it to use the driver, "USB Mass Storage Device". It seemed to try to stick with the MTP driver in my case."
Check the script thread for more pointers.

Thanks for the response. I'll give that a shot now.
Sent from my SGH-I747M using xda app-developers app
EDIT: That did the trick! Thanks Given.

jiggytom said:
Can you make one for cm10/aokp?
Different mount directory I think.
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I'm running Jellybro's CM10 August 4th nightly on my AT&T Galaxy S III and it worked fine for me.

Can't mount internal SD card after using app
So I'm probably doing something wrong, but here is what happened.
Starting from a rooted stock ROM, in MTP mode, I ran the app and turned it "on". The external SD card popped up with no problem.
I was able to load my music etc. and it worked great (thanks for that).
After I was finished I unmounted the SD card from my computer and turned the app "off". I disconnected the phone from the computer.
I reconnected the phone to the computer, selected PTP mode and my internal SD card showed up but only for a second. I could not access it. I switched to MTP mode and it didn't work (as expected since I am using Linux). I tried every combination of off/on, MTP, PTP I could think of and nothing would give me access to the internal SD card.
As a last resort I ran the MTP.sh script using gscript and everything went back to "normal". I could mount my internal SD card in PTP mode.
I manually ran the Mass Storage.sh script and the external SD card popped up. All good.
Did I screw up something in using the app in the first place?
Thanks for the great work. I just want to figure out if I should have done something differently. If you need additional info let me know and I'll send it your way.

procco13 said:
So I'm probably doing something wrong, but here is what happened.
Starting from a rooted stock ROM, in MTP mode, I ran the app and turned it "on". The external SD card popped up with no problem.
I was able to load my music etc. and it worked great (thanks for that).
After I was finished I unmounted the SD card from my computer and turned the app "off". I disconnected the phone from the computer.
I reconnected the phone to the computer, selected PTP mode and my internal SD card showed up but only for a second. I could not access it. I switched to MTP mode and it didn't work (as expected since I am using Linux). I tried every combination of off/on, MTP, PTP I could think of and nothing would give me access to the internal SD card.
As a last resort I ran the MTP.sh script using gscript and everything went back to "normal". I could mount my internal SD card in PTP mode.
I manually ran the Mass Storage.sh script and the external SD card popped up. All good.
Did I screw up something in using the app in the first place?
Thanks for the great work. I just want to figure out if I should have done something differently. If you need additional info let me know and I'll send it your way.
Click to expand...
Click to collapse
I tried it on my machine (windows 7 64bit)
1. Connected phone in MTP mode
2 Launched App, and turned it on. SD card showed up.
3. Ejected the card. Got a notification on phone saying MTP needs to restart. Clicked OK. Phone showed up in MTP mode again.
4. Switched to PTP. Worked perfectly.
The only thing I see different is the MTP restart notification. Just wait for it before you disconnect.

Thank you very much! works great!
I can now use my work internet to get my media on my device

thanks :good:work's perfect:victory:

I got it to work in my car, but then my SD card got corrupted. I formatted, and now I can't get it to work...odd.
---------- Post added at 08:00 PM ---------- Previous post was at 07:13 PM ----------
jiggytom said:
I got it to work in my car, but then my SD card got corrupted. I formatted, and now I can't get it to work...odd.
Click to expand...
Click to collapse
When I hit the button for "On", my MTP device disappears and nothing new shows up in device manager. I'm on Win 7 64 bit. Using AOKP rom. I know this worked because my car was able to read it...

elfie said:
Yeah windows sometimes messes up the driver part.
"If Windows fails to find the correct driver, go to the Device Manager and manually set it to use the driver, "USB Mass Storage Device". It seemed to try to stick with the MTP driver in my case."
Check the script thread for more pointers.
Click to expand...
Click to collapse
Try this ^^
How did your SD card get corrupted by the way?

I think it got corrupted because it was mounting and un mounting to my car when I was removing and plugging in the phone while playing music. But since then, I can't get it to work. I can't try the mass storage trick because I don't even get a device on my win 7 to try it on. The mtp device disappears and nothing new comes in when I hit the on button
Sent from my SGH-I747 using xda app-developers app

jiggytom said:
I think it got corrupted because it was mounting and un mounting to my car when I was removing and plugging in the phone while playing music. But since then, I can't get it to work. I can't try the mass storage trick because I don't even get a device on my win 7 to try it on. The mtp device disappears and nothing new comes in when I hit the on button
Sent from my SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
Did you check in device manager?

elfie said:
Did you check in device manager?
Click to expand...
Click to collapse
Yep, nada. What should it be under. I even tried it in my car today, where it worked a couple days ago and it was a no go. Maybe it's something to do with the ROM
Sent from my SGH-I747 using xda app-developers app

Related

[Q][Need help]Cannot mount sdcard

Hey guys. I have this problem with my inc.
Whenever i plug in my usb cord to a computer, my phone does not notify me about debugging or usb mounting. Is this a hardware problem or a software problem? My phone charges fine when pluggin in to the wall charger or a computer. Im currently running CM6.1 stable, tiamat's kernel, and my gingerbread theme. I do not recall when this started to happen, but i really need some help. Thanks in advance!
Sent from my ADR6300 using XDA App
Does it mount on the phone?
Also do you have windows pc? My friends card wouldnt mount for him what so ever and i fixed it in ten minutes.
I have an acer aspire 4730z running windows vista
And the sdcard is mounted on my phone and i can access everything
Sent from my ADR6300 using XDA App
Bump because this is annoying
Sent from my ADR6300 using XDA App
Ok back up the sdcard on the computer Like just put all the files somewhere
Then go to start/computer then right click the sd card click format and make sure click format isnt selected. After thats done put everything back on it.
Now since i wrote that i hope you have a micro sdcard adapter lol
Gahh Its Lee said:
Ok back up the sdcard on the computer Like just put all the files somewhere
Then go to start/computer then right click the sd card click format and make sure click format isnt selected. After thats done put everything back on it.
Now since i wrote that i hope you have a micro sdcard adapter lol
Click to expand...
Click to collapse
Lol. Yes i do. I will try this soon and get back to you
Sent from my ADR6300 using XDA App
Gahh Its Lee said:
Ok back up the sdcard on the computer Like just put all the files somewhere
Then go to start/computer then right click the sd card click format and make sure click format isnt selected. After thats done put everything back on it.
Now since i wrote that i hope you have a micro sdcard adapter lol
Click to expand...
Click to collapse
Ok i did not need to format my primary memory card (spare baby!), and formated that one, but nothing. I still plug my phone in to the computer and does not notify my about debuggin or usb connected on the status bar :/
Sent from my ADR6300 using XDA App
Wireless?
Perhaps try Wireless ADB from the market and see if issue persists?
Similarly, I have used SwiFTP for many months to move files to/from PC.
As such, haven't had to connect USB cable from device to PC in quite a while.
ymmv
smtom said:
Perhaps try Wireless ADB from the market and see if issue persists?
Similarly, I have used SwiFTP for many months to move files to/from PC.
As such, haven't had to connect USB cable from device to PC in quite a while.
ymmv
Click to expand...
Click to collapse
Nope. Nvm. Did some research and it was tiamat's 2.2.1 kernel that messed up my drivers on my phone
Sent from my ADR6300 using XDA App

Broke my Mass Storage?

Okay so my SD works on my phone, but when i connect to compy it says:
E:\
application not found
I uninstalled a bunch of apps thinking they wernt useful, when this happened.
So what apps are needed for Mass storage mode? Thanks
Well sir. Do you have the appropriate drivers installed on your computer?
Sent from my SCH-I535 using xda app-developers app
Was working fine untill I uninstalled the apps :good:
Re-installed Xperia-NXT light edition and the same problem arises o.o
Yes there is app that allows your pc to detect the android device mass storage. If you need to access to your content inside the sd card you must use an sd card adapter. Otherwise use a CWM backup.
Alright in CWM aswell in Mass storage mode it doesnt work.
ROMS before dont work either.. something with my computer?
I've had driver problems something with the pram in macs. Hard to say but did you backup your phone to a point it once was working?
Sent from my SCH-I535 using xda app-developers app
Did you try a different usb port?
Sonygenmod
Hey all,
So I've been having a problem with Mass Storage mode as well. But I fear my problem may be ROM related. I'm running Sonygenmod, and the only access to my phones sd card is through Media Transfer, which isn't nearly as nice or effective as mass storage. Anybody know what's up?

Can't find SD card

I've just installed my first ROM ICJ 4.2.2 which is great. Apart from the fact when I plug my phone into PC it won't show up to put music photos etc on. And in the storage settings it says I only have 468mb free on external storage. I have been into recovery and tried to mount the SD but nothings working. Please help sorry if extremely noob question.
Sent from my HTC One X using xda premium
skeamznz said:
I've just installed my first ROM ICJ 4.2.2 which is great. Apart from the fact when I plug my phone into PC it won't show up to put music photos etc on. And in the storage settings it says I only have 468mb free on external storage. I have been into recovery and tried to mount the SD but nothings working. Please help sorry if extremely noob question.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Is there not and "sdcard0" as well as sdcard
Sent from my Awesome One X on ViperX 3.5.5 using XDA Premium
skeamznz said:
I've just installed my first ROM ICJ 4.2.2 which is great. Apart from the fact when I plug my phone into PC it won't show up to put music photos etc on. And in the storage settings it says I only have 468mb free on external storage. I have been into recovery and tried to mount the SD but nothings working. Please help sorry if extremely noob question.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Go to.. Settings>Developer>Uncheck USB debugging and then connect your HOX to the PC and click on "Turn On USB Storage" on the screen which pops up...
In recovery i saw sdcard0. Dosen't matter what i do, ive re-formatted tried to mount everything i can think of.
Thank you I can now see my hox in windows. But I cannot write anything to it. And its still saying my SD partition is around 400mb I deliberately wipped my SD card to start fresh now it won't mount and its only 400. Any ideas? Please help.
Sent from my HTC One X using xda premium
skeamznz said:
In recovery i saw sdcard0. Dosen't matter what i do, ive re-formatted tried to mount everything i can think of.
Thank you I can now see my hox in windows. But I cannot write anything to it. And its still saying my SD partition is around 400mb I deliberately wipped my SD card to start fresh now it won't mount and its only 400. Any ideas? Please help.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
this happened to me last week actually. When I went to settings/storage it only showed up the app storage and not the internal storage.
What I did was a bit extreme and scary, since I only just started flashing roms 2 weeks ago. I did a factory reset and wiped EVERYTHING in recovery including the sdcard and system, then I used an all-in-one toolkit to push the boot image and the rom through adb sideload. I used the following excellent post and flashed twrp recovery, as clockworkmod doesn't support adb sideload, apparently, http://forum.xda-developers.com/showthread.php?t=2069904
Maybe as a last resort you could do it, it worked for me. but I would wait a day or two to see if someone with a bit more knowledge can suggest anything.
Thank you for you help i can see sd storage the seetings>apps but it only says 468mb is there anything else i do or will have have to wipe and start again??
skeamznz said:
Thank you for you help i can see sd storage the seetings>apps but it only says 468mb is there anything else i do or will have have to wipe and start again??
Click to expand...
Click to collapse
That 468MB is your app storage partition... (apk)
Mount your usb storage from a custom recovery and backup the whole SD on your pc, then boot into the rom and mount the SD on your PC then restore all the files.
Or simply, move all SD content into the "0" folder or whatever its called in your rom.
Vcek said:
Mount your usb storage from a custom recovery and backup the whole SD on your pc, then boot into the rom and mount the SD on your PC then restore all the files.
Or simply, move all SD content into the "0" folder or whatever its called in your rom.
Click to expand...
Click to collapse
My pc wont pick up the phone when i plug it in, thats just what i can see on my phone
skeamznz said:
My pc wont pick up the phone when i plug it in, thats just what i can see on my phone
Click to expand...
Click to collapse
Disable usb debugging from developer options... And then try connecting ur hox!
Sent from my HTC One X using xda app-developers app
vin4yak said:
Disable usb debugging from developer options... And then try connecting ur hox!
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
I have tried that still wont recognize maybe need new drivers??
skeamznz said:
I have tried that still wont recognize maybe need new drivers??
Click to expand...
Click to collapse
Download HTC Sync manager...(drivers will be auto installed)... Restart your PC...
Now try connecting it..
nogotaclue said:
this happened to me last week actually. When I went to settings/storage it only showed up the app storage and not the internal storage.
What I did was a bit extreme and scary, since I only just started flashing roms 2 weeks ago. I did a factory reset and wiped EVERYTHING in recovery including the sdcard and system, then I used an all-in-one toolkit to push the boot image and the rom through adb sideload. I used the following excellent post and flashed twrp recovery, as clockworkmod doesn't support adb sideload, apparently, http://forum.xda-developers.com/showthread.php?t=2069904
Maybe as a last resort you could do it, it worked for me. but I would wait a day or two to see if someone with a bit more knowledge can suggest anything.
Click to expand...
Click to collapse
How did you sideload the boot.img?
AFAIK you're only able to sideload a .zip-file.
troelskc said:
How did you sideload the boot.img?
AFAIK you're only able to sideload a .zip-file.
Click to expand...
Click to collapse
Didn't word that correctly, the toolkit flashed the boot image in fastboot and then pushed the rom through sideload. I don't use toolkits now though, find it much easier using fastboot and adb commands
Sent from my HTC One X using xda premium

USB Mass storage option ... gone?

I cant seem to find an option to use the Galaxy S4 as USB mass storage, only media device (MTP) or Camera (PTP) is available. Cannot find any USB options in the settings either.
How am I able to copy files from and to my SD card and/or phone HD?
I appreciate any helpful posts. Thank you!
crco said:
I cant seem to find an option to use the Galaxy S4 as USB mass storage, only media device (MTP) or Camera (PTP) is available. Cannot find any USB options in the settings either.
How am I able to copy files from and to my SD card and/or phone HD?
I appreciate any helpful posts. Thank you!
Click to expand...
Click to collapse
You us MTP fyi usb mass storage has been gone for a while i know for a fact the gs3 & note2 used MTP
deeznutz1977 said:
You us MTP fyi usb mass storage has been gone for a while i know for a fact the gs3 & note2 used MTP
Click to expand...
Click to collapse
with MTP my device doesnt show up in Mac, as well as my Sony TV or LG receiver. what to do?
Is there anyway to disable MTP and go back to mass storage? Also, is the SDCARD MTP as well?
Mass Storage is gone for good... and while it sounds bad, there's a good reason..
Using Mass Storage forces the storage partition (or external sdcard) to be unmounted by Android, so any data/apps/widgets on there are no longer available until you disconnect your device from your PC. Using MTP allows the data partition to remain mounted and available concurrently on both your device, and on your PC via USB.
1) No, you cannot get UMS back.
2) This belongs in Q&A.
3) For Macs, you will need this.
Questions go in Q&A
Thread moved
FNM
The auto-unmount is ok...
pakraider said:
Mass Storage is gone for good... and while it sounds bad, there's a good reason..
Using Mass Storage forces the storage partition (or external sdcard) to be unmounted by Android, so any data/apps/widgets on there are no longer available until you disconnect your device from your PC. Using MTP allows the data partition to remain mounted and available concurrently on both your device, and on your PC via USB.
Click to expand...
Click to collapse
"there's a good reason" is somewhat subjective. To me the great benefit to the more general usb mass storage option is so you can connect the phone to any device as if it were a usb flash drive. No driver issues, no worries about camera or MTP mode, no Mac issues, no linux issues, no Windows issues ... it's just a usd flash drive and can be treated as such. I am ok with the side affect of auto-unmounting the sdcard from Android when I connect the phone to another device to use as noted USB drive.
Is there in fact any way this will ever come back?
I can't get my phone to show up on my computer for nothing.have the correct drivers installed and everything.running Windows
Sent from my SGH-M919 using xda app-developers app
umlguy said:
"there's a good reason" is somewhat subjective. To me the great benefit to the more general usb mass storage option is so you can connect the phone to any device as if it were a usb flash drive. No driver issues, no worries about camera or MTP mode, no Mac issues, no linux issues, no Windows issues ... it's just a usd flash drive and can be treated as such. I am ok with the side affect of auto-unmounting the sdcard from Android when I connect the phone to another device to use as noted USB drive.
Is there in fact any way this will ever come back?
Click to expand...
Click to collapse
There was an app someone made for the GS3 that did some filesystem trickery to expose the storage as UMS (needed root). I'm sure something like that will come around that works on the GS4 too.
I had the same issue until I installed Kies, no issues after that
TheAtheistOtaku said:
I can't get my phone to show up on my computer for nothing.have the correct drivers installed and everything.running Windows
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Sent from my SGH-M919 using xda app-developers app
umlguy said:
"there's a good reason" is somewhat subjective. To me the great benefit to the more general usb mass storage option is so you can connect the phone to any device as if it were a usb flash drive. No driver issues, no worries about camera or MTP mode, no Mac issues, no linux issues, no Windows issues ... it's just a usd flash drive and can be treated as such. I am ok with the side affect of auto-unmounting the sdcard from Android when I connect the phone to another device to use as noted USB drive.
Is there in fact any way this will ever come back?
Click to expand...
Click to collapse
How could anyone possibly know if it will come back, especially "in fact?" My guess is you would have to ask Samsung that question to get anything other than a guess or an opinion (which would be NO) but it's not "in fact" just "in an opinion."
I jumped from an S2 to the S4 and was also annoyed that USB mass storage wouldn't work either. Since I use Linux as my desktop, MTP is not an option "out-of-the-box". I therefor turned to an awesome app (that I heard about on this site!), Airdroid. Now I was able to quickly get an album/picture/book datastore onto a shiny new 32GB microSD! And yes, I know I could have put the microSD into a slot on my laptop, etc., but I shouldn't have to, just because I choose to use Linux!
I mean, its rather ironic not to be able to use Linux to connect to Linux (android), don't you think? If I'm completely wrong about this, please someone point me to the right path.
Thanks
There is a "hack" to allow the external to be read as UMS. Also, the internal sdcard is no longer yaffs2 its ext4 and only linux knows ext4. So if you were to use UMS, only a linux computer would "see" the sd card and nothing else.
elesbb said:
There is a "hack" to allow the external to be read as UMS. Also, the internal sdcard is no longer yaffs2 its ext4 and only linux knows ext4. So if you were to use UMS, only a linux computer would "see" the sd card and nothing else.
Click to expand...
Click to collapse
elesbb,
That's awesome news! Thanks for the tip. I use opensuse (currently 12.3) with kde, will definitely make the necessary tweaks to get this going in dolphin.
Thanks again!
Ignore. Posted in wrong thread.
If you are rooted and busybox installed yes there are lot of apps on play store that can convert your externel SD Card to Mass storage.

[Q] MTP doesn't update

My phone sometimes doesn't update my SD card files when I connect it via USB to my pc, while is on MTP mode.
Let's say I create a new .txt file on my sd root, or anywhere on my SD card, then connect it to the pc, the file isn't there. I have to switch to mass storage, and when I do that, my phone reboots because JB has a real problem with mass storage and no one could f*ing tell me what is the problem with mass storage and JB roms, even when they have no problems with it, and then it works and I can really see the files and folders updated.. Any idea about what may be wrong with my MTP?
Also, it just does update when I reboot my phone.. but the rest, nope. up!
That happens
I thinks it's because in MTP mode, not all the files are read again
Maybe try unmounting sdcard and then mounting and then connecting
Sent from my LT18i using xda app-developers app
Try wirh flashing MTP module on recovery mode
waiz13 said:
Try wirh flashing MTP module on recovery mode
Click to expand...
Click to collapse
MTP has modules? ._.
Sahaab said:
That happens
I thinks it's because in MTP mode, not all the files are read again
Maybe try unmounting sdcard and then mounting and then connecting
Sent from my LT18i using xda app-developers app
Click to expand...
Click to collapse
But how is that it happens to me just in JB? I have had no problems with MTP before.. Unmounting SD card gives me a reboot, so I guess it does the same as my useless mass storage :l

Categories

Resources