Related
Recently I had my galaxy s3 updated to cm10.1, and I'm loving the new features but I'm having some difficulties connecting the phone to the computer for file transfer. My computer does recognize the device, but when I click on it, and look in the internal storage, it shows that there are no files in there, even though there are. When I go in my file manager on my phone, there are 3 storage components: sd card (/storage/sdcard1), internal storage (/storage/emulated/0), and USB storage (storage/usbdisk0). I'm only able to access internal storage, and the rest it says "This operation requires elevated permissions. Try changing the Root Access mode." Not sure if this part is relevant, but just wanted to share. What do?
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.
Hi
I moved acouple of avi files from internal storage to the sd card connected the phone to pc but the files. wont trasnfer over i can see the files on the sd card click copy but when i go to paste the files onto the pc nothing happens. If i remove the card from the phone and use a usb adapter to connect it to the pc the files copy ok.Obviously i don't want to unmount the card from the phone everytime i need to transfer a file to the pc can anyone help me with this
Maybe a formatting error. Sounds ridiculous I know... pointless getting technical, so just wipe the card and see if that fixes your issue
Hi stevepork
I just tried that and its just the same. i was wondering if it might have something to do with kitkat 4.4.2 which the phone is running.
Up
hgwells2 said:
Hi
I moved acouple of avi files from internal storage to the sd card connected the phone to pc but the files. wont trasnfer over i can see the files on the sd card click copy but when i go to paste the files onto the pc nothing happens. If i remove the card from the phone and use a usb adapter to connect it to the pc the files copy ok.Obviously i don't want to unmount the card from the phone everytime i need to transfer a file to the pc can anyone help me with this
Click to expand...
Click to collapse
Are you completely stock? Have you frozen or removed any apps/services while trying to debloat?
Hi
The only app i stopped was mcafee security as i had kaspersky mobile security ive had the phone about a month.i tried it again this afternoon and it moved the folder but not the file inside .small files such as srt files will move as well
Up
What is your USB settings ? PTP or MTP ?
Hi
It's mtp when on ptp i just see an image of a camera and have access only to the photos on the phone
What you you see when you right-click on the sdcard file from the computer to show its properties ?
properties doesnt come up only open and explore
Maybe you need this: https://play.google.com/store/apps/details?id=nextapp.sdfix
As I've only had it a month i don't want to root the phone as it'll void the guarantee which I'd have to do to use the app
hgwells2 said:
As I've only had it a month i don't want to root the phone as it'll void the guarantee which I'd have to do to use the app
Click to expand...
Click to collapse
Dont worry about warranty when rooting.
There is a way to get everything back to normal.
Sent from my LG-D852 using XDA Free mobile app
I'm using the folder mount app to move the files to external sd.
I can move files from internal storage to sd card but i cant get them off the sd card without removing it from the phone and connecting it separately to the pc
it's the security measures that prevent unauthorized access to the sdcard. if you don't want to root, you can move your movies to the dcim folder then you can access it under PTP
Thanks alot for that i just tried it and it works a bit slow but better than keep having to take the back of the phone off and on and unmounting the sd card.do you have a link to rooting the g3 I'd like to look into it sp long as its fairly simple and can be reversed
Read this thread for rooting, the unroot method is explained in the second post : http://forum.xda-developers.com/showthread.php?t=2821000
Hi
I rooted the phone and installed supersu but the files still won't transfer to the pc .the phonr id d855 v10h-eur.
Hi folks,
Lineage 16 (latest version) is now installed on my S5, however when I connect the USB, the phone just shows as 'SM-G900F' on my W10 PC and cannot be expanded, basically no Phone and Card folders.
I can see them in the phone no problem, but once I connect it, I am not prompted with the usual message on what I want to do, like file transfer etc. and on the left menu appears only the model of the phone.
I had no issues when I flashed the original firmware, so it must be related to Lineage.
I also installed the Android USB drivers, but no go.
Changing the USB Preferences, to PTP or File Transfer only allows me to see the phone folder but no SD.
I also tried a new SD, no success.
Any thoughts?
Thank you,
Alex
kwajongen said:
Hi folks,
Lineage 16 (latest version) is now installed on my S5, however when I connect the USB, the phone just shows as 'SM-G900F' on my W10 PC and cannot be expanded, basically no Phone and Card folders.
I can see them in the phone no problem, but once I connect it, I am not prompted with the usual message on what I want to do, like file transfer etc. and on the left menu appears only the model of the phone.
I had no issues when I flashed the original firmware, so it must be related to Lineage.
I also installed the Android USB drivers, but no go.
Changing the USB Preferences, to PTP or File Transfer only allows me to see the phone folder but no SD.
I also tried a new SD, no success.
Any thoughts?
Thank you,
Alex
Click to expand...
Click to collapse
Do you have adopted or removable SD?
kurtn said:
Do you have adopted or removable SD?
Click to expand...
Click to collapse
I have re-flashed everything and started from the beginning.
lineage-16.0-20190918-nightly-klte-signed + open_gapps-arm-9.0-mini-20190921
SanDisk SD Card 32GB, either way I try to format it does the following:
Phone Storage: attempt to invoke virtual method 'java.lang.String android.os.storage.VolumeInfo.getId()' on a null object reference.
SanDisk SD Card unsupported
Portable Storage: When I hit format, it says: Your Card is ready to use - I click Done but still the cart shows in the Storage area as portable Storage SanDisk SD Card Unsupported
The card is OK, also because if I flash the original ROM the same card works perfectly and shows up in my PC too.
This is very annoying, I am stuck on this for days and even trying other cards I get the same.
I hope you can help me to resolve this matter.
Thank you!
Alex