sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.41k stars 850 forks source link

[Bug] Unable to connect to the frida server #600

Closed Drjacky closed 1 year ago

Drjacky commented 1 year ago

I first ran this: objection patchapk --source /Users/usernameeee/Desktop/sample-pulled.apk and it generated the patched apk successfully.

then: objection -g com.example.app explore -q ->

Unable to connect to the frida server: need Gadget to attach on jailed Android; its default location is: /Users/usernameeee/.cache/frida/gadget-android-arm64.so

but when I decompile the objectionized APK, the so files are in the lib folder already:

Screenshot 2023-01-13 at 20 11 18
Drjacky commented 1 year ago

Ran like this: frida -U nameOfTheApp and it worked.

Drjacky commented 1 year ago

But still want to know why I cannot use objection explore? I get this:

Unable to connect to the frida server: need Gadget to attach on jailed Android; its default location is: /Users/usernameeee/.cache/frida/gadget-android-arm64.so
Drjacky commented 1 year ago

I need to run the app once and then run objection explore.

kqvanity commented 1 year ago

I need to run the app once and then run objection explore.

That did work, but not for all apps.