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

Search This thread

alojo

Senior Member
Feb 24, 2011
277
40
OnePlus 8 Pro
8dZfDP7.png


the problem is that sometimes it doesn't work. I would like to have a way to force it to work.

I am currently working on a Tasker-based replacement for this app. It does the same thing, but only automatically when you plug in the phone into a PC. It's under testing right now. I will post it in a new thread and let you guys know about it for further testing when I'm done. It will allow you to customzie the mount point and will be more easily adapted to other ROMs.

Let's see that!
 
Last edited:
  • Like
Reactions: mad_ady

9andar

Senior Member
Jun 30, 2010
256
115
Domerat
Hi, any news for a new version to make it work with CM11 rom (Android 4.4.2), because this app is really awesome and i miss it ;)
 

mad_ady

Senior Member
May 8, 2008
434
262
After you plug your phone in, you would start the app and click on the UMS Mode button. It would then switch to UMS mode by running some internal commands and you would see two drives in WIndows (only one drive is accessible).
After you unmount the card in windows you would unplug and press the "Mount card" button to mount it locally. Optionally you could press the MTP mode to return to MTP mode for future connections.
 

mad_ady

Senior Member
May 8, 2008
434
262
I haven't seen any recent updates, but if you are a tasker user try the link a couple of posts above and see if it works on kk.
 

bestfil

Senior Member
Oct 31, 2012
247
24
Since I moved to KITKAT CM11 official with agni PureCM kernel I've got this error:

Code:
extSdCard/external_sd/sdcard1 not mounted
Could not get path of the external sd card...

Of course the card is mounted.
 

mad_ady

Senior Member
May 8, 2008
434
262
Post the output of the mount command here and if possible try the tasker variant (you can edit the path to sd)
 

becca_2810

New member
Jan 8, 2014
1
0
Help Please

Im new on here and im not to tech savvy i just really need some help. I deleted my pictures of my samsung galaxy s3 4.1.2 yesterday and i just want to get them back. ive looked all over online and nothing seems to work. i didnt have an sd card in my phone when the pics were deleted. so im not too sure where they are. the only thing i can do is the usb debugging. when i go to wireless and networks theres nothing there for me to do anything with usb..just tethering....someone please help me.
 

Old faithful

Senior Member
Dec 31, 2008
585
202
Wentworth-Nord
Unfortunately, if the files were located on internal memory, there is nothing much you can do to because this application only accesses External SD Cards.

Of course, if they had been located there it would have been a simple matter of mounting the SD Card on a PC using this app and using an undeleter from there such as Test Disk or Photo Rec to retrieve them there.

You should ask in the main forum whether there are any Android undelete apps, I'm not aware of any but I could be wrong.

There is an app called MyMobiler that allows access to internal storage from the PC but I doubt you could undelete files since that would be on an active partition and there is a high risk of seriously crashing the phone and I doubt it the Android OS would allow it anyway.

It comes without saying that for the future, you could install an SD Card, it's your best protection, but you have to manually set your phone to save there by default, or you could use online storage services, if you can trust them (I don't).

Sent from my Note 2 - Text mostly by Google Voice, May Contain Weirdness ;)
 

mad_ady

Senior Member
May 8, 2008
434
262
Here's an idea - but it requires an external sd greater than internal storage and root. You'll have to do the following:
1. Create an image of your internal sdcard, most likely with the dd command. For this you'll need to figure out what partition is your sd card, and output the image to your external sd card (which most likely needs to be formatted with exfat to hold files over 4gb) (it's also a possibility that odin might be able to copy the flash to your pc)
2. Use testdisk (from the photorec suite) to scan the image file for jpg files. With some luck you might get your images back, but without their names.

In theory my plan should work, but I've never tried it on a phone's internal storage. It probally depends on filesystem type, but it should support ext4.
In the worst case you might get nothing, or you might get truncated photos.
Oh, and this might work only if your firmware/kernel doesn't have trim support (otherwise it will zero the free space).
So, it might not be impossible, but it sure won't be easy. Also this app won't help you because you need to access internal storage.
Good luck!
 

Old faithful

Senior Member
Dec 31, 2008
585
202
Wentworth-Nord
Here's an idea - but it requires an external sd greater than internal storage and root. You'll have to do the following:
1. Create an image of your internal sdcard, most likely with the dd command. For this you'll need to figure out what partition is your sd card, and output the image to your external sd card (which most likely needs to be formatted with exfat to hold files over 4gb) (it's also a possibility that odin might be able to copy the flash to your pc)
2. Use testdisk (from the photorec suite) to scan the image file for jpg files. With some luck you might get your images back, but without their names.

In theory my plan should work, but I've never tried it on a phone's internal storage. It probally depends on filesystem type, but it should support ext4.
In the worst case you might get nothing, or you might get truncated photos.
Oh, and this might work only if your firmware/kernel doesn't have trim support (otherwise it will zero the free space).
So, it might not be impossible, but it sure won't be easy. Also this app won't help you because you need to access internal storage.
Good luck!

Great idea but you could only do that if the process could make a low level sector by sector full internal memory image. Does the dd command work that way?

Sent from my Note 2 - Text mostly by Google Voice, May Contain Weirdness ;)
 

mad_ady

Senior Member
May 8, 2008
434
262
Yes, it should copy written and free space from the whole partition. The only problem could be that the flash controller might have reallocated/trimmed the free space.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 355
    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/showpost.php?p=27282116&postcount=58
    http://forum.xda-developers.com/showpost.php?p=28151372&postcount=133
    http://forum.xda-developers.com/showpost.php?p=28670285&postcount=1

    Thanks d4fseeker :good:

    :angel: If you like the app, please consider donating by buying this app or via PayPal (see link on the left, below username etc.) :good: 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:
    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


    Screenshot_2012-07-05-17-00-18.png



    Download
    v1.8: http://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.8.apk

    v1.7: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.7.apk

    v1.6: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.6.apk

    v1.5beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.5beta.apk

    v1.4beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.4beta.apk

    v1.3beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.3beta.apk

    v1.2beta2:
    https://dl.dropbox.com/u/22760184/android/SGS3_Easy_UMS_v1.2beta2.apk

    v1.2beta: https://dl.dropbox.com/u/22760184/android/SGS3_Easy_UMS_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 Easy UMS.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
    8
    It is not working on s4 revolution 8.0 Rom based on stock 4.3
    4
    Just tried mounting in UMS mode and get error:

    Could not get path of external sd card (extSdCard/external_sd/sdcard1). Maybe it's unmounted?

    Rebooted and got the same error...

    This didn't happen with v43.2 and stock kernel. Any ideas?

    Ok. Tried the usb debug switch. Didn't change anything. De-installed Easy UMS. Installed SG USB Mass Storage Enabler. All working correctly!

    Sorted. Thanks.
    4
    I am currently working on a Tasker-based replacement for this app. It does the same thing, but only automatically when you plug in the phone into a PC. It's under testing right now. I will post it in a new thread and let you guys know about it for further testing when I'm done. It will allow you to customzie the mount point and will be more easily adapted to other ROMs.
    3
    It should work with CM10 now :fingers-crossed:

    Regards