Hello,
I'm trying to simply connect Profiler to my phone with those settings :
- ADB Version 1.0.41
- ADB devices return my device correctly
And I have the red link icon in SnapDragon Profiler,
I also tried to put timed out setting to 60s.
Here are the logs I found :
I: SDPCore: Scanning for devices...
I: SDPCore: Started QNX device scan
I: SDPCore: Started Integrity_RTOS device scan
I: SDPCore: Device added: 73ec5aa3 127.0.0.1
I: SDPCore: Device '73ec5aa3' discovered.
I: SDPCore: Device '73ec5aa3' ready.
I: SDPCore: Starting service: adb -s 73ec5aa3 shell LD_LIBRARY_PATH=/data/local/tmp/SnapdragonProfiler /data/local/tmp/SnapdragonProfiler/sdpservice -clientIP 127.0.0.1 -cmdNetPort 6500
I: SDPCore: Server socket 0x00000002 listening on tcp://0.0.0.0:6500
I: SDPCore: Listening for command net connections on port 6500...
E: SDPCore: Device '73ec5aa3' connection failed: Timed out waiting for a connection from the target device. Please try connecting again. If the problem persists, try increasing the connection timeout in File->Settings->Device..
I: SDPCore: Server socket 0x00000002 closed on tcp://0.0.0.0:6500
I: SDPCore: Device '73ec5aa3' ready.
I: SDPCore: Starting service: adb -s 73ec5aa3 shell LD_LIBRARY_PATH=/data/local/tmp/SnapdragonProfiler /data/local/tmp/SnapdragonProfiler/sdpservice -clientIP 127.0.0.1 -cmdNetPort 6500
I: SDPCore: Listening for command net connections on port 6500...
I: SDPCore: Server socket 0x00000002 listening on tcp://0.0.0.0:6500
E: SDPCore: Device '73ec5aa3' connection failed: Timed out waiting for a connection from the target device. Please try connecting again. If the problem persists, try increasing the connection timeout in File->Settings->Device..
I: SDPCore: Server socket 0x00000002 closed on tcp://0.0.0.0:6500
I: SDPCore: Device '73ec5aa3' ready.
I: SDPCore: Starting service: adb -s 73ec5aa3 shell LD_LIBRARY_PATH=/data/local/tmp/SnapdragonProfiler /data/local/tmp/SnapdragonProfiler/sdpservice -clientIP 127.0.0.1 -cmdNetPort 6500
I: SDPCore: Server socket 0x00000002 listening on tcp://0.0.0.0:6500
I: SDPCore: Listening for command net connections on port 6500...
E: SDPCore: Device '73ec5aa3' connection failed: Timed out waiting for a connection from the target device. Please try connecting again. If the problem persists, try increasing the connection timeout in File->Settings->Device..
I: SDPCore: Server socket 0x00000002 closed on tcp://0.0.0.0:6500
I: SDPCore: Device '73ec5aa3' ready.
I: SDPCore: Starting service: adb -s 73ec5aa3 shell LD_LIBRARY_PATH=/data/local/tmp/SnapdragonProfiler /data/local/tmp/SnapdragonProfiler/sdpservice -clientIP 127.0.0.1 -cmdNetPort 6500
I: SDPCore: Server socket 0x00000002 listening on tcp://0.0.0.0:6500
I: SDPCore: Listening for command net connections on port 6500...
E: SDPCore: Device '73ec5aa3' connection failed: Timed out waiting for a connection from the target device. Please try connecting again. If the problem persists, try increasing the connection timeout in File->Settings->Device..
I: SDPCore: Server socket 0x00000002 closed on tcp://0.0.0.0:6500
I: SDPCore: Device '73ec5aa3' ready.
It is simply timing out... My phone (OnePlus 6, Android 10, Oxygen 10.3.5) is correctly setup with usb debug enabled and connected to my pc by USB.
If you have any suggestion, I would appreciate it :)
Thanks
Hi, I'm having the same problem, ADB 1.0.41, any solutions?
Still the same problem... I need it to work for profiling Unity game, can somebody from Qualcomm can help us with that please ?
The most common cause of this type of issue is something on the host PC using the same network ports that Snapdragon Profiler uses. You can configure the ports used by Profiler in the application settings (File -> Settings -> Device -> Base network port. If that doesn't fix the problem you may have some firewall on your PC that is blocking incoming traffic on those ports.
Eric
I have the same problem.
on ADB it shows below message. Adb is connected via tcp connect "adb connect <ip address>:5555
what is the problem and can we enable more detailed debug log for you?
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Service initialized.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Loading plugins from /data/local/tmp/SnapdragonProfiler...
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-GGPM'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginCPU'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Sensor'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginNPUV2'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenCL'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-OpenGLES'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDDRBandwidth'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginThermal'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginNetwork'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Compute'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginNPU'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginDSP-Application'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginGPU-Vulkan'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Found plugin executable '/data/local/tmp/SnapdragonProfiler/pluginSystrace'.
05-03 12:15:00.762 12747 12747 I SDP : SDPCore.Service: Service attempting connection to client at 10.18.53.226:1000...
05-03 12:15:02.764 12747 12750 I SDP : SDPCore.NetCommandClient: Client socket 0x00000001 closed
05-03 12:15:02.764 12747 12747 E SDP : SDPCore.Service: Service failed to connect to the client - terminating...
05-03 12:15:02.764 12747 12747 I SDP : SDPCore.Service: Service is ready to shutdown.
05-03 12:15:02.765 12747 12747 I SDP : SDPCore.Service: Service is ready to shutdown.
05-03 12:15:02.765 12747 12747 I SDP : SDPCore.Service: Service shutdown.
The issue got resolved by providing access in windows firewall for SDP app.
Realtime capture is working but capture trace and capture snapshot is not working
I faced the exact same issue, but in my case, the problem was that my phone has a 32-bit architecture (armeabi-v7a, as it's a Moto G7 Play), and it seems that newer versions of Snapdragon Profiler do not support that, so I had to go back to using v2022.5 (https://developer.qualcomm.com/downloads/snapdragon-profiler-v20225-wind...). Is there a chance that future versions will support 32-bit again? If not, perhaps some documentation should mention this explicitly? Apologies if I missed any such mention; perhaps one would be able to derive this from the "supported chipsets" table in the reference guide, but I'm not very familiar with Qualcomm's naming/grouping conventions.
More details below in case anyone else is having a similar problem and wants some debugging ideas:
Inspired by meramcacahuete's posting of their logs, I looked at mine (under "Documents/SnapdragonProfiler"). The contents were very similar to meramcacahuete's, but I noticed one message that said:
Found local simpleperf binary at '\arm64\simpleperf'
Here, the "arm64" was the first hint that something was wrong. Then I noticed the message:
Starting service: adb -s 192.168.1.66:5555 shell LD_LIBRARY_PATH=/data/local/tmp/SnapdragonProfiler /data/local/tmp/SnapdragonProfiler/sdpservice -clientIP 192.168.56.1 -clientIP 192.168.1.64 -cmdNetPort 6500
The logs did not contain anything indicating that this command encountered errors (other than the much later "connection failed") but when I tried the same command from Powershell, the output revealed the problem, that sdpservice was a 64-bit executable:
/data/local/tmp/SnapdragonProfiler/sdpservice: not executable: 64-bit ELF file
In other words, if you experience problems and the logs aren't revealing the problem, perhaps running the adb command yourself will help you in the same way it helped me. Best of luck to anyone coming across this and looking into their own connection problems :-)
Hello,
I have the connection timed out when I try to connect with the latest version of snapdragon profiler on windows 11 to my redmi note 8T.
Snapdragon profiler installation was succesfull (I have no clue what this means, but I have the green icon), but the connection remains red.
this is what I tried:
disable windows firewall, set port to 11000, use adb forward since I am using usb connection. Nothing worked.
Is it supposed to connect or I am wasting time?