一般在终端下操作Android系统,我们访问系统分区的时候,经常遇到Only Read的问题,此时需要以读写方式重新挂载需要操作的分区

 

1、重新挂载根分区  mount -o remount  / 

 

2、以读写的模式重新挂载 根分区   mount -o remount, rw /
 
3、以不含suid的模式重新挂载根分区  mount -o remount, nosuid / 
 
4、重新挂载system分区,这个也是我个人在开发的时候用得最多的,因为我经常需要读写system/app/目录下系统自带的apk安装包。
mount -o remount, system/
 
 

相关文章:

  • 2021-08-28
  • 2021-11-22
  • 2022-02-03
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
  • 2021-09-13
  • 2021-06-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
  • 2021-07-01
  • 2021-11-21
  • 2021-09-21
相关资源
相似解决方案