ys1231 / MoveCertificate

支持Android7-14移动证书,兼容magiskv20.4+/kernelsu/APatch, Support Android7-14, compatible with magiskv20.4+/kernelsu/APatch
https://github.com/ys1231/MoveCertificate
Apache License 2.0
543 stars 66 forks source link

一加8T-coloros 14 无效 #10

Closed zykcnro closed 4 months ago

zykcnro commented 4 months ago

现象:/data/adb/modules/MoveCertificate 下已有用户证书,/apex/com.android.conscrypt/cacerts 目录下也存在对应证书,但/apex目录下同时存在com.android.conscrypt@3400900000/apex/com.android.conscrypt@3400900000/cacerts目录下不存在对应用户证书,设置的证书界面下页没有对应用户证书。请帮忙分析下~!

ys1231 commented 4 months ago

嗯,感谢你的提问,之前没留意到这个问题,有空会处理这个问题。

zykcnro commented 4 months ago

您好,试用1.4.5版本后,com.android.conscrypt@3400900000/cacertscom.android.conscrypt/cacerts中已存在对应用户证书文件,但用户证书仍然没在系统中出现,不知道是不是有其他校验方式,也不懂该怎么定位。仍然感谢!

ys1231 commented 4 months ago

你可以尝试卸载模块,重启后重新安装模块和证书,排除一些未知问题。

2651899617 commented 4 months ago

安卓10 pixel 3 内核4.9.165 使用模块 不生效

ys1231 commented 4 months ago

上传模块日志

ys1231 commented 4 months ago

screenshot-20240227-144930

zykcnro commented 4 months ago
[iyue_MoveCertificate] Keep only one up-to-date log
[iyue_MoveCertificate] start move cert !
[iyue_MoveCertificate] current sdk version is 34
[iyue_MoveCertificate] Backup system certificates1
[iyue_MoveCertificate] Backup system certificates2
[iyue_MoveCertificate] Backup user custom certificates2
[iyue_MoveCertificate] find system conscrypt directory
[iyue_MoveCertificate] find conscrypt directory: /apex/com.android.conscrypt@340090000
[iyue_MoveCertificate] mount: /apex/com.android.conscrypt@340090000/cacerts/
[iyue_MoveCertificate] mount status:0
[iyue_MoveCertificate] move cert: /apex/com.android.conscrypt@340090000/cacerts/
[iyue_MoveCertificate] fix permissions: /apex/com.android.conscrypt@340090000/cacerts/
[iyue_MoveCertificate] move cert status:0
[iyue_MoveCertificate] mount: /apex/com.android.conscrypt/cacerts/
[iyue_MoveCertificate] mount status:0
[iyue_MoveCertificate] move cert: /apex/com.android.conscrypt/cacerts/
[iyue_MoveCertificate] fix permissions: /apex/com.android.conscrypt/cacerts/
[iyue_MoveCertificate] move cert status:0
[iyue_MoveCertificate] certificates installed

您好,以上是卸载并重启后,重新安装再重启的install.log,模块日志应该是好用的,文件也是再目录下能发现,但是reqable仍然提示用户证书已安装

ys1231 commented 4 months ago

我大概知道怎么回事了

ys1231 commented 4 months ago

可以尝试把证书扔到/data/local/tmp/cert 下,应该可以了。