You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am currently rewriting the entire project with different approach. espf was built on magiskpolicy source code and relied on using init.d approach, it was meant to be executed on boot as init.d script and that was a rare case for most ROMs (like it wouldn't work on 90% of devices). Also it executed at some more or less random point during system start, which is enough if you want to inject policy for android applications but not enough if you want to apply new policies for system services since they can start before the moment of new policy injection.
Right now I am working on approach with patching boot partition and injecting new policies even before the init process will start. This is an approach this is used by magisk to patch sepolicies for itself and achieve effectively permissive policy to be able to run su binary. This should work universally on any device (already tested on a few) and any OS version. I will also use this approach for SystemEdxposed and I have already updated the code in this repo but unfortunately don't have enough time to update the README and polish all the things.
Please do not close this issue, I will return to it as soon as I gonna have some free time to work on this. If you want it urgently, you can see how things are organized in new code. Basically it is magisk as it is in original repo but with different build script, and some minor changes in code. The rules that magiskinit injects into system policies are all in rules.cpp file.
Because I need to put some sepolicy into espf.
The text was updated successfully, but these errors were encountered: