Skip to content

Instantly share code, notes, and snippets.

@twelvejie
Last active May 10, 2024 05:23
Show Gist options
  • Save twelvejie/c333953091d7235288749c92009b967e to your computer and use it in GitHub Desktop.
Save twelvejie/c333953091d7235288749c92009b967e to your computer and use it in GitHub Desktop.

雷电模拟器(安卓9) 推荐mumu模拟器国际版 (安卓12)

运行命令,获取到hash标识
openssl x509 -inform PEM -subject_hash_old -in mitmproxy-ca.pem 

修改pem文件名字为框选处+0,如图我这里应该修改为 c8750f0d.0 image

证书导入
1. 安卓 9
adb root // 提升到root权限
adb remount //重新挂载system分区
adb push c8750f0d.0 /system/etc/security/cacerts/ //将证书放到系统证书目录
1. 安卓12
adb push c8750f0d.0 /sdcard //导入到手机
adb shell //进入手机目录
su //使用root权限
copy c8750f0d.0 /system/etc/security/cacerts/ //将证书放到系统证书目录
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment