canyie / NbInjection

PoC of injecting zygote processes by replacing system native bridge support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NbInjection

This is an example for replace system property "ro.dalvik.vm.native.bridge" to inject zygote process.

I have tested it on my Google Pixel 3 (Android 10, Magisk 20.4), it seems to be working well; but it maybe not compatible with all devices, if you want to use it, please modify the code according to your devices.

About its working principle, you can refer to this Chinese article.

Build

Run gradle task :module:assembleMagiskRelease from Android Studio or command line, magisk module zip will be saved to module/build/outputs/magisk/.

Discussion

License

MIT License

About

PoC of injecting zygote processes by replacing system native bridge support


Languages

Language:C++ 62.6%Language:Shell 35.4%Language:C 1.5%Language:CMake 0.5%