Hi everyone!
I was looking around for an app that could share my SD card with a computer via USB Mass Storage protocol, but no success. There were apps for other phones, but they didn't work for my phone :/ So I've created something for my own, and I hope it will work for your phones too. My app works only for external SD card.
REQUIREMENTS
* Rooted Samsung Galaxy SIII Mini (GT-i8190). This app may work for other devices too, but I can not guarantee that.
I have tested it against:
* Android 4.1.2, firmware JZO54K.I8190XXAMD3
* Windows XP SP3
* Windows 7 64-bit
Not working on:
* CM 10.1
KNOWN ISSUES
* USB PC Connection will still display MTP/PTP mode, even if the mode is Mass Storage. I could fix that issue, but this will require permanent configuration changes, which I would like to avoid.
* Other USB modes (especially ADB) are disabled during UMS mode. This can not be overcome.
USAGE
* Launch the application, click Enable UMS. This will unmount your external SD card from the device, and when the card is unmounted, app will switch USB mode. You should see two new drives appearing in My Computer window. On the second one, your SD card data should appear.
* When you are done, eject (unmount) the drive in Windows.
* Click Disable UMS. This will switch USB to the state it was before enabling UMS, so MTP/PTP mode, as well as ADB will be back. Then, your SD card will be mounted in the phone. An MTP Application prompt may appear, asking to restart MPT application. You may answer what you wish
IMPORTANT NOTES
* Never mount SD card in the phone (Settings->Storage->Mount SD card) while it is shared with a computer. This will cause the card filesystem to be mounted concurrently by two operating systems, and for sure cause data lost.
* Always eject (unmount) the card from a computer before disabling UMS.
* It seems that results (especially glitches and hangs) vary depending on the SD card you are using. See this post by myself.
HELP, THERE'S SOMETHING WENT WRONG
* You may restart your phone. The app does not make any permanent configuration changes, so it's the safest option.
* Restart your computer.
* Unplug and replug USB cable.
* You may try to disable USB, wait for several seconds, then either enable it again, or from the system USB PC connection app, change the mode to PTP, and back to MTP. Be patient, and wait before performing next operation.
* Be patient. From time to time, the computer takes a lot of time to detect device going back from UMS to MTP/ADB.
* App not working. Describe the symptoms (app crash, phone crash, computer crash, nothing changes, etc), your device details (operating system version and build) and attach logcat (adb logcat -d -v long > filename.txt) logs.
P.S.
I would kindly ask moderators to move this thread to the appropriate subforum, if it is already not. Since I'm newbie, I can not post to Developer's forum. Thanks
404 Error. Please upload again
burak185 said:
404 Error. Please upload again
Click to expand...
Click to collapse
+1
burak185 said:
404 Error. Please upload again
Click to expand...
Click to collapse
There's something strange going on...
Please find attached app, I hope it will download
Edit: Still 404, since I can not paste external links (newbie), try http colon slash slash bogus.ovh.org slash UMSShare.apk
I tried UMS on XP and W7 but he did not work for me.When I want copy something, he says "copy..." and nothing happens.
sasa g said:
I tried UMS on XP and W7 but he did not work for me.When I want copy something, he says "copy..." and nothing happens.
Click to expand...
Click to collapse
Do you copy from the SD card, or to the SD card?
If you copy from, have you tried opening some files directly from the SD card? Do they open?
If you copy to the SD card, did you unmount it in Windows before disabling UMS?
I have just tried copying in both directions, and files do copy properly.
Hi f_ranek
App is working well, but hungs PC copying from PC to SD and vice versa with files more than 690 Mb, hope you could fix it, it will be very usefull, well known advantages from ums mode.
Thanks for your job.
Do not go on CM10
"Unfortunately the application was closed"
f_ranek said:
Do you copy from the SD card, or to the SD card?
If you copy from, have you tried opening some files directly from the SD card? Do they open?
If you copy to the SD card, did you unmount it in Windows before disabling UMS?
I have just tried copying in both directions, and files do copy properly.
Click to expand...
Click to collapse
From PC to SD card. PC says "copy...." and nothing happens.
Thanks
orwell 1950 said:
App is working well, but hungs PC copying from PC to SD and vice versa with files more than 690 Mb
Click to expand...
Click to collapse
sasa g said:
From PC to SD card. PC says "copy...." and nothing happens.
Click to expand...
Click to collapse
Actually, there seem to be some timeout issues. For instance, first I tried copying big files, and it seemed that everything hung, with strange Windows messages. So I disconnected USB cable, disabled and reenabled USM mode, and replugged USB. Then, I copied 40 MB to my SD card, but before the copying starts, I had to wait for a quite long time (about 30-60 seconds). But, surprisingly, after copying that 40 MB file, I have copied 80 MB file, 200 MB file and 700 MB file without any troubles and additional waiting! And they play well on the device. For your record: I was using Win XP SP3, and Total Commander 6.53. Tomorrow I'll try on Win7 64bit.
I'll try to tune a little the configuration, but have no idea if this will change something.
Chameleon. said:
Do not go on CM10
"Unfortunately the application was closed"
Click to expand...
Click to collapse
First of all, you are using quite unsupported by operating system. CM is Android, but is very different from the stock one, that device manufacturers put on their devices. Now, I have no plans for supporting CM - maybe find an app dedicated for CM, or ask CM developers to put back UMS mode natively, without any hacks. Because yes, UMS is still there, but hidden in UI, and all that UMS apps are doing is just guessing where and how, and hacking your OS.
Second, if you are using CM, it means that you are quite powerfull user. And I hope can read with understanding to install CM. So please read my post, and attach logcat (adb logcat -d -v long > filename.txt) logs. Sorry for my irony, but if you want to get help, you must first make a little effort.
f_ranek said:
First of all, you are using quite unsupported by operating system. CM is Android, but is very different from the stock one, that device manufacturers put on their devices. Now, I have no plans for supporting CM - maybe find an app dedicated for CM, or ask CM developers to put back UMS mode natively, without any hacks. Because yes, UMS is still there, but hidden in UI, and all that UMS apps are doing is just guessing where and how, and hacking your OS.
Second, if you are using CM, it means that you are quite powerfull user. And I hope can read with understanding to install CM. So please read my post, and attach logcat (adb logcat -d -v long > filename.txt) logs. Sorry for my irony, but if you want to get help, you must first make a little effort.
Click to expand...
Click to collapse
Thank you very much, inadvertently, this application works on 4.1.2 original stock
Hi everybody!
Recently I did some test with Windows 7 64 bit. The tests were performed on fresh system (the phone was plugged for the first time), the phone was plugged directly (no USB Hub down the line), and I've always switched to UMS before plugging the cable.
If you don't want to read such a long post, skip to the emboldened bottom line.
First, I've tested my regular SD card, 2 GBs labeled Kingston. I've copied 1 GB of files from the SD card to the computer, without any trouble and at average speed of 14 MB/s. Then I wanted to delete those files. After selecting them, and hitting Shift-Delete, I got delete progress dialog, which hung up leaving 1 file (out of 6) undeleted. At this point, access to SD card seemed to hung. I was unable to cancel the operation and close the dialog, as well as refreshing of the My Computer window took significant period of time. So I decided to unplug the USB, and replug it again. After that I noticed, that the files I wanted to delete are gone. Then, I copied back 700 MB file to the SD card. The copying avg speed was 3-4 MB/s, and the CPU utilization window (see here: http://forum.xda-developers.com/showthread.php?t=1495763) showed big blue bar.
Second, I replaced the SD card with another 2 GBs, labeled Japan. Then I copied 3 files (40 + 80 + 30 MB - no more space available, and no unnecessary files to delete) to the card. The copying was smooth, with little glitches before or after each file copying. The avg speed was 10-12 MB/s, and the device haven't indicate increase CPU load (neither green nor red or blue bars). Then, I tried deleting several files in a row from a directory, still without any glitches.
Edit: testing now, on Win XP, and through USB hub (does it matter?) does not work so perfectly well :/ I got one hang during folders deletion, and quite a long glitch before copying of several folders started.
Third, unlabeled 2 GB card sold (probably) with Nokia 6303i. First, I wanted to browse file system on the device. The performance was really bad, I was only reading files and traversing directories. Suddenly, all the file names changed to random characters (no writes performed by myself), and the phone indicated file system error, and unmounted the card. When I tried to share it with PC, windows said that the card is not formatted. The same phone, when trying to mount it back. The card can't be read neither on Nokia 6300.
Last, but not least - unlabeled 128 MB card got with my Nokia 6300 back in 2008. The phone indicated unformatted card, or unsupported file system. The same with Windows 7 accessing it with UMS, and Windows XP accessing it from the SD card reader. But, the card can be still read by my Nokia 6300, however, it's name is a little crapped. Moreover, I can access it from Windows XP using that Nokia in UMS mode!
So, the bottom line is
everything seems to depend on the SD card you are using.
Another story: the same micro SD card accessed via UMS in Nokia 6300 - very good performance, accessed via SD card reader with micro SD adapter - terribly bad performance. Another SD card accessed via the same SD card reader - very good performance. So as you can see, the same SD card, different reading devices - different effect. The same reading device, different cards - different effect.
Im not able to install on stock 4.1.2 i get problem parsing the package
Sorry if this has already been discussed, but I didn't found any answers regarding my issue.
So how can I transfer files from my pc using the pad's USB cable?
On my Sony phone with ics, it was enough to enable usb debugging mode and the pc sees it as a flash drive, using usb mass storage.
But here it seems there's no mass storage mode, only mtp and ptp which I don't like.
So what options do I have to actually see my 64 gb card when I connect the pad to the pc? Is it possible?
Cause even with debugging mode enabled it doesn't change anything, still have to use windows explorer and it's working very hard. Any help would be much appreciated.
Not sure I fully understand what's wrong with mtp option but I can fully see my 64GB card when connected to my pc via usb cable. I have successfully copied files to and from the SD this way with no issue. Explain what issue you may be seeing.
Usb Mode
gioni mnemonic said:
Sorry if this has already been discussed, but I didn't found any answers regarding my issue.
So how can I transfer files from my pc using the pad's USB cable?
On my Sony phone with ics, it was enough to enable usb debugging mode and the pc sees it as a flash drive, using usb mass storage.
But here it seems there's no mass storage mode, only mtp and ptp which I don't like.
So what options do I have to actually see my 64 gb card when I connect the pad to the pc? Is it possible?
Cause even with debugging mode enabled it doesn't change anything, still have to use windows explorer and it's working very hard. Any help would be much appreciated.
Click to expand...
Click to collapse
Can not see why you have any problems when my G Pad is connected I can see it as a device in My Computer " Not Devices " and when I open it up I see two drives. Internal and external SD card
Make sure you have loaded the LG USB Drivers
Plus it should come up with a list of what you want to do when connected click Open and view files
Thank you for the replies, guys.
Not sure if i made myself clear. Yes, my pc can also see my g pad device in My Computer, but it is not listed as a removable flash drive or an external hdd, thus i cannot see sd card properties, format options and so on. I usually use total commander for transferring files, because windows explorer is way too slow in doing this.
For example, if i want to download a movie or some songs directly to my tablet, how can i do that? With my sony phone is easy, my pc sees it as a removable flash drive, thus is easy to save files directly to it.
But with the g pad that option is gone, or at least i cannot find it. I must first download the files to my pc and only after that transfer them to my pad using windows explorer, which is really working hard. Basically, i have to wait one hour for downloading something, than another hour to transfer the files to my tablet, instead of downloading directly to the tablet.
And all this i believe is the effect of usb mass storage mode missing.
So in the end, is there an option to satisfy my needs?
gioni mnemonic said:
So in the end, is there an option to satisfy my needs?
Click to expand...
Click to collapse
In settings, go to "system", choose "PC connection", choose "media sync(MTP)".
MTP option does exactly what i was saying earlier, it only gives me the option to use windows explorer to transfer files.
It does not satisfy my needs, as i cannot save files directly to the tablet's SD card when downloading something, for example.
Can you people see the tablet's SD card as another DISK drive in your pc? With formatting options, sd card properties and stuff that you can do with a flash drive or an external hdd? This is my question, but i believe this is not possible.
Usb
gioni mnemonic said:
MTP option does exactly what i was saying earlier, it only gives me the option to use windows explorer to transfer files.
It does not satisfy my needs, as i cannot save files directly to the tablet's SD card when downloading something, for example.
Can you people see the tablet's SD card as another DISK drive in your pc? With formatting options, sd card properties and stuff that you can do with a flash drive or an external hdd? This is my question, but i believe this is not possible.
Click to expand...
Click to collapse
I have no problems it must be your USB drivers as mine sees it as a Device
I open mine up from my computer then open the SD card and transfer all my Movies and Pictures direct to the SD card I can open up files on Device or Card
Hi again, i've attached some print screens with the issue i'm trying to explain. The main thing that bothers me is the clearly slower speed for transferring files using windows explorer. With total commander it goes almost double the speed rate. Plus, why should i download a file to my pc instead of downloading it directly to g pad's sd card? Waste of time in my opinion.
But recently i did read somewhere that jelly bean does NOT support usb mass storage, so i guess that answers my question.
Ever since I got my G3 from Sprint, I haven't been able to see my external SD card on my PC when I connect with my USB cable. I only see my internal memory. This worked perfectly with my Galaxy S3, but it's been problematic from the get-go with this device. I can see and follow the paths on my device using ES File Explorer, but I don't have that path to click on in my File Manager on my laptop.
If I choose PTP, I can see my pictures, but if I choose MTP, I get nothing. I've toggled back & forth with debugging, but that doesn't change anything. Is it a driver I need to download? I have a 32 gig card, and I want to transfer some files to my pc that I no longer need for this device. I also want to more clearly see what's taking up all my memory, because I can't believe I'm using as much as my Settings/Storage says I am. I don't have a whole lot on here since flashing BarRin, and it says I'm using over 30 gb of internal and over 26 of my external. No way!!
Anyone have a fix?
I am an idiot. I downloaded the drivers, and I'm fine now. If the mods want to delete this thread, that will be fine. Sorry for the inconvenience.
Hi! I have htc 10 with 128 gb sd card formatted as internal memory. I was transferring a photo folder from phone to laptop using USB cable and USB connection in media transfer mode. The folder seemed to be transferring alright but the pasted folder in laptop is empty. Since I didn't understand photo sync in Google photos I don't have any backup...desperately seeking to restore that folder. Need all the help
I'd avoid using the SD as internal, sounds great in principle but can cause issues if there's an interrupt..
For apps I'd use folder mount, needs root but it's simple to use and doesn't affect internal memory.
In regards to the images, did you cut the images? Copy or simply drag them, a drag would be a copy. So the original should have remained. If you cut them then they'll have been in limbo and will then be marked for deletion.
In future always use copy instead.
If the photos are no longer in the phones memory then they'll have been marked for deletion, a data recovery app on Windows and or your mobile may help but not sure.. Have had a lot of luck on SD cards when plugged into Windows but never scanned a phone as it's a live OS and I imagine it would need complete read access.
If the photos were on the SD card and are no longer visible, connect the SD card up to your computer because if they're marked for deletion and the OS decides to use those clusters, it'll be overwritten which will make it harder for recovery.
Hi,
apps from market not working for me, but Recuva has worked hundred times for me.
http://www.piriform.com/recuva
regards
starbase64
Anyone else having the issue where they can't transfer files from their Win 10 PC to the phone? I have it set to File Transfer mode when I plug it in via USB into the computer. When I pull it up in File Explorer, it says "Phone". Double clicking it shows my MicroSD card and the internal storage. Then when I try to click and drag or Ctrl-C Ctrl-V a file into either spots, nothing happens. I did try enabling USB Debugging mode, but that's not required for a simple file transfer. This is honestly kinda ridiculous. Also, when I'd take my MicroSD and move files from windows to it by connecting it to a USB adapter, the files transfer onto the card, but as soon as I plug it into the phone, all those files disappear in the file explorer and are replaced with a file or folder called System Volume Information. Anyone else having issues??
Nope have copied files from what's app for printing and copied my music to phone storage and external memory card as well,
Sent from my Phone using Tapatalk
I had no issues using the steps you used. I just grabbed my USB-c to USB cable for charging my old oneplus, and it worked.
I used Bluetooth to transfer a few files from my PC to my phone. It worked great
Bluetooth works, plugging in phone (sd card formatted as internal storage), and Teamviewer works. I think I might use Teamviewer as it's similar to a ftp client program, makes it real easy.
What did you format the sd card as? Internal or external storage?
superostrich said:
I had no issues using the steps you used. I just grabbed my USB-c to USB cable for charging my old oneplus, and it worked.
Click to expand...
Click to collapse
Same here.
For normal files and documents i just use Google Drive, i don't have huge important files i need to have when i am out and about so i am unable to test this as i haven't had a need to plug my phone into a pc for 2-3 years.
Bluetooth would work or an SD Card reader, as there are so many ways to get files between a pc and a phone without a cable its partly why ive not even bother to check the does my phone work with my pc step. Back in the days when you got Software and Drivers for your phone are a thing of the past.
I using wi-fi to transfer files you can easily find an app for that
linkhunter said:
I using wi-fi to transfer files you can easily find an app for that
Click to expand...
Click to collapse
Which app are you using?
Heya, chiming in here to suggest Airdroid...look it up, useful and needs no plugging in, just used your WiFi networks to do the transfer, very useful tool (I,d like to thank YouTubes Mr Mobile ((Michael Fisher)) for that)
No problem here also...I just use my GoPro5 Type-C Cable with my Razer, and Copy and Paste in Windows Explorer....easy. I recommend you try another cable
Using an anker "normal" usb to usb c cable works fine to transfer files. But I can only transfer files to the SD card, internal storage doesn't appear.
For transfer via WiFi I use es file explorer, it connects fine to windows shares even with needed auth