@M66B I’m trying some XDA ROMs for an older device, and I usually install Netguard first
But on this latest one tested (Android 14 maybe AOSP based, no GMS) it appears that the Netguard 2.328 (2024022201) from F-Droid always detects that it was installed from “Play” and disables hosts blocking.
Eg. even forced manually:
$ adb push netguard.apk /data/local/tmp && adb shell pm install -i "org.fdroid.fdroid" -r /data/local/tmp/netguard.apk
Success
$ adb shell pm list packages -i | grep netguard
package:eu.faircode.netguard installer=org.fdroid.fdroid
$ adb shell logcat -v threadtime | grep Play
I NetGuard.Settings: Play store install
How can I check what (else?) exactly triggers this erroneous detection?
now I wonder how this would impact autoupdates and if apps installed by F-Droid would be deemed to be installed ONLY by F-Droid, as the new Android 12-14 settings say.