Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1315937
  • 博文数量: 478
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4833
  • 用 户 组: 普通用户
  • 注册时间: 2014-06-28 11:12
文章分类

全部博文(478)

文章存档

2019年(1)

2018年(27)

2017年(21)

2016年(171)

2015年(258)

我的朋友

分类: Android平台

2015-10-24 13:55:28

[FAQ14769]L版本OTA升级遇到error:"system has been remounted R/W; reflash device to reenable OTA updates"
2015-08-13
平台
软件分支...
FAQs 6 of 63
L 版本Security OTA升级方法

内容

[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,谢谢!

 
 

阅读(2160) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~