Hi there!
I managed to swap the internal sd-card (with 11 GB free space) with my external sd-card (in my case a class 10 32GB card, formatted with FAT32). These are the steps to do this (you have to have a functional adb):
#kill old adb-processes
adb kill-server
adb kill-server
# look if tablet is viewable per adb
adb devices
adb devices
# copy vold.fstab to local harddisk
adb pull /system/etc/vold.fstab
adb pull /system/etc/vold.fstab
# now you have to edit the vold.fstab as follow:
#Original:
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandj
dev_mount extsd /mnt/extsd auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/virtual/block/nandj
dev_mount extsd /mnt/extsd auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
#cards swapped:
dev_mount sdcard /mnt/sdcard auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount extsd /mnt/extsd auto /devices/virtual/block/nandj
dev_mount sdcard /mnt/sdcard auto /devices/platform/sunxi-mmc.1/mmc_host /devices/platform/sunxi-mmc.0/mmc_host
dev_mount extsd /mnt/extsd auto /devices/virtual/block/nandj
# mount system-partition read/write
adb shell mount -o remount,rw /system
adb shell mount -o remount,rw /system
# write changed vold.fstab to system-partition
adb push vold.fstab /system/etc/
adb push vold.fstab /system/etc/
# reboot tablet to apply changes
adb reboot
adb reboot
After these steps the internal sd is fully swapped with the external and in my case I can use full 32GByte as "internal sd".
Even the TWRP is functional and I can make backups/restores of the full system. The only thing to think of is that in TWRP the sd-cards aren't swapped and you have to choose "backup to external sd" if you want to make a backup to the big 32GByte sd-card.
No comments:
Post a Comment