What does "adb lolcat" do? A deep dive into adb
summary
Explains exactly what happens when typing adb lolcat: the client forks a local single binary for client and server, the server multiplexes TCP sockets to daemons, and daemons run on devices handling authentication via public‑key exchange and a USB manager user prompt. Notes the protocol has had only one revision, source is about 20,000 lines of C/C++, and removing an unused checksum increased USB 2 throughput by 40% USB 2 throughput gain.
AI-written summary · about
chapters (19)
- 0:00Start
- 1:19What Is Adb
- 1:46Components of Adb
- 2:25Core Concepts in the Design
- 2:53Transports
- 3:29Usb Transport
- 3:43Tcp Transport
- 4:37Protocol
- 5:53Message Format
- 6:25Data Check
- 7:25Services
- 7:35Host Side Services
- 12:01Server Startup
- 13:52Run Event Loop
- 14:23Transport Registration
- 16:41Host Authentication
- 22:08Adp Confirmation Box
- 23:27Protocol Trace
- 28:59Stats
related talks
42mADB Break on through to the other side
50mADB, Break On Through To the Other Side
29mBuild-and-Learn: The adb Protocol
47mAndroid Debug Bridge: Step to the Other Side of the Black Mirror
41mExploring Android internals with ADB
40mPractical ADB usage to enhance your life!
45mPractical ADB usage to enhance your life!
39mPractical ADB usage to enhance your life!
