Can a phone keep logs of the computers it has been connected to?

Hello,

I wonder if a phone keeps logs of the computers it has been connected to via USB (particularly using the developer mode for ADB),

What information do these logs contain?

Are they likely to be transferred to the Google servers ?

If that is the case, how to prevent it ?

Thanks !

Would someone have any idea ?


It seems that the itself phone does not maintain a log of connected computers, but the computer may record the connection event, and the data transferred during the connection may be retained on the computer’s system.

I’m positive it would log the connection event, but I’m not actually sure if there is any identifier it can see of the host machine.

Linux will record the serial number of all USB devices in dmesg

  • systemd will persist dmesg via journald
  • auditd, udev, and usbmuxd may also be configured to log this
  • Gnome VFS may also store the serial number under ~/.local/share/gvfs-metadata/
  • adb may also store device ID under ~/.android/
2 Likes