Andy1982 wrote:
請問有人有台版紅米JHBTWAH13.0的vold.fstab檔案嗎
我改到手機儲存跟SD卡都沒顯示
謝謝
我是用Root Explorer直接修改vold.fstab
只需要修改2個地方就行了,將手機儲存屏蔽和SD卡的sdcard0改回和3.0版一樣的sdcard1,修改好後重開機,原來的SD會變成手機儲存,不會影響儲存,MTP也正常。
以下為我修改後的原始碼,變更部分以紅色標記:
## 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
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /storage/sdcard1 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
#usb otg disk
dev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
請樓主幫我看我是那邊要做修改..
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard1 emmc@fat /devices/platform/goldfish_mmc.0
/devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.1
/devices/platform/mtk-msdc.1/mmc_host
大家好…我是新手請多指教…
1. 我是在/etc 而非在 /ststem/ect 下的 vold.fstab 修改成
dev_mount sdcard /storage/sdcard1 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
且 忘記 在最前面輸入 " # " 存入後重新開機的結果
[ 不能讀到 sdcard0 ]
我又回到 /ect 下的vold.fstab 中 想將 sdcard1 修改回 sdcard0
按 [確定] 後 出現 文檔輸入錯誤 無法存檔
請問大大 這錯誤可以修正嗎? 謝謝!!
內文搜尋

X