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


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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.