Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks on Android 15 Not working #334

Open
harshitshah4 opened this issue Sep 2, 2024 · 0 comments
Open

Hooks on Android 15 Not working #334

harshitshah4 opened this issue Sep 2, 2024 · 0 comments

Comments

@harshitshah4
Copy link

harshitshah4 commented Sep 2, 2024

Getting this error:
Error: libart.so: unable to find export '_ZNK3art2gc4Heap15MayUseCollectorENS0_13CollectorTypeE'

Gadget version:

[frida-gadget-16.4.10-android-arm.so.xz](https://github.com/frida/frida/releases/download/16.4.10/frida-gadget-16.4.10-android-arm.so.xz)

Android version: 15 Beta 4.1
Device: Google Pixel 6 Pro

Additionally hooks are not even getting triggered.

Code snippet:

function hookBiometricPrompt_authenticate2() {
 
  try {
    var BiometricPrompt = Java.use('android.hardware.biometrics.BiometricPrompt');

    BiometricPrompt['authenticate'].overload('android.hardware.biometrics.BiometricPrompt$CryptoObject', 'android.os.CancellationSignal', 'java.util.concurrent.Executor', 'android.hardware.biometrics.BiometricPrompt$AuthenticationCallback').implementation = function(crypto, cancellationSignal, executor, callback) {
      
    }
  } catch (e) {
    logger(`Failed ${e}`);
    throw e;
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant