[MOD] Swap Internal and External sdcard of ANY Android phone.

Search This thread

droidiser

Senior Member
May 24, 2011
610
706
29
Haryana
www.droidiser.com

ryomakun

Senior Member
Sep 15, 2011
668
30
I have edited one for note already, here it is: http://www.d-h.st/W9W

not working...bootloop >< when i see that file was different with my original..if you have time please compare your new file and my original file

my original :

## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
## storage_struct - ex) series, "/mnt/sdcard/extStorages" / parallel
######################
# internal sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun0/file
secure_format = enable
discard = enable
supported_exfat = disable
}
dev_mount sdcard /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_nonremovable

# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun1/file
android_secure_containers = enable
}
dev_mount sdcard1 /storage/extSdCard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1

#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/s3c_otghcd/usb

#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/s3c_otghcd/usb

#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/s3c_otghcd/usb

#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/s3c_otghcd/usb

#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/s3c_otghcd/usb

#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF

so when i use your galnote's file my device bootloop
 
Last edited:

droidiser

Senior Member
May 24, 2011
610
706
29
Haryana
www.droidiser.com
not working...bootloop >< when i see that file was different with my original..if you have time please compare your new file and my original file

my original :

## Vold 2.0 Generic fstab
## - San M--------------------------sdf /storage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF

so when i use your galnote's file my device bootloop

Gosh, in your phone, the partition info is stored at two different places, for external sdcard, it's at vold.fstab while for internal sdcard it's at vold.conf. So, this trick won't be applicable.
 
Last edited:
  • Like
Reactions: enox.co

ryomakun

Senior Member
Sep 15, 2011
668
30
Gosh, in your phone, the partition info is stored at two different places, for external sdcard, it's at vold.fstab while for internal sdcard it's at vold.conf. So, this trick won't be applicable.

so basicly Galaxy Note cant use this method?is it right? because had 2 partition in internal memory?
 

ryomakun

Senior Member
Sep 15, 2011
668
30
I have edited one for note already, here it is: http://www.d-h.st/W9W

switching into CM10 Galaxy Note my original file :

## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################

# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable

# external sdcard
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1

# USB storage device
dev_mount usbdisk0 /storage/usbdisk0 auto /devices/platform/s3c_otghcd/usb

use your file -> set permission -> reboot = BOOTLOOP
 

droidiser

Senior Member
May 24, 2011
610
706
29
Haryana
www.droidiser.com
not working...bootloop >< when i see that file was different with my original..if you have time please compare your new file and my original file

my original :

## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##

###########blah###blah####blah#############3torage/UsbDriveF auto /devices/platform/s3c_otghcd/usb
#EOF

so when i use your galnote's file my device bootloop

Try this app, it's working for a lot of phones
 
Last edited:
  • Like
Reactions: enox.co

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    I know this might have been discussed already for specific devices.
    But for the first time ever,
    I am releasing this mod for swapping the internal and external sdcard for ANY Android Phone or Tablet!

    ATTENTION:
    Further requests for file modifications should be made here only.


    Q. Why would you want to swap these memory locations?
    A. Internal storage is generally 1 GB, 2 GB or at max 4 GB (in case of mid-end devices), which gets filled up really fastly once you install one or two HD games. External sdcard on most devices can be of upto 32 GB. Thus swapping them will give a lot more breathing space for the devices to get installed!

    Q. How to swap?
    A. Here's how to do it Upload your device's vold.fstab file (find it in /system/etc using root explorer or solid explorer or ES explorer) anywhere on the net and post a reply to this thread with a link to your uploaded file. And I shall give a modified vold.fstab file which you can replace using the instructions I have given in the link above. Post your device's name along with the link to the file so that I can add it in the list below!

    Here's a pic that will make it clear what this mod is meant to do.
    swap+internal+to+external.jpg


    The below alternatives can help out if swapping the supposed lines don't help.

    Alternatives available for phones which have internal sdcard but this mod doesn't work:

    Automagic script:
    http://xdaforums.com/showthread.php?t=2126163

    Directory Bind: An alternative to this is the Directory Bind app which will let you link files from internal sdcard to the external sdcard. But using the app is cumbersome and it will require you to make links for each and every folder you want o move to the external sdcard. This mod does it all at once!

    Root External 2 Internal SD: Root External 2 Internal SD does the exact same thing this mod does. So, if this mod doesn't work out for you, you must give this app a shot here: https://play.google.com/store/apps/details?id=eu.codlab.int2ext

    Alternatives available if your phone doesn't have an internal sdcard:
    Don't worry if your phone doesn't have an internal sdcard, by partitioning your sdcard you can still gain more internal memory. Read this guide to know how.

    Currently confirmed devices with links to modified vold.fstab files:
    1. For Micromax A110
    2. For Sony Xperia Sola
    3. For HTC Amaze 4G
    4. For Sony Xperia Go
    5. For Sony Xperia Miro

    Looking for some replies to help you guys out to fix this annoying thing.
    5
    Galaxy s plus

    2.3.5 ginger stock xxkpf

    http://db.tt/jGumyDEI

    Please make it for me!
    4
    Working!!!
    Update: Done, check if it works: http://d-h.st/bsz
    If it works, please do give your feedback, so that I can update the list in the OP.
    4
    Guys, I'm so sorry for making you wait so long, especially once my exams ended. I had to visit a relative, who lives in a village. So, I was disconnected from internet there. I'm back at home and would try to edit files for you guys. You can also try an app named Root Internal 2 External from the play store. I shall also update the op trying to explain howI edit the files. Thanks for your patience.
    4

    Merely editing the vold.fstab file won't swap the partitions inn your case i.e. galaxy note 2, see this instead:http://xdaforums.com/showthread.php?t=1931500