Fork of the LSPosed Magisk module.
This fork is a version of LSposed that does not require Magisk to be installed on the device.
It does require Riru to work (see MagiskLess-Riru or Riru).
- Android 8.1 to 13
- Riru or MagiskLess-Riru
And if you want to use the provided template to install MagiskLess-Riru on the device:
- Permissive 'su' SELinux context (should be present on userdebug builds such as on LineageOS)
- No dm-verity
- Enter recovery mode on your device, and select "Apply update from ADB"
- Make sure that the 'riruModulePath' variable in the root build.gradle.kt is correct
- Run the command following:
gradle flashRelease
Gradle tasks:
-
zipDebug/Release
Build an update package (using the android-flashable-zip template).
-
flashDebug/Release
Build an update package (using the android-flashable-zip template) and sideload it to the device.
You may encounter SELinux issues on your device when installing MagiskLess-Riru or a Riru module.
If you are using the provided template, you can inject the required SELinux policies by using the inject_selinux_policy
util method in the update.sh
file:
inject_selinux_policy -s zygote -t adb_data_file -c dir -p search
You can find the required SELinux policies in Logcat:
adb logcat | grep avc
LSPosed is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).