IFWEnhance (Zygisk and Riru)

Kr328

Magisk KernelSU APatch
v22
Version
38.30 KB
Size
Oct 22, 2023
Updated

Module Info

  • Contributors Kr328, yujincheng08
  • Source Code View Repository
  • Tags
    #IFWEnhance #Intent Firewall #Zygisk #Riru #Magisk Module #Kr328

About this module

IFWEnhance by Kr328 extends Android's Intent Firewall (IFW). Normally, IFW rules can block intents, but apps can still find those components when they query the package manager. With this module, IFW rules can also filter the results of those queries.

What it adds

IFW can filter the results of these APIs:

  • IPackageManager.queryIntentActivities
  • IPackageManager.queryIntentActivityOptions
  • IPackageManager.queryIntentServices

It doesn't add rules or an interface of its own, so you need IFW rules from elsewhere for it to do anything. It isn't a battery or performance tweak.

Which zip and requirements

ZipRequires
zygisk-ifw-enhance-v22.zipZygisk 24000 or newer
riru-ifw-enhance-v22.zipRiru 26.0 or newer

Both need Android 8.0 or newer. Riru is the older option, so use the Zygisk build if your setup has Zygisk.

Install and status

The Zygisk installer aborts on Magisk versions below 24000, and supports arm, arm64, x86 and x64. It creates a data folder at /data/system/zloader-<random>. The latest release is v22 from October 2023, and Android 13 support arrived in v20. The project is licensed under GPL-3.0.