EdXposed canary version supports Android 11 for the last couple of months. With the latest canary version released a couple of days ago, major bugs have been fixed and I consider it usable and hence this post.
Information is valid as of writing. Things will change and if you want to improve the answer by editing or posting a new answer, please do.Updated on 06 January 21 , likely the last update from me..feel free to improve
This is NOT a support thread. I am not frequenting SE,and therefore cannot answer your questions.
EdXposed canary version supports Android 11 for the last couple of months but official support has been announced a fortnight ago (v0.5.1.3)
Information is valid as of writing. Things will change and if you want to improve the answer by editing or posting a new answer, please do.
This is NOT a support thread. I am not frequenting SE,and therefore cannot answer your questions.
Magisk v21 + , with Magisk Manager from official Magisk thread. Note that some devices play well with certain versions of Magisk so it's better to search device threads in XDA for appropriate Magisk version for your device.
Riru-core latest releaselatest release from Magisk modules or from GitHub. I am still on Riru V21.3 .The latest version has major compatibiity issues with framework(Please read the subsequent sections and other Magisk modules , even on older Android versions.choose the relevant option)
EdXposed canary drivers YAHFA/Sandhook from EdXposed manager v4.5.7. And the EdXposed manager
Important changes that dictate which method to use in the installation section that follows (also applicable to OLDER Android versions)
- Obviously you have a rooted device running Android 11 , with Magisk installed. For most Android 11 devices including my Pixel 4a, Android 11 support was possible by using a canary version of Magisk(21004) ( I added that third party link because the official page only links to the latest). The latest release (21200) offers a better support.
So broadly speaking you have two alternatives
Magisk canary (21004) which can only be used with Sandhook or YAHFA version 4.x, for Android 11 or YAHFA v 0.4.x.x for older versions
Magisk canary (21200)(or corresponding stable for older Androids) which can only be used with Sandhook or YAHFA version 5 for e.g. YAHFA v0.5.0.6
Reason of being aware of this that this is linked to changes in Riru and corresponding YAHFA or Sandhook drivers. Riru v 21.x can only be used with the first option and Riru v 23.x can only be used with second option
Eeks..what's with Riru now?
To put it simply Riru v 23.x made a ton of changes that needed YAHFA or Sandhook drivers to be updated (which have been done). Version 5 of YAHFA or Sandhook are Compatible with Riru V 23.x . No backward compatibility.
This change can also affect your choice of modules. See this for an example. Module developer may be implementing methods which may need to be changed. If they don't , you can't use Riru v 23.x , simple.
On Pixel 4a ,I am using the Riru v 23.x with YAHFA v 5.x
This being a canary version, installation is unconventional (though I have read some posts that the conventional way (see linked questions in the body of question also work on some devices)
Obviously you have a rooted device running Android 11, with Magisk installed.
Install EdXposed Manager v4.5.7.
From the canary tab download the YAHFA/ Sandhook drivers (zip) . Note that downloaded version may have a different name from the file name in canary tab, in my case
EdXposed-YAHFA-v0.5.0.6-android_r (4565) release.zip
(note that it is marked as release for Android R, so one can soon expect official support).
Install Riru-core module first from Magisk Repo. Don't reboot.
Install downloaded YAHFA or Sandhook using install from storage option of Magisk.
If you want to verify the status of Riru , there is an official Riru app, made available by the Edxposed team.
Reboot and profit!
Xposed module development isn't what it used to be so there are only a few Android 11 ready Xposed modules. The ones I care for are:
If you reading this, it's likely you may be tempted to try other modules too. If they work, please update here. But if they don't work and create freezes, reboots , system lags (pretty common symptoms), you need to disable those modules without a nuclear factory-reset. Earlier, one needed other modules or getting into custom recovery to get rid of the offending modules. Thankfully, it's become easier since Magisk V21.0(see changelog). Now, it's as simple as getting into safe-mode and rebooting! Magisk FAQ says
Q: I installed a module and it bootlooped my device. Help!
If you have USB debugging enabled in developer options, connect your phone to the PC. If your device is detected (check by adb devices), enter ADB shell and run the command magisk --remove-modules
. This will remove all your modules and automatically reboot the device.
If unfortunately you do not have USB debugging enabled, reboot into Safe Mode. Most modern Android devices support pressing a special key combo at boot to enter Safe Mode as an emergency option. Magisk will detect Safe Mode being activated, and all modules will be disabled. Then reboot back to normal mode (the module disable state persists) and manage your modules through Magisk Manager.
Why shouldn't I use Taichi or VirtualXPosed instead of Edxposed? They work better
Not recommended
VirtualXposed has all the apps running under its supervision share the same android uid, defeating most Android sandboxing guarantees.
In short, it's considered very insecure, by orders of magnitude more than the regular Xposed/EdXposed.
Does it pass Safety Net?
tl:dr; Very unlikely, be ready to forego passing safety net
For starters, even unlocking bootloader trips safety net on Pixel 4a, as reported and checked by me on my device . Unlocking bootloader also renders device uncertified. Thankfully apps can be downloaded. Workarounds exist for this problem but one isn't sure how long it would work.
My other device OnePlus7 on Android 10, used to pass safety net but not anymore.
If you do overcome this first hurdle (may be older device), you have the next problem - how is Google checking? Is it Basic integrity check or Hardware attestation? ( For details see my answer here Magisk will fail Safety-Net hereafter. Why?). If you are lucky enough to have basic check , you may pass (not always, my OnePlus 7 has basic check and still fails, despite flashing full factory ROM and no changes made to /system
, never even mounted it rw
)
Third obstacle is whether EdXposed Framework or installed modules trip safety net? Results awaited from those who cross the first two obstacles. I am yet to come across anybody who has reported safety net pass on Android 11 with Edxposed installed.
As always, happy Xposing :)