[APP][Xposed] MinMinGuard v2.2.0 for Android 11+ (Zygisk X/Ed/LSposed API 93)

Search This thread

defkev

Member
Jan 17, 2014
38
37
I spend the afternoon fixing @FatMinMin's awesome MinMinGuard for Zygisk!

Note that i only tested this on Android 11 running Zygisk LSposed 1.8.4 (6609) with Magisk 25.2 (25200), tho the changes shouldn't affect any existing code so if 2.1.1 or earlier works on your device (including Riru and YAHFA) so should this version.

Furthermore if you have any previous version of MinMinGuard installed you will have to uninstall it before installing this version since i had to sign it with my own key.

Now for the but(t)s :ROFLMAO:

Android 11 introduced a new privacy feature preventing apps from seeing each other, which is the main reason you no longer saw the ad networks/number of blocked ads for apps enabled in MinMinGuard, that is if LSposed API 93 didn't break enabling apps in the first place...

To work around this MinMinGuard 2.2.0 will grant every enabled app android.permission.QUERY_ALL_PACKAGES which implies

a) that you hook the System Framework in LSposed Manager (should already be selected)
b) Restart the phone after enabling apps in MinMinGuard

because permission are only read when the phone/Android boots.

Blocking would work regardless, you just wouldn't see the ad network/number of blocked ads in MinMinGuard and starting enabled apps would (probably) take a bit longer because of the Content Provider timeout.

I submitted a PR with the changes to the MinMinGuard repository on Github, tho i am not sure if anybody is even still alive there:

If you want to help getting it merged upvote the PR!

Cheers
 

Attachments

  • MinMinGuard_2.2.0-release.apk
    2.6 MB · Views: 605
Last edited:

J0nhy

Senior Member
Jan 22, 2016
261
50
Wow, thanks for this one, i have a question if i have lsposed do i have to enable every single app where I'd like to use this module? Or I'll be good just by enabling system framework?
 

defkev

Member
Jan 17, 2014
38
37
Thanks for this! Can you fork and release it on Github?
My fork is in the PR:
No release tho.

Wow, thanks for this one, i have a question if i have lsposed do i have to enable every single app where I'd like to use this module? Or I'll be good just by enabling system framework?
Yes, you have to hook every app in LSPosed Manager you want to blacklist in MinMinGuard, but that's an LSPosed thing regardless of the MinMinGuard version (legacy Xposed would blanket hook every app and it was up to the module developer to decide what apps to inject)

Thx for the update , does it work on A10 ?
As i said, this fix is exclusively targeting Android 11 (API30+) and newer, if v2.0.2 worked with 10 so will this version.
 
  • Like
Reactions: iamMG

J0nhy

Senior Member
Jan 22, 2016
261
50
My fork is in the PR:
No release tho.


Yes, you have to hook every app in LSPosed Manager you want to blacklist in MinMinGuard, but that's an LSPosed thing regardless of the MinMinGuard version (legacy Xposed would blanket hook every app and it was up to the module developer to decide what apps to inject)


As i said, this fix is exclusively targeting Android 11 (API30+) and newer, if v2.0.2 worked with 10 so will this version.
I tried it and it makes some apps crash, thanks tho
 

defkev

Member
Jan 17, 2014
38
37
LSPosed Manager -> Logs -> Verbose Log

or if this shows nothing of value

Code:
adb logcat -s tw.fatminmin.xposed.minminguard
 

tehrzky

Senior Member
Oct 24, 2010
163
25
its working on android10 (miui11), are you planning to fix some ads that is showing.?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    I spend the afternoon fixing @FatMinMin's awesome MinMinGuard for Zygisk!

    Note that i only tested this on Android 11 running Zygisk LSposed 1.8.4 (6609) with Magisk 25.2 (25200), tho the changes shouldn't affect any existing code so if 2.1.1 or earlier works on your device (including Riru and YAHFA) so should this version.

    Furthermore if you have any previous version of MinMinGuard installed you will have to uninstall it before installing this version since i had to sign it with my own key.

    Now for the but(t)s :ROFLMAO:

    Android 11 introduced a new privacy feature preventing apps from seeing each other, which is the main reason you no longer saw the ad networks/number of blocked ads for apps enabled in MinMinGuard, that is if LSposed API 93 didn't break enabling apps in the first place...

    To work around this MinMinGuard 2.2.0 will grant every enabled app android.permission.QUERY_ALL_PACKAGES which implies

    a) that you hook the System Framework in LSposed Manager (should already be selected)
    b) Restart the phone after enabling apps in MinMinGuard

    because permission are only read when the phone/Android boots.

    Blocking would work regardless, you just wouldn't see the ad network/number of blocked ads in MinMinGuard and starting enabled apps would (probably) take a bit longer because of the Content Provider timeout.

    I submitted a PR with the changes to the MinMinGuard repository on Github, tho i am not sure if anybody is even still alive there:

    If you want to help getting it merged upvote the PR!

    Cheers
    1
    Thanks for this! Can you fork and release it on Github?
    My fork is in the PR:
    No release tho.

    Wow, thanks for this one, i have a question if i have lsposed do i have to enable every single app where I'd like to use this module? Or I'll be good just by enabling system framework?
    Yes, you have to hook every app in LSPosed Manager you want to blacklist in MinMinGuard, but that's an LSPosed thing regardless of the MinMinGuard version (legacy Xposed would blanket hook every app and it was up to the module developer to decide what apps to inject)

    Thx for the update , does it work on A10 ?
    As i said, this fix is exclusively targeting Android 11 (API30+) and newer, if v2.0.2 worked with 10 so will this version.