I was wondering if there was a way to get the ADB connection log (on-device), for when someone types:

adb connect <IP>

with their IP

EDIT: Kind of like with your /var/log/auth.log on Linux, where when someone SSHs into your server, you can check the /var/log/auth.log and see their IP

1 Answer 1


first you need to connect the device to PC where you want to see logs via usb cable and allow the usb debugging fingerprints.

Than you can connect to the mobile via adb connect port : 5555 (used mostly)

  • The OP isn't asking how to connect. The question is about how to get logs of such events. Dec 16, 2022 at 20:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .