TUTORIAL SWAP INTERNAL SDCARD DENGAN EXTERNAL SDCARD


Quote:Original Posted By eesrhofee
wah, kalo swap model gitu ane juga mau gan, data2 games gede2 nih.. emoticon-Matabelo
buat yang uda tau caranya, segera share ya gan..


Ane mau share sedikit tentang swap external_sd dengan internal sdcard.
Sebenernya simpel gan tinggal tukar saja script mount point vold.fstab

Syarat :
1. Root
2. File Manager yang punya akses root (seperti root explorer, astro, dll)

Cara 1:
- Agan edit langsung file vold.fstab di /etc/vold.fstab


Kalo agan mau edit sendiri berikut perbedaan isi file /etc/vold.fstab
Yang asli
Quote:
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# /sys/devices/platform/usb_mass_storage/lun0/file
# sdcard mount for the GT-I8160
# external sdcard
{
\tums_path = /sys/devices/platform/usb_mass_storage/lun1/file
\tasec = enable
}
dev_mount sdcard /mnt/sdcard auto /devices/sdi0/mmc_host/mmc1/mmc1

# internal sdcard
{
\tums_path = /sys/devices/platform/usb_mass_storage/lun0/file
\tasec = disable
\tdiscard = disable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 8 /devices/sdi2/mmc_host/mmc0/mmc0
# Partion 8 of mmc0 is Internal sdcard


# otg sdcard - Need to define path for /sys/devices/platform/musb_hdrc when it supports USB OTG
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/musb_hdrc

#end line ## keep this line


Setelah dirubah
Quote:
## 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
######################
# /sys/devices/platform/usb_mass_storage/lun0/file
# sdcard mount for the GT-I8160

# internal sdcard
{
\tums_path = /sys/devices/platform/usb_mass_storage/lun0/file
\tasec = disable
\tdiscard = disable
}
dev_mount sdcard1 /mnt/sdcard/external_sd 8 /devices/sdi2/mmc_host/mmc0/mmc0
# Partion 8 of mmc0 is Internal sdcard

# external sdcard
{
\tums_path = /sys/devices/platform/usb_mass_storage/lun1/file
\tasec = enable
}
dev_mount sdcard /mnt/sdcard auto /devices/sdi0/mmc_host/mmc1/mmc1

# otg sdcard - Need to define path for /sys/devices/platform/musb_hdrc when it supports USB OTG
{
ums_path = /dev/zero
asec = disable
}
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/musb_hdrc

#end line ## keep this line




Cara 2:
- Agan replace file vold.fstab dengan vold.fstab yang sudah ane rubah.

[URL="http://www.medi*fire.com/?tss1edle3taya1g"]Vold.fstab[/URL] sesudah di swap(tukar). (hapus tanda bintang)

Note : pastikan backup dulu vold.fstab yang asli

Spoiler for "bukti":