# adb shell |
#  |
# adb pull /system/etc/vold.fstab /tmp |
####################### ## 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 ###################### # Mounts the first usable partition of the specified device dev_mount flash /mnt/storage 1 /devices/virtual/mtd/mtd9/mtdblock9 dev_mount sdcard /mnt/storage/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0 dev_mount udisk /mnt/udisk 1 /devices/platform/usb20_host/usb /devices/platform/usb20_otg |
dev_mount flash /mnt/storage 1 /devices/virtual/mtd/mtd9/mtdblock9 dev_mount sdcard /mnt/storage/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0 dev_mount udisk /mnt/udisk 1 /devices/platform/usb20_host/usb /devices/platform/usb20_otg |
dev_mount sdcard /mnt/storage/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0 dev_mount udisk /mnt/storage/udisk 1 /devices/platform/usb20_host/usb /devices/platform/usb20_otg |
(1)あらかじめ、/mnt/storageの階層へ、マウントポイントを作っておきます。 # adb shell # cd /mnt/storage # mkdir udisk # exit |
# adb remount # adb push /tmp/vold.fstab /system/etc/ # adb reboot |