安卓7.0以上用户证书移到系统证书Not running as root. Try “adb root“ first.remount failed
如果再抛错:Not running as root. Try "adb root" first.remount failed。出现错误: Read-only file system。以root用户身份重启adbd服务。用户证书移到系统目录。
·
用户证书移到系统目录/data/misc/user/0/cacerts-added移到/system/etc/security/cacerts
adb shell
su
cd /data/misc/user/0/cacerts-added
ls
e5c3944b.0
# mv e5c3944b.0 /system/etc/security/cacerts
成功
容易出现的错误
出现错误: Read-only file system
adb重新挂载:
adb remount
如果再抛错:Not running as root. Try "adb root" first.remount failed
Not running as root. Try "adb root" first.
remount failed
直接输入
adb root
以root用户身份重启adbd服务
restarting adbd as root
再去挪证书,成功!!!
更多推荐
已为社区贡献2条内容
所有评论(0)