EdXposed Magisk Module

A Riru module trying to provide an ART hooking framework (initially for Android Pie) which delivers consistent APIs with the OG Xposed, leveraging YAHFA (or SandHook) hooking framework, supports Android 8.0 ~ 11.

Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That’s great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It’s also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.

  1. Install Magisk v21+
  2. Install Riru v23+ from Magisk repo.
  3. Download and install EdXposed from this page in Magisk Manager or recovery.
  4. Install EdXposed Manager.
  5. Reboot.
  6. Have fun! 🙂

Download EdXposed Magisk Module

Latest Version

v0.5.2.2

  • Downgrade YAHFA to fix random soft reboot
  • Fix resources hook in Android 11
  • XSharedPreferences: on-demand file watcher
  • Update Dobby
  • Fix the random failure of static method hook

Notes:

  • Edxposed Manager v4.6.0 or higher is required and is not compatible with previous versions.
  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

Here’s all all the versions:

v0.5.2.2

  • Downgrade YAHFA to fix random soft reboot
  • Fix resources hook in Android 11
  • XSharedPreferences: on-demand file watcher
  • Update Dobby
  • Fix the random failure of static method hook

Notes:

  • Edxposed Manager v4.6.0 or higher is required and is not compatible with previous versions.
  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

v0.5.2.1

  • Displays the current working backend to the manager
  • Adapt to the change of hook method of manager
  • Remove useless files

Notes:

  • Edxposed Manager v4.6.0 or higher is required and is not compatible with previous versions.
  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • YAHFA may cause random soft reboot. If there is any problem, please use SandHook variant first.
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

v0.5.2.0

Notes:

  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • YAHFA may cause random soft reboot. If there is any problem, please use SandHook variant first.
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

v0.5.1.4

Notes:

  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • YAHFA may cause random soft reboot. If there is any problem, please use SandHook variant first.
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

v0.5.1.3

Notes:

  • If you feel the system is running slowly, turn on Xposed Hide(White).
  • YAHFA may cause random soft reboot. If there is any problem, please use SandHook variant first.
  • If you have problems, please check the Issues Tracker first. If there is no similar problem, please use debug version to catch logs and submit.

v0.4.6.4

v0.4.6.2

  • Reset log context so may there should be no problems with unreadable logs
  • Xposed API 91: Multi-user support (thanks to @Palatis):
  • Need EdXposed Manager v4.5.6.45600 or later version to work with all features
  • App and Module list can managed by different users
  • Settings will inherits of the primary user if EdXposed Manager is not installed in other user
  • If you don't want to enable Xposed function in a certain user, you only need to enable the whitelist in the target user, or enable the instant module list function in the master user when SELinux is Enforcing

v0.4.6.1

  • Removed support for EdXposed Installer, please use EdXposed Manager or original Xposed Installer (not recommended)
  • Update to latest Magisk modules installer
  • Support Magisk SEPolicy API (No need for custom Magisk builds anymore)
  • Fix OPPO Android P
  • Fix system app crash on Android Q
  • Add interface to disable modules log
  • Fix null pointer exception
  • Sync with latest YAHFA
  • Fix log can't read
  • Fix bootloop caused by multiple reasons

Notes: If you have any problems, please Clean-install first.

v0.4.6.0_beta

Changelogs

Notes: Since the above PR is not merged yet, to make those sepolicies present you have to use this build along with the customized Magisk build hosted here: https://github.com/solohsu/magisk_files.

v0.4.5.1_beta

  • Add Appveyor CI support(snapshot versions can be downloaded here)
  • Fix exceptions when hooking pending methods
  • Black/White mode: postpone initZygote callbacks
  • Optimize module loading under dynamic-modules mode
  • Fix crash when hooked static method invokes class initialization

v0.4.1.2_beta

  • Introduce a new variant of EdXposed using SandHook as its underlying hook framework (thanks to @ganyao114). It's hard to say which one is better while theoretically SandHook version is more efficient. So just choose whatever works best for you.
  • Bring back resources hooking (finally).
  • Fix webview_zygote crashes on OnePlus devices.