house
house copied to clipboard
load_script Exception: need Gadget to attach on jailed Android
I tried to connect my rooted phone but get this error:
[!]load_script Exception: need Gadget to attach on jailed Android; its default location is: C:\Users\XXX\AppData\Local\Microsoft\Windows\INetCache\frida\gadget-android-arm64.so
What should I do?
It means you need to run frida-server
in your device.
adb shell
cd /data/local/tmp
./frida-server
It means you need to run
frida-server
in your device.adb shell cd /data/local/tmp ./frida-server
I made smoke test and frida-server
was running.
I am already running frida sever in my device but still facing this issue. What can be the fix for it?
I am already running frida sever in my device but still facing this issue. What can be the fix for it?
It may be that frida and frida-server version do not match
Here is a more useful comment:
create this folder:
C:\Users\XXX\AppData\Local\Microsoft\Windows\INetCache\frida\
download frida gadgets from https://github.com/frida/frida/releases
untar, rename file to gadget-android-arm64.so
put the file under the path
C:\Users\XXX\AppData\Local\Microsoft\Windows\INetCache\frida\gadget-android-arm64.so
Oh, I copied it and it worked right away.
I tried pasting the files but I'm now stuck here
I am stuck with with the following command. There is no response since last 30 minutes .
Frida 16.0.9 - A world-class dynamic instrumentation toolkit
| (| |
> _ | Commands:
// |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Android Emulator 5554 (id=emulator-5554)
Spawning owasp.mstg.app-Partner
...
how to resolve this?
I am stuck with with the following command. There is no response since last 30 minutes . Frida 16.0.9 - A world-class dynamic instrumentation toolkit | (| | > _ | Commands: // |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at https://frida.re/docs/home/ . . . . . . . . Connected to Android Emulator 5554 (id=emulator-5554) Spawning
owasp.mstg.app-Partner
...how to resolve this?
Were you able to solve the problem?
frida.NotSupportedError: command failed: 99
frida.NotSupportedError: closed :(
Funny enough, taking my device off power saving mode fixed the issue. frida-ps -U
, would work but it'd take a lot of time. Once power saving was off everything was instant.
gadget-android-arm64.so
it worked , great man