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
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
Attachments
-
48.4 KB Views: 1,875
Last edited: