设为首页收藏本站

移动叔叔

搜索
查看: 1558|回复: 0
打印 上一主题 下一主题

[教程] 关于MIUI V5读不了内置存储的解决办法

[复制链接]
跳转到指定楼层
楼主
发表于 2014-5-5 00:30:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
关于MIUI V5读不了内置存储的解决办法

解包boot.img(厨房工具),里面有个init.ssd_nomuser.rc
  • # MTK project .rc configure
  • on post-fs-data
  • #
  • # SHARED_SDCARD related directory & configuration (begin)
  • #
  • # we will remap this as /mnt/sdcard with the sdcard fuse tool
  •                 mkdir /data/media 0770 media_rw media_rw
  •                 chown media_rw media_rw /data/media
  • #
  • # SHARED_SDCARD related directory & configuration (end)
  • #
  • #
  • # NO SHARED_SDCARD feature option
  • #
  • on init
  •     mkdir /storage/sdcard0 0000 system system
  •     mkdir /storage/sdcard1 0000 system system
  •     export EXTERNAL_STORAGE /storage/sdcard0
  •     export SECONDARY_STORAGE /storage/sdcard1
  •     # for backwards compatibility
  •     symlink /storage/sdcard0 /sdcard
  •     symlink /storage/sdcard0 /mnt/sdcard
  •     symlink /storage/sdcard1 /mnt/sdcard2
  • on boot
  • #
  • # SHARED_SDCARD related services (Begin)
  • #
  • # create virtual SD card at /mnt/sdcard, based on the /data/media directory
  • # daemon will drop to user/group system/media_rw after initializing
  • # underlying files in /data/media will be created with user and group media_rw (1023)
  • service sdcard /system/bin/sdcard /data/media /storage/sdcard0  1023 1023
  • class late_start
  • #
  • # SHARED_SDCARD related services (End)
  • #


[color=rgb(204, 0, 0) !important]复制代码

删掉虚拟内置的代码
变成这样
  • # MTK project .rc configure
  • #
  • # NO SHARED_SDCARD feature option
  • #
  • on init
  •     mkdir /storage/sdcard0 0000 system system
  •     mkdir /storage/sdcard1 0000 system system
  •     export EXTERNAL_STORAGE /storage/sdcard0
  •     export SECONDARY_STORAGE /storage/sdcard1
  •     # for backwards compatibility
  •     symlink /storage/sdcard0 /sdcard
  •     symlink /storage/sdcard0 /mnt/sdcard
  •     symlink /storage/sdcard1 /mnt/sdcard2


[color=rgb(204, 0, 0) !important]复制代码

就可以了
http://bbs.ydss.cn/thread-423688-1-1.html 原帖子
您需要登录后才可以回帖 登录 | 注册

关闭

站长推荐上一条 /1 下一条

© 2008-2024 移动叔叔. 版权所有,专业的网络售后平台 ( 闽ICP备18006692号-3 )

商务合作点击这里给我发消息|Email:service@mobileuncle.com|手机版|Archiver|移动叔叔     

GMT+8, 2024-5-5 10:55 , Processed in 0.140748 second(s), 11 queries , Gzip On, Memcache On.

返回顶部