Swap External w/ Internal. Success!!
I'm running CM10.1 RC1, stock kernel and am interested in swapping memories. I can find threads about this for other phones but so far nothing for the i717. I have a class 10 sandisk 64gb card in fat32 currently and would LOVE to be able to use that as my phone storage for apps. So does anyone have experience editing vold.fstab for these phones? Any help is greatly appreciated.
Just in case anyone else besides you reads this post: First, you need a
rooted AT&T Galaxy Note I717, second you need the
Root Explorer app (it's a couple of bucks in the market, but definitely worth it).
With Root Explorer, make back-ups of the following two files,
system/etc/vold.fstab, and
system/etc/vold.conf. Once backed up, then proceed to modified the code in red, see below:
vold.fstab original
Code:
## 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/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Red"]sdcard[/COLOR][/B] /storage/[B][COLOR="Red"]sdcard0[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="red"]sdcard1[/COLOR][/B] /storage/[B][COLOR="red"]extSdCard[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
vold.fstab modified
Code:
## 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/lun/file
secure_format = enable
discard = enable
}
dev_mount [B][COLOR="Blue"]sdcard1[/COLOR][/B] /storage/[B][COLOR="Blue"]extSdCard[/COLOR][/B] 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0 encryptable_nonremovable
# external sdcard
{
ums_sys_path = /sys/class/android_usb/f_mass_storage/lun_ex/file
supported_exfat = yes
android_secure_containers = enable
}
dev_mount [B][COLOR="Blue"]sdcard[/COLOR][/B] /storage/[B][COLOR="Blue"]sdcard0[/COLOR][/B] auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2
#usb host device
{
media_type = usb
}
dev_mount sda /storage/UsbDriveA auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdb /storage/UsbDriveB auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdc /storage/UsbDriveC auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdd /storage/UsbDriveD auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sde /storage/UsbDriveE auto /devices/platform/msm_hsusb_host.0
#usb host device
{
media_type = usb
}
dev_mount sdf /storage/UsbDriveF auto /devices/platform/msm_hsusb_host.0
#EOF
vold.conf original
Code:
## vold configuration file for the emulator/SDK
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /[B][COLOR="Red"]sdcard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
vold.conf modified
Code:
## vold configuration file for the emulator/SDK
volume_sdcard {
## This is the direct uevent device path to the SD slot on the device
emu_media_path /devices/platform/goldfish_mmc.0/mmc_host/mmc0
media_type mmc
mount_point /[B][COLOR="Blue"]extSdCard[/COLOR][/B]
ums_path /devices/platform/usb_mass_storage/lun0
}
Once the files are modified and saved, reboot your phone, and check your storage. It should look similar to mine (see attached thumbnails).
Now, if all went well, it's time to move all the files from the current extSdCard (the old sdcard) to the current sdcard (the old extSdCard). Again, open Root Explorer, transfer all the files, and if you feel like it now, you can format your new external SD Card and have more room for anything else.
I hope this is helpful.