Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_script Exception: need Gadget to attach on jailed Android #48

Open
Kaaveh opened this issue Jul 27, 2021 · 13 comments
Open

load_script Exception: need Gadget to attach on jailed Android #48

Kaaveh opened this issue Jul 27, 2021 · 13 comments

Comments

@Kaaveh
Copy link

Kaaveh commented Jul 27, 2021

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?

@mgp25
Copy link

mgp25 commented Aug 28, 2021

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

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

@Kaaveh
Copy link
Author

Kaaveh commented Sep 11, 2021

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.

@notmarshmllow
Copy link

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

@PanosKwork
Copy link

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

@AddaxSoft
Copy link

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

@EunhoKim98
Copy link

Oh, I copied it and it worked right away.

@Terminal1337
Copy link

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

@Amit-DAlal-1
Copy link

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?

@PRO100CHOK
Copy link

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?

@Five81
Copy link

Five81 commented Jun 9, 2023

frida.NotSupportedError: command failed: 99

@BrunoThums
Copy link

frida.NotSupportedError: closed :(

@Ihemjica
Copy link

Ihemjica commented Jan 9, 2024

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.

@mohammadhadad
Copy link

gadget-android-arm64.so

it worked , great man

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests