Closed MrGuoRanDuo closed 1 year ago
Is it possible to reproduce this with the Node.js or Python bindings? I am wondering if this is a Frida bug rather than a Frida Rust bug.
prepare adb version 1.0.41 on your linux server. Just write a demo rust program contains “enumerate_all_devices ” function, will reproduce this bug ? is that ok ?
@meme reproduce with python binding @v16.1.3; adb version 1.0.41 `
import frida print(frida.enumerate_devices()) [Device(id="local", name="Local System", type='local'), Device(id="socket",name="Local Socket", type='remote'), Device(id="barebone", name="GDB Remote Stub", type='remote')]
another try:
print(frida.get_usb_device(10)) frida.InvalidArgumentError: device not found `
I try to find enumerate_devices c source code , but no results .feels helpless. so this issue is belong to which firda project?
@meme
I'll close this, because like you said, this is a Frida issue, not a Frida Rust issue.
Here a some code
device find result RUST: run error: can not find device named PGJM10 found ["Local System", "Local Socket"]
serverA: Failed Android Debug Bridge version 1.0.41 Version 30.0.4-6686687 java version "1.8.0_241"
serverB: Success Android Debug Bridge version 1.0.39 Revision 5943271ace17-android
then I copy the serverB adb to serverA ,serverA device finder work as normaly , want to know the real reson of
enumerate_all_devices
can not find any device