3 ms·
This is pretty awesome! Great "hack" that uses the ADB debugging protocol in a way that probably wasn't intended... Regarding security, sometime back in Andro
by kiwidrew 11y ago
This is pretty awesome! Great "hack" that uses the ADB debugging protocol in a way that probably wasn't intended...
Regarding security, sometime back in Android 4.x the ADB protocol was updated to include public-key authentication. So it's (relatively) safe to keep debugging enabled now, even when you are plugging in to an untrusted USB port.
I think it's done in a similar way to SSH, i.e. the first time that a new computer wants to debug your device it supplies a public key and your Android device shows a popup with the key fingerprint and allows you to accept/reject the debugging connection.