Files
app/gradle
Claude afa358cecf USB serial: the modem on an adapter plugged into the phone, or on the phone's own USB port (root)
- an adapter (FTDI, CP210x, CH34x, PL2303, CDC-ACM; usb-serial-for-
  android, from JitPack for that alone) as another bridge: its speed and
  format set, its DTR out the modem's carrier (the computer's DCD on a
  null modem), the computer's DTR (its DSR) dropped hanging up; the first
  adapter found, again when one is plugged in; Android offers the app
  when one is (a device filter), its permission asked for
- with root: an ACM function added to the phone's USB gadget in
  configfs, so a computer on the phone's cable sees a modem, served on
  /dev/ttyGS0; taken out again when off; said plainly when the phone's
  kernel can't
- Settings' serial port section has both
Tested: an adapter's port faked (both ways, DCD, DTR's drop hanging up,
unplugged), the gadget on a pty with root faked, its scripts parsed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-17 07:09:33 +00:00
..