5,606,722 Members 37,337 Now Online
XDA Developers Android and Mobile Development Forum

[APP][v1.8 (+US)] SGS3 Easy UMS - Mount external microSD card as USB mass storage

Tip us?
 
Kopfgeldjaeger
Old
(Last edited by Kopfgeldjaeger; 18th November 2012 at 11:39 PM.)
#1  
Member - OP
Thanks Meter 375
Posts: 78
Join Date: Mar 2010

 
DONATE TO ME
Storage [APP][v1.8 (+US)] SGS3 Easy UMS - Mount external microSD card as USB mass storage

This app will make the external (not the internal!) microSD card of your Samsung Galaxy S3 (International, US versions, International LTE) available as USB mass storage device.

Also reported working on Galaxy Note 2, see compability list below.

Most important commands in this app:
http://forum.xda-developers.com/show...6&postcount=58
http://forum.xda-developers.com/show...&postcount=133
http://forum.xda-developers.com/show...85&postcount=1

Thanks d4fseeker

If you like the app, please consider donating by buying this app or via PayPal (see link on the left, below username etc.) Some people gave 1 star reviews to the app although I think I'm extremely clear with stating that this is only a donation app - but I can't change that


Compability
Code:
MODEL / ROM / KERNEL / APP VERSION / CONFIRMED BY

WORKING:
GT-I9305 (LTE) / ? / ? / 1.8 / Jarmezrocks
SGH-I317 (AT&T Note 2) / I317UCALJ2 / ? / 1.8 / dabuck
GT-N7100 (Intl Note 2) / ? / ? / 1.8 / geovass
GT-I9300 (International) / Stock (LFB) / Stock / 1.5 beta / woaloo
GT-I9300 (International) / CM10 / ? / 1.5beta / lubluchka
SGH-I535 (VZW) / ? / ? / 1.4beta / open1your1eyes0
SGH-T999 (T-Mobile US) / ? / ? / 1.4beta / gr4p3s
?

NOT WORKING:
?
I can only test it on my own GT-I9300; please report back your success with the information needed in the table above.

If you have a custom kernel, you have to make sure there is one of the three possible lun files available (see Problems section).

Regarding US versions: Starting with 1.4beta, it also works with US versions (see here). This may not be the case for all variants, so please report back with the information needed in the compability table.


Problems? Not working?
Report the exact problem, model/ROM/kernel/etc., the exact error message and the results of the following commands (use Terminal Emulator or something similar):
Code:
mount

ls /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file

mount | sed 's/ on / /g' | grep extSdCard | cut -f 1 -d ' '
Note: Only ONE of the three ls commands must be successful (file exists)

You may need to replace "extSdCard" in the last command with the mount point name of your external sd card (e.g. external_sd or sdcard1 for CM10)

If the last command does fail, there is probably something wrong with your BusyBox installation. You should reinstall it - I recommend this app.

On some Win7 PCs, these steps may be needed:
Quote:
Now follow these steps:

1. On your Windows 7 computer you will see it will try to install “SAMSUNG Mobile MTP Device” as one of the drivers and fail *this is normal*
2. Go into Device Manager on your computer, right click “SAMSUNG Mobile MTP Device” and select “Properties”
3. Click on the “Driver” tab and click the “Update Driver” button, a prompt will then come up
4. Select “Browse my computer for driver software”, then select “Let me pick from a list of device drivers on my computer” on the next screen
5. Select “USB Mass Storage Device” as the new driver from that list and finish up that install
6. At the end you will see something like this on your computer – Screenshot Here
7. Windows will install final drivers automatically and a new “Disk drive” will show up on your computer, this is your external SD card on your device

Keep in mind that it is not possible to get access to the internal storage as USB mass storage device.

Get the "extSdCard is being accessed by [...]" message? Wait until the app accessing the sd card has finished, stop it yourself or reboot.

Changelog
Code:
1.8
- added support for third lun file, should work with GT-I9305 (Intl LTE version) now

1.7
- fixed recognition failure if "mount" output contained "on" as the second column (e.g. Siyah kernels)

1.6
- fixed code so that it (hopefully!) works with recent CM10 versions again
- made some error messages clearer
- drop of "beta" name doesn't actually mean much by the way, but I think it looks a bit cleaner this way and does not make a difference

1.5beta
- added support for CM10 sd card paths (/mnt/external_sd and /mnt/sdcard1)

1.4beta
- added alternative method for users without s3c-usbgadget (may work on US versions)

v1.3beta
- rewrote the whole logic
- now opens Play Store entry of BusyBox if it is not yet installed
- notifies user if device seems to lack s3c-usbgadget module
- notifies user which apps are accessing the extSdCard
- generally better and more precise error messages

v1.2beta2
- added info about busybox requirement (maybe this will be removed later)
- added link to donation app

v1.2beta
- Automatically tries to unmount extSdCard before starting UMS mode. This will fail if some app is accessing it, so just wait or cancel that app if you know it and try again - possibly several times. This prevents the potential data loss with previous versions.
- It now checks the location of the extSdCard device. This should help with compabilty, e.g. for US versions.
- Added some log output and toasts (2s delay)
- Added link to this thread and version number in app
- It's a beta so please beware, but I think the worst probable thing that can happen is that it does not work (e.g. it does not start UMS if it cannot unmount the extSdCard).
- Dammit, the whole day is already over

v1.1
- Added option for going back to MTP

v1.0
- Initial release




Download
v1.8: http://dl.dropbox.com/u/22760184/and...y-UMS-v1.8.apk

v1.7: https://dl.dropbox.com/u/22760184/an...y-UMS-v1.7.apk

v1.6: https://dl.dropbox.com/u/22760184/an...y-UMS-v1.6.apk

v1.5beta: https://dl.dropbox.com/u/22760184/an...S-v1.5beta.apk

v1.4beta: https://dl.dropbox.com/u/22760184/an...S-v1.4beta.apk

v1.3beta: https://dl.dropbox.com/u/22760184/an...S-v1.3beta.apk

v1.2beta2:
https://dl.dropbox.com/u/22760184/an..._v1.2beta2.apk

v1.2beta: https://dl.dropbox.com/u/22760184/an...S_v1.2beta.apk

v1.1: http://dl.dropbox.com/u/22760184/SGS3_Easy_UMS_v1.1.apk

v1.0: http://dl.dropbox.com/u/22760184/SGS3%20Easy%20UMS.apk
(also, it's attached)

Credits: d4fseeker, Sakaschi, bazald, dAKirby309 (icon), RootTools devs

Code:
Uses RootTools project, which is made available by Stephen Erickson,
Chris Ravenscroft, Dominik Schuermann, Adam Shanks under Apache
License Version 2: http://www.apache.org/licenses/LICENSE-2.0
The Following 349 Users Say Thank You to Kopfgeldjaeger For This Useful Post: [ Click to Expand ]
 
whiskeybro
Old
#2  
whiskeybro's Avatar
Senior Member
Thanks Meter 382
Posts: 1,538
Join Date: Jun 2005
Location: Ede
Thanks

Sent from my GT-I9300 using xda premium







.................................................. ........................................... If you you like my work you could consider a small donation
The Following User Says Thank You to whiskeybro For This Useful Post: [ Click to Expand ]
 
cmd512
Old
#3  
cmd512's Avatar
Senior Member
Thanks Meter 577
Posts: 2,959
Join Date: Aug 2009
Confirmed working, thanks!
Current Device: Samsung Galaxy S4 GT-i9500
ROM:
WanamLite XXEUMK8 V3.4 Kernel: Perseus alpha18
Other Devices: Google Nexus 7 Samsung Galaxy S III GT-i9300
My Ladies AWD Dyno Pull CQuartz+Victoria Concours Wax


The Following 2 Users Say Thank You to cmd512 For This Useful Post: [ Click to Expand ]
 
beautyangel
Old
#4  
beautyangel's Avatar
Senior Member
Thanks Meter 31
Posts: 386
Join Date: May 2007
Location: Deep Sea v/s Deep Forest
Thumbs up hard work, great result

nice touch buddy. thanks dude. +1
The Following User Says Thank You to beautyangel For This Useful Post: [ Click to Expand ]
 
makimo2989
Old
#5  
Member
Thanks Meter 11
Posts: 38
Join Date: Jun 2012
Dude, any way to reverse this? It screwed up my comp and phone...
 
Rah85
Old
#6  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jun 2012
Thx

Sent from my GT-I9300 using XDA
 
BoneMo
Old
#7  
BoneMo's Avatar
Senior Member
Thanks Meter 291
Posts: 1,990
Join Date: Jun 2009
Location: Prague
Quote:
Originally Posted by makimo2989 View Post
Dude, any way to reverse this? It screwed up my comp and phone...
what happened to phone and computer ??
SONY Y U NO MAKE AOSP ROMS

PHONE: Sony Xperia Z Black
ROM: cm-11-20140418-NIGHTLY-yuga
RADIO/MODEM: 9x15A-ACEFWMAZQ-30110057-39
KERNEL: CM11 Stock
RUNTIME: DALVIK
History:Samsung Galaxy S III | Samsung Galaxy S II | HTC HD2 | HTC Touch HD | HTC Touch Diamond | Nokia 6600 | Nokia 5100 | Alcatel OT-300
 
joemontana8
Old
#8  
Member
Thanks Meter 2
Posts: 31
Join Date: Jun 2012
Working perfectly here as well

Thanks!
 
SlimJ87D
Old
#9  
SlimJ87D's Avatar
Senior Member
Thanks Meter 403
Posts: 2,231
Join Date: Jan 2008
This sounds awesome. Does it increase transfer speeds?
 
kultus
Old
#10  
kultus's Avatar
Senior Member
Thanks Meter 30
Posts: 692
Join Date: Jul 2007
unbelievable!!! It works...is it possible to see also internal storage as well? In explorer I get 2 new devices one is SD card and the second I cant access...
Sony Ericsson Xperia X10i -> Samsung Galaxy S II -> Samsung Galaxy S III -> Nokia N8 -> Samsung Galaxy S4->LG G2 32GB Black

Tags
galaxy s3, mass storage, sgs3
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes