Dlopen hook causes app crash on Android 12

See original GitHub issue

Hello. How i can get some logs or something else cause my Android 12 smarthone just force close game after spawn.

Android 12: Use frida spawn command frida -U -f com.example.app -l _script.js --no-pause just spawn my Game and cause Crashing after a second. Even cannot finish dumping command.

Use frida attach frida -U -n Appname -l _script.js --no-pauseor frida -U Appname -l _script.js works great but i cannot intercept some initial functions of the Game because should to waint until attach to the procces. dump command works great by attaching. Same thing with frida-gadget… my default frida JS script works good… frida-il2cpp-bridge script still crashed the game.

Most stranger thing that script works good on a first second and replace some function without any issue but after one second game crashes without any log/error in command prompt

Android 11 & Android 10: frida-Il2cpp-bridge my script works good with frida-server and frida-gadget

Maybe i can try to update to the latest frida version for your module but idk how

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
vfsfitvnmcommented, Dec 22, 2021

Not very helpful at all - don’t worry about that. Just downloaded genymotion, it doesn’t provide android 12 images

1reaction
dvgmdvgmcommented, Dec 19, 2021

@vfsfitvnm yap… Game just spawn without any issue… But i try to execute my scrip and nothing happened. Just vanilla game was spawned

Read more comments on GitHub >

github_iconTop Results From Across the Web

App Crashes on joining meeting on Android 12 #65 - GitHub
It was working fine on Android 11 but I had an update today to Android 12 and now the app crashes on joining...
Read more >
Here's how to fix constant app crashes in Android 12 beta
If you're seeing constant app crashes on Android 12, just go to the Settings menu, tap Apps, All apps, then scroll down to...
Read more >
React-native app crashes on real android device
I am using react-native and currently started using redux and created one app but when I am running that app ...
Read more >
Tales from the crash; dlopen() and dlerror() patterns - Strazzere
Recently, while attacking a unspecified application, I had the need to do something I consider pretty normal. Hook dlopen() and dlsym() and ...
Read more >
Detect and diagnose crashes - Android Developers
There are many situations that can cause a crash in your app. Some reasons are obvious, like checking for a null value or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found