New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB OTG support for sd-ext #21
Comments
Sd-ext scripts is not designed for OTG Plugged USB devices. They are On 11/03/2013 05:32 AM, Speeddymon wrote:
|
I think I misunderstood the intent of your app then. I was looking for If your app would not allow me to do that simple thing (even with an SD) The reason for this by the way should be obvious. I'm out of space on my See, when you umount the USB stick, the launcher would automatically remove Additionally, I could also have certain apps able to be transferred between Guess if that makes no sense then so be it, you'd never add support, but it Just because nobody else has asked for it doesn't mean it wouldn't be Thanks anyways I guess, unless you have a sudden change of heart.
|
This is not Link2SD, this one acts a bit differently and you would not be able to just remove the stick. You are looking at the wrong applications for this, and you have completely misunderstood the purpose of this one. What you need, does not exist and for good reason. Developers know how Android Package Management work and therefore no one would ever attempt this. This is now Windows where you can just put apps in different folders, desktop etc and launch them from anywhere. Android has strict rules. First of all, the Applications is not the once using most space. You have App Data which cannot just be moved around like that, because they require specific permissions that needs to be registered on the system. These permissions are auto generated. If you plug your stick into another device, those permissions (UID, GID) will not exist and your App Data will not work. Also, if you unplug, Android will properly see this as an uninstall and remove the GID and UID from the first device as well. Second you have the Dex Cache. Same rules apply here. |
Regarding the transferring between devices you're right, and I hadn't As far as removing the permissions when you unplug, I'm skeptical of this Thoughts?
|
You cannot compare the internal to sdcard function. It is a strange hack that Google came up with in a hurry because of complaints about storage space issues. That part is handled differently than regular app management. Anyways, Mounts2SD has a different purpose, and it is not build to handle a request like this. Both the app and script would require some serious work in order to meet your demands, and it would be easier to just make a new separate app that was build with this intent to begin with. But I don't think that the requirement for this is high enough to interest any developer. |
Hi. I'm running CM 10.1 on a Galaxy Nexus (doesn't have SDcard). I have a USB OTG cable and USB stick plugged in. Stick is formatted as recommended for SD-ext (1st partition is FAT32, 2nd is ext4) but your program (and all others I have tried) do not find it.
USB stick shows up as /dev/block/sda, with /dev/block/sda1 and /dev/block/sda2 as partitions. /dev/block/sda2 is the sd-ext partition.
Would you mind fixing your tool to check for that partition setup also?
If it helps for other nexus devices running CM10.x, I think the block devices are handled through /dev/block/vold directory. In my case there are 3 files: 8:0, 8:1, and 8:2 in there that also reference the USB stick. It seems vold it still used even in nexus with JB4.2 (at least for CM10.x)
The text was updated successfully, but these errors were encountered: