Understanding the Android Virtualization Framework (AVF)
fungi8210.medium.com
fungi8210.medium.com
I’ve compiled a concise explanation to make sense of it all
Article can be used to navigate detailed docs, https://source.android.com/docs/core/virtualization/architec...Microdroid, https://source.android.com/docs/core/virtualization/microdro...
SecretKeeper, https://android.googlesource.com/platform/system/secretkeepe...
Keymint, https://android-review.linaro.org/plugins/gitiles/platform/h...
Generic Kernel Image, https://source.android.com/docs/core/architecture/kernel
> Arm’s TrustZone.. domains are too coarse-grained: only secure and nonsecure.. aren't good enough for dynamic use cases in which resources are allocated on demand.. In addition, the APIs used outside of the Android operating system are fragmented and restrict our ability to deploy use cases at the Android scale, including fundamentals like Keymint and Gatekeeper.
Importantly for user freedom, AVF can allow user-managed VMs (e.g. Debian Linux with root) to run alongside attested VMs with "official" apps.
"Google is preparing to let you run Linux apps on Android, just like Chrome OS", https://news.ycombinator.com/item?id=41816756