Launch from Start Menu. Run:
Install WSL 2 and your preferred distribution (e.g., Ubuntu). Install the necessary build tools inside WSL:
| Tool | Purpose | Works on Windows | |------|---------|----------------| | sunxi-fel | Write SPL/U-Boot, read/write RAM/SPI/NAND, execute code | ✅ (via MSYS2 or WSL) | | sunxi-nand-image-builder | Create NAND flash images | ✅ (WSL only) | | sunxi-pio | Pin mux/interrupt config | ❌ needs /dev/mem (WSL can’t either) | | phoenix-info | Read tablet/firmware info | ✅ (WSL only) | sunxi-tools windows
Which you are targeting (e.g., H3, A64, V3s, H616).
Most development boards (like Orange Pi, Banana Pi, or Pine64) have a physical button labeled FEL or UBOOT . Hold this button down while plugging in the USB OTG cable. Launch from Start Menu
| Use case | Recommendation | |----------|----------------| | You need full sunxi-tools (most features) | | | You’re just flashing via FEL occasionally | WSL2 (simpler driver handling) | | You want a single .exe without Linux | MSYS2 but expect missing tools & USB driver hassle | | You need sunxi-pio or low-level GPIO | Not possible on Windows – use a Linux VM or native Linux |
. Alex clicked "Install WinUSB," watching the bar crawl across the screen. Most development boards (like Orange Pi, Banana Pi,
: The primary tool used to script and interact with Allwinner devices in FEL mode (a low-level bootrom recovery mode over USB). It allows you to read/write memory, load U-Boot into RAM, and flash storage.
First, open a terminal in your Linux environment and install the MinGW-w64 compiler and libusb for Windows:
Boot your Allwinner device into (usually by holding a 'U-Boot' or 'FEL' button while plugging the device into your Windows PC via a USB OTG cable). Download and launch Zadig . Click on Options -> List All Devices .
Search for "Edit the system environment variables" in the Windows Start Menu. Click . Under System Variables , select Path and click Edit . Click New and paste your folder path ( C:\sunxi-tools\ ). Click OK to save and close all windows. Method 2: Using Windows Subsystem for Linux (WSL 2)