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

Root [How To] Swapping the internal and external SD cards

ryanb876

Newbie
The original guide here:

[How To] Swapping the internal and external SD cards - ZTE Blade V - MoDaCo

on the ZTE vital its basically the same but with a few differences.

This mod should be done on a fresh phone. Or at least don't have any apps installed to the SD card. Having apps on the SD card before this mod could cause abnormal behavior and corruption. Its also not a good idea to have large games installed.

On my VM supreme your looking for vold.fstab in the /system/etc/ folder.

open the file as text and scroll to the bottom and you will find this.

PHP:
#dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host
#dev_mount sdcard /mnt/sdcard2 auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /storage/sdcard1 23 /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/msm_sdcc3/mmc_host
In order to swap the cards, you simply change sdcard1 to sdcard0 and sdcard0 to sdcard1 in the last two lines.

It will look like this:

PHP:
#dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host
#dev_mount sdcard /mnt/sdcard2 auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount sdcard /storage/sdcard0 23 /devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/msm_sdcc3/mmc_host
After done, reboot.

Instead of the measly 1.5gb, you now have the space of your external SD card.
 
i have zero mb left.. I have 32gb class 10 memory carf but it gets corrupted automatically after a months... :D

will buy new one..
 
I extracted vold.fstab from system.img but thank you for uploading..
This tweak should be done on fresh phone.. or else you will end up with tons of error as there will be no mounting of internal and external.. so i was all stuck.. and pushing through adb will give you errors.. I was stuck for hours...

I wasn't sure it is something related to vold.fstab or it created some mess..
As i tried like 10 times pasting your code in that also restoring through backup which root explorer created, but it was all same..

and flashing system.img back was my last option, but that too was tricky. . I installed lte2recovery, by which you can goto recovery but recovery doesnt work..



but ADB works, and it create virtual linking of SDCARD to data/media

so i tried to push it in sdcard which automatically pasted it in data media and then with root explorer i pasted it. I was in panic lol.. AS i dont have any insurance or any warranties for this pone..
 
Yeah sorry. I should have said it should have been done on a fresh phone or at least have no apps on the sd card.

I edited the original post.
 
No problem :) But this gave me trick.. If in case you are in brick brick situation you can alway push system.img into data as it has 1.4 gb after full wipe and then you can DD it to system. :)
 
I performed the fix as described but I still saw the internal 1.4 and the external as 32 gig.
I went in with a text editor and changed the file to read..
dev_mount sdcard /storage/sdcard1 23/devices/platform/msm_sdcc.1/mmc_host
dev_mount sdcard2/storage/sdcard0 auto/devices/platform/msm_sdcc3/mmc_host

After rebooting I know see the 32 gig card as internal but the 1.5 gig is no where to be found. Is that normal?
I was not sure from anyones response if they still see the 1.4 gig drive.
Also there are some files on that card so if the cards are swapped will the system still know the location of the files?
 
Back
Top Bottom