undefined

PHOTO EMBED

Sun Jul 14 2024 07:33:43 GMT+0000 (Coordinated Universal Time)

Saved by @Dewaldt

TCP Protocol v1
The TCP protocol is designed to be a simple way to use the fastboot protocol over ethernet if USB is not available.

The device will open a TCP server on port 5554 and wait for a fastboot client to connect.

Handshake
Upon connecting, both sides will send a 4-byte handshake message to ensure they are speaking the same protocol. This consists of the ASCII characters “FB” followed by a 2-digit base-10 ASCII version number. For example, the version 1 handshake message will be [FB01].

If either side detects a malformed handshake, it should disconnect.

The protocol version to use must be the minimum of the versions sent by each side; if either side cannot speak this protocol version, it should disconnect.

Fastboot Data
Once the handshake is complete, fastboot data will be sent as follows:

[data_size][data]
 Save
content_copyCOPY

https://android.googlesource.com/platform/system/core/+/master/fastboot/