KK版本如何去掉内置T卡
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
使用emmc flash的手机,默认是支持内置T卡的,如果只需要一个外置T卡,需要把内置T卡去掉。
[SOLUTION]
KK版本去掉内T卡的步骤如下:
1,把Multi-storage feature关闭
Path:alps/mediatek/config/common/ProjectConfig.mk
修改:
mtk_MULTI_STORAGE_SUPPORT=no
2,修改RESOURCE_OVERLAY_SUPPORT
Path:alps/mediatek/config/project/ProjectConfig.mk
修改:
RESOURCE_OVERLAY_SUPPORT=sd_ex(ps:多加上sd_ex,只有外卡)
3,check storage_list.xml
Path: mediatek/custom/common/resource_overlay/sd_ex
/php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/core/res/res
/xml/storage_list.xml
storage_list.xml 配置如下:
4,修改fstab
Path: mediatek/config/common/fstab
修改:
5,修改init.no_ssd.rc
Path: mediatek/config/{platform}/init.no_ssd.rc
修改:
6,修改StorageManagerEx.java
Path:
alps/mediate/frameworks/base/storage/java/com/mediate/storage/StorageManag
erEx.java
修改:
将sdcard0修改为sdcard
即: private static final String STORAGE_PATH_SD1 = "/storage/sdcard";
7,修改userdata分区大小
使用emmc flash的手机,默认是支持内置T卡的,如果只需要一个外置T卡,需要把内置T卡去掉。
[SOLUTION]
KK版本去掉内T卡的步骤如下:
1,把Multi-storage feature关闭
Path:alps/mediatek/config/common/ProjectConfig.mk
修改:
mtk_MULTI_STORAGE_SUPPORT=no
2,修改RESOURCE_OVERLAY_SUPPORT
Path:alps/mediatek/config/project/ProjectConfig.mk
修改:
RESOURCE_OVERLAY_SUPPORT=sd_ex(ps:多加上sd_ex,只有外卡)
3,check storage_list.xml
Path: mediatek/custom/common/resource_overlay/sd_ex
/php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/core/res/res
/xml/storage_list.xml
storage_list.xml 配置如下:
4,修改fstab
Path: mediatek/config/common/fstab
修改:
5,修改init.no_ssd.rc
Path: mediatek/config/{platform}/init.no_ssd.rc
修改:
6,修改StorageManagerEx.java
Path:
alps/mediate/frameworks/base/storage/java/com/mediate/storage/StorageManag
erEx.java
修改:
将sdcard0修改为sdcard
即: private static final String STORAGE_PATH_SD1 = "/storage/sdcard";
7,修改userdata分区大小
狂顶顶上去
:lol
签到
楼上的,又来签到了