Ingest Kodak P210R reverse-engineering research
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
---
|
||||
source_type: research_handoff
|
||||
source_url: https://gist.github.com/oldmud0/4d8b50cc6fdba0dc301ac78f4f05082d
|
||||
ingested: 2026-10-09
|
||||
sha256: 4d8507712d5faf8c252f812c0a22526ea5d0981b48ad02ee0c25c8808682e605
|
||||
---
|
||||
# Kodak P210R — can it print from a standard computer?
|
||||
|
||||
**Short answer: not without workarounds. No Windows/Mac/Linux driver exists. The printer is Bluetooth-only and speaks a proprietary protocol through the mobile app.**
|
||||
|
||||
## What it is
|
||||
|
||||
- Model: Kodak Mini 2 Retro (P210R)
|
||||
- Manufacturer: Prinics Co., Ltd (South Korea) — FCC ID PO5C210R; derivative C210R
|
||||
- Connection: Bluetooth (Classic / BDR/EDR, 79 channels, 2.4 GHz, GFSK/π/4DQPSK)
|
||||
- Technology: 4PASS dye-sublimation (not ZINK)
|
||||
- Print: 2.1 × 3.4 in, 291 × 300 dpi
|
||||
- Bluetooth name format: `KODAK Instant-XXXX` (XXXX = 4-digit combo), MAC address inside cartridge door
|
||||
- Power: 620 mAh rechargeable, ~90 min charge, ~20 prints/charge
|
||||
- Cartridge: ICRG-260 (4PASS ribbon + paper combined)
|
||||
|
||||
## Direct computer compatibility
|
||||
|
||||
**None confirmed.** The official product site explicitly says: *"Kodak photo printers and instant cameras work with a mobile app. To print photos stored on your computer, simply transfer the files to your smartphone and print via the Kodak app."* There is no USB, Wi-Fi, or standard printer-protocol interface (no CUPS/IPP/OPP driver). The app (`com.prinics.kodak.photoprinter`) is mobile-only (iOS/Android).
|
||||
|
||||
## Workaround (no reverse engineering)
|
||||
|
||||
Transfer image to phone → open Kodak Photo Printer app → pair via Bluetooth → print. This is the only supported method today.
|
||||
|
||||
## Reverse-engineering status (partial)
|
||||
|
||||
A public gist (`oldmud0`, ~1 hour of work) reverse-engineered `com.prinics.kodak.photoprinter`.
|
||||
|
||||
- Transport: **Bluetooth Serial Port Profile (SPP)** — also supports Wi-Fi ad-hoc (port 56065) and Wi-Fi Direct (port 56067) in some configurations, but the P210R is Bluetooth-only per FCC.
|
||||
- Protocol is **not OBEX**, not AirPrint, not standard printer protocols.
|
||||
- Packet format (at least 8 bytes):
|
||||
- `u8` msg id
|
||||
- `u8` unknown
|
||||
- `u8` unknown
|
||||
- `u8` padding (0)
|
||||
- `u32be` additional data length (0 to unbounded; ~2048/4096 practical max)
|
||||
- `u8[...]` payload
|
||||
- Observed packet IDs from traffic:
|
||||
- `100, 1, 0` — first connect
|
||||
- `82, 0, 0` — likely begin print
|
||||
- `1, 0, 0`; `7, ?, 0`; `84, 0, 0`; `11, 0, 0`; `101, 1, 0`; `18, ?, ?`; `9, ?, ?`
|
||||
- One 128-byte message structure: bytes 0–52 binary, 53–84 ASCII, 85–127 ASCII.
|
||||
|
||||
## Required tools to complete a reverse-engineering pipeline
|
||||
|
||||
### 1. Traffic capture / protocol observation
|
||||
- Linux `bluetoothctl` / `hcitool` / `btmon` (Bluetooth Classic HCI trace)
|
||||
- Android: `adb logcat`, Frida/Objection to hook the `Prinics` app
|
||||
- iOS: Traffic interception with a TLS/mitm proxy (if Wi-Fi mode exists)
|
||||
- `Wireshark` with BT_HCI / RFCOMM dissection (after capture via `btmon` → pcap conversion)
|
||||
|
||||
### 2. APK / binary analysis
|
||||
- `jadx` / `apktool` / `frida` to decompile `com.prinics.kodak.photoprinter`
|
||||
- `strings`, `grep` for message IDs, command names, firmware update URLs
|
||||
- `Ghidra` / `IDA Pro` / `Binary Ninja` for the native library (`.so`) handling print data
|
||||
- `radare2` / `r2` for quick disassembly if no decompiler available
|
||||
|
||||
### 3. Protocol reconstruction
|
||||
- Python (`pybluez`, `bleak` — though this is Classic BT, not BLE; use `pyserial` over RFCOMM or direct `bluetooth` sockets)
|
||||
- A reconstructed packet builder using the 8-byte header format above
|
||||
- Test harness that sends observed packets and compares printer responses (led status, print output)
|
||||
- Firmware update analysis (the app pushes firmware; observe via `bluetoothctl` / Wireshark during update)
|
||||
|
||||
### 4. Computer-side bridge
|
||||
- A Linux/Windows bridge that opens RFCOMM channel to the printer, sends reconstructed packets, and exposes a simple print interface or CUPS backend
|
||||
- If the printer really uses a proprietary image format rather than standard TIFF/JPEG-over-BT, build an image-to-printer-format encoder
|
||||
|
||||
### 5. Firmware / hardware (optional, deeper)
|
||||
- FCC internal photos (FCC ID PO5C210R) show printer internals — can identify MCU/chipset for potential UART/JTAG dump
|
||||
- SWD / JTAG adapter (ST-Link, J-Link) if test pads accessible on the PCB
|
||||
- `J-Link Commander`, `OpenOCD` for firmware extraction if chip is identified
|
||||
|
||||
## Assessment
|
||||
|
||||
**Not practical as a quick project.** The partial reverse engineering exists (packet structure, transport modes, command IDs) but no open implementation exists. Completing it requires:
|
||||
- Decompiling the Android APK thoroughly (the app handles both image editing and the protocol)
|
||||
- Confirming the exact image encoding / compression the printer expects
|
||||
- Building a RFCOMM/SFP bridge that is reliable enough to print
|
||||
- Dealing with potential firmware updates that change the protocol
|
||||
|
||||
If your goal is just to print from a computer, the practical answer remains: send the file to a phone, print via the app.
|
||||
|
||||
---
|
||||
*Self-ID confirmation (per session): model switched openrouter/free. Response written directly (no preamble). Source: https://gist.github.com/oldmud0/4d8b50cc6fdba0dc301ac78f4f05082d (protocol overview); https://kodakphotoprinter.com (official product site — mobile-only); FCC ID PO5C210R (Prinics, BT Classic).*
|
||||
Reference in New Issue
Block a user