house icon indicating copy to clipboard operation
house copied to clipboard

load_script Exception: need Gadget to attach on jailed Android

Open Kaaveh opened this issue 2 years ago • 13 comments

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?

Kaaveh avatar Jul 27 '21 06:07 Kaaveh

It means you need to run frida-server in your device.

adb shell
cd /data/local/tmp
./frida-server

mgp25 avatar Aug 28 '21 19:08 mgp25

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.

Kaaveh avatar Sep 11 '21 13:09 Kaaveh

I am already running frida sever in my device but still facing this issue. What can be the fix for it?

notmarshmllow avatar Apr 11 '22 14:04 notmarshmllow

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

PanosKwork avatar Jul 01 '22 10:07 PanosKwork

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

AddaxSoft avatar Dec 18 '22 01:12 AddaxSoft

Oh, I copied it and it worked right away.

EunhoKim98 avatar Jan 01 '23 04:01 EunhoKim98

I tried pasting the files but I'm now stuck here image

Terminal1337 avatar Jan 12 '23 15:01 Terminal1337

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?

Amit-DAlal-1 avatar Feb 14 '23 13:02 Amit-DAlal-1

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?

PRO100CHOK avatar May 23 '23 09:05 PRO100CHOK

frida.NotSupportedError: command failed: 99

Five81 avatar Jun 09 '23 09:06 Five81

frida.NotSupportedError: closed :(

BrunoThums avatar Jun 28 '23 12:06 BrunoThums

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.

Ihemjica avatar Jan 09 '24 13:01 Ihemjica

gadget-android-arm64.so

it worked , great man

mohammadhadad avatar Mar 07 '24 17:03 mohammadhadad