-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Until now, we either use ArtistGui to instrument apps, or we deploy ARTist as the system compiler in a custom AOSP build to instrument boot.oat/art(AOSP compile time), the systemserver and system apps (all at first boot). However, in order to support system instrumentation on regular ROMs without having to replace the system's compiler binary, ArtistGui needs to be extended so that it can re-compile these components as well.
Judging from the fact that dex2oat is compiling all those components anyway after each OTA upgrade, it should be possible for us to do so as well and then again use root to swap the original compiled version with our instrumented one. For non-apps, a subsequent reboot will be required, but this is on par with other systems such as XPosed.