A thing I made (SD Shuffle)
I was getting really fed up with apps that only believe in The One True /sdcard and wouldn't let me use my actual (32gb) card. so I shuffled the mount-points around, and have made a flashable patch.
What this does:
By default the external (actual) SD card is mounted to /mnt/sdcard-ext and the internal 8gb "SD card" is mounted to /mnt/sdcard - and symlinks at /sdcard-ext and /sdcard point to those mounts.
There are a couple environment variables that I think every app ignores - EXTERNAL_STORAGE=/mnt/sdcard and SECONDARY_STORAGE=/mnt/sdcard-ext
With my patch the external card is mounted to /mnt/sdcard, and the internal card is mounted to /mnt/sdcard-int, with symlinks at /sdcard, /sdcard-ext, and (this was the hard part) /mnt/sdcard-ext all pointing to the external card, and with /sdcard-int pointing to the internal of course.
I also set EXTERNAL_STORAGE=/mnt/sdcard and SECONDARY_STORAGE=/mnt/sdcard-int in case something actually listens and offers the choice
I did it this way so that all my existing configurations that I had managed to set to /sdcard-ext and /mnt/sdcard-ext will still work, a simple swap would have been much easier, but I got this working how I want and am happy.
myfishbear, if you would like to host this on your server alongside the other optional patches, I would be honored
I have also attached the undo patch which restores back the default.
Notes:
This does not of course actually move or copy any data from one card to another, you will want to manually manage that before applying the patch. (And I recommend moving all apps installed to the SD to the phone, because otherwise I assume they will just vanish when the cards move around)
Like every other patch, after flashing a new version of Eclipse, you will need to re-apply it.
View attachment 56482
View attachment 56483