AdguardTeam / adguardcert

Magisk module that allows using AdGuard's HTTPS filtering for all apps
https://adguard.com/
MIT License
326 stars 21 forks source link

Magisk Canary 26.4 (26404) (65207f96) breaks move AdGuard certificate to system #52

Closed innit86 closed 9 months ago

innit86 commented 10 months ago

After updating Magisk Canary from 26.4 (26403) (d7750b72) to 26.4 (26404) (65207f96) AdGuard certificate disappeared from the system store. Reinstalling the certificate and reflashing the latest magisk module didn't help.

Screenshot_20231228_175815

adguardcert.txt magisk_install_log_2023-12-28T13.53.50.log

AdGuard 4.4.1 (NIGHTLY) Pixel 7 Pro, Android 14 Magisk Canary 26.4 (26404) (65207f96)

Magisk (65207f96) (26404) changes:

[SEPolicy] Update libsepol to properly set some policy config bits [MagiskBoot] Support compressing  init  so Magisk is installable on devices with small boot partitions [ResetProp] Add new wait for property feature  resetprop -w 

Diffs to v26.4

[Zygisk] Introduce new code injection mechanism [Zygisk] Support new signature introduced in U QPR2 [SEPolicy] Update libsepol to properly set some policy config bits [MagiskBoot] Support compressing  init  so Magisk is installable on devices with small boot partitions

privacyguy123 commented 10 months ago

I saw this on Alpha a good few versions ago and got no help. Github is almost completely inactive.

As far as I can see the module is moving the certs to the right folder but the app is unable to detect this.

innit86 commented 10 months ago

I saw this on Alpha a good few versions ago and got no help. Github is almost completely inactive.

As far as I can see the module is moving the certs to the right folder but the app is unable to detect this.

I don't expect any help from them beyond the usual "no issue here" or "can't reproduce" but still thought it'd be wise to let others know that there's a problem.

Btw. if the certificate was moved correctly then it should be present in system store, right? But it's not there.

Screenshot_20240106-222209.png

privacyguy123 commented 10 months ago

I think it's symlinked or something because I can get it to "work" on Delta but the certs aren't on that list either.

WindSpiritSR commented 9 months ago

@innit86 Android 14 blocks modification of system certificates, even as root but you can try this module https://github.com/WindSpiritSR/CustomCACert

sfionov commented 9 months ago

@innit86 @privacyguy123 Can you try new beta?

https://github.com/AdguardTeam/adguardcert/releases/tag/v2.1-beta1

innit86 commented 9 months ago

@innit86 @privacyguy123 Can you try new beta?

https://github.com/AdguardTeam/adguardcert/releases/tag/v2.1-beta1

It works.

Keinta15 commented 9 months ago

Works over here too,

sfionov commented 9 months ago

New module version v2.1 is out with this fix