Skip to content

Install Android

psonnera edited this page Jul 19, 2026 · 2 revisions

Install with an Android phone

The M5Stack Loader app flashes xDripMon straight from an Android phone — no computer, no Arduino, no Wi-Fi. This is the easiest way to install the firmware.

You need

  • An Android phone (Android 10 or later).
  • A USB-C data cable (a charge-only cable will not work).
  • The M5Stack Loader app installed on the phone — download the APK from its Releases page while it awaits the Play Store.

1. Choose the firmware

Open M5Stack Loader and, at "What would you like to flash?", tap the Bluetooth tile — that is the M5Stack_xDripMon firmware. (The owl tile is the original Wi-Fi NightscoutMon; the box tile flashes a custom GitHub repo.)

Choose xDripMon

2. Plug in the M5Stack

Connect the M5Stack to the phone with the USB-C cable and power the device on.

Plug in over USB

When Android asks, allow the app to access the CP2104 USB to UART Bridge Controller and tap OK. (Ticking Always allow avoids the prompt next time.)

Allow USB access

3. Flash

The app detects the board and shows the firmware it will write. Check the model and version look right, then tap Flash firmware.

Ready to flash

It writes the bootloader, partition table and application. The first blocks load slowly — it can sit near 1–2 % for a while, which is normal.

Writing

When it reports Done, the device reboots into xDripMon and you can unplug it. There is nothing more to configure over Wi-Fi — everything else is done on the device and in your phone's xDrip app.

Done

Continue with Device setup.

Optional: flash from a custom GitHub repo

The box tile (Custom firmware from GitHub) can flash straight from a repository that contains a Binaries folder with a firmware.json and an ESP32_16MB build. Enter psonnera/M5Stack_xDripMon (or the full https://github.com/psonnera/M5Stack_xDripMon) to pull the latest build.

Custom repo

Troubleshooting

  • "No supported M5Stack found on USB" — use a different cable (many are charge-only), and make sure the device is powered on.
  • Flashing fails or verify errors — retry; if it persists try another cable or USB port. The app retries writes automatically.

Clone this wiki locally