Betaflight firmware flasher for Android, plus INAV, ArduPilot and PX4
FlySpark's Betaflight firmware flasher runs on your Android phone. Plug the flight controller in with a USB OTG cable and FlySpark detects the board, fetches the right firmware, reboots the board into its bootloader, flashes and verifies it, and offers to put your settings back. The same flasher installs INAV, ArduPilot and PX4.
There is no PC and no Windows driver involved: Android talks to the STM32 DFU bootloader directly. Flashing needs that direct USB access, so it lives in the Android app. In a browser you can run the flasher's demo, a dry-run flash into a simulated bootloader.
This tool runs in the FlySpark app on Android. The demo works in your browser.
- Free
- Demo without hardware

In short
A firmware flasher installs flight controller firmware. FlySpark's flasher runs in the Android app over USB OTG: it downloads Betaflight, INAV, ArduPilot or PX4, reboots the board into its bootloader, flashes it over USB DFU and verifies it, with no PC and no driver.
Key facts
- Betaflight 4.4 and newer comes from the Betaflight cloud build service, compiled for the chosen board and options.
- INAV and PX4 releases come from their GitHub releases; ArduPilot Copter, Heli, Plane, Rover, Sub and Tracker from the firmware.ardupilot.org manifest.
- USB DFU bootloaders recognised: STM32 (0483:DF11), AT32 (2E3C:DF11) and GD32 (28E9:0189).
- Expert mode adds the STM32 serial bootloader through a CP210x, CH340 or FTDI adapter at 9600 to 230400 baud, 8E1 (default 115200).
- Local files: .hex, .apj and .px4, up to 16 MB.
- ArduPilot over DFU uses the _with_bl.hex file; .apj files go through the ArduPilot bootloader (ArduPilot docs).
- Android only: iPhone apps get no USB access for flashing, and the web version runs a simulated demo flash.
Betaflight
INAV
ArduPilot
PX4- BLHeli_S
Bluejay
AM32
ExpressLRS
EdgeTX
DroneCAN
MAVLink
Try it
Name the chip
Flight-controller flashing is Android USB. iPhone has no USB host.
STM32
FlySpark
Features
- 01
Betaflight cloud builds
Betaflight 4.4 and newer is built on request by the Betaflight cloud build service, with your receiver protocol, telemetry, motor protocols and other features. On newer Betaflight the options already on your board are preselected.
- 02
INAV, ArduPilot and PX4
Official INAV releases for your target; ArduPilot Copter, Heli, Plane, Rover, Sub and Tracker from the ArduPilot firmware server; and PX4 releases for your board.
- 03
Target detected
FlySpark reads the target from the running firmware, marks it Detected in the board list and warns if the file you chose is for a different board.
- 04
DFU, UART and ArduPilot bootloaders
STM32, AT32 and GD32 USB DFU; the STM32 serial bootloader through a USB-serial adapter; and the ArduPilot and PX4 USB bootloader for .apj and .px4 files.
- 05
Full chip erase
Wipe the whole flash, settings included, when switching firmware or jumping major versions.
- 06
Back up and restore
A CLI diff all is saved before flashing and offered for restore afterwards. You can share the backup file to keep a copy.
- 07
Flash on connect
FlySpark waits for a board in bootloader mode to be plugged in, then flashes it. Handy for boards that only enter DFU with the BOOT button held.
- 08
Local files
Flash a .hex, .apj or .px4 saved on the phone when you need a specific or custom build.
- 09
Dry-run demo
Try every step against a simulated board and bootloader, in the app or in your browser.
How the Betaflight firmware flasher builds your firmware
Since 4.4, Betaflight is no longer one big file per board. The Betaflight cloud build service compiles firmware on request with the features you choose, so a board's flash is not filled with code for receivers and features you never use. FlySpark uses the same service: pick the target and version, then the receiver protocol, telemetry, motor protocols and other features. On newer Betaflight versions that report their build options, FlySpark preselects what is already on your board so an update keeps the same features.
Expert mode adds development builds (release candidates and nightlies, which may be unstable), a field for custom build defines such as USE_SERIALRX_FPORT, and flashing over a serial bootloader. Expert mode is remembered between launches.
Flashing from a phone instead of a computer
Desktop configurators are the usual way to flash flight controllers, and they work well. But a board that needs reflashing at the field does not have to wait until you get home, and a phone avoids the most common Windows problem entirely: the DFU driver. Android needs no driver for STM32 DFU; the app asks for permission to use the device and talks to the bootloader itself.
If you are flashing a running board, FlySpark sends the reboot-to-bootloader command for you (bl in Betaflight's CLI, dfu in INAV's). If the board is bricked or has no firmware, hold its BOOT button while plugging in USB and turn on Board already in bootloader or Flash on connect. Flashing keeps running if you switch apps, with a notification showing progress.
Full chip erase: when to use it
A normal flash erases only the space the new firmware needs, which on many boards leaves the old settings in place. A full chip erase wipes the whole flash. Use it when switching between Betaflight and INAV, when jumping a major version, or when a board behaves strangely after an update. It removes every setting, so turn on Back up settings first or save a diff from the Betaflight CLI beforehand.
Installing ArduPilot on a board that runs Betaflight or INAV always erases the whole chip, because ArduPilot is written together with its own bootloader. FlySpark shows this before you start. The ArduPilot firmware page covers that path in detail.
Checks before anything is written
FlySpark compares the firmware you picked with the board it can see. A matching target shows Matches your board. A file for another target shows which board it was built for and which board you have, and you must tick I am sure this firmware is right for my board before the Flash button works. ArduPilot and PX4 files carry a board ID that the bootloader checks before it writes.
Flashing is refused while the board is armed. If the board is connected over Bluetooth or Wi-Fi, FlySpark tells you to connect a USB cable, because flashing needs one. Every flash is verified by reading the chip back (DFU and UART) or by the bootloader's CRC check (ArduPilot and PX4).
At a glance
Firmware flasher compatibility
| Betaflight | 4.4 and newer from the Betaflight cloud build service; development builds in Expert mode |
|---|---|
| INAV | Official releases per target; release candidates optional |
| ArduPilot | Copter, Heli, Plane, Rover, Sub, Tracker; .apj through the ArduPilot bootloader or with-bootloader .hex over DFU |
| PX4 | Releases per board; pre-releases optional |
| Local files | .hex, .apj, .px4 (up to 16 MB) |
| USB DFU bootloaders | STM32 (0483:DF11), AT32 (2E3C:DF11), GD32 (28E9:0189) |
| Serial bootloader | STM32 ROM bootloader through a USB-serial adapter such as a CP2102, CH340 or FTDI, 9600 to 230400 baud, 8E1 |
| Platform | FlySpark Android app with USB OTG; demo in the browser and the app |
| Not supported | iPhone (no USB access for apps); flashing from the web version |
Compare
Flashing tools compared
| Feature | FlySpark app | Betaflight Configurator | INAV Configurator |
|---|---|---|---|
| Betaflight cloud builds | Yes | Yes | No |
| INAV releases | Yes | No | Yes |
| ArduPilot and PX4 | Yes | No | No |
| Full chip erase | Yes | Yes | Yes |
| Local .hex file | Yes | Yes | Yes |
| DFU driver to install | None on Android | On Windows, yes | On Windows, yes |
FlySpark
How to flash Betaflight from an Android phone
Install the app
Install FlySpark from Google Play.
Connect the board
Plug the flight controller into the phone with a USB OTG cable, propellers off.
Choose firmware
Open the Firmware flasher, confirm the detected target, and pick the version and options.
Flash and restore
Start the flash. When it finishes, reconnect and restore your settings from the backup.
Guide 01
Flash Betaflight from an Android phone
For a board that already runs Betaflight. Props off, phone charged.
Install FlySpark from Google Play and open the Firmware flasher.
Plug the flight controller into the phone with a USB OTG cable and allow access when Android asks.
Choose Betaflight. Your target is marked Detected; pick it and choose a version.
Check the receiver protocol, telemetry, motor protocols and other features, then press Build Betaflight.
Leave Back up settings first on. Turn on Full chip erase if you are jumping a major version.
Press Flash firmware and confirm. The board reboots into DFU and the steps run: find bootloader, erase, write, verify, restart.
Reconnect to the board, then press Restore settings. Check the result, since renamed settings may be refused.
Guide 02
Flash INAV
INAV comes from its official releases, one file per target.
Connect the board and open the Firmware flasher.
Choose INAV, pick the target and version. Turn on Show release candidates only if you want test builds.
Press Download INAV.
If you are coming from Betaflight, turn on Full chip erase; settings do not carry over between firmwares.
Flash, then set the board up again in the INAV configurator.
Guide 03
Recover a bricked flight controller
If the board no longer connects, its STM32 ROM bootloader is still there.
Download or choose the firmware first, with nothing plugged in. Use Choose firmware first if the flasher asks for a board.
Turn on Full chip erase and Flash on connect.
Hold the board's BOOT button and plug the USB cable into the phone, then release.
FlySpark finds the bootloader (STM32, AT32 or GD32 DFU) and flashes as soon as it appears.
If nothing appears, open the USB and DFU doctor to see what the phone detects.
Guide 04
Flash over the serial (UART) bootloader
For boards whose USB port is damaged. Needs Expert mode and a USB-serial adapter.
Wire the adapter's TX to the board's UART1 RX and RX to TX, plus ground.
Turn on Expert mode and set Flash over to Serial bootloader (UART).
Hold BOOT while powering the board so it starts in its ROM bootloader.
Pick the adapter and baud rate (115200 by default; 9600 to 230400 offered) and flash.
Guide 05
Restore settings after flashing
The backup is a CLI diff all taken just before the flash.
After the flash, connect to the board again.
Press Restore settings and confirm. The commands are sent, saved and the board reboots.
Read the result: any lines the new firmware refused are listed.
Troubleshooting
Common problems and fixes
Problem
"No bootloader found. Unplug the board, hold its BOOT button while plugging USB back in, and try again."
Fix
The board did not reboot into DFU, or the cable has no data wires. Use the BOOT button, try another cable, and check the USB and DFU doctor.
Problem
"Disarm before flashing"
Fix
Disarm the flight controller and start again.
Problem
"Bootloader reported: vendor error (the chip may be read-protected)"
Fix
Some boards ship with flash read protection. FlySpark cannot remove it; use a computer tool that can unprotect the chip, then flash again.
Problem
"The bootloader did not report its flash layout. Unplug it, re-enter DFU mode and try again."
Fix
The DFU session started badly. Unplug, hold BOOT, plug in again.
Problem
"This firmware does not fit the chip"
Fix
The file is for a board with more flash. Check the target.
Problem
"Verification failed at 0x..."
Fix
What was read back differs from the file. Try another cable and port, then flash again with Full chip erase.
Problem
"No STM32 bootloader answered. Check TX/RX are crossed, the board is in bootloader mode (BOOT pressed while powering up) and the baud rate."
Fix
Serial flashing only: swap TX and RX, hold BOOT while powering, try a lower baud rate.
Problem
"Could not back up the settings (...). Turn off "Back up settings first" to flash anyway."
Fix
The CLI backup failed. Save a diff manually if you need it, then turn the backup off.
Problem
"The board is connected over Bluetooth or Wi-Fi. Flashing needs a USB cable"
Fix
Plug the board in with a USB OTG cable and connect over USB.
Glossary
Glossary of terms
- DFU
- Device Firmware Upgrade: the USB mode the STM32 ROM bootloader uses to receive new firmware.
- Bootloader mode
- The state a board starts in when BOOT is held at power-up or after the bl command; it accepts firmware but does not fly.
- Target
- The board name firmware is built for, for example MATEKF405 for Betaflight or CubeOrange for ArduPilot.
- Cloud build
- Betaflight firmware compiled on request with only the features you choose.
- Full chip erase
- Wiping the whole flash, including saved settings, before writing new firmware.
- diff all
- A Betaflight CLI command that lists every setting that differs from defaults; used as a backup.
- .apj
- ArduPilot's firmware file for its own USB bootloader; it carries a board ID.
FAQ
Frequently asked questions
Can I flash Betaflight from my phone?
Yes, from an Android phone with USB OTG. The app gets a cloud build for your board and flashes it over DFU.
Do I need the STM32 DFU driver or Zadig?
Not on Android. Those are Windows fixes. Android lets the app talk to the DFU bootloader directly once you allow access.
Can I flash firmware in the browser with FlySpark?
No. The web version runs a dry-run demo only. Use the Android app, or a desktop configurator on a computer.
Does it work on iPhone?
No. Flashing needs USB access that iPhone apps do not have.
Will I lose my settings?
A full chip erase always wipes them, and a new version often resets them. Leave Back up settings first on and restore afterwards. Switching between Betaflight and INAV means setting the board up again.
When should I use full chip erase?
When switching between Betaflight and INAV, jumping major versions, or fixing a board that behaves oddly after an update.
My board won't connect at all. Can I still flash it?
Usually. Hold BOOT while plugging in so it starts in its ROM bootloader, then flash with Flash on connect or Board already in bootloader.
Which Betaflight versions can I flash?
4.4 and newer from the cloud build service. For older versions, flash a .hex file you have saved.
Can I flash ESC firmware here?
ESC firmware is flashed through the flight controller in the ESC configurator, which also works in the browser.
Can I flash ExpressLRS receivers?
The flasher links to the ExpressLRS tools; see the ExpressLRS configurator.
Can I try it first?
Yes. The demo runs a dry-run flash into a simulated bootloader.
References
Sources
The official documentation behind the background facts on this page.
- Firmware Flasher TabBetaflight · betaflight.com
- USB FlashingBetaflight · betaflight.com
- ArduPilot firmware serverArduPilot · firmware.ardupilot.org
- Loading firmware onto boards without existing ArduPilot firmwareArduPilot · ardupilot.org
- INAV releasesINAV (GitHub) · github.com
- PX4-Autopilot releasesPX4 (GitHub) · github.com
- USB host overviewAndroid Developers · developer.android.com




