关于 Xposed的种种资料
XposedBridgeGitHub(重点讨论如何入门,基本工作原理)
关于Xposed的运行原理
深入理解Android(三):Xposed详解
一篇看起来非常有用的原理解析,以及源码编译的帮助。
Xposed模块开发基础篇
可以和第一篇互为参考
Xposed所需的一些基础知识
Zygote
There is a process that is called “Zygote”. This is the heart of the Android runtime. Every application is started as a copy (“fork”) of it. This process is started by an /init.rc script when the phone is booted. The process start is done with /system/bin/app_process, which loads the needed classes and invokes the initialization methods.
where Xposed comes into play
When you install the Xposed framework, an extended app_process executable is copied to /system/bin. This extended startup process adds an additional jar to the classpath and calls methods from there at certain places.
certain places
For instance, just after the VM has been created, even before the main method of Zygote has been called. And inside that method, we are part of Zygote and can act in its context.