• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root sdcard/internal storage swap

I had an ingenious idea and checked to see how android mounts the storage devices, and was able to find a way to swap the internal storage and sdcard.

This tweak works on the 5/20 cMIUI release, and should also work on CM9. I apologize, I have not flashed back to a gingerbread to test.

If you take a root file browser and edit /system/etc/volb.fstab, there are two sections you need to edit. "dev_mount emmc /mnt/emmc" changes to "dev_mount emmc /mnt/Edvard" and "dev_mount sdcard /mnt/sdcard" changes to "dev_mount SD card /mnt/emmc".

Then you simply copy your files from emmc to sdcard if you care about preserving your /android folder and reboot. Magic will then occur and your phone will have more storage space on the default storage.
 
AAAND I'm sorry for jipping Curtis before anyone points that out, I forgot that all this was spawned by his post. Been using the mod for over a week now, I've slept since then.
 
You can already do this in cm9 without editing anything by going to Settings>Storage>Menu button>Storage configuration>and check the box. After that you will need to reboot the phone.
 
Just checked, cMIUI doesn't have that option in the settings. So at least its useful to some people. Thanks for that info though.
 
I had an ingenious idea and checked to see how android mounts the storage devices, and was able to find a way to swap the internal storage and sdcard.

This tweak works on the 5/20 cMIUI release, and should also work on CM9. I apologize, I have not flashed back to a gingerbread to test.

If you take a root file browser and edit /system/etc/volb.fstab, there are two sections you need to edit. "dev_mount emmc /mnt/emmc" changes to "dev_mount emmc /mnt/Edvard" and "dev_mount sdcard /mnt/sdcard" changes to "dev_mount SD card /mnt/emmc".

Then you simply copy your files from emmc to sdcard if you care about preserving your /android folder and reboot. Magic will then occur and your phone will have more storage space on the default storage.

ill see how it goes and include it in the next release, thank you
 
Back
Top Bottom