All ESP32 iPhone Agent notes
Project-specific notes

These instructions concern ESP32 iPhone Agent by Henry Yuan. Other projects in this index use different firmware, apps and protocols.

View the project profile

Hardware requirements & compatibility

Check the board, phone, network, and setup requirements before you buy.

The app’s on-board AirPlay path still needs an ESP32-S3 with PSRAM. USB input uses native USB; Bluetooth input uses separate HID pairing. Changing input does not make ESP32-C3 a replacement for this video path.

Source steps are pinned to v1.0.14 (4786f42). On December 3 the official changelog lists 1.0.13 build 29 in TestFlight and 1.0.14 build 30 in Beta App Review; check the build offered on your phone. TestFlight XIAO firmware is v0.2.16. Default flash.sh now builds USB and Bluetooth in one image; USB starts with the relative pointer, with optional absolute input. See installation and firmware for OTA and older-board limits.

The finished device is still a waitlist

The Manina device page, linked by upstream #162, describes a separate USB-C plug-in product. It is not on sale and has no final price or ship date. Joining the list is neither an order nor a reservation. The DIY instructions here still require your own S3 board and initial flashing.

The tested setup

ComponentRequirement
BoardPlain Seeed Studio XIAO ESP32S3, with 8 MB PSRAM; not the Sense or Plus variant
PhoneApp 1.0.9+ beta/source: iOS 16.4+; older apps keep their own requirements
USB-C iPhoneA data connection to the board’s native USB port
Lightning iPhone, USB routeLightning to USB 3 Camera Adapter, USB-A to USB-C data cable and a charger
NetworkDefault: board hotspot for mirroring; cellular data for model requests
Initial setupTestFlight + desktop web flasher; source builds need Mac/Xcode, Arduino tools and signing
ModelAn image-capable, OpenAI-compatible chat endpoint

The iPhone powers the board. The board’s approximate $7 price is not a total project budget: adapters, model requests, and data can add costs. See the upstream board reference for the tested hardware.

Using another ESP32-S3

The upstream README says other ESP32-S3 boards with native USB and PSRAM should work. That is an expectation, not a verified compatibility list.

Before choosing another board, check that its USB connector reaches the S3’s native USB peripheral rather than only a USB-to-serial chip. Also check flash size and PSRAM mode: the supplied flash script targets 8 MB flash and OPI PSRAM. Another board can require build-setting changes.

For the current iPhone app, do not assume an ESP32, ESP32-C3, or a board with no PSRAM is a drop-in replacement. Follow the known board first if your goal is a straightforward setup.

ESP32-C3 Bluetooth variant for legacy

Merged into legacy on October 20, 2026, #30 adds hardware/hid_bridge_ble_c3/ for ESP32-C3 and classic ESP32 Bluetooth mouse/keyboard input. The board talks to the computer-hosted server over Wi-Fi; UxPlay on that computer supplies the screen. The current iPhone app’s on-board AirPlay/Wi-Fi TCP video path still requires the S3 setup above.

This variant uses its own hardware/flash_ble.sh; follow the pinned setup and pairing notes. The contributor reports one C3/one iPhone end-to-end test. Classic ESP32 is a build target without equivalent reported device testing. There is no USB/BLE latency comparison or verification alongside the current app’s video link. This site has not repeated the hardware tests.

1.0.8 / dual-input v0.2.7 incorporates #94. On a standard XIAO, choose USB or Bluetooth in Settings › Board › Input. The board restarts; start Screen Mirroring again. Bluetooth mode powers the board separately from a USB charger or power bank, with nothing plugged into the phone. Lightning phones need no camera adapter in this mode, and the phone’s charging port stays free.

Check two links: select the board in the app and accept iOS pairing, then pair it as a mouse/keyboard under Settings › Accessibility › Touch › AssistiveTouch › Devices › Bluetooth Devices. An app connection does not prove pointer readiness. Keep AssistiveTouch on and recalibrate. Bluetooth Home uses a gesture or the system AssistiveTouch path; video still uses Wi-Fi. See the official Bluetooth guide.

Experimental board and input variants

The Metalio Claw 4 fork ports the firmware to ESP-IDF on an ESP32-P4 with an ESP32-C5 radio. The author reports reaching the iPhone pairing prompt, a BLE command round trip and USB HID reports reaching a computer host. The handoff lists completed encrypted pairing, video streaming and HID delivery to the iPhone as unverified. Use the published S3 route for the setup in this guide.

1.0.9 adds experimental M5Stack StopWatch support, separate from the independent anan project. Choose StopWatch explicitly in the official installer. Its manifest identifies m5stopwatch-v0.2.8 at 612f494 and explicitly says there is no matching Git tag. It uses Bluetooth input, displays progress and results, and offers pause/resume, double-press stop, five recent intents and hold-to-talk. These are upstream source and documentation claims; this site has not tested the microphone, battery life or interaction.

The source target is hardware/flash.sh --stopwatch --build-only. Install M5Unified@0.2.29 and M5GFX@0.2.36 using arduino-cli lib install --no-deps. Its 16 MB partition, display and power configuration need their own image, rather than the XIAO image.

App 1.0.13 build 29 and firmware 0.2.11 add Settings › Board › Pointer for a unified XIAO in USB mode. Since 0.2.12, USB starts Relative; an existing choice is kept. Choosing Absolute restarts the board and skips calibration, but AssistiveTouch and a visible-pointer check remain necessary. Bluetooth keeps relative input: #203 records stuck input with experimental absolute BLE. USB calibration and Bluetooth calibration are separate; switching links requires a matching calibration. #209 reports wrong-way USB absolute gestures after landscape apps in build 29. The changelog says a later build fixes it, but the issue remains open and this site has not verified a device fix. Choose Relative if affected.

A separate jglwiz fork at 420d5fe reports November 16 tests on one S3-WROOM-1 and iPhone: separate absolute-coordinate/button reports produced clicks, while dragging still did not scroll. Wheel bursts worked only through a temporary serial test bridge; the iOS version was not recorded. This is a fork-specific observation, not an upstream fix or general compatibility result.

Issue #138 proposes evaluating the Waveshare ESP32-S31-Zero. The issue lists tests to run; it provides no Manina AI compatibility results. The board maker describes the onboard USB-C connector as USB Serial/JTAG for flashing and console access, which does not establish iPhone USB HID support. Choose the standard XIAO ESP32S3 for the published setup.

Wi-Fi and model access

In the default setup, the phone joins the ESP32’s own hotspot to mirror its screen. That hotspot has no internet uplink. Model requests use cellular data, including when you select a self-hosted endpoint.

A server available only on your usual home Wi-Fi will not automatically be reachable in this arrangement. Check network reachability from the phone before expecting a local model to work.

Home Wi-Fi and source configuration

From 1.0.7 / firmware v0.2.6, onboarding or Settings › Board can join the board to home Wi-Fi. Put the phone on the same router; model traffic can use Wi-Fi too. A Wi-Fi-only iPad needs this path.

The board supports 2.4 GHz only. Client isolation or blocked mDNS can prevent discovery. LAN lock restricts mirroring to the owner phone, and app video uses challenge-response authentication and encryption. These are versioned protocol behaviors, not an audit of the home network. Restart Screen Mirroring after switching.

The developer option hardware/flash.sh --sta remains: copy hardware/hid_bridge/secrets.example.h to secrets.h, enter your own Wi-Fi credentials and build. Never commit that file. Normal app setup now configures Wi-Fi without rebuilding. CLI 0.1.2+ / firmware v0.2.3+ can still use esp32agent net join with the password prompt, and esp32agent net hotspot to switch back. CLI commands and video use TCP 7202; app video uses 7201.

Charging during use

For a direct USB-C connection, the board occupies the port and draws power from the iPhone. Manina AI documents wireless charging on supported phones for this setup. For a Lightning iPhone, the official setup guide uses a USB-A to USB-C data cable between the board and a Lightning to USB 3 Camera Adapter. Plug a charger into the adapter’s Lightning port to power the board and charge the phone. Apple documents how the adapter supplies power. This site has not tested either charging setup.

Signing and the Mac requirement

A source app build still requires Mac/Xcode and your signing, with seven-day re-signing for a free Apple ID. The official TestFlight beta and desktop browser flasher provide another setup route. CLI use keeps a Bluetooth-equipped computer in the loop. See installation for entry points and stable/beta firmware channels.

One-tap hotspot joining in your own build needs the optional Hotspot Configuration entitlement and a paid developer account. Without it, join manually with the credentials shown in the app.

Current operating limits

  • 1.0.11 corrects landscape target mapping on iPhone and learns landscape landings separately; use portrait first on older builds. iPad calibrates per orientation and needs full screen.
  • Input depends on the keyboard and app build. App 1.0.5 improves Chinese and accented text, but this is not general Unicode HID. Verify the actual text, especially on an untested keyboard.
  • Keep the phone unlocked. Locking stops screen mirroring.
  • Some content is invisible. Passcode screens, Apple Pay, and DRM-protected video are not available through the mirror.
  • Steps take time. The README describes a small, low-frame-rate mirror, with model latency adding to each step. This is not a high-frame-rate remote desktop.
  • Match versions and channels. Follow the TestFlight installer channel for the beta, or build the app and firmware from the same tag or commit. This site has not tested hardware.

Ready to proceed? Start with the full setup guide.

Scope of the recent Bluetooth demo

The maintainer published a 1.0.8 Lightning Bluetooth demo on November 24, explaining that the phone needs no cable but the board still needs separate power. It provides no complete device/iOS matrix and does not establish compatibility for every Lightning phone.

Android uses a separate firmware

The new Android sibling includes an Android 6+ own-key OSS APK 0.2.4 and android/firmware/; it uses MediaProjection and Bluetooth input. Do not flash its firmware for this iPhone workflow or interpret its permissions and Google Play review as iOS support. It is not a new iPhone architecture in this index.

Project sources

CHANGELOG.mdREADME.mdandroid/README.mdhardware/flash.shhardware/hid_bridge/secrets.example.hhardware/hid_bridge/netcfg.cpp