Sunxitools Windows Portable May 2026
You can compile sunxi-tools for Windows using MinGW-w64:
git clone https://github.com/linux-sunxi/sunxi-tools.git
cd sunxi-tools
make CROSS_COMPILE=x86_64-w64-mingw32- CC=x86_64-w64-mingw32-gcc
The resulting .exe files (e.g., sunxi-fel.exe) are standalone and portable.
FEL mode is not automatic. You need to force it: sunxitools windows portable
All commands work exactly as they do on Linux.
In the world of embedded systems, single-board computers (SBCs), and Android TV box recovery, few names carry as much weight among hobbyists and repair technicians as Sunxi. Derived from the Allwinner system-on-chip (SoC) series, the "Sunxi" community has developed a powerful suite of low-level utilities. You can compile sunxi-tools for Windows using MinGW-w64
However, for Windows users, the challenge has always been accessibility. Installing drivers, setting up Python environments, or compiling Linux tools on a Windows machine can be a nightmare. Enter SunxiTools Windows Portable—a game-changing collection that puts the raw power of FEL (Force-ER-ECOM) mode recovery into a single, portable folder.
This article explores everything you need to know about SunxiTools Windows Portable: what it is, why it is essential, how to use it, and where to find it. The resulting
Windows does not natively recognize FEL mode. You must install a libusb driver for the Allwinner device.
Scenario A: Boot a temporary Linux system (without flashing)
sunxi-fel.exe uboot u-boot-sunxi-with-spl.bin
sunxi-fel.exe write 0x2000 Image
sunxi-fel.exe write 0x300000 sun8i.dtb
sunxi-fel.exe exec 0x2000
Scenario B: Dump the current bricked NAND to a file (backup)
sunxi-fel.exe spiflash-info (to check size)
sunxi-fel.exe read 0x000000 0x4000000 bricked_nand_dump.bin
Scenario C: Flash a new U-Boot to SD card via USB
sunxi-fel.exe write 0x2000 u-boot-spl.bin
sunxi-fel.exe write 0x28000 u-boot.bin
sunxi-fel.exe exec 0x2000