I recently flashed CM-10.1.3-RC2 and still no UMS. I guess it was removed from CM-10.1 earlier this due to bugginess. I wasn't able to tell if the bugs were in the SGS2 hardware, or CM itself. Can someone clarify? Because, if it's in the HW itself, it will most likely never work. I'm not using Windows so MTP/PTP simply do not work. I must boot into TWRP right now to transfer files. Iv'e also tried
Code:
setprop persist.sys.usb.config mass_storage
however no luck there either.
Anyone know of a ROM where UMS is working (AOKP, etc)?
Thanks
Last time I used AOKP (a few months ago), it had working USB Mass Storage. If you don't want to switch ROMs, there's an app called Multi Mount SD Card (Sorry, I can't post a link) that can get UMS working for you.
Noyth said:
Last time I used AOKP (a few months ago), it had working USB Mass Storage. If you don't want to switch ROMs, there's an app called Multi Mount SD Card (Sorry, I can't post a link) that can get UMS working for you.
Click to expand...
Click to collapse
Some of the reviews say that app didn't work for them so I went ahead and flashed aokp_hercules_jb-mr1_milestone-2. No UMS . Perhaps for the same reasons it's no longer in CM I guess. Happy surprise though: PTP *does* seem to be working under Ubuntu 12.04 with this ROM! Hopefully it's stable so I don't have to boot recovery to get the pics off.
EDIT: Nevermind on the PTP. It's actually not working. For some strange reason it's showing some pics that appear to be on the filesystem and not the device :|
EDIT: For anyone interested, found a link that sort-of gets MTP working on Ubuntu 12.04. You have to add some unstable repos and pull down some non-standard 12.04 libraries and edit some udev configurations. There are some limitations like file size, no drag & drop and opening files directly from the MTP mount point. http://forum.xda-developers.com/showthread.php?t=2223401
Related
UPDATE 6-13-2011 !! HUGE UPDATE.... OTG DRIVES NOW SUPPORTED !! https://market.android.com/details?id=com.skidmrk.umswatcherotg
So it's been a long time since i've checked in. This is mostly due to where i was in the development of the new version. I couldn't really work on fixes when i'd rewritten the entire codebase. Well your waiting should be worth the wait. If you have the old version installed from the market you'll have an update waiting. After the update it will tell you there is a new version for Android 3.1 devices. It will take you to the market to download a new app "UMS Watcher OTG" I know this is kinda dumb not currently the android marketplace will not allow for device or os specific version. So i had to make a 2nd app specifically for 3.1 devices. (Since 3.1 is the first build to offically support OTG mode.)(i retained the old version for pre 3.1 devices)
All of the features of the old version should still exist. But now the mounting dialogs are all handled within app. You'll notice this time we actually have a full interface. More than just the simple settings page. UMS mounting should work just fine. Hopefully this will resolve all of the issues people have been having. At least i think it will. If there are still issues i will now be able to work on it since i'm done with the current code.
With the new version installed you'll be greeted with a dialog anytime you plug in a drive via an otg cable. This will then set UMS watcher otg as the default handler for that device. Then any time you plug that device in again it will automatically open the app. This is where you'll really see changes in the app. You will see each of your attached devices enumerated in an expandable list. If you expand any of the drives you'll see the partitions. You can mount and unmount any partition. When mounting you'll be asked the partition type and target mount point. I attempt to auto-detect the partition fs type but i'm not able to differentiate between versions of ext, and between versions of hfs/hfs+. Each partition's settings will be saved. and is keyed to the uuid of the partition. if you format/partition the drive those uuid's change. When finding the mountpoint you can browse the entire file system and even create new directories within app (i can't tell you how much time i spent working out an in app directory browser.) You will also notice partition sizes and disk usage. Note: you won't see disk usage until the partition is mounted (not really an easy way around it). You should be able to have as many simultaneous drives attached, (with as many partitions as you want).
You should know that the fs types are only supported if you're kernel has the modules for them. Tiamat currently has fat/ntfs/ext/hfs/hfs+ modules so all of these should work. The kernel modules will be loaded on demand, so no need to worry about loading them manually.
BIG NOTE:::: HFS+ DOES NOT CURRENTLY WORK.
This appears to be an issue with the kernel module, I'll start working with BRD to get it sorted out.
Checkout the about page to see all of the features.
With this big of a code change there are bound to be bugs. I'll work on them as quickly as posisble, email me or post here when you find any.
This has been a huge amount of work. (lots of learning) The code has gone up in size by almost 2 orders of magnitude. and has been hours and hours of work, so enjoy and if you do a review on the market would be nice. I really didn't anticipate the amount of downloads that i got on V1. >4000 . I also couldn't believe the different types of device, or locales. On that note if anyone wants to help me localize to other languages I'd really appreciate the help. (Google Translate might have to do).
As before any bugs or feature requests can go here or can be emailed to me at apps <at> skidmrk <dot> com . I really hope people like this and use it. (i'd hate to have all the work go out for nothing.)
Thanks to everyone who have helped out so far.
-D
==============================================
UPDATE 5-20-2011 !! TIAMAT UMS KERNEL FOR 3.1 HAS ARRIVED !!
Ok BRD sent me his 3.1 kernel with ums compiled in. I've attached it below.(install via CMR, following the instructions in the tiamat kernel post)
I haven't finished the updates to the app to add ntfs/fat/etc mounting. Things ended up getting a little busy. I should have an update for the app come sunday/monday (going camping for the weekend)
BRD tells me he can't really support the ums stuff any more so i guess i'll take over ums builds (assuming i can figure it all out).
Getting very close to 1000 market downloads. Wow i didn't ever expect that many. I noticed that we have quite a few people with non english locales. Does anyone want to offer translations. I can and will localize (i feel it's important).
Also any requests for the new app version. So far i have a request for unified otg mounting interface. Localization, Kernel Detection and Download. Anything else you'd like to see?
Enjoy the new kernel (and you can thank BRD for it... i didn't really do anything to build it).
Also you don't need to reinstall my app. Once you install the new kernel it will start working again.
=================================================
UPDATE 5-10-2011 !! We're on the market !!
Nothing new yet (waiting on the otg cable) but now you can get the app via the market:
https://market.android.com/details?id=com.skidmrk.umswatcher
Please use this market link for downloads. It will be easier to keep your app updated ... i will however continue post the apks here and use this post to work with users (bug and features).
I haven't had a chance to test this on 3.1 because i've not yet updated... not to mention there isn't a kernel yet for 3.1.
As always feedback is much appreciated.
UPDATE 5-9-2011 NEW VERSION (new features)
Yeah for updates.
I finally figured out how to detect when something mounts the usb mass storage, so now the notification changes depending on the state of the usb mass storage. Finally it has the exact same behavior as android normally has.
I implemented the requested feature of automounting the usb mass storage. I'm not sure how many people would want it but it's there now (and kinda cool)
I've actually hooked in to the private api calls that android uses to mount usb storage (same call used in the native mount app). I figure that is a very safe way to do automounting. (and was a pain in the but to figure out)
Also out of necessity there is now an app you can run. This is just a page for managing settings. It doesn't have to be run for this app to work. Currently there is the "automount" setting and the "show notifications" setting. I figure with the automount feature this might serve useful on other devices for just that function, so those people can disable the notifications. I'll post this on the market as soon as i figure out how. (free of course).
As far as other devices go i tested it on my droid 1 and it works fine (for both notifications and automount). Feel free to test it on whatever you like.
Let me know if there are any other feature you want. I thought able customizing the notification (with sound, led, or vibrate) but that didn't make it in this build.
As before let me know what you think. Feedback can only make this better.
----------
For people still on tiamat 1.4.0 that want to use usb mass storage, have i got an app for you. I found it tedious to use the recommended scripter. So I saw this as an opportunity to write my first albeit basic application.
So attached you'll find it "Usb Mass Storage Watcher". The app listens for usb connections and when it detects one it will add the "mount usb" notification just like the standard android interface. Click on it and it will bring up the mount usb app.
The app does not need to be run at startup or ever really. When it is installed it registers itself as a listener for the usb connection events. It gets called by android os when those event happen. So basically it operates exactly like android is supposed to.
Special thanks to:
Kevin(at)TeslaCoil
LouZiffer(at)SDX
for their ShellCommand (su/sh) class.
Let me know what you think. I'd really like feedback.
-D
Just tested it, works great, thanks a lot.
Is it possible to have an option to turn on mass storage automatically when it finds a connection? I assume it could be ejected from Windows like a regular flash drive, so I wouldn't have to interact with the Xoom.
Thank you for this. It works perfecftly. I stuck with kernel 1.3.2 because I didn't want to deal with the whole script thing. I'm now running 1.40
Sent from my Xoom using Tapatalk
wow that is a nice app....thank you so much
can't open apk -.-
Hi! This is the app I was waiting for (I didn't realy understand the script thing)
Thanks...
Unfortunatly i can't open the apk file... If I try to, I get an Error (just now it in german): "Beim analysieren des Pakets ist ein Problem aufgetreten"
Google Translate : When analyzing the package a problem accured
Have I done anything wrong?
Im rooted, on tiamat 1.4.1 and in options I have checkt hat I can install apks from unknown origine
Did you download directly from your Xoom? If so, try downloading to your computer and copying it over. Either way should work, but it may help.
Thanks! Downloading to Pc and pushing over to xoom worked!
I love this app...
I am having a hard time with this. I installed the file just fine, but when I plug in a usb cable it doesn't do anything on my xoom I the auto play comes up on the computer but it just shows my xoom not the card. I have tiamat 1.4.1 installed. I've tried with USB debugging on as well as off. I have a buddy who's is working perfectly so I know what it should be doing but it's just not. Suggestions?
nevermind I read back through the change log and behold...
Version 1.4.1
Mass Storage has been removed do to stability issues. Your SD Card still works just fine without it!
More updates from Google AOSP.
Please visit Tiamat Xoom Kernel Github Repo for commit history.
so yeah... that's my issue
UPDATES
New Version - New Features - Better implementation
See Post #1
could you add hooks for NTFS mounting VIA OTG Cable........ that would rock!!
pyrator said:
could you add hooks for NTFS mounting VIA OTG Cable........ that would rock!!
Click to expand...
Click to collapse
I've never looked into it but you're talking about mounting an external drive on the xoom (backwards to what my app currently does).
Are you just looking to automount? or do you want an interface like that used for mounting usb mass storage (ie notifications, page to enable/disable).
Technially that would an entirely different app but if i got my hands on an OTG and tested out how it all works i wouldn't mind looking into integrating it. But i just wanted to clarify specifically what you wanted it to do.
-D
For example when you hook up an externel HD via OTG Cable you have to run this command to have it mounted... If your app could automount it that would be a nice addition.
"
Mounting USB disks
use gscript lite to mount disk(s), or you can test this script via adbwireless,...
Code:
mount -o remount,rw /
mkdir /mnt/ntfsdisk
ln -s /mnt/ntfsdisk /ntfsdisk
ntfs-3g /dev/block/sda1 /mnt/ntfsdisk
"
pyrator said:
For example when you hook up an externel HD via OTG Cable you have to run this command to have it mounted... If your app could automount it that would be a nice addition.
"
Mounting USB disks
use gscript lite to mount disk(s), or you can test this script via adbwireless,...
Code:
mount -o remount,rw /
mkdir /mnt/ntfsdisk
ln -s /mnt/ntfsdisk /ntfsdisk
ntfs-3g /dev/block/sda1 /mnt/ntfsdisk
"
Click to expand...
Click to collapse
+1 here
I'd love to see this kind of integration to your app. Don't mind throwing in some kudoes too on the market.
Sent from my Xoom using XDA Premium App
Agreed, the same UI of the mount SD but with the option of mount and unmout USB storage would be cool.
I mentioned this thread yesterday to BRD. I really liked what the 1.4.0 did, but I'm stuck (by choice) to 1.4.1. If he can re-implement the mass storage in the next release with this and what Pyrator mentioned, we will have a very solid update indeed.
1.1 rocks! I love it!
OTG Cable
I'll implement the otg feature if someone can point me in the direction of a cheap otg cable that i can get fast.
Got mine in 2 days
http://www.amazon.com/gp/product/B00474OYLG
siscim23 said:
Got mine in 2 days
http://www.amazon.com/gp/product/B00474OYLG
Click to expand...
Click to collapse
Thanks I'll start adding the feature as soon as mine gets here.
I know I cannot listen to my music via the USB port on my Honda Civic due to the Mass storage issue unless I root my phone and use an app to enable it for an external SD card. Will JellyBean enable the same functionality that app does or fix the mass storage issue?
The question I'm asking myself if I should wait for Jelly Bean to come out if it fixes the Mass storage issue or should I just go ahead and root my phone now and install the app if Jelly bean does not fix the issue.
Thanks
I have a Honda Accord with a usb audio port working with mass storage. It works perfectly for my family's iphone. I rooted and flashed CM10 (jellybean) and it still doesn't work.. So jellybean won't help you.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Copied from the CM10 Q&A I just posted:
UMS for the external SD is working with CM10, however you will need to take quite a few steps to get it working. I'm running nightly 9/14 currently.
You will need to follow the gscript steps to get it working as the Easy UMS app at the moment does not work (at least for me).
-Download GScript Lite here.
-I've went ahead and modified the script to the correct mount point for CM10. You can download it here.
-Import the scripts in the gscript folder in your internal memory.
-Make sure su is enabled for the script.
-Once the script is done, you will most likely need to switch the drivers for Windows. Go into device manager and you will find Samsung MTP Device or something very similar under portable devices.
-Update drivers and you should have the option to change to Mass Storage Device. You may need to reboot your machine.
-That's it!
I've been struggling with this one for a while and I hope you guys have some success with this one!
So i upgraded to cm 10.1.2 and i'm having a hard time trying to figure out how mount as mass storage rather than MTP or PTP
for the life of my, i can't find the option.
i'm running linux so MTP is not an option for me
anyone know where i can change it?
thank you
sam
when you goto storage hit menu do you see any other options when you click menu in your storage settings ?
denti said:
So i upgraded to cm 10.1.2 and i'm having a hard time trying to figure out how mount as mass storage rather than MTP or PTP
for the life of my, i can't find the option.
i'm running linux so MTP is not an option for me
anyone know where i can change it?
thank you
sam
Click to expand...
Click to collapse
That's because they removed mass storage option in 4.2.2
denti said:
guess i'll find another way to move files around as MTP and linux no play well together
Click to expand...
Click to collapse
Some linux distros support MTP. Ubuntu, for example, although it hasn't been officially backported to some older releases. But it is available for older releases in a developer's third-party ppa. Unfortunately, I can't post the link. Still, I prefer USB mass storage to MTP. But I'm going to try MTP for awhile and see if it grows on me.
I noticed that there are a number of apps that come up in the Android Market / Google Play Apps if you search for "USB mass storage", but I haven't tried any of them. There are also third-party apps that provide file sharing via wifi using samba or ftp. Not exactly what you're looking for, but I thought I'd mention it. ES File Explorer is an example. I use it, and like it, but I haven't used the particular features I just mentioned because, until my recent upgrade to JB 4.2 I didn't need them -- I used USB mass storage.
In a thread on AndroidCentral, someone said google does not want to use USB mass storage. I don't know if that's true, and if it is true, I don't know what google's reasons are for abandoning USB mass storage.
stcr1 said:
Some linux distros support MTP. Ubuntu, for example, although it hasn't been officially backported to some older releases. But it is available for older releases in a developer's third-party ppa.
Click to expand...
Click to collapse
I tried this without success. At this point, I forget what the problem was, because I've tried so many different things. I think I was unable to get read-write access. It was read only. Not sure, though. But it didn't work for me.
stcr1 said:
There are also third-party apps that provide file sharing via wifi using samba or ftp.
Click to expand...
Click to collapse
I tried a couple of these and they did not work reliably. I have a large git repo that I was trying to clone, and it would either silently fail mid-way (using Samba Filesharing for Android by funkyFresh), or git would complain about corrupt/missing objects (using Servers Ultimate by Ice Cold Apps). The latter also has an NFS server, but I wasn't able to connect to it. I kept getting a clnt_create Program not registered error. All of the problems here with both the samba servers and NFS could be specific to my hardware and software environment, and/or configuration settings. YMMV.
stcr1 said:
I noticed that there are a number of apps that come up in the Android Market / Google Play Apps if you search for "USB mass storage", but I haven't tried any of them.
Click to expand...
Click to collapse
I tried a ton of these. The only one that looks promising (for my device) is Multi Mount SD-Card Lite by rafoid. I hope it works out. Haven't tried cloning my git repo yet. Again, my experiences could be specific to my hardware and software environment. YMMV.
Off topic: Along the way I found AirDroid. Looks pretty cool, but doens't look like a solution to the problems in this thread.
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
angler_fish said:
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
Click to expand...
Click to collapse
That's a good idea. I sorta tried that, and it didn't work for me, but it obviously has worked for other people. I say "sorta" because I didn't use a terminal, but used an app in the Marketplace wihich is supposed to do the same thing. The app is USB mode switch for SGS1 on CM by Zatta. It's the subject of a thread here (showthread.php?p=21505914). I would post the link to the thread, but unfortunately I can't post links.
stcr1 said:
That's a good idea. I sorta tried that, and it didn't work for me, but it obviously has worked for other people. I say "sorta" because I didn't use a terminal, but used an app in the Marketplace wihich is supposed to do the same thing. The app is USB mode switch for SGS1 on CM by Zatta. It's the subject of a thread here (showthread.php?p=21505914). I would post the link to the thread, but unfortunately I can't post links.
Click to expand...
Click to collapse
Just download a Terminal Emulator on Google Play. Search Terminal and the first one should work. Make sure you give it root privilege, as you are modding system files. Hope that helps!
angler_fish said:
You can try this mod and see if it works for you. It is really 2 lines on a terminal:
http://forum.xda-developers.com/showthread.php?t=1800935
It worked for me before to force my phone go into mass storage mode. I haven't used it for the latest mods.
Click to expand...
Click to collapse
I put CM10.1.2 on my phone a few days ago. Until today, whenever I plugged it into my computer it would go into mass storage mode as expected and everything was fine. Then, I installed Button Savior, which required me to enable USB debugging mode, and after that it connected in MTP mode every time. If I tapped the notification it would give me an option to uncheck MTP mode, but tapping that any number of times had no effect (the checkmark wouldn't go away). I tried the solution suggested in the linked thread, but now it's even worse. It no longer connects in MTP mode, but it doesn't connect in mass storage mode either. Now, it connects in something called "installer mode" with no option to change anything. It shows up in Explorer on my computer, but when I try to open the drive the computer asks me to insert a drive.
Any idea how I get my mass storage mode back?
Odd, teamchopsticks pulled USB mass storage from cm10.1 because of crashes when disconnecting from the computer.
Sent from my SAMSUNG-SGH-T989 using Tapatalk 4
Cyanogenmod removed support for USB mass storage after CM10.0 because "The kernel support was flaky... USB mass storage has been deprecated by Google and is no longer supported."
https://jira.cyanogenmod.org/browse/CYAN-540
Multi Mount SD-Card Lite by rafoid on Google Play worked for me for awhile, then stopped working reliably. I lost some files as a result. Now I'm going to try adbfs:
https://github.com/spion/adbfs-rootless
(Thanks to dalingrin for this suggestion, made in this related thread: http://forum.xda-developers.com/showthread.php?t=2023066)
This article explains why Android moved from USB Mass Storage to MTP access for the internal storage.
hxxp://androidpolice.com/2011/11/18/impromptu-qa-session-with-android-engineer-dan-morrill-brings-to-light-reasons-behind-galaxy-nexus-lack-of-usb-mass-storage/
I am new to the GS2. I'm running Liquid Smooth 3.0 The only options are MTP and PTP. I would like to enable UMS. I drive a Ford and it has sync but it's not compatible with MTP. It should be compatible with UMS because it should behave just like a flash drive. I tried SG UMS enabler but it doesn't work with this phone.
I also found a couple of build.prop tweaks but they weren't in an SII forum, and I didn't see the line in my own build.prop.
I'm running Carbon KitKat right now, and Multi Mount SD-Card works fine for me ( you need Root ). I've been using it for a couple years on multiple ROMs and it works fine, though it's a bit confusing to set up - you have to create a widget to use it and mount your SD cards.
I am no fan of MTP at all. Sometimes you have to disconnect and reconnect just to get all of files to show up, and sometimes after a transfer you have to do that also for some reason. I loved the old UMS.
`Hi all,
it seems the overall connectivity of my phone to my pc is screwed up. First of, I've never got this phone to appear as mass storage in windows explorer. While I was on a JB custom ROM, I ended up using moborobo. ADB and fastboot were working. I switched to Carbon KK ROM and ofc still not able to prompt windows explorer mass storage device. And yeah, I tried severall different packages of drivers, HTC sync crap and what not. I tried moborobo again, it recognizes the device and it's able to scan my phone's contents, but I get errors when I try to upload a file. Also, adb works when booted, but not in recovery so I can't sideload or push files either. so, effectively, I have no way currently to drop files to my phone. I miss removable SD-card
I would love to get this phone to work as a mass storage device again, does anyone has got some ideas? thanks
I flashed CM11 kernel and file management in moborobo is working again. Also fixed wifi and bluetooth. Seems carbon kernel is pretty broken
onemanshow85 said:
I flashed CM11 kernel and file management in moborobo is working again. Also fixed wifi and bluetooth. Seems carbon kernel is pretty broken
Click to expand...
Click to collapse
The easey way is just to disable usb debuging and you will see your sd card as mass storage when you finish enable usb debuging again.