微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > "system has been remounted R/W; reflash device to reen...

"system has been remounted R/W; reflash device to reen...

时间:10-02 整理:3721RD 点击:
L版本OTA升级遇到error:"system has been remounted R/W; reflash device to reenable OTA updates"
[DESCRIPTION]
L版本;如果有在bootable/recovery/目录下code中添加ensure_path_mounted(“/system”);
或者是在recovery mode下执行root integrity check之后,导致OTA升级失败,而且last_log中有如下error:
script aborted: system has been remounted R/W; reflash device to reenable OTA updates
system has been remounted R/W; reflash device to reenable OTA updates
[SOLUTION]
可以尝试在/bootable/recovery/roots.cpp中作如下修改:(蓝色为添加部分)
int ensure_path_mounted(const char* path) {
} else if (strcmp(v->fs_type, "ext4") == 0 ||
strcmp(v->fs_type, "vfat") == 0) {
if (strcmp(v->mount_point, "/system") == 0)//add
result = mount(v->device, v->mount_point, v->fs_type,MS_NOATIME | MS_NODEV |
MS_NODIRATIME | MS_RDONLY, "");//add
else //add
result = mount(v->device, v->mount_point, v->fs_type,
MS_NOATIME | MS_NODEV | MS_NODIRATIME, "");
如果问题还是不能解决,请提eservice给Mediatek,谢谢!

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top