Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect to the frida server: need Gadget to attach on jailed Android

I am using objection to bypass ssl pining on injured android apk. After I ran this command successfully objection patchapk --source injured.apk and uninstall and reinstall the patched apk again, I tried objection explore but always get this error. I tried to download frida gadget-arm and made a folder in the same path in the error message but without any success.

enter image description here

like image 686
ELMO Avatar asked Oct 22 '25 05:10

ELMO


1 Answers

I faced the similar issue when I was running the APK on an x86 emulator.

What worked for me was

1 Specifying x86 architecture while patching the APK

objection patchapk --source UnCrackable-Level1.apk --architecture x86

2 Copy the Frida gadget from objection to an expected location

cp ~/.objection/android/x86/libfrida-gadget.so ~/.cache/frida/gadget-android-x86.so

After doing above 2 steps , then run the APK on the emulator followed by objection explore

like image 182
nantitv Avatar answered Oct 24 '25 18:10

nantitv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!