-
-
Save hackcatml/2dfd671599d563488f742c96edc71b7b to your computer and use it in GitHub Desktop.
This issue occurred in the recently updated version of "com.android.art". |
@hackcatml Unfortunately, this has the same problem as the original PR. On certain phones (e.g. fully updated S21 Ultra, including the latest Google Play update), the function passed to Java.perform
never gets called. No exceptions are thrown but the frida script is basically useless :(
@hackcatml Unfortunately, this has the same problem as the original PR. On certain phones (e.g. fully updated S21 Ultra, including the latest Google Play update), the function passed to
Java.perform
never gets called. No exceptions are thrown but the frida script is basically useless :(
Try this.
Java.perform(function()
{
Java.deoptimizeEverything();
// Code
});
Java.deoptimizeEverything();
No change :(
It might be better to wait for the official Frida update.
Definitely, but it seems like nobody's working on it :( Ole said he doesn't have the time and everybody else that gave it a go seems a bit stuck...
Java.deoptimizeEverything();
No change :(
It seems fine to me (com.android.art@350820960). But Java hooking feels unstable. It might be better to wait for the official Frida update.
What phone are you using?
Pixel 4a, Android 13 with August 1 Google Play system update
I tried several phones, includ a Pixel 4a. The Pixel was the only one on which it worked.
The issue was resolved by applying the above patch.
But when spawning the app, the
Failed to reach single-threaded state
error frequently occurred, causing the phone to soft reboot.By referring to this commit, I modified
frida-core/lib/payload/cloak.vala
as follows, and the issue was resolved.