# mik3y/usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

Repository: https://github.com/mik3y/usb-serial-for-android
Canonical: https://ross.abutalabs.com/products/usb-serial-for-android
Language: Java
License: MIT
License Family: permissive
Last push: 2026-07-18T15:37:14+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 61, longevity 100
- inputs: {"age_days": 4812, "days_push": 46, "days_rel": 46, "gap_med": 224, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5671, forks 1691 (observed 2026-08-28T04:09:27.683627+00:00)

## What it is
A Java driver library for Android that enables communication with USB serial hardware (Arduino, FTDI, CDC devices, and others) via Android USB Host Mode (OTG). It requires no root access or special kernel drivers and exposes a raw serial port with read/write APIs.

## Use cases
- communicate with an Arduino over USB from an Android app
- read data from a USB serial device on Android without root
- build an Android app that talks to serial hardware over OTG
- send and receive raw serial data from FTDI or CDC devices on Android
- detect and open attached USB serial devices in an Android app

## When to choose
- you need to talk to USB serial devices (Arduino, FTDI, CDC) from an Android app
- you want pure-Java USB serial drivers without root or ADK
- you need low-level read/write access to a serial port on Android

## When to avoid
- you need USB serial communication on platforms other than Android
- you need higher-level protocols rather than a raw serial port
- your device uses a USB chipset not supported by the library's drivers

## Facets
- artifact type: library
- maturity: active
- function: sdk, developer-tools
- domain: android-tools, hardware, developer-tools
- platform: jvm
- tags: usb-serial, usb-host, otg, arduino, ftdi, cdc, serial-port, embedded-communication, android

## Member repositories
- mik3y/usb-serial-for-android (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:27.683627+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:54:17.533509+00:00, confidence not recorded.
  - readme: https://github.com/mik3y/usb-serial-for-android (fetched 2026-08-28T04:09:27.683627+00:00, sha 2847c042e933)
- Data as of 2026-08-30T08:39:29.467469+00:00.
