Android 台灣中文網

標題: 請幫我把外置SD卡改為內置SD卡 謝謝 [打印本頁]

作者: god19891029    時間: 2016-4-30 20:17
標題: 請幫我把外置SD卡改為內置SD卡 謝謝
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##

#######################
## 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 /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

## Example of a dual card setup
# dev_mount left_sdcard  /sdcard1  auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1

## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

## For gs702c: mounts three partition
dev_mount flash /mnt/sdcard auto /devices/virtual/block/actj
dev_mount sdcard /mnt/sd-ext auto /devices/platform/asoc-mmc0.0/mmc_host/mmc0
dev_mount uhost /mnt/uhost auto /devices/platform/actions-dwc3.1/dwc3.0/xhci-hcd /devices/platform/aotg_hcd.0 /devices/platform/aotg_hub.0



作者: sdnk    時間: 2016-4-30 20:17
本帖最後由 sdnk 於 2016-5-4 18:37 編輯

請問你貼的是你手機裡的配置文件嗎?正常配置文件應該有三個,副檔名不一樣,三個都要修改
以上貼的文件只要是#開頭的都是註解,可以無視,所以整份文件時就有用的只有

dev_mount flash /mnt/sdcard auto /devices/virtual/block/actj
dev_mount sdcard /mnt/sd-ext auto /devices/platform/asoc-mmc0.0/mmc_host/mmc0
dev_mount uhost /mnt/uhost auto /devices/platform/actions-dwc3.1/dwc3.0/xhci-hcd /devices/platform/aotg_hcd.0 /devices/platform/aotg_hub.0

分開來看就是三個磁區
內建SD卡
dev_mount flash /mnt/sdcard auto /devices/virtual/block/actj
外插SD卡
dev_mount sdcard /mnt/sd-ext auto /devices/platform/asoc-mmc0.0/mmc_host/mmc0
OTG外接記憶卡
dev_mount uhost /mnt/uhost auto /devices/platform/actions-dwc3.1/dwc3.0/xhci-hcd /devices/platform/aotg_hcd.0 /devices/platform/aotg_hub.0

所以第三行不用動他
第一第二行後半段交換

修改過後就是

dev_mount flash /mnt/sdcard auto /devices/platform/asoc-mmc0.0/mmc_host/mmc0
dev_mount sdcard /mnt/sd-ext auto /devices/virtual/block/actj
dev_mount uhost /mnt/uhost auto /devices/platform/actions-dwc3.1/dwc3.0/xhci-hcd /devices/platform/aotg_hcd.0 /devices/platform/aotg_hub.0


註解加不加回去都沒差
記得三份文件都要修改,不然開機會卡畫面


作者: zrssz    時間: 2016-5-1 12:37
有xposed很容易解決
作者: motoVlover    時間: 2016-5-2 12:08
小弟愛爬文,更愛碎鑽!拜讀過此兩帖,請樓主服用。

[分享] 內置sd卡與外置sd卡....互換位置
[教學] [免PC]超簡單!!強制將"App"移到"SD卡"

作者: juoyincheng    時間: 2016-5-4 20:06
sdnk 發表於 2016-5-4 18:36
請問你貼的是你手機裡的配置文件嗎?正常配置文件應該有三個,副檔名不一樣,三個都要修改
以上貼的文件只要是 ...

xposed、tasker
作者: 季僑    時間: 2016-5-5 08:03
sdnk 發表於 2016-4-30 20:17
請問你貼的是你手機裡的配置文件嗎?正常配置文件應該有三個,副檔名不一樣,三個都要修改
以上貼的文件只要是 ...

請問哪三份(都要改)我照大大說的改好從開機。依然是老樣子沒變動? 請賜教 謝
作者: 季僑    時間: 2016-5-5 08:06
我照的改好,從開機怎無變動。請賜教。感恩
作者: sdnk    時間: 2016-5-5 14:55
季僑 發表於 2016-5-5 08:06我照的改好,從開機怎無變動。請賜教。感恩

同樣位置那個檔名應該有三個檔案內容一樣的,先看檔案大小篩選在打開看,一定會有三個,若三個都改完開機完還是無效的,就要在修改一個映像檔,那個就要有工具,無法簡易教學了
作者: 季僑    時間: 2016-5-6 02:04
同樣的位置是指哪呢?三個檔案內容一樣? 您是指更改地方的上面那些嗎? 我是直接複製大大改好的去貼上的這樣算改一個檔?     小弟不才  還請賜教一下感恩




歡迎光臨 Android 台灣中文網 (https://apk.tw/) Powered by Discuz! X3.1