Closed ganesh2183 closed 1 month ago
Hey, this is due to a recent change in Frida.
A workaround is to find the process ID (PID) when launching the app using frida-ps -U
, then use that PID and use it with objection like this; objection --gadget PID explore
hope this helps :)
Thanks for your reply.
Once patched apk installed into non-rooted android device. When i run frida-ps -U command, I m seeing only "waiting for USB device to appear..." It is not showing any PIDs, why??
How to solve this.
Are you using a physical device or emulator?
can you adb into the device? adb shell
I m using real device and able to run adb shell command.
Hi, any update on this issue.
@ganesh2183 I'll suggest you try and get just the vanilla frida
command working and connected to your app first.
What is vanilla Frida command to check it is working.
Pls need your help
@ganesh2183 I'll suggest you try and get just the vanilla
frida
command working and connected to your app first.
@leonjza Tried Frida command, it is working as expected with Android emulator. With frida-ps -Uia command it list all process running in emulator.
But when try with non rooted android device (real device) , we are getting the above error message as 'device not found'.
Please help me to solve this.
@leonjza Could you help to resolve this issue.
Sorry, I don't really know what is wrong. If frida-ps
is not working for you on a real device, then objection probably wont either.
The best I can do now is to tell you that this is the function call that is of interest in case you want to spend some time debugging.
Upgrade frida to the latest version Upgrade frida tools Patch the APK with the latest frida gadget Once installed -> open the APK -> frida-ps -U (get the PID) -> Use the PID to open the APK (objection --gadget "PID" explore)
Not sure why I'm not able to open it through the package name. but this surely helped me.
Give a heads up if that works for you too
Stale issue, feel free to reopen.
OS: Windows 10 Python version: 3.8.2 Frida version: 15.0.9
Patched android apk for Non-rooted android. Trying to connect to non-rooted android device using objection. Unable to connect to android device, how to solve this issue.