[APP][ROOT] SG USB Mass Storage Enabler

Trilyan

Member
Sep 1, 2010
21
3
0
Have you tried uninstalling the app and rebooting? As far as I know the app doesn't do any permanent changes.
Yes I did. In fact I did try doing a complete clean un-install (wiping data) and the problem persists. I'm also pretty sure there is some sort of change system wise as in my "clean" nan backup (the one where the app was never installed before) when I install the app, in the main screen, where it says "Current State:" it is completely blank, with no value whatsoever, just empty. As soon as I hit either option the value is assigned and the PC stops recognizing the phone.
In my current ROM (where the app was already installed and used) if I do the unistall-reboot process and then afterwards re-install the app, the "Current State:" is loaded with the previous value I had before un-install, even after wiping data. So it is clearly reading and modifiying some sort of file somewhere. I just don't know where :/

also disable USB debugging and mock locations from developer options. then, make sure when you plug the cable that the connection is set to mtp, not from the app, from the Android menu in the notification bar
Tried that one also. But the problem still persists :S
 
Last edited:

LeoKas

Member
Jul 11, 2012
8
1
0
Dd is a linux command-line tool that can do a binary copy of a partition to a file (and viceversa). It also copies the free space. Then you would run photorec on the copied image and it will try to detect any known file types inside. Read the photorec wiki page for instructions.
Thanks again Mad Ady for help.
I'm not sure if I want to go there, it's been at least 30 years since I worked with Unix (Linux).
We are now unsure if the pictures were infact part of the main memory as they normally reside on DCIM something.
Regards, and until the next time!
Leo.
 
  • Like
Reactions: mad_ady

TaLEntZ96

Senior Member
Nov 22, 2011
235
27
0
Adelaide
Unfortunately this isn't working for me. I activate UMS, it is successfully put into UMS mode, but then nothing comes up on my computer. Any help appreciated, cheers :D
 

mad_ady

Senior Member
May 8, 2008
433
262
63
Dcim is part of the main memory by default. If you have an external sd you can rule it out by scanning it with photorec (on your pc via a card reader)
 

PhunkyBob

Member
Sep 4, 2008
11
1
0
I'm also pretty sure there is some sort of change system wise as in my "clean" nan backup (the one where the app was never installed before) when I install the app, in the main screen, where it says "Current State:" it is completely blank, with no value whatsoever, just empty.
Same thing for me: even a "clean" backup did not restore my tablet.

I'ld really like to know what system file is modified, and how to restore it.
 

Trilyan

Member
Sep 1, 2010
21
3
0
Same thing for me: even a "clean" backup did not restore my tablet.

I'ld really like to know what system file is modified, and how to restore it.
I DID get it to go away with a "clean" (never installed or used the app) backup, but it is not ideal as my backup is a really really old one.
If I could just know which file is modified, I could extract that file from my backup and overwrite the one on my current ROM. But I haven't got any clue where to even start looking.
Only thing I know, is that my Stock JB rom leaves "Current state" field in the app blank when the USB connection is actually is working (never using the app), and as soon as I assign any of the options (first use of the app), the field gets filled with that option and the USB connection stops working altogether, so evidently, there is some sort of system file mainpulation.
 

PhunkyBob

Member
Sep 4, 2008
11
1
0
Check this thread: http://forum.xda-developers.com/showthread.php?p=54148775#post54148775

Worked for me, a bit incovenient but you only need to do it once per reboot.
Thank you.
Unfortunatly, I don't have KK, but 4.2.2.
The scripts modifies the "/sys/devices/platform/msm_hsusb/gadget/lun0/file" file, but the "msm_hsusb" doesn't exists in my system.


Is it possible to know what "SG USB Mass Storage Enabler" does exactly, to allow me to do manually the reverse operation on my device?
 

turbare

Senior Member
Sep 23, 2009
164
23
0
Bucharest
Thank you.
Unfortunatly, I don't have KK, but 4.2.2.
The scripts modifies the "/sys/devices/platform/msm_hsusb/gadget/lun0/file" file, but the "msm_hsusb" doesn't exists in my system.


Is it possible to know what "SG USB Mass Storage Enabler" does exactly, to allow me to do manually the reverse operation on my device?
Well, back on 4.2.2 the SG USB worked for me, I didn't need to use scripts.
Apart from that, have no ideea, I'm just a regular user :)
 

Mortalll

New member
Sep 1, 2014
4
0
0
=================================================================================================

I have an i9500XXUFNC1 (India) with Hassan Rom on it, here's what I did:

1. I installed the apk you cooked for i9500
2. I killed/force closed the "USB Mass storage enabler" app.
3. in settings, I unmounted SD card
4. I opened "USB Mass storage enabler" app and enabled mass storage
5. I then went back to settings and mounted SD card.
6. Voila!! it worked...

Thanks Metallica

MY DEVICE: GALAXY S4 int I9505 with ECHOE ROM v29.1

Yeah !!! this is the right procedure..GUYS this way..THANKS to rakesh2002 and Metallica

but the transfer speed is not higher than via MTP mode..WHY? I am just trying copying 3dmovie to sd card and speed is 2MB/s when I plug micro sd card via card reader it is about 30MB/s..so I dont see the advatege of MASS STORAGE ENABLER or anybody is going faster ??
 
Last edited:

roymental

Senior Member
Apr 29, 2014
114
21
0
50
zurich
razr i works great!

hey there
just installed it on my motorola razr i with rom mod ONE V2.3.0 (here) by FourOne82 and it works flawlessly. very good feeling to have those folders back on my desktop! :D:D:D:D

THX & cheers from zurich
 

jimbobmcginty

Senior Member
Apr 23, 2010
119
33
0
I dont see the advatege of MASS STORAGE ENABLER
The advantage is being able to access your external SD card as if it was a USB drive attached to your computer.

I can use any standard file sync application on my PC - SyncToy in windows, FreeFileSync in linux - rather than be forced down the route of Kies or whatever - because it looks like just another hard disk.



MTP is severely limited for file management - it's half duplex / single action at a time. If you're copying a file, you can't navigate around other folders etc while you're waiting.

As for the speed thing, IIRC it's a phone's internal USB->extSd interface limitation.
 

williamguile

Member
Aug 15, 2014
11
0
0
I'm trying to recover files off my internal memory (pictures, I'll be using drop box going forward) I wanted to know if there was a way to make my internal storage a mass storage device? When I use this app, my phone is recognized as a CD drive o_O I have the samsung galaxy note 3 sprint N900P