Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,459 Members 41,535 Now Online
XDA Developers Android and Mobile Development Forum

[APP][ROOT] SG USB Mass Storage Enabler

Tip us?
 
MohammadAG
Old
(Last edited by MohammadAG; 14th November 2013 at 04:39 PM.)
#1  
Recognized Developer - OP
Thanks Meter 4,853
Posts: 1,071
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Default [APP][ROOT] SG USB Mass Storage Enabler

SG USB Mass Storage Enabler allows you to export your microSD card over USB as a Mass Storage device. It will never be able to export the internal storage on the device.

I originally made this app for myself for the SGS3, as I needed some more flexibility in mounting/unmounting than Easy UMS offered. However, I backed out from releasing it as I thought it wasn't a nice gesture towards Easy UMS's dev.

Features:
  • Allows you to use your microSD card as a USB Mass Storage device.
  • Shortcuts on your homescreen to easily enable/disable USB Mass Storage mode.
  • Warns the user if they try to disable Mass Storage mode without unmounting/ejecting on the PC side.
  • Auto-detect files needed for wider compatibility.
  • Auto-switch to Mass Storage mode when a USB cable is connected and back to MTP when it's disconnected (pro add-on).

Tested working on:
Sony Xperia Z1
Samsung Galaxy Note II (GT-N7100)
Samsung Galaxy SIII (GT-I9300)
Samsung Grand Duos (GT-I9082) - Thanks to wan Mohd in Play Store reviews.
Samsung Galaxy S4 (GT-I9500) - Thanks to taiseer999 in the replies below.
Samsung Galaxy S4 (GT-I9505) - Thanks to Solomon Chow in Play Store reviews.
Samsung Galaxy S4 (SGH-I337) - Thanks to Delyan Georgiev in Play Store reviews.


Screenshots:



Download:
Get it from the Play Store!
2.3.1 APK: http://mohammadag.xceleo.org/public/...bler_2.3.1.apk

Support development:
Like the app? Please consider buying the in app pro add-on Thank you
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls
The Following 172 Users Say Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
 
clark44
Old
#2  
clark44's Avatar
Senior Member
Thanks Meter 6,647
Posts: 2,764
Join Date: Mar 2011
Location: Virginia

 
DONATE TO ME
Works on the Sprint Samsung Galaxy S4



Phone: Samsung Galaxy S4 16GB White
Recovery: TWRP!
ROM: FreeGS4 v4.0.0
Modem: MDL

IRC Channel: #TeamSonic Freenode
FreeGS4 For Sprint By Team Sonic
FreeGS3 For Sprint By Team Sonic
Lean Stock SGS3 Sprint
Bekinged EVO 4G
Absurd Rom
How-To Root S-OFF Evo 3D
ICS SDK Port For HTC EVO3D
 
scary_master
Old
#3  
Senior Member
Thanks Meter 62
Posts: 255
Join Date: Aug 2008
Dude, your app is awesome. BIG THX

(i9505)
 
Tom-Helge
Old
#4  
Tom-Helge's Avatar
Senior Member
Thanks Meter 106
Posts: 663
Join Date: Mar 2009
Location: Tromsø
Could you get the app to mount the internal memory of the Galaxy S4 to?

Or is that kinda hard to fix atm according to the Linux filesystem as you described in the app?

I'm asking since it's normal that both the internal and memory card gets mounted when you mount the device.
 
MohammadAG
Old
#5  
Recognized Developer - OP
Thanks Meter 4,853
Posts: 1,071
Join Date: Sep 2009
Location: Jerusalem

 
DONATE TO ME
Quote:
Originally Posted by Tom-Helge View Post
Could you get the app to mount the internal memory of the Galaxy S4 to?

Or is that kinda hard to fix atm according to the Linux filesystem as you described in the app?

I'm asking since it's normal that both the internal and memory card gets mounted when you mount the device.
They way USB mass storage works is by exporting the whole device block over USB. It's the same as connecting the microSD directly to the PC.

S3 onwards, /sdcard is not a partition anymore, it's faked using fuse and is actually located in /data/media. So to export it you'd need to unmount /data. I've never tried that but I'm guessing it'd cause some serious problems if the device is online, and it'll cause some data loss since I'm sure you'd need to force the unmount.

And even after succeeding with the above, you'll be greeted with a Windows error since it can't read ext3/4, so it's useless for most users.

TL;DR it can't be "fixed". It's a limitation in both UMS and how you can't simultaneously mount a partition on two devices without causing some damage.

Sent from my GT-N7100 using xda app-developers app
Follow me on Twitter: @MohammadAG
Google+: https://plus.google.com/103508952817353883168/posts

Check out my Xposed modules.
Send files with Android Beam™ on Android 4.1+: File Beam (Touch to Send)
Enable USB Mass Storage Mode on Samsung devices with SG USB Mass Storage Enabler.
Use your flashlight at different brightness levels with Adjustable Torch.
Enable Music Controls on your S-View screen with S-View Music Controls
The Following 8 Users Say Thank You to MohammadAG For This Useful Post: [ Click to Expand ]
 
andygolf
Old
#6  
Junior Member
Thanks Meter 2
Posts: 17
Join Date: Jul 2012
works great on galaxy s4 I9505
 
Tom-Helge
Old
#7  
Tom-Helge's Avatar
Senior Member
Thanks Meter 106
Posts: 663
Join Date: Mar 2009
Location: Tromsø
Quote:
Originally Posted by MohammadAG View Post
They way USB mass storage works is by exporting the whole device block over USB. It's the same as connecting the microSD directly to the PC.

S3 onwards, /sdcard is not a partition anymore, it's faked using fuse and is actually located in /data/media. So to export it you'd need to unmount /data. I've never tried that but I'm guessing it'd cause some serious problems if the device is online, and it'll cause some data loss since I'm sure you'd need to force the unmount.

And even after succeeding with the above, you'll be greeted with a Windows error since it can't read ext3/4, so it's useless for most users.

TL;DR it can't be "fixed". It's a limitation in both UMS and how you can't simultaneously mount a partition on two devices without causing some damage.

Sent from my GT-N7100 using xda app-developers app
Ok, thank you for your quick answer
The Following User Says Thank You to Tom-Helge For This Useful Post: [ Click to Expand ]
 
taiseer999
Old
#8  
taiseer999's Avatar
Senior Member
Thanks Meter 131
Posts: 1,693
Join Date: Jan 2005
Works fine on galaxy S4 I9500
 
JayceOoi
Old
#9  
JayceOoi's Avatar
Senior Member
Thanks Meter 56
Posts: 186
Join Date: Nov 2009
Quote:
Originally Posted by taiseer999 View Post
Works fine on galaxy S4 I9500
+1 Thanks.
 
bontistic
Old
#10  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2007
@MohammadAG

I'm using the Android File Transfer desktop app on a Mac now. Would this have any conflicts that you'd know of? Thanks!

Tags
enabler, mass, storage, ums, usb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes