I have an Android device which I do development on. When I had a stock ROM, I could always connect with WiFi. However, I switched to a custom root rom and whatever I do (and believe I did all) it does not connect to the device over WiFi, saying:
failed to connect to '192.168.1.2:5555': Connection refused
Believe I did all that. Trying with sudo, playing with developer settings on custom root rom, restarting, killing server and starting server and plugging it in again. None of them worked. I have done all the solutions in this question and many other questions and blog posts.
That's why what I'm asking is something different. I'd like to troubleshoot it myself. Now, the question is:
Is there a way to see adb connection debug/trace logs on my device so that I can at least tell what the problem is? Where are these logs located?
Thanks in advance.
Environment
- Android 9
- General Mobile GM5 Plus
- Custom Root Rom
Android Debug Bridge version 1.0.41
Version 31.0.2-7242960