Google in the update from Android KitKat to Android Lollipop has introduced a new type of restriction that blocks the execution of non-PIE binary.
This block mainly forces the user to copy the binaries he wants to run in /system/bin, /system/xbin, or in /sbin.
This restriction stops executing some apps (also app no-root), this Magisk module disable this restriction.
Who needs this module ?:
This modulr can be useful if you run the following statement while you are running a binary:
Error: only available independent executables (PIE) are supported.
How does the module work ?:
The operation is really simple, I checked the commit of the aosp source to identify the changes made to linker.cc responsible for the PIE restriction and I removed the part of code that blocks the execution of non-PIE binaries then it was enough to compile the linker and create a Magisk module with modified binaries.
Compatibility:
Android 7.1.X (probably also 7.0 but has not been tested)
Architectures: all
Flash in Magisk Manager or TWRP, NEEDED MAGISK 13.1 OR NEWER
The source for now is not available, will be released on the following days (Monday at maximum)
This block mainly forces the user to copy the binaries he wants to run in /system/bin, /system/xbin, or in /sbin.
This restriction stops executing some apps (also app no-root), this Magisk module disable this restriction.
Who needs this module ?:
This modulr can be useful if you run the following statement while you are running a binary:
Error: only available independent executables (PIE) are supported.
How does the module work ?:
The operation is really simple, I checked the commit of the aosp source to identify the changes made to linker.cc responsible for the PIE restriction and I removed the part of code that blocks the execution of non-PIE binaries then it was enough to compile the linker and create a Magisk module with modified binaries.
Compatibility:
Android 7.1.X (probably also 7.0 but has not been tested)
Architectures: all
Flash in Magisk Manager or TWRP, NEEDED MAGISK 13.1 OR NEWER
The source for now is not available, will be released on the following days (Monday at maximum)