Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 14 #31

Open
UjuiUjuMandan opened this issue Oct 11, 2023 · 5 comments
Open

Android 14 #31

UjuiUjuMandan opened this issue Oct 11, 2023 · 5 comments

Comments

@UjuiUjuMandan
Copy link

UjuiUjuMandan commented Oct 11, 2023

Add this line to head of post-fs-data.sh to support Android 14.

mount -o bind /system/etc/security/cacerts /apex/com.android.conscrypt/cacerts

Source: https://archive.today/2023.10.11-115149/https://weibo.com/3322982490/Ni21tFiR9

@mrdong916
Copy link

@UjuiUjuMandan
Copy link
Author

It somehow stopped working, I don't know if it's Magisk or my ROM's update breaks it. I'm using https://github.com/lupohan44/TrustUserCertificates instead anyway.

@641i130
Copy link

641i130 commented May 10, 2024

Following this method worked better for my setup:
https://httptoolkit.com/blog/android-14-install-system-ca-certificate/

@juvannx
Copy link

juvannx commented May 26, 2024

Following this method worked better for my setup: https://httptoolkit.com/blog/android-14-install-system-ca-certificate/

Thanks for the link, certainly interesting, but the module suggested by @UjuiUjuMandan works perfectly and does exactly the same thing.

@drwpls
Copy link

drwpls commented Jun 13, 2024

Add this line to head of post-fs-data.sh to support Android 14.

mount -o bind /system/etc/security/cacerts /apex/com.android.conscrypt/cacerts

Source: https://archive.today/2023.10.11-115149/https://weibo.com/3322982490/Ni21tFiR9

Another solution, just replace /data/adb/modules/trustusercerts/post-fs-data.sh as

#!/system/bin/sh
mount -t overlay overlay -o lowerdir=/system/etc/security/cacerts:/data/misc/user/0/cacerts-added /system/etc/security/cacerts

This allows you to dynamically add system CA, just add user CA, system CA will be there without restart device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants