~/talk

What does "adb lolcat" do? A deep dive into adb

Talkat DroidKaigi 2019 · 2019-02-07..02-08· [android]
name:32bitdesi
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 1:19What Is Adb
  3. 1:46Components of Adb
  4. 2:25Core Concepts in the Design
  5. 2:53Transports
  6. 3:29Usb Transport
  7. 3:43Tcp Transport
  8. 4:37Protocol
  9. 5:53Message Format
  10. 6:25Data Check
  11. 7:25Services
  12. 7:35Host Side Services
  13. 12:01Server Startup
  14. 13:52Run Event Loop
  15. 14:23Transport Registration
  16. 16:41Host Authentication
  17. 22:08Adp Confirmation Box
  18. 23:27Protocol Trace
  19. 28:59Stats
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.